r/EmuDev • u/vbmacher • 4h ago
Finding the instruction that wrote a byte in an 8080 emulator
I just released emuStudio 0.50, an open-source emulator and assembly IDE for vintage computers. This release adds ZX Spectrum 48K + AY emulation and rebuilds the debugger around what the CPU actually did during a run.
The Altair clip shows my favorite part. An 8080 program prints # on an ADM-3A terminal. After the run, I select the recorded LDA 2000h and click Find previous write. The debugger jumps to the earlier STA 2000h and shows the byte it wrote.
The 8080 debugger records memory accesses in execution order alongside register changes. The disassembly can also show the branch paths the CPU took. If you’ve built a trace viewer, I’d be curious how you handle an address that gets written hundreds of times in one run.
Download and quickstart · Altair 8800 guide · ZX Spectrum 48K guide · Space Invaders guide