An open API service indexing awesome lists of open source software.

https://github.com/abusch/gb-rs

Yet another gameboy emulator in Rust
https://github.com/abusch/gb-rs

emulator gameboy gameboy-emulator rust rust-lang

Last synced: 6 months ago
JSON representation

Yet another gameboy emulator in Rust

Awesome Lists containing this project

README

          

# Yet another GameBoy emulator in Rust

This is my attempt to write a GameBoy emulator in Rust, to add to the pile of existing ones.

## How to run

At the moment, you need to have the DMG boot rom file and place it under `assets/dmg_boot.bin` to be able to compile and run the emulator.

Then simply run `cargo run --release -- path/to/rom.gb`.

Current keybindings:
- , , , : Joypad
- A, B: A/B
- Enter: Start
- Space: Select
- ESC: Exit
- D: interrupt the program and start the command-line debugger
- S: Take a screenshot

## Current status

Seems to work fine with most MBC1+RAM games that I've tried.

## Still to do
- [ ] Allow building/running without the boot rom
- [ ] Support other MBCs
- [x] Sound
- [ ] Maybe compile to WASM?

## Screenshots
![zelda_1](assets/imgs/gb-rs-screenshot_1647078829.png)
![zelda_2](assets/imgs/gb-rs-screenshot_1647080899.png)
![wario](assets/imgs/gb-rs-screenshot_1647081153.png)
![mario](assets/imgs/gb-rs-screenshot_1647081687.png)