Skip to content

Work in progress Gameboy Emulator written in C++.

Notifications You must be signed in to change notification settings

megakode/MegaBoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MegaBoy

My first try at writing an emulator.

Work in progress, and will probably rewrite large chunks of it a couple of times :)

Screenshot

screenshot

Status

CPU emulator passes the following test ROMs:

01-special.gb
02-interrupts.gb
03-op sp,hl.gb
04-op r,imm.gb
05-op rp.gb
06-ld r,r.gb
07-jr,jp,call,ret,rst.gb
08-misc instrs.gb
09-op r,r.gb
10-bit ops.gb
11-op a,(hl).gb
halt_bug.gb

A few 32KB games plays but still with quite a few glitches.

TODO

  • Mappers (only 32KB games with no ROM mapper works right now)
  • Sound

Gameboy docs

https://www.pastraiser.com/cpu/gameboy/gameboy_opcodes.html

Gameboy Emulator development guide: https://hacktixme.ga/GBEDG/ppu/

Other GB emulators:

Test Roms

PPU timing tests https://github.com/mattcurrie/mealybug-tearoom-tests

About

Work in progress Gameboy Emulator written in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published