2019-09-19 13:13:30 +00:00
|
|
|
;license:MIT
|
|
|
|
;(c) 2019 by 4am
|
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/EI",plain
|
2019-09-19 13:13:30 +00:00
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
2019-10-13 18:24:59 +00:00
|
|
|
+ENABLE_ACCEL
|
2019-09-19 13:13:30 +00:00
|
|
|
lda #$60
|
2019-10-13 18:24:59 +00:00
|
|
|
sta $3E98
|
|
|
|
sta $3EF2
|
2019-09-19 13:13:30 +00:00
|
|
|
jsr $3DE9 ; phase 1
|
2019-10-13 18:24:59 +00:00
|
|
|
+DISABLE_ACCEL
|
|
|
|
jsr $4C00
|
|
|
|
+ENABLE_ACCEL
|
2019-12-15 04:59:28 +00:00
|
|
|
ldy #0
|
2019-10-13 18:24:59 +00:00
|
|
|
jsr $B839
|
|
|
|
+DISABLE_ACCEL
|
2019-10-05 01:34:49 +00:00
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
2019-10-06 14:39:59 +00:00
|
|
|
; lives in $7801
|
2019-09-19 13:13:30 +00:00
|
|
|
lda #$AD
|
|
|
|
sta $962A ; patch - don't decrease lives
|
2019-10-05 01:34:49 +00:00
|
|
|
+
|
2019-09-19 13:13:30 +00:00
|
|
|
jmp ($0020)
|
2019-12-13 05:51:54 +00:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|