mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-18 10:30:35 +00:00
fix Situation Critial reset vector
This commit is contained in:
parent
46d05fbac9
commit
cdebd6d86d
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2019 by qkumba
|
;(c) 2019-2020 by qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH/SITUATION.CRTCL",plain
|
!to "build/PRELAUNCH/SITUATION.CRTCL",plain
|
||||||
@ -7,22 +7,27 @@
|
|||||||
|
|
||||||
!source "src/prelaunch/common.a"
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
jmp +
|
||||||
lda #<callback
|
|
||||||
sta $84E
|
|
||||||
lda #>callback
|
|
||||||
sta $84F
|
|
||||||
jmp $800 ; decompress
|
|
||||||
|
|
||||||
callback
|
callback
|
||||||
|
+ENABLE_ACCEL
|
||||||
|
jsr $BD8E
|
||||||
+RESET_VECTOR reset
|
+RESET_VECTOR reset
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $10DD
|
lda #0
|
||||||
|
rts
|
||||||
|
|
||||||
reset
|
reset
|
||||||
+READ_RAM1_NO_WRITE
|
+READ_RAM1_NO_WRITE
|
||||||
jmp ($FFFC)
|
jmp ($FFFC)
|
||||||
|
|
||||||
|
+
|
||||||
|
lda #<callback
|
||||||
|
sta $8BF
|
||||||
|
lda #>callback
|
||||||
|
sta $8C0
|
||||||
|
jmp $800 ; decompress
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user