Re: [hatari-devel] 060 + DSP -> freeze (was: Probably another bug found)

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


Hi,

On perjantai 26 joulukuu 2014, Laurent Sallafranque wrote:
> Le 26/12/2014 21:43, Laurent Sallafranque a écrit :
> > While testing, I've encountered another problem :
> > 
> > I was in Falcon mode, 68030, and I tried to switch to 68060
> > and hatari got freezed (no more F12, no more reset, ...)

This is fully reproducable even directly from GEM desktop.

If one disables sound (separate SDL thread for it),
this is where Hatari spends its time afterwards:
  49.01%   23187    hatari    [.] dsp56k_execute_instruction
  13.92%    6573    hatari    [.] dsp_jclr_pp
  13.45%    6361    hatari    [.] read_memory
   2.91%    1376    hatari    [.] DSP_Run
   0.00%       1    hatari    [.] get_word_cache_040
   0.00%       1    hatari    [.] do_specialties.isra.34
   0.00%       1    hatari    [.] do_specialties_interrupt.isra.32
   0.00%       1    hatari    [.] m68k_run_3p

I.e. Hatari is stuck in DSP emulation.

If I disable DSP emulation at same time I select 060,
CPU switch works fine.


You don't even need to switch CPU, just starting 060+DSP freezes:
$ hatari --tos tos404.img --machine falcon --cpulevel 6

I.e. to use 060, you need to disable DSP:
$ hatari --tos tos404.img --machine falcon --cpulevel 6 --dsp none


	- Eero



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