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

FFFFFFFFif 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: U s e o n l y w i t h c o d e s u p p l i e d b y Q u a n t u m 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: C E N T r e d / / D r a w a s m a l l r e d c r o s s i n / / c e n t e r o f a c t i v e v i d e o

A L L U / /

U p d a t e

/ /

b u f f e r

h a r d w a r e t o c u r r e n t c o n t e n t s

6-104

Chapter 6: Programming

Model 801GC, 801GF & 801GX¥Rev. A

Page 230
Image 230
Quantum Data 801GC, 801GF, 801GX manual Cent, Draw video CENTering markers, 104