A CHIP-8 emulator in Rust with iced-powered GUI
MIT License
A CHIP-8 emulator written in Rust and iced-powered GUI.
ROM files are not included in the repository. You can download them from e.g.:
Remark that, in the game pack, BLITZ and VBRIX don't work correctly. It's not from the emulator's mulfunction, but from implementation bugs in ROMs.
$ git clone https://github.com/y-taka-23/rust-chip8.git
$ cd rust-chip8
$ cargo run -- path/to/ROM_FILE
The CHIP-8 keys in the left are mapped to the corresponding keys of a normal keyboard in the right.
You also can pass the options like cargo run -- path/to/ROM_FILE --clock 250
.
chip8 0.1.0
USAGE:
chip8 [OPTIONS] <FILE>
ARGS:
<FILE> File of the CHIP-8 ROM
OPTIONS:
--clock <INT>... Change the clock speed (1-500 Hz) [default: 500]
--color <STRING>... Select the display color (white/green/amber) [default: white]
-h, --help Print help information
-V, --version Print version information
--verbose Show the detailed execution trace