This commit is contained in:
Peter Ferrie 2020-03-20 16:02:03 -07:00
parent 30017beebc
commit cc1fd45ace
5 changed files with 11 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -14,7 +14,7 @@
and #CHEATS_ENABLED
pha
lda #$60
sta $A05
sta $A01
jsr $800 ; load "DOS"
pla
beq +

View File

@ -7,18 +7,24 @@
!source "src/prelaunch/common.a"
+GET_MACHINE_STATUS
+READ_RAM2_NO_WRITE
jsr EnableAccelerator
lda MachineStatus
+READ_ROM_NO_WRITE
and #CHEATS_ENABLED
beq +
pha
lda #$60
sta $A0A
+ jsr $800 ; load "DOS"
jsr $800 ; load "DOS"
pla
beq +
lda #$4C
sta $F858
lda #<callback1
sta $F859
lda #>callback2
sta $F85A
+ jsr DisableAccelerator
jmp $F800
callback1