A chip16 emulator written in Rust.
Specification 1.3 has been fully implemented. Additionally, the emulator supports basic debugging functionality. The emulator has been tested under Linux and Windows 10 but should also work under OSX. Roms can be found either on the forum or here. Sound and timing accuracy are not perfect but what I would describe as good enough with audio sounding best at a sample rate of 48 kHz or higher.
cargo run --release -- ROM [FLAGS]
The emulator runs at a frequency of 1MHz,
you can remove that limitation by specifying the flag --unlimited
at launch.
Player 1 | Player 2 | |
---|---|---|
Up | Up |
W |
Down | Down |
S |
Left | Left |
A |
Right | Right |
D |
A | N |
X |
B | M |
C |
Select | Right Shift |
Left Shift |
Start | Enter |
Tab |
The debugger can be entered by either pressing F12
or specifying the flag --break
at launch.
Command | Description |
---|---|
bc PC |
break once the program counter hits PC |
bo OPCODE |
break before opcode OPCODE is executed |
s |
perform one cpu step |
c |
exit the debugger and continue running the program |
q |
quit the program |