mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-02 06:30:47 +00:00
28 lines
601 B
Plaintext
28 lines
601 B
Plaintext
;license:MIT
|
|
;(c) 2019 by 4am
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/TB",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $6C30
|
|
jsr $4EC6 ; decompress
|
|
+GET_MACHINE_STATUS
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
lda #$A5
|
|
sta $9083 ; patch - don't decrease lives
|
|
sta $A1FA ; patch - don't increase lives
|
|
sta $A735 ; patch - don't increase lives
|
|
+
|
|
+DISABLE_ACCEL
|
|
jmp $9000
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|