aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 16 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 0026fd5..7873ad9 100644
--- a/Makefile
+++ b/Makefile
@@ -78,10 +78,6 @@ taipan.atr: all
axe -w AUTORUN.SYS taipan.atr
rm -f AUTORUN.SYS
-# old title
-#$(XEX): taimain.xex taifont.xex title.xex
-# cat taifont.xex title.xex taimain.xex > $(XEX)
-
# The game binary is a multi-part binary load file. This rule
# depends on all the pieces, and just concatenates them.
$(XEX): taimain.xex taifont.xex newtitle.xex comptitle.xex
@@ -92,14 +88,17 @@ $(XEX): taimain.xex taifont.xex newtitle.xex comptitle.xex
# using GTIA narrow playfield. The original title screen for the Apple
# is a 280x192 bitmap with a few blank lines at the top & bottom. I
# squished it horizontally to 256 pixels and got rid of the blank lines,
-# to save load time.
+# to save load time. Note that titledata.xex is no longer built into
+# the game binary as-is: it's now used as input for creating
+# comptitle.xex, the compressed title screen.
titledata.xex: newtitle.pl newtitle.png
perl newtitle.pl > titledata.xex
-# compressed title, for faster loading.
+# compressed title, for faster loading. see titlecompression.txt
+# for gory details.
comptitle.xex: titledata.xex titlecomp.pl comptitle.s.in
perl titlecomp.pl 151 < titledata.xex
- cl65 -o comptitle.xex -t none comptitle.s
+ cl65 -l comptitle.lst -o comptitle.xex -t none comptitle.s
# Init segment that loads after the title screen data. It sets up
# a custom display list and sets the GTIA for narrow playfield,
@@ -115,11 +114,6 @@ newtitle.xex: newtitle.s ver.dat
ver.dat: mkver.pl
perl mkver.pl $(VERSION) > ver.dat
-# former textmode title screen, was generated by TITLE.LST. Replaced
-# by graphical title screen.
-#title.xex: TITLE.DAT
-# perl title.pl TITLE.DAT > title.xex
-
# The main executable. All the C and asm code goes here, except the init
# segment in newtitle.s.
taimain.xex: taipan.c rand.s draw_lorcha.s timed_getch.s jsleep.s portstat.s clrtobot.s
@@ -186,3 +180,13 @@ lorchatest: lorchatest.c draw_lorcha.s taifont.xex
cl65 -t atari -O -T -o lorchatest1.xex lorchatest.c draw_lorcha.s
cat taifont.xex lorchatest1.xex > lorchatest.xex
atari800 -nobasic lorchatest.xex
+
+# former textmode title screen, was generated by TITLE.LST. Replaced
+# by graphical title screen.
+#title.xex: TITLE.DAT
+# perl title.pl TITLE.DAT > title.xex
+
+# old title
+#$(XEX): taimain.xex taifont.xex title.xex
+# cat taifont.xex title.xex taimain.xex > $(XEX)
+