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

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

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

OUTBUF [OPCODE 065J<br />

22.114 OUTBUF [OPCODE 065]<br />

FUNCTION<br />

Sets up an output buffer ring with the specified number of buffers for<br />

the specified initialized channel. Use FILOP. to perform an OUTBUF<br />

for an extended I/O channel.<br />

NOTE<br />

The monitor allocates buffers in the user's address<br />

space starting at the location pointed to by the<br />

contents of .JBFF. This has no meaning in a non-zero<br />

section, unless that section is mapped to section O.<br />

Use the FILOP. monitor call to specify buffer<br />

starting addresses in a non-zero section.<br />

CALLING SEQUENCE<br />

OUTBUF channo,bufcnt<br />

return<br />

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

o<br />

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

o bufcnt is the number of buffers to set up in the ring. If<br />

you give buffers as 0, the monitor uses its default number of<br />

buffers for the ring. This default varies according to the<br />

device. For disks, the number of buffers is a MONGEN<br />

parameter that can also be set with the SET DEFAULT BUFFERS<br />

monitor command.<br />

RETURN<br />

The buffer ring is set up.<br />

RELATED CALLS<br />

o<br />

o<br />

FILOP.<br />

INBUF<br />

COMMON PROGRAMMING ERRORS<br />

See the INBUF call for some common errors and their explanations.<br />

22-280

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

Saved successfully!

Ooh no, something went wrong!