Re: [hatari-devel] Hatari and OUTSIDE (virtual memory manager)

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


Am 02.10.2018 um 19:05 schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:

> 
> Am 02.10.2018 um 18:40 schrieb Toni Wilen <twilen@xxxxxxxxxx>:
> 
>>> Toni, I read the 68000 family's PRM for PTEST and I don't see a mention
>>> for checking TTR regs when ptest's level is > 0.
>>> In the MMU status register, bit "transparent" is only updated for a
>>> level=0 operation.
>>> 
>>> Could there be an error in this part of the emulation ?
>> 
>> Yeah, it looks like it is wrong. It would make no sense to do TTR check
>> when MMUSR T bit is documented as being zero if PTEST level 1-7.
>> 
>> 68030 MMU is far too complex and too weird.. (At least it is far less
>> weird than 68851..)
>> 
> I agree that this might be a mistake in the MMU emulation code. But I think some testing and confirmation is required before changing behavior.
> 
Patch is applied. It is untested.

Attachment: mmu030_patch34.diff
Description: Binary data



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