Re: [hatari-devel] Hatari freezes at startup with cycle-exact disabled

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


Le 26/10/2022 à 01:33, Eero Tamminen a écrit :
Hi,

Hatari freezes now right at start, if "--cycle-exact off" is used.

"make test" also gets stuck at step 46, in "cycles-compatible" test.

Hi

some changes in the way cycles_mult was set where introduced in latest CPU changes and they didn't work with some other Hatari's specific changes ; it caused adjust_cycles() to always return 0 instead of the correct number of cycles in non CE mode.

This is fixed by not using adjust_cycles() as WinUAE does (to simulate a faster/slower cpu clock), but always keeping the initial number of cycles used by each opcode.

Nicolas



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