Expand description

chip8-base provides everything you need to get started building your own CHIP-8 interpreter. See the documentation for the Interpreter trait to get started.

Enums

CHIP-8 displays are black and white, so each pixel can be in only one of two states. This type has bitwise operators and conversion traits defined to make it easy to work with.

Traits

CHIP-8 interpreters can be built using this trait. step should be implemented on a type representing a CHIP-8 Interpreter to run the interpreter one clock cycle at a time, such that calling it in a loop runs the interpreter.

Functions

Starts the interpreter, blocking the current thread and running until killed. Windowing, graphics, sound, and timing are all handled within this method.

Type Definitions

The Interpreter’s representation of the CHIP-8 display. The display is 64x32 pixels, each pixel being either Black or White.

This type is how keyboard input is presented to the Interpreter. Each of the 16 keys can either be down (true) or up (false).