2019-09-20 18:08:03 +00:00
|
|
|
;license:MIT
|
2019-12-25 22:15:36 +00:00
|
|
|
;(c) 2019 by 4am/Frank M.
|
2019-09-20 18:08:03 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
|
|
|
!to "build/PRELAUNCH/FREE.FALL",plain
|
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
2019-10-05 01:34:49 +00:00
|
|
|
+ENABLE_ACCEL
|
2019-09-20 18:08:03 +00:00
|
|
|
lda #$60
|
|
|
|
sta $204E
|
|
|
|
jsr $2000 ; decompress
|
2020-05-11 16:14:14 +00:00
|
|
|
lda #$4C
|
|
|
|
sta $320
|
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 $1532
|
2019-09-20 18:08:03 +00:00
|
|
|
lda #$AD
|
|
|
|
sta $0E19 ; patch - don't decrease lives
|
|
|
|
sta $19F2 ; patch - don't decrease lives
|
|
|
|
sta $0E69 ; patch - don't increase lives
|
|
|
|
sta $7E11 ; patch - don't increase lives
|
|
|
|
sta $BE11 ; patch - don't increase lives
|
2019-10-05 01:34:49 +00:00
|
|
|
+
|
2019-12-25 17:43:15 +00:00
|
|
|
+RESET_VECTOR $100
|
2019-10-05 01:34:49 +00:00
|
|
|
+DISABLE_ACCEL
|
2019-09-20 18:08:03 +00:00
|
|
|
jmp $4000
|
2019-12-13 05:51:54 +00:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|