Loading sprite patters while running (press "Reload" heavily) makes CSpect debugger behave oddly.
Here is the Z80 sample program:
It does not even make use of sprite patterns.
It seems that memory gets corrupted. For some time it is still possible to follow program execution
but the data (the colors) to draw is wrong.
The underlying problem seems to be that I can't stop the debugger reliably to do so.
Maybe I need to serialize execution completely in Tick() function.
But that is called only every 20ms and does not seem to solve the problem either.
Loading sprite patters while running (press "Reload" heavily) makes CSpect debugger behave oddly. Here is the Z80 sample program: It does not even make use of sprite patterns. It seems that memory gets corrupted. For some time it is still possible to follow program execution but the data (the colors) to draw is wrong.
The underlying problem seems to be that I can't stop the debugger reliably to do so. Maybe I need to serialize execution completely in Tick() function. But that is called only every 20ms and does not seem to solve the problem either.