On Sat, 7 Jun 2014, BALATON Zoltan wrote:
I'm not sure how it should work but on real hardware the mapped area seems to be 0x0000-0x3000 while with OpenBIOS it's only 0x1000-0x3000. Could we just modify it to be 0x2000-0x3000 to avoid the exception? Or can we match what's on real hardware?
Alternatively maybe the translation could be locked in using dbat registers as maybe the DSI happens because the entry is not in the TLB any more by the time it is accessed. Please decide on one solution and let me know which one you prefer.
I'd really like to get this in before the freeze because it is probably the biggest obstacle now preventing more people to try running MorphOS on QEMU. (The other one is in QEMU but that's less prohibiting because unlike building OpenBIOS that does not need a cross-compiler environment.)
Regards, BALATON Zoltan