Skip to content

cbreezier/rchip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rchip8

(Yet another) CHIP-8 emulator written in Rust.

There's nothing particularly special about this CHIP-8 emulator, but it does aim to be faithful to the timings of the sub-systems. For example, it aims to run the exact number of CPU cycles before drawing the screen. It's currently hard-coded to run the screen at 60Hz and the CPU at 700Hz, but those values are easy enough to change.

Usage

rchip8 <rom_file> or cargo run <rom_file> if running from source

Controls

CHIP-8 has a keypad with 16 keys. This emulator uses:

1 2 3 4
q w e r
a s d f
z x c v

Apologies to anyone with a non-QWERTY keyboard...

<Esc> to quit.

Credits

I followed the fantastic write-up at https://tobiasvl.github.io/blog/write-a-chip-8-emulator/

About

CHIP-8 emulator written in Rust

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages