Up: GEOS SDK TechDocs | Up | Prev: imem ... | Next: keyboard ...

intr

Catch, ignore, or deliver an interrupt on the target PC. First argument is the interrupt number. Optional second argument is "catch" to catch delivery of the interrupt, "ignore" to ignore the delivery, or "send" to send the interrupt (the machine will keep going once the interrupt has been handled). If no second argument is given, the interrupt is delivered.

io

io [w] <port> [<value>]

Examples:

"io 21h"
Reads byte-sized I/O port 21h.
"io 20h 10"
Writes decimal 10 to byte-sized I/O port 20h.

Provides access to any I/O port on the PC.

irq

irq
irq (no|yes)
irq (set|clear)

Examples:

"irq"
Returns non-zero if an interrupt is pending.
"irq no"
Disable recognition and acting on a break request from the keyboard.
"irq set"
Pretend the user typed Ctrl-C.

Controls Swat's behavior with respect to interrupt requests from the keyboard.

is-obj-in-class

is-obj-in-class <obj-addr> <class-name>

Examples:

"is-obj-in-class ^l4e10h:1eh GenPrimaryClass"
see if the object at ^l4e10h:1eh is in GenPrimaryClass .

Returns whether a given object is in the specified class.

See Also: psup.

istep

istep [<default command>]

Examples:

"is"
enter instruction step mode
"istep n"
enter instruction step mode, <ret> does a next command

Step through the execution of the current patient. This is THE command for stepping through assembly code.

See Also: sstep, listi.


Up: GEOS SDK TechDocs | Up | Prev: imem ... | Next: keyboard ...