2019-09-13 22:30:01 -07:00
|
|
|
;license:MIT
|
2019-12-25 14:15:36 -08:00
|
|
|
;(c) 2019 by qkumba/Frank M.
|
2019-09-13 22:30:01 -07:00
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-15 21:34:39 -04:00
|
|
|
!to "build/PRELAUNCH.INDEXED/JOUST",plain
|
2019-09-14 22:57:52 -04:00
|
|
|
*=$106
|
|
|
|
|
2024-05-25 19:18:49 -04:00
|
|
|
!source "src/macros.a"
|
2019-09-13 22:30:01 -07:00
|
|
|
|
2019-10-13 15:19:48 -07:00
|
|
|
+ENABLE_ACCEL
|
2019-10-04 21:34:49 -04:00
|
|
|
lda #$60
|
2019-10-13 15:19:48 -07:00
|
|
|
sta $82f
|
2019-10-04 21:34:49 -04:00
|
|
|
sta $85e
|
|
|
|
jsr $800 ; decompress and show title/options screens
|
2019-10-13 15:19:48 -07:00
|
|
|
+DISABLE_ACCEL
|
|
|
|
jsr $7000
|
|
|
|
+ENABLE_ACCEL
|
|
|
|
jsr $832
|
2019-10-04 21:34:49 -04:00
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
|
|
|
lda #$ad
|
|
|
|
sta $2bc9
|
|
|
|
sta $2b6b
|
|
|
|
+
|
2019-12-19 18:19:28 -08:00
|
|
|
lda #$4C
|
|
|
|
sta $A3DC
|
2020-04-06 20:29:16 -07:00
|
|
|
ldx #0
|
|
|
|
stx $A3DD
|
|
|
|
stx $2C0E
|
|
|
|
inx
|
|
|
|
stx $A3DE ; reset vector patch
|
|
|
|
stx $2C0F ; quit handler patch
|
2019-10-13 15:19:48 -07:00
|
|
|
+DISABLE_ACCEL
|
2019-10-04 21:34:49 -04:00
|
|
|
jmp $3e00
|
2019-12-12 21:51:54 -08:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|