I was poking around again at some dual SH2 experiments on the Saturn and actually got it to work this time (on HW too).
Then I added syncing using the same method of polling the FRT control status register as used in the SBL. This also appeared to work, until I tested it on my Saturn and noticed that my slave code never seemed to be executed anymore.
The problem seems to have something to do with when 0xFFFF is written to 0x21000000. Does anyone know what this actually does? Will it just set the flag in FRTCSR, or does it also cause an interrupt?
Then I added syncing using the same method of polling the FRT control status register as used in the SBL. This also appeared to work, until I tested it on my Saturn and noticed that my slave code never seemed to be executed anymore.
The problem seems to have something to do with when 0xFFFF is written to 0x21000000. Does anyone know what this actually does? Will it just set the flag in FRTCSR, or does it also cause an interrupt?