diff --git a/Makefile b/Makefile index 2262520..1700f9b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ SPRITES = atari-sprite9x11.png apple-sprite9x11.png -CPSPRITES = apple-sprite9x11.png moldy_burger.png TOHGR = tohgr A2 = build-apple2/ @@ -8,31 +7,35 @@ all: working.dsk demo.dsk build-apple2: mkdir build-apple2 -$(A2)player-missile.hgr: player-missile.png +player-missile.hgr: player-missile.png cp player-missile.png $(A2) asmgen.py $(A2)player-missile.png + cp $(A2)player-missile.hgr player-missile.hgr -$(A2)player-missile-2.hgr: player-missile-2.png +player-missile-2.hgr: player-missile-2.png cp player-missile-2.png $(A2) asmgen.py $(A2)player-missile-2.png + cp $(A2)player-missile-2.hgr player-missile-2.hgr -$(A2)kansasfest-hackfest.hgr: kansasfest-hackfest.png +kansasfest-hackfest.hgr: kansasfest-hackfest.png cp kansasfest-hackfest.png $(A2)kansasfest-hackfest-top.png $(TOHGR) $(A2)kansasfest-hackfest-top.png cp kansasfest-hackfest.png $(A2)kansasfest-hackfest-bot.png asmgen.py -i bw $(A2)kansasfest-hackfest-bot.png asmgen.py --merge 96 -o $(A2)kansasfest-hackfest $(A2)kansasfest-hackfest-top.hgr $(A2)kansasfest-hackfest-bot.hgr + cp $(A2)kansasfest-hackfest.hgr kansasfest-hackfest.hgr -$(A2)title.hgr: title.png +title.hgr: title.png cp title.png $(A2)title-top.png $(TOHGR) $(A2)title-top.png cp title.png $(A2)title-bot.png asmgen.py -i bw $(A2)title-bot.png asmgen.py --merge 136 167 -o $(A2)title $(A2)title-top.hgr $(A2)title-bot.hgr + cp $(A2)title.hgr title.hgr -$(A2)title.s: $(A2)title.hgr +$(A2)title.s: title.hgr # use legacy block format - lz4 -9lf $(A2)title.hgr $(A2)title.lz4 + lz4 -9lf title.hgr $(A2)title.lz4 # strip first 8 bytes (start at byte 9 when counting from 1) tail -c +9 $(A2)title.lz4 > $(A2)title.lz4-payload asmgen.py -a mac65 --src $(A2)title.lz4-payload -n title > $(A2)title.s @@ -63,8 +66,8 @@ $(A2)demo.xex: wipes-demo.s main.s constants.s rand.s maze.s $(A2)working-sprite echo '.include "$(A2)title.s"' >> $(A2)demo.s atasm -mae -o$(A2)demo.xex $(A2)demo.s -L$(A2)demo.var -g$(A2)demo.lst -demo.dsk: build-apple2 $(A2)demo.xex $(A2)player-missile.hgr $(A2)player-missile-2.hgr $(A2)kansasfest-hackfest.hgr $(A2)title.hgr - atrcopy demo.dsk boot -d $(A2)player-missile.hgr@2000 $(A2)player-missile-2.hgr@4000 $(A2)kansasfest-hackfest.hgr@2000 -b $(A2)demo.xex --brun 6000 -f +demo.dsk: build-apple2 $(A2)demo.xex player-missile.hgr player-missile-2.hgr kansasfest-hackfest.hgr title.hgr + atrcopy demo.dsk boot -d player-missile.hgr@2000 player-missile-2.hgr@4000 kansasfest-hackfest.hgr@2000 -b $(A2)demo.xex --brun 6000 -f clean: rm -rf $(A2) diff --git a/kansasfest-hackfest.hgr b/kansasfest-hackfest.hgr new file mode 100644 index 0000000..43bf3d9 Binary files /dev/null and b/kansasfest-hackfest.hgr differ diff --git a/player-missile-2.hgr b/player-missile-2.hgr new file mode 100644 index 0000000..f25fb21 Binary files /dev/null and b/player-missile-2.hgr differ diff --git a/player-missile.hgr b/player-missile.hgr new file mode 100644 index 0000000..738f0ae Binary files /dev/null and b/player-missile.hgr differ diff --git a/title.hgr b/title.hgr new file mode 100644 index 0000000..331ceff Binary files /dev/null and b/title.hgr differ