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

Feature/gbc support #1

Merged
merged 9 commits into from
Nov 7, 2022
Merged

Feature/gbc support #1

merged 9 commits into from
Nov 7, 2022

Conversation

finger563
Copy link
Contributor

Refactored code to allow for simultaneous GB/C & NES emulation (gnuboy and nofrendo). Still WIP (gbc runs at only 30 FPS if you enable audio and there is a lot of cleanup needed) but it is functional (can select rom - play - and then leave by pressing the home button, after which you can select another rom).

…sting spi_lcd transaction queuing instead of blocking.
… the only implementation we support currently.
…can now also share the same framebuffer memory (which is nice) and that framebuffer is allocated in SPIRAM. Fixed the nes cpu to not conflict with gb cpu declaration. fixed NES input to not invert the logic of the button presses incorrectly. updated so that all emulators can use the same audio buffers. added api for setting the audio output volume. removed vid_init (unused) from gnuboy since it conflicts with nofrendo. Moved gameboy.hpp and nes.hpp implementations into gameboy.cpp and nes.cpp files for cleanlieness. Moved touch input out of nofrendo and into nes.cpp.
@finger563 finger563 merged commit addbbad into main Nov 7, 2022
@finger563 finger563 deleted the feature/gbc-support branch November 7, 2022 21:47
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

Successfully merging this pull request may close these issues.

1 participant