SCRYMAMEReferenceRunAlso in DOSBox-X

The Run tools

These tools let the program run and stop it again: to an address, for a number of frames, one instruction at a time, or with no deadline. Most other tools read the machine only while it is stopped, and REFERENCE.md says which ones answer while it runs.

MAME cannot run one cpu alone. Every run and every step goes through the cpu the debugger is showing, called the visible cpu on this page. Every other cpu runs its share of the same emulated time meanwhile.

What every stop returns

A reply that ends at a stop carries the same readings whatever the call was about, because a stop is where the next question starts.

cause also names a breakpoint, a watch or a registerpoint typed through debug, with the bpclear, wpclear or rpclear command that removes it. It writes that row's number as 0x hex, because MAME's console reads a bare D0 or A as a register.

A breakpoint names a stop only on its own cpu, since two cpus run two programs. A registerpoint, MAME's stop on a register condition, fires at every instruction while its condition holds, so regpoint_hit carries a note that it is still armed. A control, the often-run address run_to counts, never counts as a stop.

The tools