Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.19 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.19 KB

Gameboy Color Emulator

This is a gameboy emulator written in Rust just for fun It uses the excellent egui framework for UI.

How to run it.

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

Input

Up/Down/Left/Right = Arrow keys

A button = A Key

B button = B Key

Start = Enter Key

Select = Spacebar

Resources

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.

Credit

cpu_instr.gb test rom is from retrio's gb-test-rom mts test roms are from MoonEye Test Roms