Fwd: [hatari-devel] DSP for Previous

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

If you apply the appended patch on top of my other changes, the SSI part should be OK. But it might need some further cleaning, because some parts are obsolete with the new interrupt handling (checking the interrupt enable bits no longer necessary).

I'm quite sure you'll get much more reliable and compatible emulation with the new interrupt handling.
If you have any questions, please just ask.

Attachment: dsp_patch.diff
Description: Binary data

Anfang der weitergeleiteten Nachricht:

Von: Andreas Grabher <andreas.grabher@xxxxxxxxxxxx>
Betreff: Aw: [hatari-devel] DSP for Previous
Datum: 06. Oktober 2015 19:54:03 MESZ

There is a little part missing in the SSI part. I did not re-implement it, because i had no need for it and no way to test it. I just commented out the old code. The commented code is in dsp_cpu.c, line 1137 and dsp_core.c, line 335 and 434. It needs to be adapted to the new interrupting routine.

I can help to fix that one. It should be easy.

Am 06.10.2015 um 19:22 schrieb Laurent Sallafranque <laurent.sallafranque@xxxxxxx>:


I gave it a try a few weeks ago, but it resulted in regressions, so I gave up.
I'll retry to insert your patch next week (I'm really too busy this week).

The regression was mainly in the SSI part (There was no more music in SSI mode).



Le 06/10/2015 19:05, Nicolas Pomarède a écrit :
Le 06/10/2015 18:59, Andreas Grabher a écrit :
Hello Hatari Community!

Is there any recent work on the DSP side? I see my interrupt patches are not yet integrated. After using the new method in Previous for some time, i think it should be safe.
Anyway i have a least two known problems (maybe it is only one): One gives a black line in the middle of a mandelbrot fractal, the other one leads to heavy sound distortion when playing a special piece of DSP audio.

I posted a screenshot of the fractal and some debugger output some time ago.

Any help is welcome. If you have questions about the interrupt code, i'll be glad to answer them.


on my side, I resumed work on other parts at the moment (improving winuae cpu core integration for STF/STE).

Once this is done, I can take a look, but IIRC laurent said it would have a look too, and I think he knows this part better.


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