Posts about CHIP-8
Hi everyone! I wrote a CHIP-8 emulator in Golang which compiles to WebAssembly and runs in the browser. I'm new to emulator development and initially thought of working on a GB emulator. I decided to work on this instead to get a taste of what it takes to build an emulator before tackling bigger emulator projects.
You can find the emulator here: CHIP-8 Emulator (bobbynarvy.github.io) and the source code here: bobbynarvy/chip-8: A CHIP-8 Emulator (github.com)
The emulator still has issues but it is largely usable. It passes most of the tests in test ROMs that I have found, in particular the ones here. It also has a simple debugger that actually helped me find issues in my implementation.
First of all, here's a repo: https://github.com/iliasizmaylov/cheap8
So about a year ago I decided to "quickly" make a Chip-8 emulator for practice and I encountered some bugs in my implementation of opcodes that were hard to debug without a debugger and I left it at that because I didn't want to deal with it. A month ago I decided to finally make a debugger and decided that I want it to be TUI based.
This little number is not finished there are still some problems but I think I'll call it quits because I saw sooooo many cool chip-8 projects and I don't think it'll be useful to try to polish mine and I'm kinda tired of it.
Anyway, I tested it on ROMs from https://github.com/kripod/chip8-roms and everything seems to be in order. Hope somebody finds as fun or interesting or both.