12 releases (4 breaking)

Uses old Rust 2015

0.4.0 Apr 4, 2015
0.3.5 Apr 2, 2015
0.3.4 Mar 27, 2015
0.2.0 Feb 26, 2015
0.0.3 Feb 14, 2015

#179 in Emulators

Download history 8/week @ 2024-02-19 4/week @ 2024-02-26 2/week @ 2024-03-11 172/week @ 2024-04-01

174 downloads per month

MIT license

741 lines

Virtual Machine for the CHIP-8 programming language

This crate implements a virtual machine of the CHIP-8 programming language. It can be used as the back end for CHIP-8 emulator projects / debuggers etc.


travis-badge appveyor-badge

  • All 35 original Chip-8 instructions are implemented.


This crate does not depend on additional system libraries, it only depends on other Rust crates. It can be used as a back end for your own emulator by adding it as a dependency in your Cargo.toml.

To depend on the latest released version that we host on crates.io (https://crates.io/crates/chip8_vm):

chip8_vm = "0.*"

To depend on the development version:

git = "https://github.com/chip8-rust/chip8-vm"

See an example integration with a UI in the chip8_ui crate code. For further information, take a look at the chip8_vm documentation.


These two resources were used as the spec for this vm:

They were both incredibly helpful. Our thanks to the authors!