-- minimal probe: only the three addresses needed for the BadMatch gate question local cpu = manager.machine.devices[":maincpu"] local dbg = manager.machine.debugger local frames = 0 dbg:command("bpset 0x3F55D7A0,,{ printf \"GATE a7=%08X a11=%08X\n\", a7, a11 ; g }") dbg:command("bpset 0x3F55D7C0,,{ printf \"E8MAIN\n\" ; g }") dbg:command("bpset 0x3F55CE20,,{ printf \"CLASS1\n\" ; g }") print("XIE-GATE-ONLY armed 3 breakpoints") emu.register_frame_done(function() frames = frames + 1 if frames >= 2000000 then machine:exit() end end, "gate-only")