Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cspect: Get Sprite Patterns during debugged program being run #22

Open
maziac opened this issue May 24, 2020 · 0 comments
Open

cspect: Get Sprite Patterns during debugged program being run #22

maziac opened this issue May 24, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@maziac
Copy link
Owner

maziac commented May 24, 2020

Note: In the develop branch the program lives the running state if some DZRP command is sent so this cannot happen here anymore.

Nevertheless it is still unclear why this is a problem:

If the debugged program is being run and one presses the sprite patterns reload button a few times then the debugged program starts to behave strange.
The z80-sample-program e.g. is still running but the output to the screen does not happen anymore.

I tested a bit: when I move the GetSpritePatterns function into the Tick() routine the strange effect is gone. So this is most probably a threading issues.
Unfortunately I cannot simply move all message responses in the Tick routine as it would require 20 ms per message which is too much.

Need to find another clever way.
(Asked Mike for a faster Tick() method)

@maziac maziac added the bug Something isn't working label Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant