mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-23 16:29:34 +00:00
fix some things
This commit is contained in:
parent
447d29b6f5
commit
80365fa68e
Binary file not shown.
Binary file not shown.
@ -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 ", *
|
||||
|
@ -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 ", *
|
||||
|
Loading…
Reference in New Issue
Block a user