A simple C++ original gameboy (DMG) emulator for windows. My first attempt at an emulator, it is far from cycle accurate but is still able to practically emulate a variety of games.
- Functional CPU with all 512 CPU opcodes implemented
- Implemented V-Blank, Serial and STAT interrupts
- Picture Processing Unit
| No. | Name | Passed? |
|---|---|---|
| 1 | Special | ✓ |
| 2 | Interrupts | X |
| 3 | OP SP,HL | ✓ |
| 4 | OP R, IMM | ✓ |
| 5 | OP RP | ✓ |
| 6 | OP LD R,R | ✓ |
| 7 | JR,JP,CALL,RET,RST | ✓ |
| 8 | MISC | ✓ |
| 9 | OP R,R | ✓ |
| 10 | BIT OPS | ✓ |
| 11 | OP A,(HL) | ✓ |
- freetype
- libjpeg-turbo
- sfml
mkdir buildcd buildcmake -GNinja ..ninjacd bin- Aquire a valid DMG bootrom, and game ROM, tetris is a good shout :)
- In the console, run
./emulator.exe [BOOTROM_FILE] [GAME_ROM_FILE]



