mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-27 03:29:30 +00:00
49 lines
950 B
Plaintext
Executable File
49 lines
950 B
Plaintext
Executable File
;license:MIT
|
|
;(c) 2019 by qkumba
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/CONAN",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $81e
|
|
jsr $800
|
|
lda #$60
|
|
sta $bd40
|
|
jsr $bc94
|
|
+DISABLE_ACCEL
|
|
jsr $5ff8
|
|
+ENABLE_ACCEL
|
|
lda #$6c
|
|
sta $bd40
|
|
lda #$60
|
|
sta $6ba2
|
|
jsr $3ffc
|
|
jsr $be00
|
|
+GET_MACHINE_STATUS
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
lda #$ad
|
|
sta $19f5
|
|
sta $1a00
|
|
sta $1b4e
|
|
;;sta $a973
|
|
+
|
|
lda #0
|
|
sta $3f2
|
|
lda #1
|
|
sta $3f3
|
|
lda #$A4
|
|
sta $3f4 ; reset vector patch
|
|
; (only works after title music)
|
|
|
|
+DISABLE_ACCEL
|
|
jmp $6ba5
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|