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/MS.PACMAN",plain
|
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
2019-09-14 05:30:01 +00:00
|
|
|
|
2019-10-05 01:34:49 +00:00
|
|
|
+ENABLE_ACCEL
|
|
|
|
lda #$60
|
|
|
|
sta $816
|
|
|
|
jsr $800 ; decompress
|
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
|
|
|
lda #<cheat
|
|
|
|
sta $2007
|
|
|
|
lda #>cheat
|
|
|
|
sta $2008
|
|
|
|
+
|
|
|
|
+DISABLE_ACCEL
|
|
|
|
jmp $2000
|
2019-09-14 05:30:01 +00:00
|
|
|
|
|
|
|
cheat
|
2019-10-05 01:34:49 +00:00
|
|
|
jsr $38cf
|
|
|
|
lda #$2c
|
|
|
|
sta $87e0
|
|
|
|
sta $97d2
|
|
|
|
rts
|
2019-12-13 05:51:54 +00:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|