mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-23 12:33:32 +00:00
shave some bytes
This commit is contained in:
parent
d23ed3ecac
commit
f9bd909a12
@ -9,7 +9,7 @@
|
||||
; D000..E611 - persistent data structures (per-game cheat categories,
|
||||
; gGlobalPrefsStore, gGamesListStore)
|
||||
; ...unused...
|
||||
; EBEC..FFF9 - main program code
|
||||
; EBF2..FFF9 - main program code
|
||||
; FFFA..FFFF - NMI, reset, IRQ vectors
|
||||
;
|
||||
; LC RAM BANK 2
|
||||
|
@ -21,9 +21,9 @@ Credits
|
||||
jsr DrawPage ; draw credits
|
||||
jsr ShowOtherPage ; show credits
|
||||
jsr WaitForKeyFor30Seconds; wait
|
||||
bit CLEARKBD ; don't care about key
|
||||
-- bit CLEARKBD ; don't care about key
|
||||
jsr ShowOtherPage ; back to previous page
|
||||
clc ; if called from search mode, tell caller not to refresh
|
||||
- clc ; if called from search mode, tell caller not to refresh
|
||||
rts
|
||||
|
||||
Help
|
||||
@ -31,18 +31,13 @@ Help
|
||||
jsr LoadHelpOffscreen
|
||||
jsr ShowOtherPage
|
||||
jsr WaitForKeyFor30Seconds
|
||||
cmp #$83
|
||||
beq @exitWithoutShowingOtherPage
|
||||
jsr IsUpDownOrRightArrow
|
||||
beq @exitWithoutShowingOtherPage
|
||||
cmp #$88
|
||||
beq @exitViaBrowse
|
||||
beq +
|
||||
cmp #$83
|
||||
beq -
|
||||
jsr IsUpDownOrRightArrow
|
||||
beq -
|
||||
jsr IsSearchKey
|
||||
beq @exitWithoutShowingOtherPage
|
||||
bit CLEARKBD
|
||||
jsr ShowOtherPage
|
||||
@exitWithoutShowingOtherPage
|
||||
clc
|
||||
rts
|
||||
@exitViaBrowse
|
||||
jmp BrowseMode
|
||||
beq -
|
||||
bne --
|
||||
+ jmp BrowseMode
|
||||
|
Loading…
Reference in New Issue
Block a user