#chip8 #sdl2 #interpreter #emulator #instructions #c8

app nibble8

Yet another Rust implementation of a Chip-8 interpreter, using sdl2

4 releases

0.2.0 Oct 21, 2021
0.1.4 Oct 17, 2021

#652 in Graphics APIs

Download history 5/week @ 2024-02-26 107/week @ 2024-04-01

107 downloads per month

MIT license

97KB
1K SLoC

CI

nibble8

an image showing the output of a chip 8 rom, i.e. the letters C8

Yet another Rust crate for a Chip-8 interpreter, using sdl2.

Prerequisites

The Rust toolchain should be installed.

SDL2 development library >= 2.0.5 must also be installed. See here for installation instructions.

Usage

From source

git clone https://github.com/hgrsd/nibble8
cargo run --release <path_to_rom.ch8>

Install binary

cargo install nibble8
nibble8 <path_to_rom.ch8>

Running the test suite

cargo test

Literature

See the following articles on the Chip 8 instruction set.

Contributions

Very welcome! Feel free to open a PR or to open a new issue.

Dependencies

~16MB
~358K SLoC