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.

SYSPHY [CALLI 51]<br />

22.166 SYSPHY [CALLI 51]<br />

FUNCTION<br />

Returns the name of a physical disk unit on the system.<br />

CALLING SEQUENCE<br />

/ MOVEI ac,O \<br />

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

SYSPHY ac,<br />

error return<br />

skip return<br />

In the calling sequence, the program supplies the device, which is the<br />

physical unit name returned by a previous call '(such as SIXBIT/RPAO/).<br />

SKIP RETURN<br />

If you set ac to 0, the monitor returns the first physical disk name<br />

in ac. I~you gave the name of a disk, the monitor returns the next<br />

physICal disk name, or, if there are no more disks, the monitor<br />

returns 0 in the ac.<br />

ERROR RETURN<br />

The monitor takes the error return if the device you gave was<br />

o nor the name of a disk unit.<br />

neither<br />

EXAMPLES<br />

Example to get all unit names in system<br />

LOOP:<br />

PHYTAB:<br />

SETZB<br />

SYSPHY<br />

JRST<br />

JUMPE<br />

MOVEM<br />

AOJA<br />

BLOCK<br />

T1,T2<br />

T2,<br />

ERROR<br />

T2,CONTIN<br />

T2,PHYTAB (T1)<br />

T1,LOOP<br />

"D64<br />

;T1=Table pointer, T2=unit name<br />

;Get next one<br />

;Done if zero<br />

;Save in table<br />

RELATED CALLS<br />

o<br />

o<br />

DVPHY.<br />

SYSSTR<br />

22-423

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

Saved successfully!

Ooh no, something went wrong!