mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-15 04:30:18 +00:00
26 lines
456 B
Plaintext
26 lines
456 B
Plaintext
;license:MIT
|
|
;(c) 2019 by qkumba
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH.INDEXED/MZ",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $816
|
|
jsr $800 ; decompress
|
|
+GET_MACHINE_STATUS
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
lda #$a5
|
|
sta $6d0d
|
|
+
|
|
+DISABLE_ACCEL
|
|
jmp $6004
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|