Re: [hatari-devel] ST Doom crash with 16Mhz+cache MegaSTE

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


Eero Tamminen schrieb:

NOTE: Everything works fine at 16Mhz, crashes start only after MegaSTE
(16KB) cache is also enabled (from GENERAL.CPX).

Could this be additional Hatari cache handling issue?

I cannot say I fully understood Hatari's MSTE cache handling at first glance. But I wonder why it only uses bits 14-21 as tag:
https://github.com/hatari/hatari/blob/854422f30297be12f68b4e76e4f23c6f2beca4a6/src/m68000.c#L1290
.... whereas the real MegaSTE uses bits 14-23:
https://docs.dev-docs.org/htm/search.php?find=Atari+Mega+STE+Schematic

Wouldn't a too short tag cause wrong cache hits when ST-RAM and ROM are cached?

Regards
Christian
--
Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
WWW: https://www.chzsoft.de/
New GnuPG-Key-ID: 0x8708B34C827B159E



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