18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ID$–Identification Line Routine<br />

Error Return<br />

If ID$ takes the error return, either A1 or A2 contains a negative error code. If the error<br />

occurred in ID$, A1 contains the error code. If the error occurred in SFDT$, A2 contains<br />

the error code.<br />

• ID$ error codes (returned in A1)<br />

-01 An outdated version of the ID$ packet is being used.<br />

• SFDT$ error codes (returned in A2)<br />

-01 through -05 SFDT$ routine error; see Section 22.<br />

The error code is also stored in the packet, in ERRCODE.<br />

ID$ Output<br />

The output ID$ generates may be one or more lines. This depends on the length of the<br />

processor/program description and specified options. For each line of ID$ output, a print<br />

control word is constructed (line spacing, image length, image address) and stored<br />

sequentially in the ID$ packet starting with word 10. The number of print control words<br />

constructed is stored in S6 of word 0 of the ID$ packet.<br />

The following procedure simplifies printing of the ID$ output:<br />

I$DPRINT pktaddr<br />

where pktaddr is the address of the ID$ packet.<br />

This procedure performs an APRINT$ for each print control word. It may be called from<br />

the I$D$ PROC by setting option bit 31.<br />

All output from ID$ is directed to the current print file.<br />

Normal Return<br />

If the normal return occurs, the first print control word is returned in A0.<br />

11–6 7833 1733–004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!