This is a gameboy emulator written in Rust just for fun It uses the excellent egui framework for UI.
The emulator runs from the command-line.
Rom is selected via --rom
argument
--rom <ROM FILE>
cargo run --release --bin gbc-emu-egui -- --rom Tetris.gb
Up/Down/Left/Right = Arrow keys
A button = A Key
B button = B Key
Start = Enter Key
Select = Spacebar
Here are the resources that have been used while developing the emulator.
- Pan's Docs - The one and only, describes the hardware and behavior in detial
- Gameboy Instructions Table - A periodic table like diagram of Gameboy Z80 instructions, easy to navigate and has good description of instruction behavior
- RGBDS - RGBDS Instruction Description are also very helpful to understand what cpu flags are set.
cpu_instr.gb test rom is from retrio's gb-test-rom mts test roms are from MoonEye Test Roms