mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-26 04:33:10 +00:00
One on One reset vector
This commit is contained in:
parent
cdbae9a6ab
commit
b15e0676ef
@ -246,8 +246,8 @@
|
||||
sta $104
|
||||
lda #$FA
|
||||
sta $105 ; update reset hook to reboot
|
||||
lda #0
|
||||
sta $FFFC
|
||||
lda #1
|
||||
sta $FFFD ; LC reset vector fix
|
||||
sta $FFFD
|
||||
lsr
|
||||
sta $FFFC ; LC reset vector fix
|
||||
}
|
||||
|
@ -7,14 +7,17 @@
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+READ_RAM2_NO_WRITE
|
||||
+READ_RAM2_WRITE_RAM2
|
||||
jsr EnableAccelerator
|
||||
lda MockingboardStuff
|
||||
cmp #1
|
||||
ora #$C0
|
||||
+READ_ROM_NO_WRITE
|
||||
php
|
||||
pha
|
||||
bcc +
|
||||
+LC_REBOOT
|
||||
+
|
||||
+READ_ROM_NO_WRITE
|
||||
lda #$60
|
||||
sta $408B
|
||||
jsr $4000 ; decompress
|
||||
|
Loading…
Reference in New Issue
Block a user