A classic Gameboy emulator written in Rust.
Passes all the Blargg's CPU behavior 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.
I have an expiermental electron GUI, but still not sure if it's fast enough for the job. It works though.
This is the last known rust version it works with: rustc 1.12.0-nightly (545a3a94f 2016-08-04)
- Instruction timings
- Memory timings
- Sound
- Color gameboy?
- Optimize