2019-12-27 03:27:53 +00:00
|
|
|
;license:MIT
|
2022-05-19 04:42:49 +00:00
|
|
|
;(c) 2019, 2022 by Frank M., qkumba
|
2019-12-27 03:27:53 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/TUNNEL.TERROR",plain
|
2019-12-27 03:27:53 +00:00
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
|
|
|
lda #1 ; reset vector fix
|
|
|
|
sta $6E13 ; to $3F3
|
|
|
|
lda #$A4
|
|
|
|
sta $6E15 ; to $3F4 (doesn't change $3F2)
|
|
|
|
|
2022-05-19 04:42:49 +00:00
|
|
|
lda #$60
|
|
|
|
sta $4026
|
|
|
|
jsr $4000
|
|
|
|
|
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
|
|
|
lda #$a5
|
|
|
|
sta $E3A ; patch - don't decrease lives
|
|
|
|
+
|
|
|
|
jmp $e00
|
2019-12-27 03:27:53 +00:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|