Up: GEOS SDK TechDocs | Up | Prev: assign ... | Next: car ...

bits

bits [<address>] [<length>] [<type>]

Examples:

"bits"
lists 16 bytes worth of bits at ds:si
"bits ds:di 8"
lists 8 bytes worth of bits at ds:di
"bits ds:di 24 w"
lists 24 words worth of bits at ds:di

Examine memory as a dump of bits in sets of 8, 16, or 32 (byte,word, or dword).

break-taken

 break-taken [<flag>]

Examples:

"break-taken"
Returns 1 if the machine stopped because of a breakpoint.
"break-taken 0"
Specify that no breakpoint was actually taken to stop the machine.

Obscure. This is used to determine if the machine stopped because a breakpoint was hit and taken.

Setting the break-taken flag is a rather obscure operation. It is useful primarily in complex commands that single-step the machine until a particular address is reached, or a breakpoint is taken when a breakpoint must be used to skip over a procedure call, or condense multiple iterations of an instruction with a REP prefix into 1. For an example of this use, refer to the "cycles" command.

See Also: brk, irq.

brkload

brkload [<handle>] 

Examples:

"brkload Interface"
Stop the machine when the Interface resource is loaded or swapped in.
"brkload bx"
Stop the machine when the resource whose handle ID is in BX is loaded or swapped in.
"brkload"
Stop watching for the previously-specified resource to be loaded.

Stop the machine when a particular resource is loaded into memory.

See Also: handle.

byteAsChar

var byteAsChar [(0|1)]

Examples:

"var byteAsChar 1"
Print byte variables as characters.

Determines how unsigned character variables are printed: if set non-zero, they are displayed as characters, else they are treated as unsigned integers.

bytes

bytes [<address>] [<length>]

Examples:

"bytes"
lists 16 bytes at DS:SI
"bytes ds:di 32"
lists 32 bytes at DS:SI

Examine memory as a dump of bytes and characters.

See Also: words, dwords, imem, assign.

call

 call <function> [<function args>]

Examples: "call MyFunc"
"call MyDraw ax 1 bx 1 cx 10h dx 10h"
"call FindArea box.bottom 5 box.right 5 push box"'

Call a function in the current thread.

See Also: assign, call-patient, patch.

call-patient

call-patient <function> ((<reg>|push) <value>)*

Examples:

"call-patient MemLock bx $h"
Locks down the block whose handle ID is in $h.

This is a utility routine, not intended for use from the command line, that will call a routine in the PC after setting registers to or pushing certain values.

See Also: call.


Up: GEOS SDK TechDocs | Up | Prev: assign ... | Next: car ...