aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 12c595a..c68cbea 100644
--- a/Makefile
+++ b/Makefile
@@ -240,7 +240,8 @@ PORTSTAT.DAT: mkportstats.xex
convfont: convfont.c
$(HOSTCC) $(HOSTCFLAGS) -DFONT_ADDR=$(FONT_ADDR) -o convfont convfont.c
-# Cartridge-related targets. Build as a cart isn't really supported yet.
+
+### Cartridge-related targets.
# mkcart turns a raw binary into an atar800 .cart image with 16-byte header.
mkcart: mkcart.c
@@ -258,7 +259,7 @@ romable_taimain.raw: $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) $(TAIMAIN_HDRS)
tail -c+2 taimain.xex > romable_taimain.raw
rm -f taimain.xex
-# 512 bytes of $ff filler, for the last page of each code bank. wasting
+# 512 bytes of $ff filler, for the last 2 pages of each code bank. Wasting
# this little bit of space simplifies the copying code in bank7.s, and
# guarantees I don't accidentally end up with a 0 in the "cart present"
# byte of the cart trailer.
@@ -299,11 +300,15 @@ taipan.rom: bank0 bank1 bank2 bank3 bank7 blankbank
cart: taipan.cart
+testcart:
+ atari800 taipan.cart
+
taipan.cart: taipan.rom mkcart
./mkcart -otaipan.cart -t13 taipan.rom
./mkcart -ctaipan.cart
-# Rules for building various file types with the cc65 toolchain.
+
+### Rules for building various file types with the cc65 toolchain.
.s.o:
$(AS) $(ASFLAGS) -o $@ $<