As part of my Bachleor thesis, I am creating a Gameboy(DMG-01) emulator. It is made using the C programming language and the SDL2 graphics library It was compiled and tested using the 32-bit mingw32 compiler on a windows 10 machine
To compile the code, go to the Gameboy directory and run the command:
mingw32-make
Then to start the emulator, change into the bin
directory and start the main.exe file by also specifying the ROM you want to play, for example:
main.exe .\Tetris.gb
This emulator is in its very early stage of development, currently I have only implemented most of the instruction set and not much else, however you can see most of the logic in gb_instruction_processing file It currently displays each instruction being executed, as well as all the registers and flags.
The CPU is finally fully implemented and it passes all of the 11 Blaarg tests! Next will be the PPU