mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-26 12:29:33 +00:00
27 lines
488 B
Plaintext
27 lines
488 B
Plaintext
|
;license:MIT
|
||
|
;(c) 2020 by qkumba
|
||
|
|
||
|
!cpu 6502
|
||
|
!to "build/PRELAUNCH/MINOTAUR",plain
|
||
|
*=$106
|
||
|
|
||
|
!source "src/prelaunch/common.a"
|
||
|
|
||
|
+ENABLE_ACCEL
|
||
|
lda #$60
|
||
|
sta $21BB
|
||
|
jsr $2000 ; decompress
|
||
|
|
||
|
+GET_MACHINE_STATUS
|
||
|
and #CHEATS_ENABLED
|
||
|
beq +
|
||
|
lda #$37
|
||
|
sta $180 ; patch - enable cheat mode
|
||
|
+
|
||
|
+DISABLE_ACCEL
|
||
|
jmp $FF8
|
||
|
|
||
|
!if * > $1C0 {
|
||
|
!error "code is too large, ends at ", *
|
||
|
}
|