chip8_vm 0.4.0

Virtual machine for the CHIP-8 programming language
Documentation

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