This section describes commands that allow you to configure the virtual machine behaviour. This configuration is stored in the mdk directory ~/.mdk.
As you can see in their description, some commands print, as a side
effect, informational messages to the standard output (e.g.
prints a message telling you the loaded program's start address): these
messages can be enabled/disabled using
Turns on/off the logging of informational messages. Note that error messages are always displayed, as well as state messages required using commands prefixed with
pmemand the like).
stimecommand (un)sets the printing of timing statistics, and
ptimeprints their current value:MIX > ptime Elapsed time: 10 /Total program time: 11 (Total uptime: 11) MIX >
seditsets the command to be used to edit MIXAL source files with the
editcommand. TEMPLATE must contain the control characters
%sto mark the place where the source's file name will be inserted. For instance, if you typeMIX > sedit emacsclient %s MIX >
edit foo.mixalwill invoke the operating system command
peditprints the current value of the edit command template.
sasmsets the command to be used to compile MIXAL source files with the
compilecommand. template must contain the control characters
%sto mark the place where the source's file name will be inserted. For instance, if you typeMIX > sasm mixasm -l %s MIX >
compile foo.mixalwill invoke the operating system command
mixasm -l foo.mixal.
pasmprints the current value of the compile command template.
MIX devices (see Devices) are implemented as regular files stored, by default, inside ~/.mdk. The
sddircommand lets you specify an alternative location for storing these device files, while
pddirprints the current device directory.
Finally, you can change the default command prompt, ‘MIX > ’,