Debugging Z80 With Arduino

I’m a programmer, the CPU is a mystic black box that gets fed instructions. I’m trying to learn and work out what the CPU really does. Here I build a system to control and watch the Z80’s functions.

My aim is to connect an EEPROM to the Z80, put some simple code onto it, and step through the execution cycle by cycle, watching how the Z80 works and matching it to the timing diagrams.

This was inspired by Ben Eater’s 6502 and 8Bit CPU videos, and is what I based my Arduino code on.