aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-01-06 01:55:41 -0500
committerB. Watson <yalhcru@gmail.com>2016-01-06 01:55:41 -0500
commitad615f1eb4febb59f5148ba356d9ad91dc72db09 (patch)
tree1ac19501a81295c9e7df255ef6196c63545cf7fa /Makefile
parent78955cb3856cfc0115c7e2f2813132cc46c4fd23 (diff)
downloadtaipan-ad615f1eb4febb59f5148ba356d9ad91dc72db09.tar.gz
compressed title image, loads faster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a515ea0..56a81b4 100644
--- a/Makefile
+++ b/Makefile
@@ -84,8 +84,8 @@ taipan.atr: all
# 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 titledata.xex
- cat titledata.xex newtitle.xex taifont.xex taimain.xex > $(XEX)
+$(XEX): taimain.xex taifont.xex newtitle.xex comptitle.xex
+ cat comptitle.xex newtitle.xex taifont.xex taimain.xex > $(XEX)
# Bitmap data for the title screen, 256x184 = 47104 pixels, 8 bits
# per pixel, or 5888 bytes. Displayed in ANTIC mode F (aka GR.8),
@@ -96,6 +96,11 @@ $(XEX): taimain.xex taifont.xex newtitle.xex titledata.xex
titledata.xex: newtitle.pl newtitle.png
perl newtitle.pl > titledata.xex
+# compressed title, for faster loading.
+comptitle.xex: titledata.xex titlecomp.pl comptitle.s.in
+ perl titlecomp.pl 151 < titledata.xex
+ cl65 -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,
# then waits for a keypress. Afterwards, it restores the OS's