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.

FILOP. [CALLI 155]<br />

15 . FOPRE<br />

Preallocates space for the file described by the<br />

LOOKUP/ENTER block. This function is most useful<br />

for batch jobs. If a preallocated file is entered<br />

but not written, the space is still allocated; a<br />

CLOSE for the file will not deallocate the space.<br />

If the file is entered immediately after being<br />

preallocated, it is not superseded; any subsequent<br />

ENTER to the file will supersede it. The<br />

LOOKUP/ENTER block pointer is required for the<br />

.FOPRE function.<br />

16 .FOSIO<br />

Opens a device for super-I/O (refer to the<br />

SUSET. UUO). The first four words of the argument<br />

list are required for this function. This<br />

function does not require .FOLEB.<br />

17 .FOINP<br />

Performs INPUT monitor call. Reads data from<br />

file opened on the specified channel.<br />

argument list is:<br />

the<br />

The<br />

addr:<br />

XWD<br />

addr1<br />

addr2<br />

channo, . FO INP<br />

In the argument list:<br />

o<br />

addr1 is the address of the next buffer to be<br />

used in non-dump I/O, or the address of the<br />

dump mode command list if using dump I/O.<br />

This word is optional for non-dump I/O.<br />

o addr2 is the optional address of a word<br />

containing the block number of the file to<br />

perform a USETI to before writing.<br />

20 . FOOUT<br />

The I/O status bits are returned in the ac.<br />

Performs OUTPUT monitor call. writes data ·to<br />

file opened on the specified channel.<br />

argument list is:<br />

the<br />

The<br />

addr:<br />

XWD<br />

addr1<br />

addr2<br />

channo, . FOOUT<br />

In the argument list:<br />

o<br />

addr1 is the address of the next buffer to be<br />

used in non-dump I/O, or the address of the<br />

dump mode command list.<br />

o addr2 is the optional address of a word that<br />

contains the block number of the file to<br />

perform a USETO to before reading.<br />

21 .FOSET<br />

The I/O status bits are returned in the ac.<br />

Performs SETSTS monitor call. The forma~ of the<br />

argument list is:<br />

addr:<br />

XWD<br />

EXP<br />

channo, .FOSET<br />

setsts-bits<br />

This function returns error code %ERILU if the<br />

argument block is not exactly two words long.<br />

22-149

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

Saved successfully!

Ooh no, something went wrong!