Skip to main content

2. Specifications

Report 1822 addresses two aspects of the connection of a host to the ARPANET, the hardware requirements and the software protocols. Since the JANUS interface will typically be used in applications other than connection to the ARPANET, the higher level software protocols are beyond the scope of this paper. They are properly addressed by documentation specific to each application. Concern here is only for electrical specification of the JANUS interface. The various areas which differ from Report 1822 are as follows.

2.1. Low-level Protocol​

Certain aspects of the JANUS interface and its operation may be implemented in hardware, software of a mixture of the two. We refer to these aspects as "low-level protocol." They are to be distinguished from such "high-level protocol" aspects as header definitions and data formats.

2.1.1. Padding​

Requirement:

Received messages are padded out to a full word (of the home device's size), if necessary, with zeros only.

Discussion:

A one-bit to mark the end of received data, as IMPs employ, is NOT used. The mark bit has not proved very useful, although the ARPANET IMPs do use it to generate the message length field in the new format header. Rather, counts at one or another level of protocol are generally used, so the complication of a mark bit can be eliminated. It is the author's impression that the ARPANET will not implement this aspect of symmetrical interfaces, so hosts communicating through the ARPANET will continue to see the marker one-bit appended by the source IMP regardless of whether the hosts have 1822 or JANUS interfaces.

2.1.2. Message Length​

Requirement:

A JANUS interface must accept messages up to and including 8160 bits long.

Exception:

If the interface is absolutely never intended for use in ARPANET-compatible applications, this requirement may be relaxed in any of three ways. A smaller maximum length may be implemented; a larger maximum lengthbe implemented; or the maximum length may be so large as to be in practice infinite.

Discussion:

A JANUS interface may discard messages longer than 8160 bits when used with the ARPANET. This constraint can be enforced in software rather than in hardware, if desired.

2.1.3. Four-way Handshake​

Requirement:

The interface must use the four-way handshake. That is, the receiver must wait until the incoming There's-Your-Bit drops before turning on Ready-For-Next-Bit.

Discussion:

The two-way handshake, presented as an option in Report 1822, must not be used. Experience has shown that it is vulnerable to various failures. First, if the off period in RFNB is not seen by the sender (due to noise or its being too short), a deadlock occurs and no more data is transferred. Second, a two-way receiver cannot talk with a strictly four-way sender, since the sender's next assertion of TYB may depend on seeing the RFNB transition to on. And third, the two-way handshake is overly sensitive to transitions, and may be activated by noise pulses. Transitions in the two-way handshake may be missed altogether in a sender implementation which samples the RFNB line only at certain intervals. The superiority of the more positive four-way handshake is important in applications where neither of the communicating interfaces is necessarily constructed to particular standards.

2.1.4. Contact Bounce​

Requirement:

Each interface, considered together with the software driving it, must prevent data from flowing across the interface in either direction while its Ready relay contacts may be bouncing. Thus, for 1/10 second after raising Ready, the outgoing signals There's-Your-Bit and Ready-For-Next-Bit must not be asserted.

Discussion:

This may be accomplished either in hardware or software, as discussed in Report 1822 section B.3. The delay of 1/10 second is specified here to resolve an ambiguity in Report 1822, concerning whether a shorter delay was acceptable if the relay was known to solidly finish closing sooner. Report 1822 specified a 1/2 second delay, but modern reed relays reliably finish closing in 1/10 second.

2.1.5. RFNB, TYB Minimum Off Time​

Requirement:

Ready-For-Next-Bit must be off for at least 50 nanoseconds for local host connections, and at least 1 microsecond for distant host connections, as seen by the receiver of the signal (who is the sender of data). Note that this means that RFNB at the cable driver may have to be off for somewhat longer than this minimum if deterioration of the signal waveform along the cable is anticipated. There's-Your-Bit must similarly be off for at least 50 nanoseconds for local host connections, and at least 1 microsecond for distant host connections, as seen by the receiver of the signal.

Discussion:

This extends the Report 1822 requirements for signals received by the IMP, to both interfaces in a JANUS interface pair.

2.1.6. Deskewing​

Requirement:

The outgoing data bit must be on the line and the Last-Bit level correct at least 500 nanoseconds before the sender turns on the There's-Your-Bit signal. The sender must turn off TYB before changing either the data or the LB.

Discussion:

The responsibility for deskewing signals rests with the sender in each interface. This applies the Report 1822 IMP sender behavior to each JANUS interface as a requirement. Note that the receiver may count on the Last-Bit signal being valid during, and only during, the assertion of There's-Your-Bit. Specifically, Last-Bit must be asserted during transmission of the last data bit. Report 1822 was slightly ambiguous in this regard.

2.1.7. Transmission Order​

Requirement:

"The high-order bit of each word is transmitted first." (Report 1822, section 4.1.)

Discussion:

If a computer has addressing modes other than word addressing, such units or bytes are not used as units of transmission by the interface. For example, the first bit transmitted from or received into a PDP-11 is bit 15, the leftmost bit of a 16-bit word. This is repeated here to bring it especially to the attention of designers.