mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-09 17:29:32 +00:00
26 lines
503 B
Plaintext
26 lines
503 B
Plaintext
;license:MIT
|
|
;(c) 2024 by 4am, qkumba
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH.INDEXED/ANTIAIR",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$4C
|
|
sta $955A
|
|
jsr $8000 ; decompress
|
|
+GET_MACHINE_STATUS
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
lda #$AD
|
|
sta $4C76 ; patch - don't decrease lives
|
|
+
|
|
+DISABLE_ACCEL
|
|
jmp $955D
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|