mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-21 00:31:52 +00:00
39 lines
896 B
Plaintext
Executable File
39 lines
896 B
Plaintext
Executable File
;license:MIT
|
|
;(c) 2019-2020 by 4am/Frank M./qkumba
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH.INDEXED/CRIME.WAVE",plain
|
|
*=$106
|
|
|
|
!source "src/macros.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $244B
|
|
jsr $2400 ; decompress
|
|
+READ_RAM2_NO_WRITE
|
|
lda MachineStatus
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
lda #$A5
|
|
sta $9D89 ; patch - don't decrease lives
|
|
sta $9DF4 ; patch - don't increase lives
|
|
+
|
|
; reset vector in high score file
|
|
; gets loaded directly to $300
|
|
lda MockingboardStuff
|
|
bpl skipmb
|
|
and #7
|
|
sta $A0C9
|
|
lda #2
|
|
sta $A0C4
|
|
|
|
skipmb
|
|
jsr DisableAccelerator
|
|
+READ_ROM_NO_WRITE
|
|
jmp $0800
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|