aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Fincham <michael@hotplate.co.nz>2018-10-27 18:07:25 +1300
committerMichael Fincham <michael@hotplate.co.nz>2018-10-27 18:07:25 +1300
commit685a5edf9b7b864981b1b8e3c0bf8afff4b8e704 (patch)
treefc3a8f20322c6b7566b1674f83325e5562a8d556
parent4c66e80c8f5fa96646024c7db4d99f94ef13f0ac (diff)
downloadkiwicon2038-685a5edf9b7b864981b1b8e3c0bf8afff4b8e704.tar.gz
kiwicon2038-685a5edf9b7b864981b1b8e3c0bf8afff4b8e704.tar.bz2
kiwicon2038-685a5edf9b7b864981b1b8e3c0bf8afff4b8e704.zip
DISCLAIM
-rw-r--r--Makefile2
-rwxr-xr-xobfuscate.py4
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f54712f..b3c4162 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ build/chip.rom: romify.py $(shell find -name \*.ld) $(shell find src -not -name
# for the hacked up 128k ROM used for Kiwicon 2038 the 16k binary needs to be pushed up to 32k inside the "chip image"
dd bs=512 count=192 if=/dev/zero > build/chip.rom
cat build/padded.rom >> build/chip.rom
- # make sure the rest of the file is sufficiently padded with zeroes
+ # make sure the rest of the file is sufficiently padded with zeroes
dd bs=512 count=$$((64 - $(ROM_BLOCKS))) if=/dev/zero >> build/chip.rom
build/disk.img: build/chip.rom $(shell find src -name \*.S)
diff --git a/obfuscate.py b/obfuscate.py
index 50e8058..28eade3 100755
--- a/obfuscate.py
+++ b/obfuscate.py
@@ -1,5 +1,9 @@
#!/usr/bin/python3
+"""
+Yes I know this is the worst C obfuscator ever written. It's just for fun!
+"""
+
import re
import sys