/lameboy

Gameboy emulator written in C++.

Primary LanguageC++

lameboy

Gameboy emulator written in C++

Getting Started

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>

Generating instructions.hpp

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

References