Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.03 KB

CHIP-8 Emulator (Interpreter)

Just another CHIP-8 interpreter written in Rust.

Compile & Run

$ cargo run --release path/to/rom

Controls

CHIP-8 Machines have an hexadecimal pad, which is mapped into standard QWERTY like so:

HEX PAD | QWERTY
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

Debug controls

  • p -> Pause CPU
  • n -> Next cycle
  • o -> Reset program
  • Numkey+ -> Duplicate clock freq
  • Numkey+ -> Halve clock freq
  • Numkey0 -> Reset freq (600hz)

Modifying the Clock frequency will alter the counting speed of the sound (st) and the delay (dt) registries, as they tick at a tenth of the clock speed (60hz).

Resources

Screenshots

image image