Skip to content

Moon-794/Simple-Gameboy-Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moons Gameboy Emulator

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.

Features

  • Functional CPU with all 512 CPU opcodes implemented
  • Implemented V-Blank, Serial and STAT interrupts
  • Picture Processing Unit

GIFS

Test ROMS

BLAARG CPU Test Roms

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)

How to run

CMake dependencies

  • freetype
  • libjpeg-turbo
  • sfml

Running

  1. mkdir build
  2. cd build
  3. cmake -GNinja ..
  4. ninja
  5. cd bin
  6. Aquire a valid DMG bootrom, and game ROM, tetris is a good shout :)
  7. In the console, run ./emulator.exe [BOOTROM_FILE] [GAME_ROM_FILE]

About

A simple C++ original gameboy (DMG) emulator for windows.

Resources

Stars

Watchers

Forks

Packages

No packages published