This is a CHIP-8 interpreter written in rust as a personal project to get familiar with rust and learn how interpreters work.
- Guide to making a CHIP-8 emulator
- Cowgod's Chip-8 Technical Reference
- A Chip-8 Interpreter written in C
- Chip-8 VM built in rust
- Install sdl2. Ubuntu example:
sudo apt-get install libsdl2-dev libsdl2-gfx-dev
For more information visit rust-sdl2 documentation
$ ./chip8-interpreter roms\space-invaders.ch8
$ ./chip8-interpreter --help
Chip8 interpreter written in rust
Usage: ./chip8-interpreter [OPTIONS]
Options:
-f, --filename <FILENAME> Path to rom file [default: roms\space-invaders.ch8]
-a, --azerty Default keyboard layout is QWERTY
-h, --help Print help
-V, --version Print version
'esc' Key : Close the Emulator
'P' : Pause / Resume the Emulator
1 | 2 | 3 | C |
4 | 5 | 6 | D |
7 | 8 | 9 | E |
A | 0 | B | F |
1 | 2 | 3 | 4 |
Q | W | E | R |
A | S | D | F |
Z | X | C | V |
1 | 2 | 3 | 4 |
A | Z | E | R |
Q | S | D | F |
W | X | C | V |