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.

DIAG. [CALLI 163]<br />

22.32.25 FUNCTION 31 (.DIOUI)<br />

Obtains information about a specific device unit.<br />

is:<br />

The argument list<br />

addr:<br />

EXP<br />

SIXBIT<br />

BLOCK 5<br />

.DIOUI<br />

/unit/<br />

The information is returned by the monitor in the words you reserved<br />

in the argument list. The format of the information returned in Words<br />

2-7 of the argument list is:<br />

Word<br />

2<br />

3<br />

4<br />

5<br />

Contents<br />

Program specifies -n"addr1; where addr1 contains the KDB<br />

names.<br />

High-order word of drive serial number.<br />

Low-order word of drive serial number.<br />

In the left half, the CPU-accessibility mask. In the right<br />

half, the physical drive number.<br />

22.32.26 FUNCTION 32 (.DILKU)<br />

Lists names of units on a controller .<br />

The argument list is:<br />

addr:<br />

EXP<br />

SIXBIT<br />

BLOCK n<br />

. DILKU<br />

/controller/<br />

In the argument list, you supply n as the number of units on the<br />

controller. Use the DIAG. UUO function .DIOKI to determine the<br />

number of words to reserve in the argument list for this function.<br />

The monitor returns the device unit names, in SIXBIT, in the argument<br />

list starting at addr+2. The actual number of units retul:ned is<br />

stored in the accumulator.<br />

22.32.27 FUNCTION 33 (.DISDS)<br />

Sets the status of a device. Using this function, a device can be set<br />

to be attached or detached. This function also provides an "Ignore"<br />

state, where the device service routine will ignore the unit until the<br />

operator performs an explicit ATTACH function. The argument list for<br />

this function is:<br />

addr: EXP .DISDS<br />

SIXBIT /device/<br />

state-code<br />

In the argument list, you can supply any of the following state-codes:<br />

Code<br />

a<br />

1<br />

2<br />

3<br />

Symbol<br />

.DISSI<br />

.DISCI<br />

.DISSD<br />

.DISSA<br />

Meaning<br />

Set the Ignore flag.<br />

Clear the Ignore flag.<br />

Set the Detached flag.<br />

Set the Attached flag.<br />

22-79

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

Saved successfully!

Ooh no, something went wrong!