Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 530 Bytes

File metadata and controls

29 lines (16 loc) · 530 Bytes

CHIP-8 Emulator

A CHIP-8 emulator in Rust.

Commands

To print out every command from a CHIP-8 file (like this one):

chip8 print FILE.ch8

To run the program:

chip8 run FILE.ch8

To run the program with helpful statements indicating what instructions it's executing:

chip8 trace FILE.ch8

Testing

Run tests:

cargo test

Test that the opcodes work correctly by running the included test ROM:

cargo run -- trace test_opcode.ch8