A working gameboy (classic, not color) emulator! Currently not aiming for cycle-accuracy; just aiming for accurate CPU instructions and playable games.
Tested + playable with Tetris and Kirby's Dream Land
Initialize git submodules
$ git submodule update
$ git submodule sync
$ git submodule init sm83
Manual build:
$ gcc -c -o cjson.o vendor/cJSON/cJSON.c
$ gcc -c -o main.o src/main.c
$ gcc -o gbemu main.o cjson.o
$ rm main.o cjson.o
$ ./build/gbemu
With GNU make:
$ make
$ ./build/gbemu
Or with nix:
$ nix develop
$ make
$ ./build/gdemu
cJSON.c: https://github.com/DaveGamble/cJSON (MIT license) sm83: https://github.com/SingleStepTests/sm83