mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-24 18:32:15 +00:00
33 lines
662 B
Plaintext
33 lines
662 B
Plaintext
;license:MIT
|
|
;(c) 2020 by qkumba/Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/REALM.IMPOSS",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
+READ_RAM1_WRITE_RAM1
|
|
+LC_REBOOT
|
|
+READ_ROM_NO_WRITE
|
|
|
|
lda #$60
|
|
sta $41AD
|
|
jsr $4000 ; decompress
|
|
|
|
lda MachineStatus
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
lda #$2C
|
|
sta $AF1D ; patch - don't decrease hit-points
|
|
+
|
|
+READ_RAM2_WRITE_RAM2
|
|
jsr DisableAccelerator
|
|
+READ_RAM1_WRITE_RAM1
|
|
jmp $1953
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|