Skip to content

kdar/gameboy-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gameboy-rs

A classic Gameboy emulator written in Rust.

Passes all the Blargg's CPU behavior tests.

Screenshot1

Screenshot2

Screenshot3

Screenshot4

Some unique features

Tests

I provide a whole slew of CPU bahavior tests in testdata/ that will allow you to test your own emulator. All you have to do is read in testdata/cpu.json or testdata/cpu.yaml and convert it to your internal structures in your own emulator.

You then can set the pre state and then compare to the post state. Check test_runner_json() in lib/cpu.rs for an example.

An electron GUI

I have an expiermental electron GUI, but still not sure if it's fast enough for the job. It works though.

Rust version

This is the last known rust version it works with: rustc 1.12.0-nightly (545a3a94f 2016-08-04)

TODO

  1. Instruction timings
  2. Memory timings
  3. Sound
  4. Color gameboy?
  5. Optimize

About

A gameboy emulator built using rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages