The SwitchControl Program
The SwitchControl program is a simple utility to toggle both the mode
of wait-state operation and the master interrupt enable. It will not
work under Workbench 1.3 or older. You can use it two ways. From the
CLI, you can give it arguments to turn switch either wait states or
interrupts or both. Example usage is:
SwitchControl wait off
or
SwitchControl wait on interrupt off
This will turn wait-state support and interrupts on or off, regardless of
their current modes, and report confirmation. If you wish to redirect the
output of the CLI command to NIL: for example, you would type, for example:
run >NIL: SwitchControl interrupt on wait off
The order of the wait and interrupt arguments is not important, but each must
precede the corresponding on or off command. If you type SwitchControl with
no arguments, it has the same effect as double-clicking on the icon (i.e. the
same as Workbench usage).
From the Workbench, you can double-click on the SwitchControl icon to
start the program. You will then see a window in the center of your screen
with two "check-box" gadgets. These gadgets reflect the current state of
wait-state and interrupt support, with a checked box meaning that support
has been enabled. Clicking on either one of the gadgets will change its
state and change the option on your GG2 Bus+ board. When you quit
the SwitchControl program, the last state of the check boxes will remain
as your GG2 Bus+ board configuration.
Normally, you will not need to enable interrupts using SwitchControl
since both the serial and parallel drivers will automatically enable them
for you.
For more information about wait-state and interrupt support, check out
Wait States and "Interrupts" section found on
the last page of The GG2 Bus+ User Software Interface node.
HTML Conversion by AG2HTML.pl V2.950424, perl 5.000 & witbrock@cs.cmu.edu