A CHIP-8 emulator written in Rust to get familiar with the language features.
Based on the excellent C++ CHIP-8 emulator tutorial by Austin Morlan
./chip8-rs <SCALE> <DELAY> <ROM>
./chip8-rs 20 4 /path/to/PONG2.ch8
The keyboard is used as the controller, with the following keys mapped:
1 2 3 4
Q W E R
A S D F
Z X C V
The controls can be changed by editing the platform::get_keycode
static method.
You can download free CHIP-8 ROMs here and here
The codebase uses the usual cargo build tools. Run cargo build --release
from the project root directory to build the executable.
Created by: Taylor Denouden (2021)