/gameboy

:video_game: Game Boy emulator written in Rust

Primary LanguageRustMIT LicenseMIT

Travis-CI

Game Boy

A Game Boy emulator written in Rust

image

Project Status

  • Still work in progress

Requirements

  • Rust
  • cargo-web

Setup Rust

$ curl https://sh.rustup.rs -sSf | sh
$ rustup default nightly
$ rustup target add wasm32-unknown-unknown

Setup cargo-web

$ cargo install cargo-web

How to Run

Clone this repo and launch cargo-web.

$ git clone https://github.com/rim-buei/gameboy.git
$ cd gameboy
$ cargo web start --bin wasm --target wasm32-unknown-unknown

Then, browse http://localhost:8000.

Emulation Accuracy

Currently, this emulator passes Blargg's CPU instruction test cases (cpu_instrs) and CPU instruction timing test cases (instr_timing).

image image