2019-12-28 22:07:37 +00:00
|
|
|
;license:MIT
|
2022-05-18 18:36:22 +00:00
|
|
|
;(c) 2022 by qkumba
|
2019-12-28 22:07:37 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/SC",plain
|
2019-12-28 22:07:37 +00:00
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
2022-05-18 18:36:22 +00:00
|
|
|
+READ_RAM2_WRITE_RAM2
|
|
|
|
jsr EnableAccelerator
|
|
|
|
+LOAD_FILE_AT sitcrit_cheat, 0
|
|
|
|
+READ_ROM_NO_WRITE
|
2020-08-12 20:35:20 +00:00
|
|
|
lda #0
|
|
|
|
sta $8BF
|
2022-05-18 18:36:22 +00:00
|
|
|
lda #$BC
|
2020-08-12 20:35:20 +00:00
|
|
|
sta $8C0
|
|
|
|
jmp $800 ; decompress
|
|
|
|
|
2022-05-18 18:36:22 +00:00
|
|
|
sitcrit_cheat
|
|
|
|
!byte sitcrit_cheat_e-sitcrit_cheat_b
|
|
|
|
sitcrit_cheat_b
|
|
|
|
!text "PRELAUNCH/SITCRIT.CHEAT"
|
|
|
|
sitcrit_cheat_e
|
|
|
|
|
2019-12-28 22:07:37 +00:00
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|