One on One reset vector

This commit is contained in:
Peter Ferrie 2020-03-06 18:52:50 -08:00
parent cdbae9a6ab
commit b15e0676ef
2 changed files with 8 additions and 5 deletions

View File

@ -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
}

View File

@ -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