shave some bytes

This commit is contained in:
4am 2019-10-08 00:03:37 -04:00
parent 1440df1c71
commit cb1b6a8ff7
3 changed files with 5 additions and 8 deletions

View File

@ -9,7 +9,7 @@
; D000..E611 - persistent data structures (per-game cheat categories,
; gGlobalPrefsStore, gGamesListStore)
; ...unused...
; EBF2..FFF9 - main program code
; EBF5..FFF9 - main program code
; FFFA..FFFF - NMI, reset, IRQ vectors
;
; LC RAM BANK 2

View File

@ -7,6 +7,7 @@
;
MaybeAnimateTitle
; out: C clear
lda OffscreenPage
bne +
lda #$5F
@ -18,9 +19,7 @@ MaybeAnimateTitle
ldy #0
lda (SAVE),y ; see if there is a hidden JMP to an
cmp #$4C ; animation routine for this screen
beq +
rts
+
bne @exit
ldx #$20 ; copy new HGR screen to the other
ldy #$40
lda OffscreenPage
@ -65,7 +64,7 @@ MaybeAnimateTitle
jsr Launch
jsr ResyncPage
clc ; tell caller not to refresh screen
@exit clc ; tell caller not to refresh screen
rts
@titleAnimPrelaunch

View File

@ -156,9 +156,7 @@ OnError
@noload jsr DrawUI
jsr SwitchToBank2
jsr DisableAcceleratorAndSwitchToBank1
jsr MaybeAnimateTitle
clc
rts
jmp MaybeAnimateTitle
;------------------------------------------------------------------------------
; IsSearchKey