mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-02 06:30:47 +00:00
32 lines
685 B
Plaintext
Executable File
32 lines
685 B
Plaintext
Executable File
;license:MIT
|
|
;(c) 2019 by 4am/Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/CROSSFIRE",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $6240
|
|
jsr $6230 ; phase 1
|
|
lda #$60
|
|
sta $85AE ; phase 2
|
|
jsr $85A4
|
|
+GET_MACHINE_STATUS
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
; lives in $4C1F
|
|
lda #$00
|
|
sta $4786 ; patch - don't decrease lives
|
|
+
|
|
lda #1
|
|
sta $4D8F ; reset vector patch
|
|
+DISABLE_ACCEL
|
|
jmp $4000
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|