Video Signal Generator Owner's And Programmer's Manual

6-104 Chapter 6: Programming
Model 801GC, 801GF & 801GX¥Rev. A
Description: The CALL command calls internal C functions. Address <address>
is the entry point of the C function to be called. Parameter
<passed> indicates the number of parameters to be passed. If
<passed> is not zero, then parameters being passed <p(1)>
through <p(n)> immediately follow the <passed> parameter on
the command line. The CALL? query is similar to the CALL
command except that returned parameters are expected. Here,
a third parameter <returned> is added to indicate the number
of parameters returned by the function. If BASE= -10 or -16 and
a <returned> value of -1 is given (4,294,967,295 if BASE=10 or
FFFFFFFF if BASE=16), then a single value is read from register
A8 of the TMS34010 (rather than being popped off the C stack).
Most C functions that return a single parameter return their
single parameter in this way. Returned parameters are space-
delimited and formatted according to the current radix (see BASE
command). All parameters passed to the CALL and CALL? must
be formatted according to the current radix. This includes the
parameters <passed> and <returned>.
Note This command normally is used only with custom
applications and command files created by Quantum Data.
Indiscriminate use of this command can cause the generator to
stop operating or loss of stored data in nonvolatile RAM.
Other Required Cmds: CALL and CALL? expect and return parameters formatted
according to the current radix set by the BASE command.
Example: Use only with code supplied by Quantum
Data!
CENT *** draw video CENTering markers
Classification: Custom image primitive
Command Syntax: CENT <color>
Limits: <color> = available colors
Query Syntax: None
Description: Draws a small cross in the center of active video. If the format
has an even number of active pixels, the vertical line is 2 pixels
thick. The horizontal line is 2 pixels thick if the format has an
even number of active lines. The primitive uses a single parameter,
the color of the cross.
Other Required Cmds: The FMTU command instructs the generator to use the new
setting. The ALLU command updates hardware to the new setting
and redraws the test image.
Example: CENT red // Draw a small red cross in
// center of active video
ALLU // Update hardware to current
// buffer contents