Re: [hatari-devel] DSP Bootstrap ROM

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


> Am 23.09.2021 um 09:36 schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
> 
> Le 23/09/2021 à 06:49, Andreas Grabher a écrit :
>>> Am 22.09.2021 um 22:11 schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
>>> 
>>> Hi,
>>> 
>>> Few comments...
>>> 
>>> * Code calls Statusbar_SetDspLed(), but that's missing
>> Sorry, that is an oversight. It is specific to Previous and indicates that the DSP is active.
>>> 
>>> * Add defines for magic (mode / mode_wait) constants
>> I do not understand. Mode is a number between 0 and 3 (you find it in the datasheet of the 56001) and mode_wait is for the timed bootstrap ROM enable/disable.
>>> 
>>> Why BOOTSTRAP_ROM ifdef is needed i.e. what downside it has?
>> At least with Previous the extension causes some loss of efficiency because the waiting loop (waiting for program to be supplied by the host) is permanently running.
> 
> Hi
> 
> I'm not really familiar with the DSP, but doesn't it already run in a waiting loop anyway in the case of Hatari if no specific program is supplied ?
> 
> Also, does the bootstrap mode exist on real falcon/dsp HW ? If so, I think it should be added to Hatari for better accuracy.
> 
> Nicolas
> 
The actual loop is some kind of hack, that partially simulates what the bootstrap program does. While in that loop the DSP does not run. That saves lots of host CPU cycles.

I don‘t know how the DSP is connected on the Falcon. On the NeXT it is possible to select DSP mode by software via system control register.
Furthermore it would be possible to set the DSP to any mode by writing to the OMR. But I did not yet see a program doing that.


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