local done = false keep_frame = emu.add_machine_frame_notifier(function() if not done then done = true local dbg = manager.machine.debugger dbg:command('dasm program.dasm,0,1000,1,:qsound:dsp') manager.machine:exit() end end)