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

gb: add API for multithreading support #121

Open
deltabeard opened this issue Jan 26, 2025 · 0 comments
Open

gb: add API for multithreading support #121

deltabeard opened this issue Jan 26, 2025 · 0 comments
Labels
diff: complex A difficult issue; may require significant planning. enhancement New feature or request feat: medium Rationale is clear and reasonable. Performance Issues or bugs related to performance improvements & regressions.

Comments

@deltabeard
Copy link
Owner

Certain functions of the emulator can be delegated to another core to improve performance. This includes:

  • PPU rendering and sending the next pixel
  • APU rendering the next audio sample

The emulation of register values should continue on the main thread and be timed accurately.

The support for serial communication allows for this already.

The PPU processing in a separate thread is likely to allow for the most additional performance benefit.

@deltabeard deltabeard added diff: complex A difficult issue; may require significant planning. enhancement New feature or request feat: medium Rationale is clear and reasonable. Performance Issues or bugs related to performance improvements & regressions. labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diff: complex A difficult issue; may require significant planning. enhancement New feature or request feat: medium Rationale is clear and reasonable. Performance Issues or bugs related to performance improvements & regressions.
Projects
None yet
Development

No branches or pull requests

1 participant