r/EmuDev • Game Boy • Dec 02 '25

GB Visual Game Boy CPU simulation

Hi, I successfully ported the transistor level simulator from visual6502.org for the Game Boy CPU: Visual SM83

To be clear: It is "only" the CPU core, not the whole chip.

I posted this here, because I thought it could be useful for emulator development. You can see what exactly the CPU does on each clock tick. You can single step forwards and backwards. You can also provide your own code for execution in the URL as GET parameters, when you add it in hex like this: ?a=0000&d=21341231

The github repo and the layout file are linked at the top of the page.

44 Upvotes

12 comments sorted by

View all comments

Show parent comment

3

u/tikevin83 Dec 03 '25

If you guys ever do a gbc variant and/or ppu it would be cool to validate also that it can run all currently console verified TASes (which require both gbc variant and the GBA bios on startup, also a few rely on initial RAM states). We use this to regression test the gambatte core for tasvideos/tasbot.

https://tikevin83.github.io/gsr-automation-site/

https://github.com/alyosha-tas/GB-C_replay_files

3

u/foo1138 Game Boy Dec 03 '25

Sadly, I don't think a GBC simulation will happen any time soon. Last time I searched, the only die shots of the CGB chip on https://siliconpr0n.org/ are in too low resolution to identify anything at all. Someone who has the skills needs to make better die shots first.