/MyGbe

My Gameboy emulator

Primary LanguageD

Gameboy emulator

This is a GameBoy emulator written in D. It is a learning project, hence do not assume this great D code.

While sound is not implemented, you can play any cartridge that does not use an MBC, such as simple games or homebrews. You can try Snake.

I tested the emulator with test roms. According to this website, one does not need to pass all tests to have a good emulator, it is just easier to make sure it is accurate rather than hunt weird bugs inside a specific game.

CPU instructions test

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

Dependencies

SDL2. The program will fail if it cannot find it.