mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-23 12:33:32 +00:00
add Ghostbusters cheat
This commit is contained in:
parent
154f5a32a5
commit
1c010f79a5
@ -182,7 +182,7 @@
|
|||||||
0001,GENIUS=Genius
|
0001,GENIUS=Genius
|
||||||
0001,GENIUS.2=Genius 2
|
0001,GENIUS.2=Genius 2
|
||||||
0001,GENIUS.3=Genius 3
|
0001,GENIUS.3=Genius 3
|
||||||
1000,GHOSTBUSTERS=Ghostbusters
|
1006,GHOSTBUSTERS=Ghostbusters
|
||||||
0000,GLUTTON=Glutton
|
0000,GLUTTON=Glutton
|
||||||
0001,GOLD.RUSH=Gold Rush
|
0001,GOLD.RUSH=Gold Rush
|
||||||
0001,GORGON=Gorgon
|
0001,GORGON=Gorgon
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2020 by qkumba
|
;(c) 2020, 2022 by qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH.INDEXED/GHOSTBUSTERS",plain
|
!to "build/PRELAUNCH.INDEXED/GHOSTBUSTERS",plain
|
||||||
@ -11,9 +11,24 @@
|
|||||||
lda #$60
|
lda #$60
|
||||||
sta $4075
|
sta $4075
|
||||||
jsr $4000 ; decompress
|
jsr $4000 ; decompress
|
||||||
+DISABLE_ACCEL
|
+READ_RAM2_NO_WRITE
|
||||||
|
lda MachineStatus
|
||||||
|
and #CHEATS_ENABLED
|
||||||
|
beq +
|
||||||
|
lda #<callback
|
||||||
|
sta $914
|
||||||
|
lda #>callback
|
||||||
|
sta $915
|
||||||
|
+
|
||||||
|
jsr DisableAccelerator
|
||||||
|
+READ_ROM_NO_WRITE
|
||||||
jmp $800
|
jmp $800
|
||||||
|
|
||||||
|
callback
|
||||||
|
lda #0
|
||||||
|
sta $9D31 ; patch - disable sprite collision
|
||||||
|
jmp $9600
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user