Re: Aw: Re: [hatari-devel] MegaSTE cache emulation issues |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: Aw: Re: [hatari-devel] MegaSTE cache emulation issues
- From: Eero Tamminen <oak@xxxxxxxxxxxxxx>
- Date: Thu, 3 Jul 2025 01:07:47 +0300
- Dkim-filter: OpenDKIM Filter v2.11.0 smtp.dnamail.fi 226452113E09
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=helsinkinet.fi; s=2025-03; t=1751494068; bh=r7saLs+wDyi+UvyDYGFYFmieXltXfIABuIzuGpLNd04=; h=Date:Subject:To:References:From:In-Reply-To:From; b=H5uXipNjvJeV74UH8bQzlCI0sW/EzAhn0CKGYhiT2ZIwAApp578uDZtNbKNVaobB6 9fZjMIZV5SBh7D9Wzff/mHRTrNrZWhJnwVCppWBShelLMfOPLGlPksOaLc7lUgIvoM LCi6j3tzBiyCaVUP35mIDnWAmD1f5b8EeBdOr4bFm4CX8/0lSv3Hpv4PdhZd4ZwdG7 1zwVY2hJ1Ic0gY7tzahljwBqCBs7GaDAXpoiddoscWWTTuIRq/AoUYzTgXLZzfq4NY aavyPyN0+mv2Oq2r5ebq1z1NSi96qZlo75PWrtDrkYI71kfaIYQRtjDKYN/hAn9AbT zVpVKoH+qBRoQ==
Hi,
On 3.7.2025 0.09, Nicolas Pomarède wrote:
Updated code was pushed, Hatari now matches the result of your
mscatest.tos test program, both for DTA structure and for bus error access.
>
Accesses causing address error will also prevent data from being cached,
which was not the case with initial cache emulation
Couple of comments on the commit:
* None of the updated MegaSTE_Cache_*() functions are referred outside
of m68000.c, so they could all be static
* While all accesses seem to be byte or word sized,
MegaSTE_Cache_Addr_Cacheable() check could be for "Size > 2" instead of
"Size == 2", just in case...
- Eero