State of RV Flag during Soft Reset
Posted: Thu Nov 23, 2023 3:48 am
Does the RV flag get reset on a soft reset or nah? I tried testing it myself, and it seems it doesn't. Keeping it set during a soft reset would not work out so well, since the internal vector table is still mapped and would cause the 68000 to jump to the 32X cartridge area, which isn't mapped due to the RV flag, and thus cause a crash on the 68000 side. I have seen sample code for the SH-2 side that just puts them into an infinite loop if the RV flag is set in the VRES interrupt handler.
I guess my actual question is, is my understanding of this correct? Or is there something I am missing or messed up on?
I guess my actual question is, is my understanding of this correct? Or is there something I am missing or messed up on?