Streamline creation of disk image.

This commit is contained in:
Christopher RYU 2023-09-08 11:04:07 +09:00
parent 133a8f27c6
commit 927c34bad1
1 changed files with 7 additions and 4 deletions

View File

@ -1,11 +1,14 @@
all: BITSY.BOOT\#ff2000
all: prodos_snippits.po
BITSY.BOOT\#ff2000: bitsy.boot.bin
cp bitsy.boot.bin BITSY.BOOT#ff2000
prodos_snippits.po: bitsy.boot.bin
ProDOS-Utilities -d prodos_snippits.po -c create \
-s 280 -v PRODOS.SNIPPITS
ProDOS-Utilities -d prodos_snippits.po -c put \
-p BITSY.BOOT -i bitsy.boot.bin -t 0xFF -a 0x2000
%.bin: %.s
ca65 --target apple2 -o $*.o $*.s
ld65 --config apple2-asm.cfg -o $*.bin $*.o
clean:
rm -f *.o *.bin
rm -f *.o *.bin *.po