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

Screen updates only occur on yield #28

Open
Ocawesome101 opened this issue Oct 4, 2021 · 2 comments
Open

Screen updates only occur on yield #28

Ocawesome101 opened this issue Oct 4, 2021 · 2 comments

Comments

@Ocawesome101
Copy link

This isn't a huge issue, mostly quality-of-life, but I'd really like it for accuracy's sake if OCEmu updated the screen as soon as the gpu call is made, rather than waiting until the next yield. Having things like installers be completely silent until they're done in OCEmu, while still being fairly responsive in-game and in OCVM is rather disconcerting.

This could be as simple as a yield(0) on every gpu call, though it's not an optimal solution.

@Ocawesome101
Copy link
Author

This affects a couple other things too - e.g. computer.beep doesn't make a sound until then.

@zenith391
Copy link
Owner

It's a great idea, but the problem is implementing it while keeping decent performance would basically require the OpenComputers script to run with pre-emption which would require a major redesign (but I liked your blog post about adding pre-emption to Cynosure), so I've been post-poning it since some time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants