[hatari-devel] DSP togging

Eero Tamminen oak at helsinkinet.fi
Wed Jan 12 22:34:18 CET 2011


Hi,

On keskiviikko 12 tammikuu 2011, Laurent Sallafranque wrote:
> I think stopping the DSP does not need to reboot.
> But starting the DSP is more complicated :
> 
> - the DSP starts with certain registers equals to specific values,
> memory is cleaned, Peripheral "registers" are also filled with some
> values. Then, at bootup, there's a bootstrap code which is loaded into
> the DSP. It's used to parameter the DSP for Falcon specificities.
> Some "Peripheral registers" state are changed after this.
> 
> So, starting the DSP and taking it "in it's current state" is probably
> not a good idea.
> 
> I suggest to reboot Hatari if DSP is started from the GUI (no need if
> DSP is stopped).

OK, commited.

I also changed the verification about reboot to be asked unless user has
specified alert level to be fatal (earlier this dialog was shown only on
"warning" level i.e. not by default).


Btw. Why toggling WinAUE CPU cycle accuracy would need reset:
#if ENABLE_WINUAE_CPU                                                           
        /* Did change CPU cycle exact? */                                       
        if (changed->System.bCycleExactCpu != current-
>System.bCycleExactCpu)   
                return true;
?

(changing UAE CPU cycle accuracy System.bCompatibleCpu setting
doesn't trigger reset.)


	- Eero



More information about the hatari-devel mailing list