Re: [hatari-devel] DSP stack handling clarification

[ Thread Index | Date Index | More Archives ]

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

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?


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.


Mail converted by MHonArc 2.6.19+