View a writeup of this project on my website
This is a simple chip 8 emulator written in rust, mainly developed for learning.
The goal of this emulator isn't to write a very efficient and memory safe one, we already have those, what I am trying to do is writing an emulator which is easy to understand, so that even an unexperienced coder can understand what's going on.
This program was tested in linux only, but should work in windows just fine
rust
- to have the std and core components of rustcargo
- to compile rust code
git clone https://github.com/Ferryistaken/CHIP8-rs.git
cd CHIP8-rs
cargo build --release
- Move the binary into your path (Ex.
mv target/release/CHIP8-rs /usr/bin/
)
chip8-rs -c 10 -d --rom <path to rom>
Arguments -c
and -d
are optional, they default to 10
and false
, they stand for clock(it's really a delay) and debug mode, which by default is off.
If you have any problems create a new issue.
Contributors names and contact info
Alessandro Ferrari -
Site
This project is licensed under the MIT License - see the LICENSE.txt file for details