A CHIP-8 interpreter written in Rust, using OpenGL for the display.
If cargo
is installed (see the Rust website):
$ cargo install chip-8 --git https://github.com/splintah/chip-8
$ chip-8 <file>
A pack of 15 CHIP-8 games can be found here: Chip-8 Games Pack.
The key mapping is as follows:
Keypad Keyboard
+-+-+-+-+ +-+-+-+-+
|1|2|3|C| |1|2|3|4|
+-+-+-+-+ +-+-+-+-+
|4|5|6|D| |Q|W|E|R|
+-+-+-+-+ => +-+-+-+-+
|7|8|9|E| |A|S|D|F|
+-+-+-+-+ +-+-+-+-+
|A|0|B|F| |Z|X|C|V|
+-+-+-+-+ +-+-+-+-+
- Make key mapping configurable.
- Add tests.
- Add benches.
- Add configurable pixel width multiplier.
MIT