aboutsummaryrefslogtreecommitdiff
path: root/newtitle.s
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-01-06 04:04:57 -0500
committerB. Watson <yalhcru@gmail.com>2016-01-06 04:04:57 -0500
commitd90c75703d7a9ca53fded2a40fa35344279ed843 (patch)
treedd88251aa2aa4c2f5d67abb40c263d7427915bbf /newtitle.s
parentad615f1eb4febb59f5148ba356d9ad91dc72db09 (diff)
downloadtaipan-d90c75703d7a9ca53fded2a40fa35344279ed843.tar.gz
document the compression before I forget
Diffstat (limited to 'newtitle.s')
-rw-r--r--newtitle.s21
1 files changed, 3 insertions, 18 deletions
diff --git a/newtitle.s b/newtitle.s
index 9eef9ed..0d66fa2 100644
--- a/newtitle.s
+++ b/newtitle.s
@@ -36,6 +36,8 @@ start:
lda #0
sta SDMCTL
+ ; build our display list
+
; wait for the next frame, to avoid graphics glitching
jsr wait1jiffy
@@ -80,24 +82,7 @@ keyok:
; eat the keypress
lda #$ff
sta CH
-
- ; restore OS's display list
- ;lda #0
- ;sta SDMCTL ; disable screen again
- ;lda FR0
- ;sta SDLSTL
- ;lda FR0+1
- ;sta SDLSTH
-
- ;jsr wait1jiffy
-
- ; switch to normal playfield, enable screen. this is now
- ; done in atari_text_setup() in taipan.c, so the title screen
- ; can keep displaying.
- ;lda #$22
- ;sta SDMCTL
-
- rts ; return to DOS
+ rts ; return to DOS (which loads the rest of the game)
wait1jiffy:
lda RTCLOK+2