4cade/src/prelaunch/situation.crtcl.a

32 lines
638 B
Plaintext
Raw Normal View History

2019-12-28 22:07:37 +00:00
;license:MIT
2024-05-10 23:47:30 +00:00
;(c) 2022, 2024 by qkumba
2019-12-28 22:07:37 +00:00
!cpu 6502
2024-05-11 04:41:19 +00:00
!to "build/PRELAUNCH.INDEXED/SL",plain
2019-12-28 22:07:37 +00:00
*=$106
!source "src/prelaunch/common.a"
2024-05-10 23:47:30 +00:00
lda #$60
sta $336
jsr $300
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 ", *
}