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

#232 in Emulators

44 downloads per month

MIT license

35KB
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.

Status

travis-badge appveyor-badge

  • All 35 original Chip-8 instructions are implemented.

Usage

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):

[dependencies]
chip8_vm = "0.*"

To depend on the development version:

[dependencies.chip8_vm]
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.

Spec

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

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

Licence

MIT

Dependencies

~480–710KB