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.

DEVSIZ [CALLI <strong>10</strong>1]<br />

22.29 DEVSIZ [CALLI <strong>10</strong>1]<br />

FUNCTION<br />

Returns the buffer size and standard number of buffers for a device.<br />

CALLING SEQUENCE<br />

MOVE I ac,addr<br />

DEVSIZ ac,<br />

error return<br />

skip return<br />

addr:<br />

EXP status<br />

/ SIXBIT/device/ \<br />

I EXP channo I<br />

\ EXP udx /<br />

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

o<br />

addr is the address of the argument<br />

address points to the OPEN block<br />

device.<br />

block. Normally, the<br />

used to initialize the<br />

o status is the I/O status word, which must match the<br />

information given when the channel was initialized with INIT,<br />

OPEN, or FILOP.<br />

o<br />

o<br />

o<br />

device is the SIXBIT physical or logical name of a device.<br />

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

udx is the Universal Device Index for a device.<br />

Note that the format for the argument block is identical to the format<br />

used for the OPEN monitor call and that the OPEN block is ordinarily<br />

used as the DEVSIZ block. The number and sizes of buffers differ<br />

among different data modes, and depending on mode modifier bits.<br />

SKIP RETURN<br />

The ac contains the default number of buffers in its left half, and<br />

the default buffer size (including a 3-word header) in its right half.<br />

If you specify a device that was initialized in dump mode, the monitor<br />

clears the ac and takes the skip return.<br />

ERROR RE TURN<br />

One of the following error codes is returned in the ac:<br />

Code Symbol Error<br />

0 DVSDM% Dump mode specified; there.f ore, buffer size is not<br />

applicable.<br />

-1 DVSNX% Nonexistent device.<br />

-2 DVSIM% Illegal data mode.<br />

22-66

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

Saved successfully!

Ooh no, something went wrong!