2019-12-22 19:55:47 +00:00
|
|
|
;license:MIT
|
2022-05-18 18:36:22 +00:00
|
|
|
;(c) 2019-2020, 2022 by Frank M., qkumba
|
2019-12-22 19:55:47 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/SWASHBUCKLER",plain
|
2019-12-22 19:55:47 +00:00
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
|
|
|
;+ENABLE_ACCEL ; can't
|
|
|
|
lda #$60
|
|
|
|
sta $332C ; stop1
|
|
|
|
jsr $330F ; decompress
|
|
|
|
|
|
|
|
lda #$60
|
|
|
|
sta $BC81 ; stop2
|
|
|
|
jsr $BC00 ; title
|
|
|
|
|
2020-06-06 15:23:38 +00:00
|
|
|
+NEW_RESET_VECTOR $BFF0
|
2019-12-22 19:55:47 +00:00
|
|
|
|
2022-05-18 18:36:22 +00:00
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
|
|
|
lda #$ad
|
|
|
|
sta $115A ; patch - don't increase lives
|
|
|
|
sta $136B ; patch - don't decrease lives
|
|
|
|
+
|
2019-12-22 19:55:47 +00:00
|
|
|
jmp $1B34
|
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|