Node:Menu and status bars, Previous:MIX devices view, Up:gmixvm



Menu and status bars

The menu bar gives you access to the following commands:

Load... File
Opens a file dialog that lets you specify a binary MIX file to be loaded in the virtual machine's memory. It is equivalent to the mixvm's load command (see File commands).

Edit... File
Opens a file dialog that lets your specify a MIXAL source file to be edited. It is equivalent to the mixvm's edit command (see File commands). The program used for editing can be specified using the menu entry Settings->External programs, or using the mixvm command sedit.

Compile... File
Opens a file dialog that lets your specify a MIXAL source file to be compiled. It is equivalent to the mixvm's compile command (see File commands). The command used for compiling can be specified using the menu entry Settings->External programs, or using the mixvm command sasm.

Exit File
Exits the application.

Toolbar(s) View
Toggles the toolbar(s) in the gmixvm window(s) (in split mode there are multiple windows and, hence, multiple toolbars).

MIX View
MIXAL View
Devices View

These toggles are available when running gmixvm in split mode, and let you turn on/off the visibility of the corresponding gmixvm windows.

Split windows View
One window View

Change the mode between one and split windows.

Run Debug
Runs the currently loaded MIX program, up to the next breakpoint. It is equivalent to the mixvm's run command (see Debug commands).

Next Debug
Executes the next MIX instruction. It is equivalent to the mixvm's next command (see Debug commands).

Clear breakpoints Debug
Clears all currently set breakpoints. It is equivalent to the mixvm's cabp command.

Symbols... Debug
Opens a dialog showing the list of symbols defined in the currently loaded MIX program. img/ss_symbols.jpg

Colors... Settings
Lets you change the colors used to mark the current and breakpoint lines in the MIXAL tab, as well as the colors used for plain source lines.

Change font Settings
Lets you change the font used in the various gmixv widgets (i.e. commad prompt, command log, MIX, MIXAL and devices).

Device output... Settings
Opens a dialog that lets you specify which format shall be used to show the contents of MIX binary block devices. img/ss_devform.jpg

The available formats are decimal (e.g. -1234) and MIX word (e.g. - 00 00 00 19 18).

Devices dir... Settings
Opens a dialog that lets you choose where the MIX device files will be stored (~/.mdk is the default location). img/ss_devdir.jpg

You can also specify the devices directory using the mixvm command sddir (see Configuration commands).

External programs... Settings
This menu command opens a dialog that lets you specify the commands used for editing and compiling MIXAL source files. img/ss_extprog.jpg

The commands are specified as template strings, where the control substring %s will be substituted by the actual file name. Thus, if you want to edit programs using vi running in an xterm, you must enter the command template xterm -e vi %s in the corresponding dialog entry. These settings can also be changed using the mixvm commands sedit and sasm (see Configuration commands).

Save Settings
Saves the current settings.

Save on exit Settings
Mark this checkbox if you want gmixvm to save its settings every time you quit the program.

About... Help
Shows information about gmixvm's version and copyright.

On the other hand, the status bar displays the name of the last loaded MIX file. In addition, when the mouse pointer is over a MIXAL source file line that contains symbols, a list of these symbols with their values will appear in the status bar.