|Re: [hatari-devel] DSP endless loop|
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Am 06.05.2017 um 08:18 schrieb Andreas Grabher <andreas.grabher@xxxxxxxxxxxx>:
I found the problem. It is a timing issue. My system is too slow to run 68k + DSP in realtime. While the DSP is running performance of the 68040 drops to about 20 % in debugging mode and 40 % in normal mode. I recognized that for some reason the program does not fail on the 68030. The 68030 performance does not drop that far (around 70 %). So finally the problem seems to be this: While performance of the system drops to a fraction of normal speed, the timers (hardclock, event counter) are bound to host time and continue running at normal speed. That causes a situation where the frequency of DSP interrupts gets too high for the system to manage (after servicing an interrupt the next one is immediately following) and ultimately freezes the system.
Thank you for having a look at the traces.
|Mail converted by MHonArc 2.6.19+||http://listengine.tuxfamily.org/|