From b9c1931a80c5d700ba356f9090e9a72f075377f7 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 17 Jan 2016 00:42:34 -0500 Subject: fix final_stats() negative finalcash and score --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 52561b7..4375957 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,9 @@ STACK_SIZE=0x200 # The meaning of the -l flag is different between cc65-2.13.3 # and the later github cc65, so it's been removed here. #CFLAGS=-t $(SYS) -T -I. -L. -Wl -D__SYSTEM_CHECK__=1 -Wl -D__RESERVED_MEMORY__=1056 $(COPT) + CFLAGS=-t $(SYS) -T -I. -L. -Wl -D__SYSTEM_CHECK__=1 -DFONT_ADDR=$(FONT_ADDR) --start-addr $(TAIMAIN_ADDR) -Wl -D__STACKSIZE__=$(STACK_SIZE) $(COPT) + AS=ca65 ASFLAGS= AR=ar65 @@ -117,7 +119,7 @@ taipan.atr: all # depends on all the pieces, and just concatenates them. $(XEX): taimain.xex taifont.xex newtitle.xex comptitle.xex cat comptitle.xex newtitle.xex taifont.xex taimain.xex > $(XEX) - perl size.pl $(STACK_SIZE) + perl size.pl $(TAIMAIN_ADDR) $(STACK_SIZE) # Bitmap data for the title screen, 256x184 = 47104 pixels, 8 bits # per pixel, or 5888 bytes. Displayed in ANTIC mode F (aka GR.8), @@ -229,7 +231,7 @@ push: sh push.sh size: clean all - perl size.pl $(STACK_SIZE) + perl size.pl $(TAIMAIN_ADDR) $(STACK_SIZE) # Cruft. Was used for testing the enemy ship animation. lorchatest: lorchatest.c draw_lorcha.s taifont.xex -- cgit v1.2.3