To compile this project, you need the following dependencies:
- SDL2
- Cmake 4.0+
- GCC/Clang
- make
To compile the emulator follow these steps:
- Create a build directory and cd into it:
mkdir build
cd build- Create the Makefile and other required CMake files with the CMake command:
cmake ..- Compile the project:
makeThis creates a chip-8 executable file that you can run with following this syntax:
./chip-8 ../roms/to/rom.ch8