mirror of
https://github.com/a2-4am/4cade.git
synced 2024-09-28 03:54:46 +00:00
31 lines
594 B
Plaintext
Executable File
31 lines
594 B
Plaintext
Executable File
;license:MIT
|
|
;(c) 2019 by Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/ORILEYS.MINE",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $81D
|
|
jsr $800 ; decompress
|
|
|
|
+NEW_RESET_VECTOR $280
|
|
lda #$80
|
|
sta $2001
|
|
sta $2016
|
|
sta $812E
|
|
lda #$02
|
|
sta $2006
|
|
sta $201B ; reset vector patch
|
|
sta $8133 ; (yes, that's 3 times)
|
|
|
|
+DISABLE_ACCEL
|
|
jmp $8FD
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|