Re: [hatari-devel] Fix DSP's rol/ror instructinos

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


Hi Laurent
It certainly will fix one part of my upcoming demo :)

Sadly there's a number of other DSP defects in hatari:
* long interrupts are incorrectly masked. hatari don't seem to adjust IPL level correctly. My case was where I have SSI SEND and RECEIVE interrupts at the same time. On real machine a long interrupt would block SSI interrupts in SR preventing SEND interrputs if RECEIVE was fired. This is obviously only a problem when you forget
to adjust the SR while developing on hatari and then it doesn't work on Falcon :)
* It seems that jsset/jsclr can't be used to trigger long interrupt. This seems to work on Falcon. There's no mention of that in the 56001 manual though.

SSI seems to be totally out of sync for me. I can share a piece of code which plays sound perfectly fine on falcon while in hatari it sounds really bad.


Regards
Mariusz


On 1 August 2018 at 21:31, Laurent Sallafranque <laurent.sallafranque@xxxxxxxx> wrote:
Hi,

You're right, I'll upload your fix into Hatari repository tonight.
Well spoted.

Do you know if this fix any DSP demo or game in hatari ?

Regards
Laurent




Le 01/08/2018 à 09:17, Mariusz Buras a écrit :
Hi there
I've attached a patch to fix incorrect ror/rol emulation for Falcon DSP..
Regards
Mariusz







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