|
GEOS SDK TechDocs
|
|
ret ...
|
showcalls ...
scope
scope [<scope-name>]
Examples:
-
"scope"
- Returns the name of the current auxiliary scope.
This changes the auxiliary scope in which Swat looks first when trying to resolve a symbol name in an address expression.
-
This command isn't usually typed by users, but it is the reason you can reference local labels after you've listed a function unrelated to the current one.
-
You most likely want to use the set-address Tcl procedure, rather than this command.
-
If <scope-name> is "..", the auxiliary scope will change to be the lexical parent of the current scope.
See Also: set-address,
addr-parse,
whatis.
screenwin
screenwin
Print the address of the current top-most screen window.
send
send [-enpr] <geode-name>
Examples:
-
"send icon"
-
send EC Icon Editor if running in EC mode; send non-EC Icon Editor if running in non-EC mode.
-
"send -r icon"
-
send appropriate icon editor, then run it. (See documentation for "run" above.)
-
"send -e icon"
-
send EC Icon editor.
-
"send -n icon"
-
send non-EC Icon Editor
-
"send -p c:/pcgeos/appl/icon/icon.geo"
-
send c:/pcgeos/appl/icon/icon.geo
-
"send"
- send the default patient (as set by the
patient-default
command).
Send a geode from the host to target machine.
send-file
send-file <file> <targfilename>
Examples:
-
"send-file /pcgeos/appl/sdk/mess1/mess1.geo WORLD/soundapp.geo"
-
Send the
mess1.geo
file on the host machine to the WORLD directory of the host machine, where it will be called
soundapp.geo
.
Sends a file from the host machine to the target.
set-address
Set the last-accessed address recorded for memory-access commands. Single argument is an address expression to be used by the next memory-access command (except via <return>).
setcc
setcc <flag> [<value>]
Examples:
-
"setcc c"
- set the carry flag
-
"setcc z 0"
- clear the zero flag
Set a flag in the computer.
-
The first argument is the first letter of the flag to set. 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
-
The second argument is the value to assign the flag. It defaults to one but may be zero to clear the flag.
See Also: clrcc,
compcc.
set-masks
set-masks <mask1> <mask2>
Examples:
-
"set-masks 0xff 0xff"
-
Allow no hardware interrupts to be handled while the machine is stopped.
Sets the interrupt masks used while the Swat stub is active. Users should use the "int" command.
-
<mask1> is the mask for the first interrupt controller, with a 1 bit indicating the interrupt should be held until the stub returns the machine to GEOS. <mask2> is the mask for the second interrupt controller.
-
These masks are active only while the machine is executing in the stub, which usually means only while the machine is stopped.
See Also: int.
set-repeat
Sets the command to be repeated using a template string and the lastCommand variable. The variables $0...$n substitute the fields 0...n from the lastCommand variable. The final result is placed in repeatCommand which will be executed should the user type Enter.
set-startup-ec
set-startup-ec [<args>]
Examples:
-
"set-startup-ec +vm"
-
turn on VM error checking when starting up
-
"set-startup-ec none"
-
turn off all ec code when starting up
Executes the "ec" command upon startup, to allow one to override the default error checking flags.
See Also: ec.
sftwalk
sftwalk
Examples: "sftwalk"
Print the system file table out by blocks.
-
This is different than
sysfiles
in that it shows less details of the files and instead shows where the SFT blocks are and what files are in them.
See Also: sysfiles,
geosfiles,
fwalk.
|
GEOS SDK TechDocs
|
|
ret ...
|
showcalls ...