fix some things

This commit is contained in:
Peter Ferrie 2019-12-21 16:05:56 -08:00
parent 447d29b6f5
commit 80365fa68e
4 changed files with 14 additions and 16 deletions

View File

@ -9,9 +9,9 @@
cheat
jsr EnableAccelerator ; yes!
jsr $d357
jsr $d35d
jsr DisableAccelerator
lda $d51b
lda $d4b4
cmp #$c7
bne +
lda #$ad
@ -22,20 +22,18 @@ cheat
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $110b
dec $1195
jsr $1000
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #<cheat
sta $d336
sta $d334
lda #>cheat
sta $d337
sta $d335
+
jsr DisableAccelerator
lda #$c2
jmp $d300
jmp $800
!if * > $1C0 {
!error "code is too large, ends at ", *

View File

@ -8,8 +8,10 @@
jmp ++
cheat
jsr $d33f
lda $d521
jsr EnableAccelerator ; yes!
jsr $d33b
jsr DisableAccelerator
lda $d4bd
eor #$c5
bne +
sta $1053
@ -20,20 +22,18 @@ cheat
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $111c
dec $11a6
jsr $1000 ; decompress
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #<cheat
sta $d318
sta $d312
lda #>cheat
sta $d319
sta $d313
+
jsr DisableAccelerator
lda #$c2
jmp $d300
jmp $803
!if * > $1C0 {
!error "code is too large, ends at ", *