Previous: , Up: gmixvm   [Contents][Index]


7.6 Menu and status bars

The menu bar gives you access to the following commands:

File: Load...

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).

File: Edit...

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.

File: Compile...

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.

File: Exit

Exits the application.

Debug: Run

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

Debug: Next

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

Debug: Clear breakpoints

Clears all currently set breakpoints. It is equivalent to the mixvm’s cabp command.

Debug: Symbols...

Opens a dialog showing the list of symbols defined in the currently loaded MIX program. The font used to display this list can be customised using the meny entry Settings->Change font->Symbol list.

img/ss_symbols
View: Toolbar(s)

Toggles the toolbar(s) in the gmixvm window(s) (when notebook pages are detached, each one has its own toolbar).

View: Detached windows Virtual machine
View: Detached windows Source
View: Detached windows Devices

These toggles let you detach (or re-attach) the corresponding notebook page.

Settings: Change font

Lets you change the font used in the various gmixv widgets (i.e. commad prompt, command log, Virtual machine, Source, Devices and Symbol list). There is also an entry (All) to change all fonts at once.

Settings: Device output...

Opens a dialog that lets you specify which format shall be used to show the contents of MIX binary block devices.

img/ss_devform

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

Settings: Devices dir...

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

img/ss_devdir

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

Settings: External programs...

This menu command opens a dialog that lets you specify the commands used for editing and compiling MIXAL source files.

img/ss_extprog

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).

Settings: Save

Saves the current settings.

Settings: Save on exit

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

Help: About...

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.


Previous: , Up: gmixvm   [Contents][Index]