chip8-emu
CHIP8-EMU
Emulator and debugger for the retro virtual machine CHIP-8!
Besides the original COSMAC CHIP-8, it also fully supports CHIP-48, SCHIP 1.0, SCHIP 1.1 and modern SCHIP variants!
Check out the source code!
Usage
In order to play a game, simply drag-and-drop a ROM onto the emulator screen! You can find ROMs for many retro (and modern) games online, for example here!
The game starts in a paused state, so in order to play it you must press "Run" in the Flow Control Widget, located at the bottom left of the screen.
As you may notice, the emulator also provides more options to control the flow. You can step through the games code line by line, using the "Step" button, or set up breakpoints which will pause your game at the specified line.
The original CHIP-8 did not use the standard keyboard layout. It used a 4x4 keyboard which looked like this:
| 1 | 2 | 3 | C |
| 4 | 5 | 6 | D |
| 7 | 8 | 9 | E |
| A | 0 | B | F |
In this emulator they are, by default, mapped to the left side of the keyboard like this:
| 1 | 2 | 3 | 4 |
| Q | W | E | R |
| A | S | D | F |
| Z | X | C | V |
If this configuration doesn't suit you, look into the desktop version of this emulator, which provides you configs which you can modify!
Additional information
This is the WebAssembly build of my CHIP-8 emulator project written in C++. If you want more (and more in-depth) information about it, how it works, and how to use it, then check out its GitHub page. Please refer to it if you're having any trouble, would like to check out the source code, hear more about how it's made, or even contribute. Have fun!




Leave a comment
Log in with itch.io to leave a comment.