mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-19 18:32:58 +00:00
28 lines
521 B
Plaintext
28 lines
521 B
Plaintext
|
;license:MIT
|
||
|
;(c) 2020 by qkumba
|
||
|
|
||
|
!cpu 6502
|
||
|
!to "build/PRELAUNCH/A.E",plain
|
||
|
*=$106
|
||
|
|
||
|
!source "src/prelaunch/common.a"
|
||
|
|
||
|
+ENABLE_ACCEL
|
||
|
lda #$60
|
||
|
sta $4D23
|
||
|
bne +
|
||
|
!fill $15
|
||
|
+ jsr $BD5 ; decompress
|
||
|
+GET_MACHINE_STATUS
|
||
|
and #CHEATS_ENABLED
|
||
|
beq +
|
||
|
lda #$ad
|
||
|
sta $773 ; patch - don't decrease lives
|
||
|
+
|
||
|
+DISABLE_ACCEL
|
||
|
jmp $68E
|
||
|
|
||
|
!if * > $1C0 {
|
||
|
!error "code is too large, ends at ", *
|
||
|
}
|