/GameBoy_Emulator

A GameBoy Emulator for educational purposes.

Primary LanguageC++

Game Boy Emulator

Trying to emulate gameboy for understanding how a CPU works in general

image

Progress:

  1. Tile Data can now be drawn using VRAM Dump. SampleUsed
    image
  2. Where are the colors? I don't know will start working on it.
  3. Implemented BackgroundMap and OAM. [CPU Logic is pending, OAM updates happening by reading OAM dumps. ] image ezgif-1-82a3833921

Memory Regions Observartions.

0x0000 - 0x3FFF = Fixed from cartridge
0x4000 - 0x7FFF = Switchable from cartridge
0x8000 - 0x9FFF = VIDEO RAM ??
0xA000 - 0xBFFF = 0xFF
0xC000 - 0xCFFF = Random
0xD000 - 0xDFFF = Random
0xE000 - 0xFDFF = Echo Ram 0xC000 to 0xDDFF
0xFE00 - 0xFE9F = Random
0xFEA0 - 0xFEFF = 0x00

0xFF00 - 0xFF2F = Constant.
0xFF30 - 0xFF3F = Random.
0xFF40 - 0xFF7F = Constant.

0xFF80 - 0xFFFE = Random.
0xFFFF = 0x00

Important Links