aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-01-17 00:42:34 -0500
committerB. Watson <yalhcru@gmail.com>2016-01-17 00:42:34 -0500
commitb9c1931a80c5d700ba356f9090e9a72f075377f7 (patch)
tree975acab9ea0ddb958485948ecd0b9ac9ea09fa53 /Makefile
parent24a2c856400918329e105b1f3ca2bd2ec386c9b0 (diff)
downloadtaipan-b9c1931a80c5d700ba356f9090e9a72f075377f7.tar.gz
fix final_stats() negative finalcash and score
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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