mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-21 00:31:52 +00:00
40 lines
829 B
Plaintext
Executable File
40 lines
829 B
Plaintext
Executable File
;license:MIT
|
|
;(c) 2019 by qkumba/Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH.INDEXED/JOUST",plain
|
|
*=$106
|
|
|
|
!source "src/macros.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $82f
|
|
sta $85e
|
|
jsr $800 ; decompress and show title/options screens
|
|
+DISABLE_ACCEL
|
|
jsr $7000
|
|
+ENABLE_ACCEL
|
|
jsr $832
|
|
+GET_MACHINE_STATUS
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
lda #$ad
|
|
sta $2bc9
|
|
sta $2b6b
|
|
+
|
|
lda #$4C
|
|
sta $A3DC
|
|
ldx #0
|
|
stx $A3DD
|
|
stx $2C0E
|
|
inx
|
|
stx $A3DE ; reset vector patch
|
|
stx $2C0F ; quit handler patch
|
|
+DISABLE_ACCEL
|
|
jmp $3e00
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|