2019-09-14 05:30:01 +00:00
|
|
|
;license:MIT
|
|
|
|
;(c) 2019 by qkumba
|
|
|
|
|
|
|
|
!cpu 6502
|
2019-09-15 02:57:52 +00:00
|
|
|
!to "build/PRELAUNCH/MR.DO",plain
|
|
|
|
*=$106
|
2019-09-14 05:30:01 +00:00
|
|
|
|
2019-09-15 02:57:52 +00:00
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
2019-12-15 03:15:27 +00:00
|
|
|
+USES_TEXT_PAGE_2
|
2019-09-15 02:57:52 +00:00
|
|
|
clc
|
|
|
|
bcc cheat3
|
2019-09-14 05:30:01 +00:00
|
|
|
|
|
|
|
cheat2
|
|
|
|
jsr $20d
|
|
|
|
|
|
|
|
cheat64
|
|
|
|
lda #$a5
|
|
|
|
sta $1da7
|
|
|
|
sta $9bf
|
|
|
|
rts
|
|
|
|
|
|
|
|
cheat1
|
2019-09-16 21:12:21 +00:00
|
|
|
ldy #<cheat2
|
|
|
|
sty $209
|
|
|
|
ldy #>cheat2
|
|
|
|
sty $20a
|
2019-09-14 05:30:01 +00:00
|
|
|
bne $19e
|
|
|
|
|
|
|
|
cheat3
|
2019-09-16 21:12:21 +00:00
|
|
|
lda #$60
|
|
|
|
sta $83f
|
|
|
|
jsr $800
|
|
|
|
lda $847
|
|
|
|
beq cheat48
|
2019-09-14 05:30:01 +00:00
|
|
|
lda #$60
|
|
|
|
sta $d15
|
|
|
|
jsr $ce8
|
|
|
|
lda #<cheat4
|
|
|
|
sta $d137
|
|
|
|
lda #>cheat4
|
|
|
|
sta $d138
|
|
|
|
jmp $d100
|
|
|
|
|
|
|
|
cheat4
|
|
|
|
jsr $d13b
|
|
|
|
jmp cheat64
|
|
|
|
|
|
|
|
cheat48
|
|
|
|
lda #<cheat1
|
|
|
|
sta $1040
|
|
|
|
lda #>cheat1
|
|
|
|
sta $1041
|
|
|
|
jmp $1000
|
2019-12-13 05:51:54 +00:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|