This is a simple project I'm writing to teach myself Rust. CHIP-8 is a virtual machine from the 1970s, used for running simple games. Here's the CHIP-8 technical specification.
chiprs/
- emulator enginechiprs-sdl/
- SDL emulatorgames/
- game ROMs, taken from http://devernay.free.fr/hacks/chip8/
You need to install Rust and Cargo. You'll also need the
SDL2 library (something like libsdl2-dev
).
cd chiprs-sdl
cargo run ../games/<game>.ch8
The keyboard layout is:
1 | 2↑ | 3 | C |
4← | 5 | 6→ | D |
7 | 8↓ | 9 | E |
A | 0 | B | F |
By Paweł Marczewski [email protected].
Licensed under MIT (see LICENSE
), except the games
directory.