Crate chip8_base
source · [−]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.