Skip to content

Zephyruston/chip8-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust implement CHIP-8 Emulator

Following in the footsteps of predecessors, I implemented a CHIP-8 emulator by learning from existing projects.

CHIP-8 Emulator Core

WASM

cd ./rsc8_wasm
cargo install wasm-pack
rustup target add wasm32-unknown-unknown
wasm-pack build --target web
mv ./pkg/rsc8_wasm_bg.wasm ../web
mv ./pkg/rsc8_wasm.js ../web

Start server by Python

cd ./web
python -m http.server

Keymap

Keyboard     Keypad
--------------------
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

Press Esc to exit

Source

About

Rust implement chip8 emulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published