mirror of
https://github.com/a2-4am/4cade.git
synced 2024-09-26 21:56:44 +00:00
31 lines
693 B
Plaintext
Executable File
31 lines
693 B
Plaintext
Executable File
;license:MIT
|
|
;(c) 2019, 2022 by Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH.INDEXED/STARBLASTER",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
;+ENABLE_ACCEL ; can't - shows title right away
|
|
lda #$60 ; hook
|
|
sta $9318
|
|
jsr $6BD1 ; decompress/title
|
|
|
|
+NEW_RESET_VECTOR $280
|
|
|
|
+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
|
|
+
|
|
jmp $6000
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|