mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-02 06:30:47 +00:00
36 lines
754 B
Plaintext
36 lines
754 B
Plaintext
;license:MIT
|
|
;(c) 2019 by qkumba/Frank M./4am
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/PACMAN",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+USES_TEXT_PAGE_2
|
|
+NEW_RESET_VECTOR $280
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $813
|
|
jsr $800 ; decompress
|
|
|
|
lda #$80
|
|
sta $103F
|
|
lda #2
|
|
sta $104A ; reset vector patch
|
|
|
|
+READ_RAM2_NO_WRITE
|
|
lda MachineStatus
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
lda #$A5
|
|
sta $5C0E ; patch - don't decrease lives
|
|
sta $4135 ; patch - don't increase lives
|
|
+
|
|
+DISABLE_ACCEL
|
|
jmp $1000
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|