4cade/src/prelaunch/manic.miner.a

27 lines
494 B
Plaintext
Raw Normal View History

2020-04-23 17:22:29 +00:00
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/MANIC.MINER",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $82A
jsr $800 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$a5
sta $7C5A ; patch - don't decrease lives
+
+DISABLE_ACCEL
jmp $6000
!if * > $1C0 {
!error "code is too large, ends at ", *
}