GEOS SDK TechDocs
|
|
bits ...
|
continue-patient ...
car <list>
Examples:
Returns the first element of a list.
This is a lisp-ism for those most comfortable with that language. It can be more-efficiently implemented by saying [index <list> 0]
See Also: cdr.
cdr <list>
Examples:
Returns all but the first element of a list.
This is a lisp-ism for those most comfortable with that language. It can be more-efficiently implemented by saying [range <list> 1 end]
See Also: car.
classes [<patient>]
Examples:
Prints list of classes defined by the given patient.
Remember that "brk" will take address arguments of the form <class>::<message>, so you can use this function and set a breakpoint using "brk MyTextClass::
MSG_MY_TEXT_MESSAGE
". If you need a breakpoint that's limited to one object, use objbrk instead.
clrcc <flag> [<value>]
Examples:
Clear a flag in the target computer.
The first argument is the first letter of the flag to clear. The following is a list of the flags:
t
trap
i
interrupt enable
d
direction
o
overflow
s
sign
z
zero
a
auxiliary carry
p
parity
c
carry
See Also: setcc, compcc, getcc.
columns
Examples:
Retrieves the width of the screen, if known, to allow various commands (most notably "print") to size their output accordingly.
compcc <flag>
Examples:
Complement a flag in the target computer.
The first argument is the first letter of the flag to complement. The following is a list of the flags:
t
trap
i
interrupt enable
d
direction
o
overflow
s
sign
z
zero
a
auxiliary carry
p
parity
c
carry
This command is handy to insert in a patch to flip a flag bit.
completion <list-of-names>
Examples:
Figures the common prefix from a set of strings. Used for the various forms of completion supported by top-level-read.
var condenseSmall [(0|1)]
Examples:
Controls whether "print" attempts to condense the output by printing small (< 4 bytes) structures (which are usually records in assembly language) as a list of <name> = <int>, where <name> is the field name and <int> is a signed integer.
The default value of this variable is one.
See Also: print, condenseSpecial.
var condenseSpecial [(0|1)]
Examples:
Controls the formatting of certain structures in more-intuitive ways than the bare structure fields.
Semaphore,
Rectangle, Output Descriptor,
TMatrix,
BBFixed,
WBFixed,
WWFixed,
DWFixed,
WDFixed,
DDFixed,
FileDate,
FileTime,
FloatNum,
SpecWinSizeSpec.See Also: print, condenseSmall.
cont
Examples:
Continue GEOS.
waitForPatient
is non-zero, this command waits for the machine to stop again before it returns.See Also: go, istep, step, next, detach, quit.
content
Examples:
Print the address of the content under the view with the current implied grab.
See Also: systemobj, gentree, impliedgrab.
GEOS SDK TechDocs
|
|
bits ...
|
continue-patient ...