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

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


Hi Nicolas,

I did not get your or others' replies on this, but I just applied your patch from the mail archive:
https://listengine.tuxfamily.org/lists.tuxfamily.org/hatari-devel/2025/06/msg00046.html

With it, STDOOM works on MegaSTE @ 16Mhz + cache just fine!

=> Please merge!  (after pulling the fixes I've just pushed)


	- Eero

On 11.6.2025 0.33, Eero Tamminen wrote:
Hi,

According to this post:
https://www.atari-forum.com/viewtopic.php? p=481296&sid=382d0062d5e531cfdb8f6601773b66e6#p481296

ST-DOOM works fine on real MegaSTE @ 16Mhz with cache enabled:
https://github.com/indyjo/STDOOM/tree/master#readne


However, with Hatari it crashes at startup.

The actual crash differs a bit between TOS versions:
- TOS 2.06: 4 bombs after "I_InitSound"
- EmuTOS v1.3 256k: illegal instruction after "R_Init"
- EmuTOS v1.2.1 256: bus error after "I_InitSound"
- EmuTOS v1.1.1 256k: bus error after "R_Init"
- EmuTOS v1.0 512k: address error after "I_InitSound"
- EmuTOS v1.3 1024k: freeze after "I_InitSound"
- EmuTOS v1.2.1 1024k:  illegal instruction after "R_Init"
- EmuTOS v1.1.1 1024k:  illegal instruction after "I_InitSound"

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?


     - Eero





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