Re: [hatari-devel] Hatari segfault on cold boot with MMU + EmuTOS

[ Thread Index | Date Index | More Archives ]

On Mittwoch, 31. Oktober 2018 23:57:16 CET Eero Tamminen wrote:

> Maybe

> EmuTOS initializes MMU right after welcome screen, or at least does

> some extra MMU settings after it?


No, it's done rather early on coldboot, with a minimalistic PMMU table at $700. That table is identical to the one that TOS 4.x uses, which is almost identical to the one used by TOS 3.x (the difference is explained at the top of pmmu030.c). Once it is installed, EmuTOS itself never changes it, nor does it change the transparent translation registers.


The table is installed in processor.S in processor_init(), which is called from bios_init() rather early, after a 030 cpu has been detected. The table itself is located at pmmu030.c


Mail converted by MHonArc 2.6.19+