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.

DVPHY. [CALLI 164]<br />

22.37 DVPHY. [CALLI 164]<br />

FUNCTION<br />

Returns the physical names of devices and controllers<br />

pseudo-terminals, terminals, MPX devices, and disks) .<br />

(except<br />

By specifying the device type (as returned by DVTYP. UUO), you can<br />

return all the physical device names for a specific device or all<br />

devices.<br />

CALLING SEQUENCE<br />

MOVE ac, [XWD len,addr]<br />

DVPHY. ac,<br />

error return<br />

skip return<br />

addr:<br />

/ EXP<br />

\ EXP<br />

BLOCK<br />

device-type \<br />

-1 /<br />

1<br />

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

o len is the length of the argument block (must be 2) .<br />

o addr is the address of the argument block. The first word of<br />

the argument list specifies the devices to list:<br />

o<br />

device-type is one of the device type codes returned from the<br />

DEVTYP monitor call, such as .TYLPT for a line printer.<br />

To list all the devices, use -1 instead of the device type.<br />

To list all controllers for a specific type of device, use the [-n"m]<br />

format, where n is the number device types to return, and m is the<br />

device type code.<br />

On the first DVPHY. call, addr+1 should contain O. The monitor<br />

returns the name of the first device. If you leave this name in<br />

addr+l, the next DVPHY. call returns the name of the next device, and<br />

so forth. When all devices have been returned (by several calls), the<br />

monitor returns 0 in addr+1.<br />

SKIP RETURN<br />

For 0 in addr+1, the monitor returns the name of the first device; for<br />

a device name in addr+l, the monitor returns the name of the next<br />

device, or, if there are no more devices, O. The ac is unchanged.<br />

ERROR RE TURN<br />

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

Code<br />

1<br />

2<br />

3<br />

4<br />

Symbol<br />

DVPIA%<br />

DVPIT%<br />

DVPNP%<br />

DVPNT%<br />

Error<br />

Illegal argument length.<br />

Illegal device type.<br />

Nonexistent physical device.<br />

Nonexistent device type.<br />

22-<strong>10</strong>5

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

Saved successfully!

Ooh no, something went wrong!