mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-19 02:10:39 +00:00
30 lines
547 B
Plaintext
30 lines
547 B
Plaintext
;license:MIT
|
|
;(c) 2023 by qkumba
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH.INDEXED/IMPETUS",plain
|
|
*=$106
|
|
|
|
!source "src/macros.a"
|
|
|
|
+ENABLE_ACCEL
|
|
|
|
lda #$60
|
|
sta $813
|
|
jsr $800 ; decompress
|
|
|
|
+GET_MACHINE_STATUS
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
lda #$AD
|
|
sta $580A ; patch - don't decrease lives
|
|
sta $7882 ; patch - don't increase lives
|
|
+
|
|
|
|
+DISABLE_ACCEL
|
|
jmp $4000
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|