An emulator for the classic virtual architechture
chip8 <ROM> [-s/--speed SPEED] [-d/--debug]
(Chip8 key is listed, QWERTY key is in parentheses)
To better visualize the keyboard, imagine a phone keyboard starting at 1, with A and B next to 0, and then the last four digits down the side.
- Press
[spacebar]
orp
to pause/unpause - Press
.
to toggle debug mode - Press
[enter]
to step through the program
Debug mode splits the screen into 4:
- Chip8 display in top left
- Assembly instructions in bottom left
- Memory contents in top right
- register contents in bottom right
While in debug mode, you can scroll through the program instructions, and click to the left of any instruction to set a breakpoint, represented by a red circle. Clicking a second time will remove the breakpoint. The program will automatically pause when it hits a breakpoint.