An interpreter for CHIP-8 in Rust.
This interpreter runs directly in the terminal and uses certain Kitty-specific APIs for some of its functionalities. Therefore, it is necessary to install Kitty or a terminal emulator that is built on top of Kitty to run this interpreter.
You can find the executables to install Kitty in its GitHub release page.
To install the dependencies, clone this repository and run the following command in the root path:
cargo build
After that, any CHIP-8 ROM can be executed by running the following command along with its relative path:
cargo run <relative-path-to-rom>
- The ROMs were taken from David Matlack's Chip-8 emulator.
- Tian Yang's Python-CHIP8-Emulator and Tobias Langhoff's Guide to Making a CHIP-8 Emulator were super helpful resources for this project.
- Tim Franssen's chip8-test-suite was a helpful resource for finding bugs. There are still a few more bugs left to squash :)
The code is open-sourced under the MIT License.