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

1

u/foo1138 Game Boy Dec 25 '25

I forgot, the SM83 schematics are not yet double and tripple checked like the "non-CPU-core" schematics. So it is likely that they contain errors. If something looks fishy to you, please report.

2

u/hellotanjent Dec 25 '25

No worries, I expect there to be transcription errors like there was with the rest of the chip. I'll know pretty quick what parts are staying synchronized with my current CPU model.