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.

DEVCHR [CALLI 4]<br />

22.24 DEVCHR [CALLI 4]<br />

FUNCTION<br />

Returns the physical characteristics of a specified device.<br />

CALLING SEQUENCE<br />

/ MOVE<br />

I MOVE I<br />

\ MOVEI<br />

DEVCHR<br />

return<br />

ac, [SIXBIT/device/] \<br />

ac,channo<br />

ac,udx /<br />

ac,<br />

I<br />

In the calling sequence, you can provide the following information:<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 />

RETURN<br />

If the device is not found, or if your program has not initialized the<br />

device, the monitor clears the ac. Otherwise, the ac contains flags<br />

giving the physical characteristics of the device. --The flags and<br />

their meanings are:<br />

Bits<br />

o<br />

I<br />

Symbol<br />

DV.DRI<br />

DV.DSK<br />

Device or Mode<br />

----<br />

DECtape whose directory is in memory; you can<br />

clear this bit by using the REASSI monitor call<br />

for the device.<br />

Disk.<br />

2 DV.CDR<br />

3 DV.LPT<br />

4 DV.TTA<br />

5 DV.TTU<br />

6 DV.2IO<br />

7 DV.DIS<br />

8 DV.LNG<br />

9 DV.PTP<br />

<strong>10</strong> DV.PTR<br />

11 DV.DTA<br />

12 DV.AVL<br />

Card device. If DV.IN is set, it is a card<br />

reader; if DV.OUT is set, it is a card punch.<br />

Line printer.<br />

Terminal that is currently controlling a job.<br />

Terminal that is in use.<br />

Device can do input and output at the same time.<br />

Special display device. Note that this does not<br />

indicate the "display" terminal characteristic.<br />

Device with long dispatch table; this means that<br />

monitor calls other than INPUT, OUTPUT, CLOSE, and<br />

RELEAS can perform real functions.<br />

Papertape punch.<br />

Papertape reader.<br />

DECtape.<br />

The device is available or is assigned to your<br />

job.<br />

22-53

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

Saved successfully!

Ooh no, something went wrong!