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

Optimization passes on libqboy #6

Open
Eeems opened this issue Jan 12, 2024 · 6 comments
Open

Optimization passes on libqboy #6

Eeems opened this issue Jan 12, 2024 · 6 comments

Comments

@Eeems
Copy link
Contributor

Eeems commented Jan 12, 2024

The CPU utilization for running this is near 100% on a rM1, so it may be worth looking to see if there is any low-hanging fruit for quick optimizations in libqboy. Maybe @calc84maniac would have some insight, since he's written several gameboy emulators on much more limited platforms.

@Eeems

This comment was marked as resolved.

@calc84maniac
Copy link

Frankly there's a lot that stands out, I mean I could help optimize it but I'm going to hate every bit of code I look at here 😅

@Eeems

This comment was marked as resolved.

@Eeems
Copy link
Contributor Author

Eeems commented Jan 12, 2024

image
i.e. gbgpu::preprocessram() and gbgpu::postprocessram() should be replaced by interfaces to the memory mapped registers that just keep themselves up to date as part of the main cpu cycle.

@Eeems

This comment was marked as resolved.

@calc84maniac

This comment was marked as resolved.

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