2019-12-20 02:19:28 +00:00
|
|
|
;license:MIT
|
2019-12-25 22:15:36 +00:00
|
|
|
;(c) 2019 by Frank M.
|
2019-12-20 02:19:28 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
|
|
|
!to "build/PRELAUNCH/ORILEYS.MINE",plain
|
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
|
|
|
+ENABLE_ACCEL
|
|
|
|
lda #$60
|
|
|
|
sta $81D
|
|
|
|
jsr $800 ; decompress
|
|
|
|
|
2019-12-31 21:29:20 +00:00
|
|
|
+NEW_RESET_VECTOR $280
|
|
|
|
lda #$80
|
|
|
|
sta $2001
|
|
|
|
sta $2016
|
|
|
|
sta $812E
|
|
|
|
lda #$02
|
2019-12-20 02:19:28 +00:00
|
|
|
sta $2006
|
|
|
|
sta $201B ; reset vector patch
|
2019-12-31 21:29:20 +00:00
|
|
|
sta $8133 ; (yes, that's 3 times)
|
2019-12-20 02:19:28 +00:00
|
|
|
|
|
|
|
+DISABLE_ACCEL
|
|
|
|
jmp $8FD
|
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|