mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-22 22:33:41 +00:00
shave some bytes
This commit is contained in:
parent
9a5330b6cc
commit
441a8f27f5
@ -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...
|
||||||
; EC24..FFF9 - main program code
|
; EC25..FFF9 - main program code
|
||||||
; FFFA..FFFF - NMI, reset, IRQ vectors
|
; FFFA..FFFF - NMI, reset, IRQ vectors
|
||||||
;
|
;
|
||||||
; LC RAM BANK 2
|
; LC RAM BANK 2
|
||||||
|
@ -12,7 +12,7 @@ SHRSlideshow
|
|||||||
lda MachineStatus ; only show SHR on IIgs or if we have a VidHD card
|
lda MachineStatus ; only show SHR on IIgs or if we have a VidHD card
|
||||||
and #SUPPORTS_SHR
|
and #SUPPORTS_SHR
|
||||||
bne +
|
bne +
|
||||||
- rts
|
SHRRTS rts
|
||||||
+ jsr LoadSHRTransition
|
+ jsr LoadSHRTransition
|
||||||
jsr okvs_iter
|
jsr okvs_iter
|
||||||
!word gSlideshowStore
|
!word gSlideshowStore
|
||||||
@ -23,7 +23,7 @@ SHRSingle
|
|||||||
+STAY +
|
+STAY +
|
||||||
lda MachineStatus ; only show SHR on IIgs or if we have a VidHD card
|
lda MachineStatus ; only show SHR on IIgs or if we have a VidHD card
|
||||||
and #SUPPORTS_SHR
|
and #SUPPORTS_SHR
|
||||||
beq -
|
beq SHRRTS
|
||||||
jsr BlankSHR
|
jsr BlankSHR
|
||||||
jsr LoadFile
|
jsr LoadFile
|
||||||
!word kRootDirectory
|
!word kRootDirectory
|
||||||
@ -62,16 +62,15 @@ LoadSHRTransition
|
|||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
SHRArtworkCallback
|
SHRArtworkCallback
|
||||||
bit KBD
|
bit KBD
|
||||||
bpl +
|
bmi SHRRTS
|
||||||
- rts
|
|
||||||
+
|
|
||||||
+STAY @sfname
|
+STAY @sfname
|
||||||
|
|
||||||
jsr GetGameInfo
|
jsr GetGameInfo
|
||||||
; if game is not found (C will be set here), it means it can't be played on
|
; if game is not found (C will be set here), it means it can't be played on
|
||||||
; this machine due to memory or joystick requirements, so we don't display
|
; this machine due to memory or joystick requirements, so we don't display
|
||||||
; it in slideshows
|
; it in slideshows
|
||||||
bcs -
|
bcs SHRRTS
|
||||||
stx gGameToLaunch
|
stx gGameToLaunch
|
||||||
|
|
||||||
jsr BlankSHR
|
jsr BlankSHR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user