Re: [hatari-devel] MMU support

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


I think the 68030 MMU emulation of Previous used in Hatari is the first full emulation of the 68030's MMU.
Like Thomas said, it is still in experimental state, because there has only been little testing. Recently some bugs have been discovered and fixed. Hopefully there are no more bugs in the code.
But one thing is still missing, although not just MMU related: correct handling of the 68030's Special Status Word (SSW). It is needed for the exception stack frame for bus and address errors.
It needs to be set on all (not just MMU) bus error and page fault exceptions.

I do not yet understand all of the bits inside this SSW. I'd be happy if anyone could explain them to me. I'll try to implement it, as soon as i can understand it.
The bits are explained in the MC68030UM.pdf (68030 users manual), page 295 (pt. 8.2.1).


Am 24.11.2012 um 10:22 schrieb Thomas Huth:

Hi Roger!

Since a couple of weeks, we've got full 68030 MMU emulation in Hatari (taken from the NeXT emulator Previous). It's still experimental, but it's already enough to boot TOS with its MMU translation and some programs like the Demo X-tasie.

To use it, you've got to use the latest version from Mercurial, enable the WinUAE core before compiling and then use the --mmu 1 command line flag for the hatari executable.

Concerning 68040 MMU emulation, the WinUAE core also provides this (based on an older version of the Aranym MMU). But this is quite untested in Hatari so it might not work at all in the current version.

Thomas
--
Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.



Roger Burrows <rfburrows@xxxxxxxxx> schrieb:
I believe that the '030 supported by Hatari is the 68ec030, i.e. without page 
tables. Are there any plans to add full MMU support?

What's the current status of MMU support for the 68040? Is it really a 68ec040
or a full 68040?

Thanks,
Roger Burrows






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/