A Chip-8 emulator implemented in Rust with SDL2
This emulator does not feature sound, but is otherwise accurate.
- cargo (Rust)
- SDL2
- Homebrew (optional)
SDL2 must first be installed. On mac, you can install it with (assuming that Homebrew is installed)
brew install sdl2
brew install sdl2_image
brew install sdl2_ttf
Clone the repo with
git clone https://github.com/davidgordon12/chip-8
Navigate into chip-8 and, in a terminal, enter
cargo run INVADERS
Keyboard Chip-8
+---+---+---+---+ +---+---+---+---+
| 1 | 2 | 3 | 4 | | 1 | 2 | 3 | C |
+---+---+---+---+ +---+---+---+---+
| Q | W | E | R | | 4 | 5 | 6 | D |
+---+---+---+---+ => +---+---+---+---+
| A | S | D | F | | 7 | 8 | 9 | E |
+---+---+---+---+ +---+---+---+---+
| Z | X | C | V | | A | 0 | B | F |
+---+---+---+---+ +---+---+---+---+