Crates.io | chipmunk-sdl2 |
lib.rs | chipmunk-sdl2 |
version | 1.0.0 |
source | src |
created_at | 2023-01-15 18:45:56.90656 |
updated_at | 2023-01-15 18:45:56.90656 |
description | CHIP8 Emulator built in Rust |
homepage | |
repository | |
max_upload_size | |
id | 759625 |
size | 23,051 |
A CHIP-8 interpreter written in Rust.
This was a project I built live during many of my programming streams, which you can find here
To model the keyboard of the time, the following keys are mapped like so
Keypad Keyboard
+-+-+-+-+ +-+-+-+-+
|1|2|3|C| |1|2|3|4|
+-+-+-+-+ +-+-+-+-+
|4|5|6|D| |Q|W|E|R|
+-+-+-+-+ => +-+-+-+-+
|7|8|9|E| |A|S|D|F|
+-+-+-+-+ +-+-+-+-+
|A|0|B|F| |Z|X|C|V|
+-+-+-+-+ +-+-+-+-+
chipmunk run roms/pong.rom
Roms can be ran in debug mode, where the program will wait for F
(mapped to V
) to be pressed before moving on the next instruction.
chipmunk run --debug roms/pong.rom
chipmunk dis roms/pong.rom