Gameboy emulator written in C++
Start by cloning and building the project:
git clone https://github.com/evansmal/lameboy.git
cd lameboy && mkdir build && cd build
cmake .. && make
Run using the filepath to your ROM:
./build/lameboy <rom_filepath>
We use the JSON description from this project to code generate a header containing all of the opcodes to avoid maintaining this manually. To regenerate this header, download the JSON source locally and run the following command:
python3 utils/generate_opcode_desc.py ops.json > src/instructions.cpp