gb-rs
gb-rs copied to clipboard
Yet another gameboy emulator in Rust
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
