2019-12-31 21:29:20 +00:00
|
|
|
;license:MIT
|
|
|
|
;(c) 2019 by Frank M.
|
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/FS2",plain
|
2019-12-31 21:29:20 +00:00
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
|
|
|
;+ENABLE_ACCEL ; can't
|
|
|
|
|
|
|
|
lda #$2C
|
|
|
|
sta $1C0
|
|
|
|
lda #$82
|
|
|
|
sta $1C1
|
|
|
|
lda #$C0
|
|
|
|
sta $1C2
|
|
|
|
lda #$4C ; add reboot hook @ $1C0
|
|
|
|
sta $1C3
|
|
|
|
lda #$A6
|
|
|
|
sta $1C4
|
|
|
|
lda #$FA
|
|
|
|
sta $1C5
|
|
|
|
|
|
|
|
lda #$C0
|
|
|
|
sta $81D3 ; cloned to $3F2
|
|
|
|
sta $7C6E ; cloned to $FFFC
|
|
|
|
lda #$01
|
|
|
|
sta $81D4 ; cloned to $3F3
|
|
|
|
sta $7C71 ; cloned to $FFFD
|
|
|
|
lda #$A4
|
|
|
|
sta $81CB ; cloned to $3F4
|
|
|
|
|
|
|
|
jmp $24F8
|
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|