Re: [hatari-devel] DSP stack handling clarification

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


Le 17/02/2018 à 23:54, Eero Tamminen a écrit :
Hi,

While looking at DSP emulation stack handling in regards to
Sonoluminenz issues, I came up with the attached patch.

It's functionally same as current code, but IMHO makes it
much clearer that the the stack pointer value wraps, and
the check for that.

Laurent, any comments?

Hi

I don't think there's a bug in the dsp stack handling, it's certainly a side effect of a bad cpu<->dsp sync when using CE mode, which creates unexpected behaviour.

The "solution" is certainly more on the cpu side, when better cycle counting will be achieved.

Nicolas



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