~fincham/kiwicon2038

685a5edf9b7b864981b1b8e3c0bf8afff4b8e704 — Michael Fincham 4 years ago 4c66e80
DISCLAIM
2 files changed, 5 insertions(+), 1 deletions(-)

M Makefile
M obfuscate.py
M Makefile => Makefile +1 -1
@@ 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)

M obfuscate.py => obfuscate.py +4 -0
@@ 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