dy-chip8-reborn is the second iteration of my chip8 emulator in C. The previous/first version was a rush job and I was inexperienced and the code base ended up being a mess with macros and what not god forbidden things littered all over the place.
This is my attempt to completely rewrite another chip8 emulator from scratch and newer goals in mind:
- A feature-rich debugger
- Accurate timers
- Clean and Readable Code
- Portable across Operating Systems
and anything else that I may wish to do in the future.
Currently the emulator is in the beta. Emulator passes all test ROMs borrowed from the Emudev Discord server.
You can obtain the games from this link
$ chip8-rb path/to/romfile.ch8
Make sure that raylib
, git
, make
are installed on your machine.
Install them using your distribution's package manager or compile from source from official website.
- Get a copy of the code - using
git clone
or Download Zip from GitHub.
$ git clone https://github.com/itspacchu/dy-chip8-reborn
$ cd dy-chip8-reborn
$ make -j3
After following above three steps, you should have a file called chip8-rb
in the project root.