Cheemu is a WIP Chip8 emulator( interpreter ) that I wanted to work on to learn about emulation.
I have not tested all ROMs, but there are definitely some that do not work.
Build:
- Install dependencies, premake4 is required, and then it should tell you about any other dependencies needed when you try to build it.
- premake4 gmake && make
- cd Cheemu
- premake4 gmake && make
Run:
- ./CheemuTest to run tests
- ./Cheemu path-to-rom to run emulator with rom.
- Roms are located in roms folder. It's best you try Chip8 ROMs in Chip-8 Games.
Cleanup: In both root folder and Cheemu folder:
- premake4 clean
- rm -rf build
Misc: Premake4 is the build system I'm using to build the project. I'm not super familiar with how it works, so to build some external dependencies such as SDL2 and SDL2 mixer, I use regular lua within the premake4 script to configure, make and install them into the build folders. I think you may need build-essential library for configure, not sure.