This is my attempt to write a GameBoy emulator in Rust, to add to the pile of existing ones.
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
Seems to work fine with most MBC1+RAM games that I've tried.
- Allow building/running without the boot rom
- Support other MBCs
- Sound
- Maybe compile to WASM?