Re: [hatari-devel] Hatari and OUTSIDE (virtual memory manager) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Hatari and OUTSIDE (virtual memory manager)
- From: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Date: Tue, 02 Oct 2018 19:05:43 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=04042017; t=1538499949; bh=Wwetf2Fn0EHTcx7VjKkJsEYuTqWBixzDXHUMYQUZ4aE=; h=Content-type:MIME-version:Subject:From:Date:Message-id:To; b=c7xD0G/cgzTDg+n+q/IMLQATsDKTqlCQyXoh+1R1y7V0ak5s2IUl5y8olDoV5Sgk+ +F2NYu1b0Du3N90RB7J9LDUEHPZBGU1/ehoMSmijI8wK5kwyTKyHCnQ+4JaIp3U9Cu PnXZ8lOdnnc7q3I2jB+7Kxt+f9ubeB0JwNYciMKGb/uhGfrkgr7rWcnPYFP7b7983l j8tmpJMOuO4CJD4Guj/01leSf23KORUGNrKLjHAk20MXmWIBuxO+EhTYzE8E71JjEO 1kOnHylUI3Hi/dH3h/CJP28+G2jd3trtN+AGwnF7FqEcoqRk0/KpVH5WxseHE7ptPG R4j6/BRl1t8QA==
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.