|
GEOS SDK TechDocs
|
|
varwin ...
wclear
wclear
Clears the current window.
wcreate
wcreate <height>
Create a window of the given height and return a token for it. The window is placed just above the command window, if there's room. If there aren't that many lines free on the screen, an error is returned.
wdelete
wdelete <window>
Delete the given window. All windows below it move up and the command window enlarges.
whatat
whatat [<address>]
Examples:
-
"whatat"
- name of variable at *DS:SI
-
"whatat ^l2ef0h:002ah"
-
name of variable at the specified address
Print the name of the variable at the address.
-
The <address> argument specifies where to find a variable name for. The address defaults to *DS:SI.
-
If no appropriate variable is found for the address, `*nil*' is returned.
See Also: pobject,
hwalk,
lhwalk.
whatis
whatis (<symbol>|<addr>)
Examples: "whatis WinColorFlags"
This produces a human-readable description of a symbol, giving whatever information is pertinent to its type.
-
For type symbols (e.g. structures and enumerated types), the description of the type is fully displayed, so if a structure has a field with an enumerated type, all the members of the enumerated type will be printed as well. Also all fields of nested structures will be printed. If this level of detail isn't what you need, use the "pscope" command instead.
-
It's not clear why you'd need the ability to find the type of an address-expression, since those types always come from some symbol or other, but if you want to type more, you certainly may.
why
why
Examples: "why"
Print a description of why the system crashed.
-
This must be run from within the frame of the FatalError function. Sometimes GEOS is not quite there. In this case, step an instruction
or two and then try the "why" command again.
-
This simply looks up the enumerated constant for the error code in AX in the "FatalErrors" enumerated type defined by the geode that called FatalError. For example, if a function in the kernel called FatalError, AX would be looked up in geos::FatalErrors, while if a function in your application called FatalError, this function would look it up in the FatalErrors type defined by your application. Each application defines this enumerated type by virtue of having included
ec.def
or
ec.goh
.
-
For certain fatal errors, additional information is provided by invoking the command <patient>::<error code name>, if it exists.
See Also: regs,
backtrace,
explain.
wintree
wintree <window handle> [<data field>]
Examples:
-
"wintree ^hd060h"
-
print a window tree starting at the handle d060h
Print a window tree starting with the root specified.
-
The <window address> argument is the address to a window.
-
The <data field> argument is the offset to any instance data within a window (like W_ptrFlags).
See Also: vistree,
gentree.
winverse
winverse
Sets the inverse-mode of the current window (whether newly-echoed characters are displayed in inverse video) on or off, depending on its argument (1 is on).
wmove
wmove [(+|-)] <x-coord> [(+|-)] <y-coord>
Moves the cursor for the current window. Takes two arguments: the new
x
position and the new
y
position. These positions may be absolute or relative (absolute positions begin with + or -). If you attempt to move outside the current window, an error is generated. This command returns the new cursor position as {
x y
}.
words
words [<address>] [<length>]
Examples:
-
"words"
- lists 8 words at DS:SI
-
"words ds:di 16"
-
lists 16 words starting at DS:DI
Examine memory as a dump of words.
-
The <address> argument is the address to examine. If not specified, the address after the last examined memory location is used. If no address has been examined then DS:SI is used for the address.
-
The <length> argument is the number of bytes to examine. It defaults to 8.
-
Pressing <Return> after this command continues the list.
See Also: bytes,
dwords,
imem,
assign.
wpop
wpop
Revert the current window to its previously pushed value.
wpush
wpush <window>
Switch to a new window, saving the old current-window. Use
wpop
to go back to the previous window. All I/O goes through the current window.
wrefresh
wrefresh
Synchronizes the current window with the screen. This need only be performed if you don't echo a newline, as echoing a newline refreshes the current window.
wtop
wtop <flag>
Sets where windows go. If argument is non-zero, windows go at the top of the screen and work down. Else windows go at the bottom of the screen and work up
|
GEOS SDK TechDocs
|
|
varwin ...