An implementation of the CHIP-8 interpreter
cargo run --release <path/to/rom>
I've added somes games in the roms
folder to try out. For example, to play the classic game Breakout:
cargo run --release roms/breakout.ch8
CHIP-8 has a 16-key keypad, denoted in hex (0-F
). The keypad is mapped to the keyboard as follows:
Chip-8 Keypad | Keyboard Mappings | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
For example, to play breakout.ch8
, the controls are 4 and 6 to move the paddle left and right (Q and E respectively on the keyboard).