mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-28 03:29:59 +00:00
parent
644d571565
commit
9cb78ea33f
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by qkumba
|
||||
;(c) 2019 by qkumba/Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/SPIDER.RAID",plain
|
||||
@ -8,13 +8,17 @@
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
|
||||
lda #$60
|
||||
sta $3F0E
|
||||
jsr $3EB9 ; decompress
|
||||
|
||||
lda #1
|
||||
sta $40D3 ; reset vector
|
||||
|
||||
lda #$60
|
||||
sta $40F1
|
||||
jsr $4000
|
||||
+RESET_VECTOR $100
|
||||
|
||||
+DISABLE_ACCEL
|
||||
jmp $4246
|
||||
|
33
src/prelaunch/stargate.a
Normal file
33
src/prelaunch/stargate.a
Normal file
@ -0,0 +1,33 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/STARGATE",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
|
||||
lda #$60
|
||||
sta $4697
|
||||
jsr $800 ; decompress
|
||||
|
||||
lda #$60
|
||||
sta $9A03
|
||||
jsr $9A00 ; decompress2
|
||||
|
||||
lda #0
|
||||
sta $47F2
|
||||
lda #1
|
||||
sta $47F3
|
||||
lda #$A4
|
||||
sta $47F4 ; reset vector (moved to $3F2/3/4)
|
||||
|
||||
+DISABLE_ACCEL
|
||||
|
||||
jmp $5000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user