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.

MVHDR. [CALLI 131]<br />

22.<strong>10</strong>6 MVHDR. [CALLI 131]<br />

FUNCTION<br />

Allows you to move the buffer ring control block for an initialized<br />

channel from one location to another. This move is accomplished by<br />

changing the monitor's pointer to the ring control block.<br />

CALLING SEQUENCE<br />

MOVE I ac,channo<br />

MOVE ac+1, [XWD outring,inring]<br />

MVHDR. ac,<br />

error return<br />

skip return<br />

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

o<br />

o<br />

o<br />

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

outring is the new address of the output buffer ring control<br />

block, or O.<br />

inring is the new address of the input buffer ring control<br />

block, or O. outring and inring must be in your current low<br />

segment.<br />

SKIP RETURN<br />

If you give 0 as the address of either buffer ring control<br />

block, the address is not changed.<br />

The pointers to the specified control blocks are changed.<br />

ERROR RETURN<br />

The following error code is returned in the ac:<br />

Code<br />

1<br />

Symbol<br />

MVHDR%<br />

Error<br />

Channel not initialized.<br />

Ii you specify an illegal address, the monitor halts your job and<br />

displays the following error message:<br />

?Illegal address in UUO at user PC nnnnnn<br />

22-258

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

Saved successfully!

Ooh no, something went wrong!