From b001b2c00d72ea28e9272c30a53fcf83e21c9249 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 9 Feb 2016 22:44:51 -0500 Subject: cart image works now --- Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 36f950f..12c595a 100644 --- a/Makefile +++ b/Makefile @@ -254,7 +254,7 @@ mkcart: mkcart.c # via "JSR $0400". romable_taimain.raw: $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) $(TAIMAIN_HDRS) rm -f taimain.xex - $(MAKE) TAIMAIN_ADDR=0x3ff EXTRACFLAGS="-Wl -D__AUTOSTART__=1 -Wl -D__EXEHDR__=1 -DCART_TARGET=1 --asm-define CART_TARGET=1" taimain.xex + $(MAKE) FONT_ADDR=0x9c00 TAIMAIN_ADDR=0x3ff EXTRACFLAGS="-Wl -D__AUTOSTART__=1 -Wl -D__EXEHDR__=1 -DCART_TARGET=1 --asm-define CART_TARGET=1" taimain.xex tail -c+2 taimain.xex > romable_taimain.raw rm -f taimain.xex @@ -270,10 +270,13 @@ fill512: blankbank: perl -Mbytes -e 'print chr(0xff) x 8192' > blankbank -splitrom.raw.0: -splitrom.raw.1: -splitrom.raw.2: -splitrom.raw.3: +splitrom.raw.0: splitrom.raw.3 + +splitrom.raw.1: splitrom.raw.3 + +splitrom.raw.2: splitrom.raw.3 + +splitrom.raw.3: romable_taimain.raw split -b 7680 -a 1 -d romable_taimain.raw splitrom.raw. bank0: splitrom.raw.0 fill512 @@ -288,7 +291,7 @@ bank2: splitrom.raw.2 fill512 bank3: splitrom.raw.3 bank3.s taifont cl65 -l bank3.lst -m bank3.map -t none -o bank3 bank3.s -bank7: bank7.s titledata.dat +bank7: bank7.s titledata.dat ver.dat help.dat newtitle.s cl65 -l bank7.lst -m bank7.map -t none -o bank7 bank7.s taipan.rom: bank0 bank1 bank2 bank3 bank7 blankbank @@ -312,7 +315,7 @@ taipan.cart: taipan.rom mkcart # Obligatory clean and distclean rules. clean: - rm -f *.o *.lst convfont *.xex AUTORUN.SYS taipan.atr ver.dat help.dat tags cartmsg.dat + rm -f *.o *.lst convfont *.xex AUTORUN.SYS taipan.atr ver.dat help.dat tags cartmsg.dat splitrom.raw.* taipan.rom taipan.cart bank[0-9] fill512 blankbank romable_taimain.raw distclean: clean rm -f *~ core .*.swp 1.* 2.* 1 2 3 map map.* *.map a b c foo bar baz comptitle.s comptitle.dat -- cgit v1.2.3