r/EmuDev • • 1d ago

Readable Game Boy code base

Please suggest me some readable Game Boy emulator code bases.

I'm planning to make a DMG-01 emulator and I would like to read some good code.

Since I'm learning here, the primary objective is for the code to be understandable.

The programming language should not be an issue.

Just to give you some idea of my current emulation experience:

I've done a Chip-8 emulator some time ago:

https://github.com/netb258/clj8

I've also done this Master System / Game Gear project:

https://github.com/netb258/defn-system

However, this one uses an external Z80 CPU library.

I'm hoping to go full circle with a DMG-01 emulator.

2 Upvotes

1 comment sorted by

6

u/roflson85 1d ago

I’m partial to this one, because it’s mine. I made the APU and PPU so they can be plugged in to anyone’s project if you follow the interface.

It also works on windows or Mac.

Hardest bit is getting the build set up.

https://github.com/roflson/GBemu