r/EmuDev • • 4d 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.

1 Upvotes

2 comments sorted by

View all comments

1

u/Creepy_Sherbert_1179 1d ago

I will post my implementation because it is written in a high level language (Python)

https://github.com/atifcodesalot/hazelnut-gb-emu

You can also check the architecture.md file on the repo to get an idea on how things work.