https://github.com/grazen0/chip-8-rs
👾 Portable CHIP-8 emulator written in Rust
https://github.com/grazen0/chip-8-rs
chip8 rust sdl2
Last synced: 3 months ago
JSON representation
👾 Portable CHIP-8 emulator written in Rust
- Host: GitHub
- URL: https://github.com/grazen0/chip-8-rs
- Owner: Grazen0
- License: other
- Created: 2022-03-25T03:38:16.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-26T16:15:08.000Z (almost 4 years ago)
- Last Synced: 2025-03-12T22:22:35.357Z (about 1 year ago)
- Topics: chip8, rust, sdl2
- Language: Rust
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chip-8-rs
👾 A portable [CHIP-8](https://en.wikipedia.org/wiki/CHIP-8) emulator written in Rust, and powered by [SDL2](https://www.libsdl.org/)
## Building
Clone the repository and run `cargo build` to compile the app.
## Controls
The COSMAC VIP keypad layout is mapped to the left side of the QWERTY keyboard:
COSMAC VIP keypadQWERTY layout
| 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 |
There are also a bunch of control commands:
- **Ctrl+O:** Open file
- **Ctrl+Q:** Quit
- **Ctrl+R:** Reset program
- **Ctrl+C:** Change pixel color
- **Ctrl+W:** Decrease CPU execution speed
- **Ctrl+E:** Increase CPU execution speed