Hello all.
Does anyone know if it's possible to make an Oric "reboot" from code? I mean perform as if a hard reset had been pressed.
Performing just a CALL DEEK(#FFFC) or jmp $f88f (after switching overlay ram off) does not work, as it does not seem to init SEDORIC again (boots with the white screen and no DOS).
This could ease some things with Space 1999, as I could make it load again from disk with no additional code.
Regards
Making an Oric "Reboot"
In "Sedoric à nu", it is said (pages 482-483) that at the boot it's the routine in #EB7E IN THE MICRODISC ROM that is executed.
I don't know if there's a way to activate the Microdisc ROM by software, but you can still analyse and copy this routine somewhere (the Microdisc ROM being provided with Euphoric). Maybe it would work?
I don't know if there's a way to activate the Microdisc ROM by software, but you can still analyse and copy this routine somewhere (the Microdisc ROM being provided with Euphoric). Maybe it would work?
Not sure how to disassemble that routineSymoon wrote:In "Sedoric à nu", it is said (pages 482-483) that at the boot it's the routine in #EB7E IN THE MICRODISC ROM that is executed.
I don't know if there's a way to activate the Microdisc ROM by software, but you can still analyse and copy this routine somewhere (the Microdisc ROM being provided with Euphoric). Maybe it would work?
However I was thinking about setting some value on page 3 to make the disk drive init again... just don't know how to do so.
Maybe Fabrice knows the answer.... should drop him a line.
Cheers.
Guess it... the Master knew the answerChema wrote:
Maybe Fabrice knows the answer.... should drop him a line.
This is it. The question seems to be to enable the Microdisc EPROM before calling the routine in FFFC. And, also, Fabrice recommended to disable the Oric ROM. This is done clearing bits 7 and 1 in $314 respectively, so the code to reboot the Oric is:
Code: Select all
lda $0314
and #%01111101
sta $0314
jmp ($fffc)
Simple and brilliant. Thanks Fabrice!
EDIT: Obviously you can also call the routine at #EB7E as Symoon said. It also works fine.