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.

ETHNT. [CALLI 223]<br />

22.46 ETHNT. [CALLI 223]<br />

FUNCTION<br />

The ETHNT. monitor call accesses the Ethernet. ETHNT. allows you to<br />

read the Ethernet configuration, enable and disable protocols, enable<br />

and disable multicast addresses, and send and receive datagrams. For<br />

an overview of Ethernet, as well as a full description of datagram<br />

bu£fer~ (addressed using .ETUBL) and function buffers (addressed<br />

using .ETBFL and .ETBFA), refer to Chapter 5, <strong>Volume</strong> 1.<br />

CALLING SEQUENCE<br />

XMOVEI ac,addr<br />

ETHNT. ac,<br />

error return<br />

skip return<br />

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

address of the ETHNT. argument block.<br />

is the<br />

The format of the argument block is:<br />

Offset<br />

a<br />

Symbol<br />

.ETFCN<br />

Contents<br />

Function code word for the argument block. This<br />

word contains the length of the argument block,<br />

and may also contain a flag. Its format is:<br />

Bits<br />

0-8<br />

Symbol<br />

ET.FFL<br />

Meaning<br />

Function-specific flags.<br />

Bit<br />

1<br />

Symbol<br />

ET.FZC<br />

Meaning<br />

Zero counters<br />

after they have<br />

been read. Use<br />

this flag with<br />

functions .ETRCC,<br />

.ETRPC, and<br />

.ETRKC.<br />

9-17 ET.FFN<br />

18-35 ET.FLN<br />

One of the function codes listed<br />

at the end of the argument block<br />

description.<br />

Length of the argument block.<br />

1<br />

.ETPSW<br />

Contains the portal status and the assigned portal<br />

ID. ET.PST (Bits 0-8) may contain one or more of<br />

the following flags:<br />

Bit<br />

a<br />

1<br />

2<br />

Symbol<br />

ET.PON<br />

ET.PXB<br />

ET.PRB<br />

Meaning<br />

Portal is online.<br />

Transmit buffers available.<br />

Receive buffers available.<br />

The rest of .ETPSW contains the portal ID, .ETPID,<br />

assigned by the monitor.<br />

22-129

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

Saved successfully!

Ooh no, something went wrong!