Written in Rust, no emulator specific tutorials were used. Supports regular 64x32 Chip-8 programs and some HiRes 64x64 Chip-8 programs. The 1-bit color palette is from here.
Requires Rust to be installed. Many ROMs available on GitHub.
- Clone or download and extract repository.
cd path_to_repocargo run path_to_rom_file
Valid keys are 0-9 (row or numpad) and A-F. Press ESC or close window to exit. To reset, press R.
- Some test ROMs expect different behaviour from the technical reference
The package can be built as a library. To view documentation run cargo doc --open.
Tests are implemented for instructions with most significant 4-bits in range 0-C (up to Cxnn).
Run tests with cargo test.
- Cowgod's Chip-8 Technical Reference
- Chip-8 Opcode table on Wikipedia
- User discussion for behaviour of some instructions like Fx0A
