4cade/src/prelaunch/fs2.a

39 lines
798 B
Plaintext
Raw Normal View History

2019-12-31 21:29:20 +00:00
;license:MIT
;(c) 2019 by Frank M.
!cpu 6502
!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
2022-08-17 21:06:40 +00:00
sta $82A8 ; cloned to $3F2
sta $7D43 ; cloned to $FFFC
2019-12-31 21:29:20 +00:00
lda #$01
2022-08-17 21:06:40 +00:00
sta $82A9 ; cloned to $3F3
sta $7D46 ; cloned to $FFFD
2019-12-31 21:29:20 +00:00
lda #$A4
2022-08-17 21:06:40 +00:00
sta $82A0 ; cloned to $3F4
2019-12-31 21:29:20 +00:00
2022-08-17 21:06:40 +00:00
jmp $2499
2019-12-31 21:29:20 +00:00
!if * > $1C0 {
!error "code is too large, ends at ", *
}