2019-10-12 01:49:53 +00:00
|
|
|
;license:MIT
|
2019-12-25 22:15:36 +00:00
|
|
|
;(c) 2019 by 4am/Frank M.
|
2019-10-12 01:49:53 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/MR",plain
|
2019-10-12 01:49:53 +00:00
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
|
|
|
lda #$60
|
|
|
|
sta $0842
|
|
|
|
jsr $0800 ; decompress
|
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
|
|
|
; lives in EF
|
|
|
|
lda #$00
|
|
|
|
sta $777C ; patch - don't decrease lives
|
|
|
|
sta $78C5 ; patch - don't increase lives
|
|
|
|
+
|
2019-12-18 05:39:06 +00:00
|
|
|
lda #$EA
|
|
|
|
sta $13D9
|
|
|
|
sta $13DA
|
|
|
|
sta $13DB ; reset vector patch
|
|
|
|
|
2019-10-12 01:49:53 +00:00
|
|
|
jmp $7600
|
2019-12-13 05:51:54 +00:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|