Skip to content

fhools/gbc-emu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Gameboy Color Emulator in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages