From 927c34bad1a4fa3dc934b92b003ea208280dc2e3 Mon Sep 17 00:00:00 2001 From: Christopher RYU Date: Fri, 8 Sep 2023 11:04:07 +0900 Subject: [PATCH] Streamline creation of disk image. --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 57e8c2e..0dc7bb7 100644 --- a/Makefile +++ b/Makefile @@ -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