My go-to for debugging new CPU cores has been Mednafen trace logs from boot and comparing to my own.
Unfortunately, Mednafen doesn't support debugging the Z80/SMS =(
Given that, can anyone recommend resources I can use to try and iron out bugs in my Z80 core? Preferably something that doesn't need a fully functioning SMS VDP core, and doesn't require a really solid core just to even boot. As this is a brand new core, it's going to have lots of really major issues.
Ideally I'd like to just generate a trace log from the first instruction of playing Sonic the Hedgehog for the Master System, and then step through it against my own trace log one instruction at a time. But from-reset tracers aren't very common, and it'd be a lot of work to add a Z80 disassembler to an existing emulator I'm not familiar with.
Any help would be much appreciated :D
Unfortunately, Mednafen doesn't support debugging the Z80/SMS =(
Given that, can anyone recommend resources I can use to try and iron out bugs in my Z80 core? Preferably something that doesn't need a fully functioning SMS VDP core, and doesn't require a really solid core just to even boot. As this is a brand new core, it's going to have lots of really major issues.
Ideally I'd like to just generate a trace log from the first instruction of playing Sonic the Hedgehog for the Master System, and then step through it against my own trace log one instruction at a time. But from-reset tracers aren't very common, and it'd be a lot of work to add a Z80 disassembler to an existing emulator I'm not familiar with.
Any help would be much appreciated :D