Yet another CHIP-8 Interpreter in Rust, built for use in rs118. Provides both a complete emulator, and a library to use a base for building your own.
cargo install rs118-chip8
to install the chip8
executable. chip8 <ROM>
will run the rom file provided.
The chip8_base
crate library is designed for use as a starting point. Add the following to your Cargo.toml
:
[dependencies]
chip8_base = "0.2"
See the CHIP-8 workshop and docs.rs for details.
If you get an panic on WSL along the lines of:
[wayland-client error] A handler for wl_keyboard panicked.
Then apt install libxkbcommon-dev
should fix it.