mirror of
https://github.com/a2-4am/4cade.git
synced 2025-02-17 07:31:19 +00:00
shave some bytes
This commit is contained in:
parent
1440df1c71
commit
cb1b6a8ff7
@ -9,7 +9,7 @@
|
|||||||
; D000..E611 - persistent data structures (per-game cheat categories,
|
; D000..E611 - persistent data structures (per-game cheat categories,
|
||||||
; gGlobalPrefsStore, gGamesListStore)
|
; gGlobalPrefsStore, gGamesListStore)
|
||||||
; ...unused...
|
; ...unused...
|
||||||
; EBF2..FFF9 - main program code
|
; EBF5..FFF9 - main program code
|
||||||
; FFFA..FFFF - NMI, reset, IRQ vectors
|
; FFFA..FFFF - NMI, reset, IRQ vectors
|
||||||
;
|
;
|
||||||
; LC RAM BANK 2
|
; LC RAM BANK 2
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
MaybeAnimateTitle
|
MaybeAnimateTitle
|
||||||
|
; out: C clear
|
||||||
lda OffscreenPage
|
lda OffscreenPage
|
||||||
bne +
|
bne +
|
||||||
lda #$5F
|
lda #$5F
|
||||||
@ -18,9 +19,7 @@ MaybeAnimateTitle
|
|||||||
ldy #0
|
ldy #0
|
||||||
lda (SAVE),y ; see if there is a hidden JMP to an
|
lda (SAVE),y ; see if there is a hidden JMP to an
|
||||||
cmp #$4C ; animation routine for this screen
|
cmp #$4C ; animation routine for this screen
|
||||||
beq +
|
bne @exit
|
||||||
rts
|
|
||||||
+
|
|
||||||
ldx #$20 ; copy new HGR screen to the other
|
ldx #$20 ; copy new HGR screen to the other
|
||||||
ldy #$40
|
ldy #$40
|
||||||
lda OffscreenPage
|
lda OffscreenPage
|
||||||
@ -65,7 +64,7 @@ MaybeAnimateTitle
|
|||||||
|
|
||||||
jsr Launch
|
jsr Launch
|
||||||
jsr ResyncPage
|
jsr ResyncPage
|
||||||
clc ; tell caller not to refresh screen
|
@exit clc ; tell caller not to refresh screen
|
||||||
rts
|
rts
|
||||||
|
|
||||||
@titleAnimPrelaunch
|
@titleAnimPrelaunch
|
||||||
|
@ -156,9 +156,7 @@ OnError
|
|||||||
@noload jsr DrawUI
|
@noload jsr DrawUI
|
||||||
jsr SwitchToBank2
|
jsr SwitchToBank2
|
||||||
jsr DisableAcceleratorAndSwitchToBank1
|
jsr DisableAcceleratorAndSwitchToBank1
|
||||||
jsr MaybeAnimateTitle
|
jmp MaybeAnimateTitle
|
||||||
clc
|
|
||||||
rts
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; IsSearchKey
|
; IsSearchKey
|
||||||
|
Loading…
x
Reference in New Issue
Block a user