local dbg = manager.machine.debugger dbg.visible_cpu = manager.machine.devices[":dasp"] dbg:command("go") tframes = 0 ttap = emu.add_machine_frame_notifier(function() tframes = tframes + 1 if tframes == 1500 then dbg:command('trace T.trace,:dasp,noloop,{logerror "T %X %d %d %d\n",pc,totalcycles,frame,beamy}') end if tframes == 1503 then dbg:command('trace off,:dasp') end end)