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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Interface to Selected Extended Mode Executive Requests<br />

The buffer must be either in the same bank that contains the packet or in a bank that is<br />

based on B15 when EM$READ or EM$AREAD is called.<br />

The status word from the ER READ$/AREAD$ is returned in word 3 of the packet<br />

(packet address + 2). S2 of word 3 contains an EOF flag; a nonzero value indicates an<br />

end-of-file condition. S1 of word 3 contains the bit settings returned from the ER<br />

READ$/AREAD$ request (bits 35 to 30). H2 of word 3 contains the number of words<br />

read by EM$READ/EM$AREAD into the buffer. The buffer is not space filled if the<br />

length of the image read is shorter than the length of the buffer.<br />

F.2.2. EM$PRINTPKT<br />

The EM$PRINTPKT PROC generates the packet for the EM$PRINT and EM$APRINT<br />

PROCs.<br />

Calling Sequence<br />

label EM$PRINTPKT buf,len[,linespa]<br />

or<br />

label EM$APRINTPKT buf,len[,linespa]<br />

Parameters<br />

buf<br />

len<br />

linespa<br />

The address (18-bit offset from zero) of the buffer containing the image to be<br />

printed.<br />

The word length of the image to be printed.<br />

The line spacing for the image to be printed (if omitted, the default is one).<br />

The buf, len, and linespa parameters may also be set at execution time. The buf<br />

parameter is located at word 3 of the packet (packet address + 2). The len parameter is<br />

located at S3 of word 2 of the packet, and the linespa parameter is located at T1 of word<br />

2.<br />

The buffer must be in either the same bank that contains the packet or in a bank that is<br />

based on B15 when EM$PRINT or EM$APRINT is called.<br />

7833 1733–004 F–3

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

Saved successfully!

Ooh no, something went wrong!