2020-05-23 15:46:18 +00:00
|
|
|
;license:MIT
|
2020-07-19 18:13:12 +00:00
|
|
|
;(c) 2020 by 4am/Frank M.
|
2020-05-23 15:46:18 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/MINER.2049ER",plain
|
2020-05-23 15:46:18 +00:00
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
|
|
|
+ENABLE_ACCEL
|
2020-07-19 18:13:12 +00:00
|
|
|
+NEW_RESET_VECTOR $BFF0
|
2020-05-23 15:46:18 +00:00
|
|
|
lda #>callback
|
|
|
|
sta $2076
|
|
|
|
lda #<callback
|
|
|
|
sta $2075
|
|
|
|
jmp $2000 ; decompress
|
|
|
|
|
|
|
|
callback
|
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
|
|
|
lda #$BD
|
|
|
|
sta $0964 ; patch - don't decrease lives
|
|
|
|
+
|
|
|
|
+DISABLE_ACCEL
|
|
|
|
jmp $0918
|
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|