aboutsummaryrefslogtreecommitdiff
path: root/newtitle.s
diff options
context:
space:
mode:
Diffstat (limited to 'newtitle.s')
-rw-r--r--newtitle.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/newtitle.s b/newtitle.s
index 15b73ad..8997d82 100644
--- a/newtitle.s
+++ b/newtitle.s
@@ -9,6 +9,13 @@
; change this here, change it in sounds.h also!
sound_disabled = $06ff
+ ; since we're changing the font and colors, we'll save the old
+ ; ones here. If you change these, change them in taipan.c
+ ; also.
+fontsave = $06fc
+color1save = $06fd
+color2save = $06fe
+
; where our screen was loaded (see newtitle.pl)
;screendata = $2400
@@ -127,6 +134,14 @@ sounddisp = help + 78
; executable code here
start:
+ ; save old color registers and font addr.
+ lda CHBAS
+ sta fontsave
+ lda COLOR1
+ sta color1save
+ lda COLOR2
+ sta color2save
+
; setup color registers
lda colorchoices
sta COLOR2 ; text bg