A minimal CHIP-8 VM. An explanation of CHIP-8 and how it works can be found here.
Download the appropriate binary from the latest release and extract it.
For example, on Linux you might do:
curl -o potato.tar.gz https://github.com/AnActualEmerald/potato/releases/download/v0.1.0/potato_x86_64_gnu_linux.tar.gz
tar xzfv potato.tar.gz potato
Then, optionally move the binary to a location in your PATH:
sudo mv potato/potato /usr/bin/potato
Install Rust if you don't already have it on your system.
The simplest way to build the project is using cargo
to install directly from t
62FE
he git repo:
cargo install --git https://github.com/AnActualEmerald/potato
Or you can manually clone the repo and build it locally:
git clone https://github.com/AnActualEmerald/potato
cd potato
cargo build --release
# Or run the project directly with cargo run
cargo run -- roms/test_opcode.ch8
potato /path/to/rom/file
To run both the IBM logo test and Corax89's test ROM:
git clone https://github.com/AnActualEmerald/potato
cd potato
make test-all