diff options
author | B. Watson <yalhcru@gmail.com> | 2016-02-09 23:25:46 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2016-02-09 23:25:46 -0500 |
commit | a39d6345838b6ba6270e3060496beee07a27ce50 (patch) | |
tree | 55e0ccd0e15dcda13c1a19214132db1e45802e73 /Makefile | |
parent | b001b2c00d72ea28e9272c30a53fcf83e21c9249 (diff) | |
download | taipan-a39d6345838b6ba6270e3060496beee07a27ce50.tar.gz |
Add testcart target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 $@ $< |