24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

OUTPUT [OPCODE 067]<br />

22.116 OUTPUT [OPCODE 067]<br />

FUNCTION<br />

Sends data from memory to an initialized channel. Use FILOP. to<br />

perform an OUTPUT for an extended I/O channel. The OUTPUT monitor<br />

call is the same as the OUT monitor call, except that OUT takes the<br />

error return if any error bits are set in the I/O status word, and<br />

OUTPUT ignores the error bits and has only~one return location.<br />

CALLING SEQUENCE<br />

OUTPUT channo,addr<br />

return<br />

In the calling sequence, the program supplies the following variables:<br />

o<br />

o<br />

channo is the number of an initialized channel.<br />

addr is one of the following:<br />

If the channel was initialized for dump mode,<br />

is the address of an I/O command list.<br />

then addr<br />

In buffered mode, addr contains the address of the .BFHDR<br />

(header) word of the buffer to be used. If you give addr<br />

as 0, the next buffer is used.<br />

If the channel was initialized for buffered mode, then<br />

addr is the address of the second word of the next buffer<br />

to be used; if you give 0 (the normal case), the next<br />

buffer in the ring is used.<br />

RETURN<br />

Data is output to the device on the channel.<br />

RELATED CALLS<br />

o<br />

o<br />

o<br />

o<br />

FILOP.<br />

IN<br />

INPUT<br />

OUT<br />

COMMON PROGRAMMING ERRORS<br />

Same as IN call.<br />

22-282

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

Saved successfully!

Ooh no, something went wrong!