10000 GitHub - AnActualEmerald/potato: Potato CHIP CHIP-8 emulator
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

AnActualEmerald/potato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Potato CHIP

A minimal CHIP-8 VM. An explanation of CHIP-8 and how it works can be found here.

Installation

Pre-built binaries

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

From source

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

Usage

potato /path/to/rom/file

Running the tests

To run both the IBM logo test and Corax89's test ROM:

git clone https://github.com/AnActualEmerald/potato
cd potato
make test-all

About

Potato CHIP CHIP-8 emulator

Resources

Stars

Watchers

Forks

Packages

No packages published
0