Peanut-GB
Peanut-GB copied to clipboard
A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.
Implement peripherals that may be connected to the Game Boy serial port. Then allow the front-end to select which peripheral is connected. Example below: ``` enum serial_peripherals { SERIAL_NOT_CONNECTED, /*...
I think this will be better for making animations and videos than dumping every single frame in an uncompressed bitmap. Requirements: - Video and audio in lossless format if only...
Users use different keyboards, so the hard-coded button mappings make it difficult for them to test and play Peanut-SDL.
If bit 7 of [a sprite's attributes](https://gbdev.gg8.se/wiki/articles/Video_Display#Byte3_-_Attributes.2FFlags:) ($FE03, $FE07, $FE0B, ..., $FE9F) is true, the sprite's pixels are supposed to be drawn behind any background pixels that are not color...
_The Lawnmower Man_ for Game Boy reportedly [will not start](https://github.com/mgba-emu/mgba/issues/388) unless joypad interrupts are implemented. To reproduce: 1. Build Peanut-GB on Xubuntu 18.04 2. Start the attached test ROM "Telling...
https://github.com/TwitchPlaysPokemon/tpp1/blob/master/specification.md
Instead of using two large switch statements, there should be an array of palette maps.
Use `SDL_GetRendererInfo()` to find out what the native texture format is for the used driver, then convert the RGB555 values to whatever format is detected. Using a texture format that...
This ugly remnant of debugging must be fully documented.
Currently the joypad input requires setting values in gb_t itself. This should be set by calling a function in peanut-gb which will then set the correct values in gb_t. The...