4cade/src/prelaunch/free.fall.a

34 lines
840 B
Plaintext
Raw Permalink Normal View History

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.INDEXED/FREE.FALL",plain
2019-09-20 18:08:03 +00:00
*=$106
!source "src/macros.a"
2019-09-20 18:08:03 +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
+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
+
+RESET_VECTOR $100
+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 ", *
}