mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-28 00:52:00 +00:00
.
This commit is contained in:
parent
17dcfca273
commit
041a3b92b9
@ -76,7 +76,7 @@ gGameToLaunch=*+1
|
|||||||
jsr okvs_nth
|
jsr okvs_nth
|
||||||
; A/Y = address of game filename
|
; A/Y = address of game filename
|
||||||
+STAY SAVE
|
+STAY SAVE
|
||||||
+STAY @pfile
|
+STAY @pfile ; assume we're loading a game-specific prelaunch file
|
||||||
|
|
||||||
jsr Home ; clear screen (clobbers $106, must do now before loading prelaunch code)
|
jsr Home ; clear screen (clobbers $106, must do now before loading prelaunch code)
|
||||||
lda #$20 ; clear both hi-res pages
|
lda #$20 ; clear both hi-res pages
|
||||||
@ -100,11 +100,10 @@ gGameToLaunch=*+1
|
|||||||
@noCheats
|
@noCheats
|
||||||
+LDADDR kStandardPrelaunch ; no game-specific prelaunch file, so
|
+LDADDR kStandardPrelaunch ; no game-specific prelaunch file, so
|
||||||
+STAY @pfile ; load standard prelaunch file instead
|
+STAY @pfile ; load standard prelaunch file instead
|
||||||
|
|
||||||
@Cheats
|
@Cheats
|
||||||
jsr LoadFile ; cheats are enabled and this game has a prelaunch
|
jsr LoadFile ; if cheats are enabled and this game has a prelaunch
|
||||||
!word kPrelaunchDirectory ; file that will set up the cheats, so load that
|
!word kPrelaunchDirectory ; file that will set up the cheats, load that, otherwise
|
||||||
@pfile !word $FDFD ; SMC
|
@pfile !word $FDFD ; load the standard prelaunch file
|
||||||
!word $0106
|
!word $0106
|
||||||
|
|
||||||
ldx #1 ; construct path to game's startup file
|
ldx #1 ; construct path to game's startup file
|
||||||
|
Loading…
Reference in New Issue
Block a user