2019-12-22 19:55:47 +00:00
|
|
|
;license:MIT
|
2022-05-18 18:36:22 +00:00
|
|
|
;(c) 2019, 2022 by Frank M.
|
2019-12-22 19:55:47 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/STARBLASTER",plain
|
2019-12-22 19:55:47 +00:00
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
|
|
|
;+ENABLE_ACCEL ; can't - shows title right away
|
|
|
|
lda #$60 ; hook
|
|
|
|
sta $9318
|
|
|
|
jsr $6BD1 ; decompress/title
|
|
|
|
|
2019-12-23 15:48:04 +00:00
|
|
|
+NEW_RESET_VECTOR $280
|
2019-12-22 19:55:47 +00:00
|
|
|
|
2022-05-18 18:36:22 +00:00
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
|
|
|
lda #$a5
|
|
|
|
sta $6277 ; patch - don't increase lives
|
|
|
|
sta $6955 ; patch - don't decrease lives
|
|
|
|
lda #$A1
|
|
|
|
sta $FD ; fix checksum
|
|
|
|
+
|
2019-12-22 19:55:47 +00:00
|
|
|
jmp $6000
|
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|