• No results found

IMP 10 Special Interface Manual Oct73 pdf

N/A
N/A
Protected

Academic year: 2020

Share "IMP 10 Special Interface Manual Oct73 pdf"

Copied!
172
0
0

Loading.... (view fulltext now)

Full text

(1)

B 0 L T

BERANEK

AND

NEWMAN

INC C O N S U L T I N G D E V E L O P M E N T R E S E A R C H

i~---CAMBRIDGE

Manual for the

IMP-1~

Special Interface

to the Interface Message Processor

and the! ARPA Computer Network

October 1973

Computer Systems Division

Bolt Beranek and Newman Inc.

50 Moulton Street

Cambridge, Massachusetts 02138

(2)

Bolt Beranek and Newman Inc.

Manual for the

IMP-l~

Special Interface

to the Interface Message Processor

and the ARPA Computer Network

October 1973

Computer Systems Division

Bolt Beranek and Newman Inc.

50 Moulton Street

(3)

I

[

[

I

[

I

[

[

(

[

[

[

[

[

[

[

[

I

[

Bolt- Beranek and Newman Inc.

TABLE OF CONTENTS

· 1

1.

2.

3.

INTRODUCTION.

INSTALLATION . . • . .

INTERFACE OPERATION .

. . • 3

4.

3.1 Error Detection Logic. • .

• • .

3.2 Operation of the Host-to-IMP Section . .

3.3 Operation of the IMP-to-Host Section . .

LOG I C D RAW IN G

S. . . . -. . . • • • . • . • •

. .

..

5.

DESCRIPTION OF THE PROGRAM AND PROGRAM LISTINGS

6. WIRE LISTS . . • . . . • II) 0 • • 0 • • • • • • •

APPENDIX A Selections from Report 1822 .

. . •

• • 5

8

8

• 12

14

· • 26

· . 31

\ '

• • Al

APPENDIX B

APPENDIX C

Devi ce Codes. . . .

. • . . .

· B1

Cl

(4)

I

I

[

I

[

[

[

I

I

[

[

[

[

[

[

[

I

[

Bolt-Beranek and Newman Inc.

1.

INTRODUCTION

The ARPA Network is being constructed to provide a capability

for geographically-separated Host computers to communicate with

each other.

However, Host computers generally differ from one

another in manufacturer, type, size, speed, word length, operating

systems, etc.

To allow these different computers to communicate,

each Host is connected into the network through an Interface

Message Processor (IMP) located on the Host premises.

The

complete network is formed by interconnecting these IMPs through

wideband communication lines (initially 50 kilobits/sec) supplied

by the telephone company.

Each IMP is then programmed to store

and forward messages to the neighboring IMPs in the network.

During a typical operation, a Host passes a message to its IMP.

This message is then passed from IMP to IMP through the network

until it finally arrives at the destination IMP, which passes

the message to the destination Host.*

The interconnection of a Host and an IMP is a joint effort

that requires the Host personnel to provide,interfacing hardware

and software.

Bolt Beranek and Newman Inc. (BBN) has built a

special interface to connect the IMP to a Digital Equipment Corp.

PDP-10 Host computer.

This report describes the design,

in-stallation, and operation of such a special interface.

Appendix A to this report reproduces Section

4

of the BBN

Report No. 1822, "Specifications for the Interconnection of a

Host and an IMP", which discusses the hardware requirements for

the special Host/IMP interface unit and describes the standard

*The initial IMP design is described in Bolt Beranek and Newman

Inc. Report No. 1763 (January 1969), AD-682-905.

The

specifica-tions for IMP-Host interconnection are described in BBN Report

No. 1822 (February 1970).

(5)

I

~

1\

[

I

[

I

[

[

I

I

I

[

I

[

(:

I

[

I

[

Bolt· Beranek and Newman Inc.

Host/IMP interface unit in the IMP.

Appendix B contains the device code and jumpering for

specific installations.

Appendix C contains miscellaneous specific details of the

hardware, including drawings of the display panel circuitry.

(6)

I

I

[

[

[

[

[

[

[

I

[

[

[

I

[

Bolt

Beranek and Newman Inc.

2.

INSTALLATION

The interface will normally connect to an IMP that is no

more than 30 feet from the interface.

A special Distant Host

option is required if the IMP is between 30 and 2000 feet from

the interface.

This option includes special cable drivers and

receivers required to deal with the Distant Host version of the

standard interface on the IMP itself.

The

IMP-l~

interface deals with the PDP-lO I/O BUS

ex-clusively.

The interface is built out of DEC R, B, and W-series

modules, mounted in two Type 1943 mounting panels.

A Type 728

power supply is supplied, together with a Type 844 power control

for protecting the I/O BUS circuits during power turn-on and

turn-off.

The circuit breaker and power switch on the back of

the 844 control power to the interface.

The interface mounts in a PDP-10 rack, occupying 10-1/2

inches of front panel space for two baskets of logic cards, and

16 inches of back panel space for the 728 power supply and 844

power controller.

The 5 1/411 display panel mounts at the front

of the rack in the usual manner.

Standard single-phase 115-volt

power" with a third-wire ground should be provided by the Host.

The Host should also provide switched l15-volt power to drive the

remote control relays in the 844.

The I/O BUS plugs into slots 25 through 28, and slots 29

through 32 of racks C and D, the lower basket.

A type H004

block is supplied for mounting the I/O BUS connectors.

The IMP cable plugs into slot Dl, or, in the case of a

distant Host, Dl and D2.

The device selection code is determined by jumpers on the

W990 modules in slots D6 and D7.

The jumpers should be placed

as follows:

(7)

I

I

I

I

[

I

[

[

[

I

[

[

[

[

[

[

I

I

I

For

Bolt Beranek and Newman Inc.

In order to effect the

device code in bit no. 3

4

5

6 7

8

9

then pin E J M E J M R

on the

W990

in

D6 D6 D6 D7 D7 D7 D7

should be connected

(to get a 0) to pin F K N F K N S

or (to get a 1) to pin

D

H L D H L P

the specific jumpering used, see Appendix

B.

(8)

I

I

I

I

I

I

[

I

I

I

I

[

I

I

[

I

[

I

I

Bolt Beranek and Newman Inc.

3 • I N T E R FA CEO P

E RA T

ION

To the program, the entire full duplex interface appears

as a single device that has one DATAO (Data Out), one DATAl

(Data In), and one CONO (Conditions Out), and one CONI (Conditions

In) instruction. Three interrupts are employed - - to indicate

completion of an output word, completion of an input word, and

completion of a message received from the IMP. These interrupts

may be individually program-assigned to any of the seven

inter-rupt channels. Thus, BLKO and BLKI instructions may reside in

dedicated interrupt locations, or one interrupt routine may

service two or all three interrupts, doing DATAO and DATAl

instructions functions. (Figure 1 shows the I/O Bus connections.)

Communication from the PDP-IO to the IMP is started by a

DATAO from the PDP-IO. The interface will cause an interrupt

on the "out" line to the PDP-IO on the 35th bit of each word.

The PDP-IO may then respond either with an additional DATAO,

which transmits thenext word, or with a CONO, with the "END OUT"

bit set (see Figure 2). In the latter case, the interface will

transmit the last bit to the IMP, with the "last bit" indicator

set, and then interrupt the PDP-IO again. The PDP-IO may now

respond either with another DATAO, to st~rt transmitting a new

buffer to the IMP, or with a CONO with the "STOP OUT" bit set,

which merely clears the interrupt. Input from the IMP to the

PDP-IO will cause an interrupt on the IN line each time a

com-'plete word is available. Upon receipt of the "last bit"

in-dicator from the IMP, the interface will pad with zeroes to

the end of a PDP-IO word and then cause an interrupt, both on

the IN line~ to indicate a full word, and on the END IN line,

to indicate end of message. Note that the IN interrupt should

be honored first, to complete the message, before servicing

(9)

.... . fIIIII!I'" ""1IIIIIIII

!I'III!I."

.. '"~. ~--.. ~.'.

fIIIIl .

..~",.,,,,,,,,.,

t""!

!IfIIiII"liiiii

. . . . , .. ~ .~."' ... - ... " .. - ..

L ;

·.~w_"

!I'III!I

..• -.,-".",,~.~--,

!I'III!I

fIIIIl

. ....-..

... ,.... ... ... ...

"-"~" ... ~-.. ~ .•. >~.. ..".,~-•.. "'''''' ... - .... ~ - - .

_ :

'~"l'"

I

NOTE:

0\

I

o

S DEVSEL

DEVICE ADDRESS DETECTOR

I

I

I

I

I

I

I

I

I

r-I--L....-.L.--L-.I-...L..--LI---.. I

r

I

I

DECODER

I I

DECODER

I

I

DECODER

I

I

P25

I I

P26

I I

P27

I I

P29

I

r

P30

1

P31

1

I

P33 J P34

I

I

P35

I

PRIORITY INTERRUPT LINES

GATES ALL' COND, CONI,

I

I

THIS DEVSEL LEVEL

I

DATAO, AND DATAl SIGNALS.

I

~

...

w.\l _ .. <5!l

15

Q Q QJ

~ll ~Ll r~1 ~l ~h t-~~~ ~D

· · · ·

.

:2" •

~.

~m·

.'

I •

!~Im-~

r

.1..1

~~

1

.

~~

cotJ

co

m

I- co~ ~ ~ (ij ~

cop

~1J -~

tlI,o' or

~'

~

Q" Q

~

_ ) ' "

y-I

Q

i5

Q - - J \ " y PI IN

\ 0 Y PI OUT

I

PI END IN - - - 1

- -

I

.

-1 ~I ~ C\I ~

ro

~I ~ ~ ~

a

~I ~

108008 IOB018

I

IOB35B

I

__ _

~C~JERS

[

]I{!IUITf!!lIIIill~~!!r!IrIIT-1/0 BUS

t-~

1

CONNECTORS 1/0 BUS DRIVERS _ _ - _ - B1 G]!:::=P35

DEVSEL

~'--\.. )

Y

LEFT 18 BITS

- - - -

I

~.

CONI

.r;-l+==

IHB 351

L . . . : . . . k - L .

_ _ .M-~-._-DATAl

\.. )

RIGHT Y'8 BITS

FIGURE 1 - I/O BUS CONNECTIONS

i

;

I . •

r

i

[image:9.612.39.760.45.557.2]
(10)

~.so

CONO FORMAT·

.

RESET

CLEAR

PDP-10 STOP

PEVICE

IIi

MP HAS DOWN

OUT

I

BEEN

DOWN"

I

\

, I

18 19

20

21

A

POWER

PDP-10

IMP

UP

DOWN

HAS

BEEN

DOWN

----=

~

~ ~ ~

...

~

~.-,

..

END

GOT

EN

I

I

EN

OUT

EN D

PI END IN

IN

B

B

I

I

I

I

22

2y24

25

26/27

28

I

IMP

END END

I

I

DOWN IN

IN

PI END IN

EMPTY

___

J~

__

L ___ .

,

- - -

-FIGURE 2 CONO AND CONI FORMATS

..

I I

P I OUT

I I

I

2,;/30 31

I

I

eI OUT

~

__

l~

...

EN

P I IN

I

I

B

,

I I ___

I

3~33

34

35

bit

I

I

FULL

P I IN

I I

,

t-CD

0

....

M"

g:,

CD -s AI

::s

CD

A AI

::s

c..

z CD

~

3 AI

::s

[image:10.612.20.714.136.566.2]
(11)

II

~

"

II

II

1

I

I

I

"I

~

:1

1\

,I

~I

l

.1

;(

j

't~

(

[

[

[

I

I

I

Bolt Beranek and Newman Inc.

the completed buffer. However, the state of the END IN line should

be tested before executing the DATAl or BLOCKI, i f the two are

being serviced at the same priority level, since a new word

(the last) may have come in between the execution of the DATAl

and the next instruction. If that instruction concludes that

the word i t just took was the last, a word will be lost.

3.1

Error Detection Logic

IMP failures are indicated by an opening of the IMP relay

that connects the IMP Ready Test (ground) to the IMP Master

Ready line in the Host/IMP cable (see Figure 3). The IMP Master

Ready line provides a bit in the CONI word and any opening of

the IMP's relay is captured in the IMP-Has-Been-Down flip-flop,

which provides another bit in the CONI word. This bit is cleared

by one bit of the CONO instruct~on. Thus, the PDP-IO program

can at any time test the state of the IMP. In addition, an IN

END interrupt will be generated whenever the IMP becomes not

ready.

The PDP-IO has a corresponding relay which is controlled by

a bit in the CONO word. If the CONO IMP is issued with this bit

clear, the relay is closed. If this bit is set on the CONO, the

relay will open, and the Host will appea~ unready. The relay

is also opened by CROBAR from the

844,

or by lOB Reset.

3.2

Operation of the Host-to-IMP Section

Figure

4

is a block diagram of the logic of the Host-to-IMP

section. lOB reset presets the FIRST flip-flop to one. Upon

receipt of the first DATAO from the PDP-IO, the 36-bit shift

register is loaded from the 36 data lines. The MARK bit, to

the right of the shift register, is set to one. One microsecond

later, the shift register is shifted left by one position and

the left-most bit appears in the HSDTA flip-flop and on the Host

(12)

I

I

t'

~ ~ ;;

I11III

t_~1 ~

,.

\0

lOB

RESET

It.O B'20 8

~ ~

fIIIIIII

CROBAR

OPEN

eONO SET

~

~ ~ ~ ~ @IIIIII ~ ~ I[IIIIIIJ

- - - 0

HOST MASTER READY

P DP-IO

RELAY

CLOSE

IMP MASTER READY

I MP READY TEST

~.

-~

HOST- READY TEST

'"IMP

HAS BEEN

DOWN

rMP

DOWN

CROBAR

C-ONO CLR

.GOTEND

FIGURE 3 - ERROR DETECTION LOGIC

fIIIIII!I

~ @IIIIJ

to

o

J-I c1"

to

(1)

I-j I»

~

(1)

~

~

0-Z

(1)

~

~

H

~

()

[image:12.612.37.680.93.494.2]
(13)

I

1

i

I

i

I

I

!

11

-~

ti

~

!~

!

~I

::1

~

~

~

~

~f

....

-o

....

i

...

~

HSDTA

DATAO

CLR

,....

@IIIIIII ~

LHBIT

OUT

CLR

--

~

fIIIIIIt

. STOP OUT

CONO cLli

,l.OAD

"-

,

.. ' .

:. CtE:AR

~ ~

~

IDATAO SET

o

...J

END OUT

CONO CLR

FIGURE 4 - HOST-TO-IMP LOGIC

~ (IIIIIIt ~

....

HIMT

...

II;

-CLEAR

(DATAO CLR)

TYHB

END OUT

~CONO

[image:13.612.46.769.79.588.2]
(14)

I

I

I

I

[

I

I

I

I

I

I

I

[

I

I

I

I

Bolt.Beranek and Newman Inc.

Data Line. The FIRST flip-flop is cleared at this point and

the Bit Available (BTAVL) flip-flop is set. At that time, if

the IMP is holding the Ready-For-Next-Bit (RFNHB) line true

(or shortly after the IMP brings this line true), the

There's-Your-Host-Bit (TYHB) line is brought true. When the IMP indicates

that i t has taken the bit, by bringing the Ready-For-Next-Host-Bit

line false, the pulse generator is fired, shifting the buffer one

bit to the left. A short time later, the interface again becomes

ready to give a bit to the IMP. On each shift, zeroes move into

the right end of the register.

This process continues for 35 bits. When the IMP confirms

taking the 35th bit, the interface shifts the 36th bit into

HSDTA and turns on the PlaUT flip-flop whichpresents an OUT

interrupt request to the PDP-IO. It also clears the Bit Available

. flip-flop, so that the IMP will not be given the

There's-Your-Host-Bit signal (for the 36th bit) until the program has given

the interface more information.

To send more words to the interface, the PDP-IO does further

DATAO's (or a BLKO, wh1c~ looks like a DATAO to the interface).

Note that the "preshift", one microsecond after the DATAO, does

not occur on words other than the first, since the FIRST

flip-flop 1s not set. The DATAO causes the data word to be loaded

into the shift register, puts a one into the MARK bit and turns

on BTAVL. This gives the IMP the last bit of the previous word

(which has been held in the HSDTA flip-flop of the shift register),

followed by the first 35 bits of the present word.

This process will continue until, after one of the interrupts,

the PDP-lO informs the interface via CONO END OUT that the previous

word was the last word of the message. At this point, the

inter-face will raise the Last-Host-Bit line and pass the last bit of

(15)

I

I

I

I

I

I

I

I

I

I

I

[

I

I

I

I

I

Bolt· Beranek and Newman Inc.

the previous word to the IMP. The CONO END OUT also turns the

FIRST flip-flop back on, so that the first DATAO of the next

message will cause the "preshift" to occur.

When the IMP confirms receipt of the last bit, by bringing

down the Ready-For-Next-Host-Bit line, the interface again

inter-rupts the PDP-10. The PDP-10 may clear this interrupt either by

a

CONO STOP OUT, or by the first DATA

a

of a new buffer.

3,.

3

0

per'

at ion

0 f

the IMP - to .. H

0

s t Sec t ion

Figure 5 is a block diagram of the logic of the IMP-to-Host

section. lOB reset sets the I'm-Ready-For-Next-Bit (IRFNB)

flip-flop. Upon receipt of a bit from the IMP, as indicated by the

There's-Your-IMP-Bit (TYIMB) line coming true, the INPUT shift

register is shifted 'one position to the left. Successive TYIMB's

have the same effect until MARK bit is shifted into the leftmost

position, indicating that the buffer is full. This causes an

interrupt request on the IN line, and also clears the IRFNB

flip-flop, to prevent bringing up the Ready-For-Next IMP-Bit line

until the word has been taken by the PDP-10.

The trailing edge of the DATAl instruction clears the

buffer, sets the MARK bit, and raises the Ready-For-Next-IMP-Bit

(RFNIB) line.

Upon receipt of the Last IMP bit indication, the interface

clears the IRFNB flip-flop, to prevent bringing the Ready-For-Next

IMP-Bit line true, and checks whether the input buffer is full.

If it is full, an interrupt request is raised on the END IN line.

If not, additional shift pulses are generated until the buffer

is full. Note that the IMP Data line is gated off during this

period by the falsity of the IRFNB flip-flop, thus forcing zeroes

to be shifted into the buffer.

(16)

~:~.

. . . . ~ . . . ~ ~ .~ ~'~ ~ ~ . . . , . . . . ~ , . . . ___ . . . . 1 . . .

-w

I

FULL

DATAl

TO PDP-10 I/O BUS

~---~~ \

r

~o

______

~

35-BIT SHIFT REGISTER

ru

I

~~!K

+

~

CLEAR

IMP DATA

IRFNB

TYIMB

I

TYIMPJt SHIFT

DATAl

END IN

o

,Ir---"·INTERRUPT

,

.

RFNIB"~---I

FULL

1" .

FULL

~

,,~, .

lOB

t~

CONO CLR

.GOTEND

ENDIN-

I.

CL EAR

<

" llBIT

FIGURE 5 - IMP-TO-HOST LOGIC

CONO CLR

.GOTEND

~

TYIMP'

, \.

.~ ; ,

[image:16.612.0.792.16.592.2]
(17)

I

f

I;

[

I

I

I

I

•• ~.. ~!ool·. .. ""'

Bolt Beranek and Newman Inc.

4.

LOGIC DRAWINGS

This section contains the following illustrations:

Figure

6

IMP Error Detection Logic

Figure

7

Pl OUT Channel Assignment

Figure 8

Pl IN Channel Assignment

Figure

9

Pl END IN Channel Assignment

Figure 10

I/O BUS Data Line Drivers-Receivers

Figure 11

I/O BUS Control, Host Ready Logic

Figure 12

Device Selection, Initialization

Figure 13 -- Host-to-IMP (Output) Buffer

Figure 14 -- Host-to-IMP (Output) Control Logic

Figure 15

IMP-to-Host (Input) Buffer

Figure 16 -- IMP-to-Host (Input) Control Logic

Figure 17a-- Local Host, Line Drivers and Receivers

(18)

....

1!IIIIIII1IIIIIIII~~!11!111111~~~~p!IIII!~fII!IIIIII~~I1111111111

...

~-08198 H

R107 802 .

FIGURE 6 IMP ERROR DETECTION LOGIC

CXJ

o

- A

ri'

CXJ

en

~

PI

:::s

en

7':'

PI

:::s 0..

:z

en

:IE

3 PI

:::s

-:::s

[image:18.612.40.779.46.592.2]
(19)

i

I

:i 1

I

,~

j

I

[image:19.612.36.770.66.543.2]

.,

...

IIIIIIIIIIIII!IIIIIIJ~~

....

!IIII!II!IIII!II ... ~~!IIIIIIIIIIIIIIIIIJIIIIIIII

...

I11111111_

....

0'\

;

PIE29-PIE29 E ~17

R203

129RSI~

D

oMYCOC E08288C

08298

F

~129RD

RDlKMYCOC

816

L

08288-M

08298-RI07 ':' 813

R111

816

PIOUT-o

RMYCOC

5°8288T

-~130RO

ROOI

815

=1

C\I It) 'it It) CD ,... a.. a.. a.. a.. a.. a.. a..

0 0 0 0 0 0 0

-

-KI LI EI FI JI H

PIE30

08308-R111

814

N

08308

L

pr~ /R107

':' 813

K MYCOC 814 L

08288-ROOl

815

PIE31-PIE31

5 TI817

ROOI 815 08318-R

08318 L Sr./RI07

-:- 813

FIGURE 7 - PI OUT CHANNEL ASSIGNMENT

R111

(20)

~ '<"'_""'A~"'~':' -->_~

.... I11III 1IIIIIIII JIIIIII !IIIIIIII ~ ~ !IIIIII L_i

t

_4

IIIIIIIIIIl

L_

§ t_A LuJi

'_4

~ I!IIIIII ... ...

...

"-..I

, /

PIE33-E

133RS

~

D

o

MYCOC RII1K~

E 08328- L 08328-F

~133RO

o

ROmE C21

OB3158

I

f!J

09339-E Rl07

-=-

023

PIE33

R1I1

C22

08348

FULLO

ROOI C21

_ (\J ,..,

V 1.0 to

I'-n:

-

-0. -0. 0. 0. 0. 0.

o 0 0 0 0 0 0

~S

P U N T R

v

1C24

8152

KI LI EI FI JI H

F

H

08348-RI07

-=-

023

K MYCOC

L

08328-08358

FIGURE 8 - PI IN CHANNEL ASSIGNMENT

PIE35

PIE35-s

Il£23

08358-J

Kr.IR107

-=-

023

R1I1

[image:20.612.54.739.77.487.2]
(21)

I

-~

(X)

;

....

IIIIIIIIJ

IIIIIIIIl

~ ~

fIIIIIIl

PIE25-PIE25

E .EL;>21 R111 R203 1J020

125RSI~

0

o

MYCOC

E 0824B~

08258

F

,...---C:>I-,.i 125 RO ROOl 019

RDlKMYCOC

.0

L 08248·

F

08258-Rl07

~813

R11I

020

~

L_'

~ ~ ~ ~

fIIIIIIIII

C\I~VlOtD"'"

-

-

-

-

-

-0.. 0.. 0.. 0.. 0.. 0.. 0..

o 0 0 0 0 0 0

ENOIN-

s

P U N T R

v

,022

orl 8152

KI LI EI FI JI H

PIE26· PlE26

RMYCOC

S08248-08268

J K IT •

E>i126RO ROOI 019

L

08268-"7813

K~

L

08248-08278

FIGURE 9 - PI END IN CHANNEL ASSIGNMENT

[1IIIIIIII

I

it

,

__

-'

PIE27-PIE27

s

!l.Q21

08278-RI07

"7 81 3

....

R11I

812

[image:21.612.67.731.98.482.2]
(22)

....

-....

1.0

I'

IIIIIJ

l1li

~

L~i~j.6L'i~

71i'Tjw,

L~g" t"gi;~

i

i-'

£'1r'"

if

l-"-iLrr;-"~'-l~M-""J1f,~,·tII1·I~-08008 08018 08028 08038 08048 08058 08068 08078 08088

C25 \. T U T .. T n T " T IV' T r T ., T T 0

C29 \. A U A .. A n X " X IVI X r ]s ':. A A Y,)

010

08098

010

08108

010

08118 08128

010

08138

011

08148

011

08168

011

08178

::: ( I

~

I ;

I :

I :

I :'

I

~

I ; I

~

. I

~

)

011

08188 08198 08208

012

08218

012

08228 08238

012

08248

012

08258 08268

MYCNI " " " " n " n "

. 013 013 013 D14 014 014 015 015 015

08278 08288 08298 08308 08318 08328 08338 08348 08358

016 016 016 017 017 017 018

FIGURE 10

~

I/O BUS DATA LINE DRIVERS-RECEIVERS

/)) ,A:';fX'f! a.. .. ~ ~

f /.

s. "'"...

~ > 0 /''rJ

,u . A'J

"'&' .

j ,., tf

. r: '"

: \ .

i

[image:22.612.50.778.35.588.2]
(23)

...

N o

i

-!8 r--.

IIIIIIII

C32

r-..

0

E

H K M

P

S T V

gg

liliiii

.. 'A .. :· .. ~'.:liX~ ==w=rrei'4t2&¥ tHe NI jilt!] ~",~.:b iitit{~tift~1 0t'M$F.t ¥"#4-~ ._~«<Ii:'k , ... , i' ... i+rk"',~ .... .,..."',_~:..;;:_~~-, ,~. un "ootr

_.- I

r-,

----l!IIII!IlII!IIIIfIIIII!IIIIIIII~~~

...

~

...

IE F 0

t

832 821 PWCLR

M R

[

,

HMRoy HRoYT

5

800

J

~

I ~i

1000C o ~ F MYoOC- K o

r

R204

1

~

f-L+

MYoOC AIO

~ R113 RI07 ~

-b

RHRoy N ~ 832 821

J

L r R113 1000S H K MYOOS- M ~MYoOS

K ~ _ 831

R113 RI07 M ~

~ 08208- H

1

~R113

'1

J -:::- 831

832 830

~MYCOC

~I

10COC L N MYCOC- 0

~ R113 8165,

P 832 830

~

OB20B-S MYCOS- H

~MYCOS OB208 E RI07

R113 BI65 A9

~

lOCOS

832 830

P 830 MyolB

10801 T MYoTI- L ~MyoIA

108CI U R113 8165

r

8165 toR

830 ~

83l 0

0 F MYCNI- T

Iv1t

MYCNI E A Rl

J.

A!

R113 8165

E ~

'WRUP

07

OEVSL

[image:23.612.45.740.27.508.2]
(24)

.... • . . fIIIIII

fIIIII

~ ~ ~ ~

IIIIIIII

~

III!IIIII

~ ~

fIIIIIIII

...

1IIIIIIII

fIIIIII

IIIIIIII· . . .

BB

.E

10BRS-10BRS H!>I RI07

' I. I

. I. I ~0S31

I· 1 "10S30 , I . I .10S41

B21

• 1 1 • 1 .10S40 • 1 1.1 .10S51

027 031

r " l ,-...

0 E H K M P S

-

T V "---"

- ..-.-

- .-.-

-..-.

-...

10S50 10S61 10S60 10S71 10S70 10S91 10S90 F A6

o

F K V W800 005

L ~ N MYCNI R002 P ... S MYOIA

003

T ~ V

S :.tvt.Y0l6.

-R001 R PIE25

~!~

_.r __

.:g __

eI.E2Q. __

o

E PIE27

PWCLR F H PIE29

K

PIE30 A07

R001 L M PIE31

N P PIE33

CROBAR

from 844 R S PIE34

T ~PIE35

OEVSL- M

E OVSB3 0 R107

-:;: 023

J OVSB4 E

Rl11

-:::- Bll

--~"""11

...

!

1M

OVSB5

~~VXPN

R001 C20 0 F H

·1006

E OVSB6 F

J OVSB7 J

H

R001 IC20

K

M

---,

~C20

p

FIGURE 12 - DEVICE

[image:24.612.34.749.74.577.2]
(25)

i

l

r

'1

1 1

"

il·

t '

\1

II

til

'~IJ

~

I ~ ,

!I

I

I

I

I

t:

% ...

!i ! N

!i:~~

~~I'r---'

>~

CI) Bv£BO I %B!l£BO

~~I'

~I-~-+!l£BIH ~II > +9£BIH~11 ~ +.I.£BIH~ > ! ii:~ 1 C l : l 1 C l . . J " ' 1 C l t' % I'

z ... 0 l(l!..~ 0 "'~, 0 I- a:

; ~ ~ &! I- CD ~I=Z &! "~h·1L1: ~ H., jl' I CI)

-!l£BIH a:~ z -9£BIH ... ~ 0 -~IH'I::: z :l

Jlij!.

~I-~

CI) % XCI)

0::

LLJ

LL. LL. 0- ;::)

::::E: CO I

-I

-M 0

I--

I - ;::) I

0-LLJ l -

I-0:: V) ;::) ;::) 0 0

t!l ::r:: ...

-LL.

I B.LZBO_ I B8ClBO I B6ClBO I B0£BO I BI£BO I BCl£BO I B££BO +8Cl91H r--f.jII..ol-f::E".+:!6Z",s",-IH"t----::-l > +0£SIHr-- II ::E +I£BIH - I I > +Z£IIIHr---11 ::E +££8IH~ II > +v£BIH -~H::E7-'-+ ... !l£",8,,-,I,,-,H

CI) -. ICl ..J N

>...

IClO :;)N> ::! U')o ..J_ ... !- IClO ::> 1Q1L. .., It) ..J Q. I(') ::> ..., lO ..J

IM.:a...{;; 2 _: ji!~i'" r,-IG,i'" .. ~~ 0 l(l~~ 0 "'~F 0 iii "<i:I'" 0:: "Rlfo:l~ &! I-CDl~l~ &! "RI Cl~ ~ I- I"'l~ &! "CDLM~ &! I-Rl"-;l::Z &!

-8ClBlH "'~ c~_-6_Z_B_I_H4-__ 0: __ ~ __ "'4-~Z~~~-0~£B~~~~ __ "'~~C~+--+~_I£B~f_H_-__ "'+-z~~41~-Z~£8~"'_~_~ __ "'~_C~r-~-_££B __ ~_~ __ "'-+~z~+--i-_v£ __ :_rn_~

__

"'4-~c~r-,-!l£BIH

e

::Er---~--+_--~----_i--~_i---r__i--r_----+_--ri+_----_r--+__r----_+--_r_;

%

CI) % CI) ::c CI) :J:

I

B0ClBO I

BIZ80

,1

BCl<l80 11

B£ClBO II 8l>ZBO I BSCl80 II +I<lBIH

-

>+ClCl8IH

-

::E +£ZSIH

r-;;;-

> +IoZBIH- ::E +SZ8IHr-- > +9Z8IH~ ::E

+l28lllr--N~~ ICl :;) o -, ICl -IN ~ 0. 0 :J ~ "':II It) ..J ... ICl

J(\JZ;; 8 ~~

U) CL

ICl 0

N~~ 0

N~~ N

N It) 0

;~ 0

I-Rl~~ &! 0

S! 0 ~ C\I 0:: I- ~ w <[ C\I 0:: :!I£ID :r: oCt a: .... ~~~ ~ C\I ~CD~~ C\I

"

...

'"

0:: 0:: -IClSIH 0:-.;: -ClZSIH "'-,;: -£ZSIH 0: '-I;: -PClBlH "'~ -SCl8I~'---;;: -9Cl8IH '" '--;;: -.I.Cl8IH 0: """I;:

z 0 z 0 z 0 z

::c CI) ::c CI) :J: CI)

- I I 8£180_ ,I 8l>180 II BSI80 II 891BO II 8.1.180 11 88180

J

+vI9IH ::E+SI9IH > +91SIHr-- ::E +lI1I1Hr-- > +818IHr-- ::E +6ISIH~ >

~~IHr--& LL ~ 8

...

"

...

ICl :;)

"

-. ICl ..J Z ... ICl :;)61 -, ICl ... CI) ...

8

:;) -. ICl

6I~t 0

I-~ ~~ 0 ,,~ -f3l~ 0

~~

0 re ~: C\I ~~

0

RI~~ C\I N N C\I C\I C\I N C\I C\I

0::

"

CD :J: '" 0:: 0:: 0:: I-CD ::E'" 0:: "CD Q. ~ 0: I- 0:'" 0:: -vI9IH

"'---.:: -SI8IH o:~ -918::: "'I;:

-.1.18:'-;;:: -919::.' '-;;:: -619~""'"""i;: -0Cl:::H"""I;:

0 z 0 z 0 z 0

CI) :J: CI) :J: CI) :J:

- , I 990BO ,I 9.1.080 II 99080 II 860BO II 80180 II 81180 !I +.I.081H > 9IIlIIIH- ::E f6081Hr-- > +018IHr-- ::E +118\11r-- > +ZI8IH- ::E

+£ISIHr--~~l

ICl :;) z -, ICl ... Vl ... II) :;) CI) -. ICl ... > ... ICl => > -. ICl ..J ...

...

ICl 0

"'~f 0 !!!~: 0

'"

~~ 0

'"

~~ 0

'"

~~ 0 fol~ 0

III ... '" C\I

I- 0; ::E <i C\I ~CD a.. <i C\I 1-0; C\I

"iii C\I ... iii C\I C\I

0:: 0:: 0:: 0:: 0:: 0:: " 0::

-.I.08IH 0:-.;: -90BIH "'---::- -609IH 0: '

--018:::'-1;: ~181:'-I;: -C::18I~~ -~18~ ----.:

z -.:: ci ... z 0 z 0 z

10-

,~

Vl :J: Vl ::c CI)

I r RI

8IHl:l!1 80080 II 81080 II 9Z0BO II 8£080 11 8l>0BO

.1

+00BIH

-

::E +I08IHr-- > +Cl08IHr-- ::E+ £08IHr-- >+ l>08IHr-- ::E +S08IHr-- >

908IH--. II) ..J

...

ICl :;) -. ICl ..J ... ... ICl :;) ... -, ICl ... ... ICl :;)

~; ICl

II) 0

'"

0 .,. 0 !!!~.,. 0

"'~r 0

!!!it~ ~ 0

~ C\I <i C\I

... <i &! C\I , . ..iii w 4: C\I C\I

0::

"

0:: ~m 0 ct 0:: 0:: ~CD % <l 0:

...

-.'" 0:: -008IH

"'--

-1081H 0: _ _ _ -<:0BIH ... ~ -£0BIH 0: '-u:: -l>0BIH "''-u:: -!l08IH o:~ - 9081H", -;:;:r

0 z 0 z 0 z 0

22

CI)

B9ClBO > +8ClBIH

:;)

I--8Z9lH

:J:

96180 ::E +1<l8IH

...

"

-1<:8IH

CI)

BZIBO > +l>18IH

:;)

...

-vlE!IH

t-8!O080

:IE +.I.09lH ..J

(26)

. . .

;,.;;' ...

~~l;J7~"@III~~'. ~;'"

__

i~Jl.' "lIft'~ .~

...

~,s~if/"'

..

It'P~~;·',"~~;.r~b.~.l

...

~.:-

.. ;."

-<.,'

'~':#' }t;,4~;'"~"._";~

...

:._,,,~L. ~.~.~~~~=_.·._~~2i.i:.fl:~

..

i.,("w-.:._~_, ,!~~

.,.::':.'

e':'::!~f;;'~~~~''''::'-=~~'~~;' ~';*,~tstiH"Hw;W8'

N

W

/

RFNNB 0

o

MYDOS- E

E

-:-6TAVL DISPU

~

R107

023

. .

F

RJ13

610

MYCOS~

06226-Df"

PRPLS-

-S--R113

601

PIOUT

'~L

ENOOX

MYCOC

06216-STOPOD

R113

601

PUlSH~M V~T

SAt. •

R6QJ3 ~R603

608 608

PWCLR

[image:26.612.43.764.91.526.2]
(27)

...

N

"'"

IIIII!I

,.

... .."Uo.ioi.~ ... ~, .. " ..

~

fIIIIII

~ .

~

iL_J

fIIIIIIJ

MYOIA

~ ~

R603

~F

~

..J S E~PWCLR I

:;) +

.... . . . cD cD

IS> IS>

CLIHB III III

H J J iSr iSs

MYDTI- FI R202 IR C01 ~~& ~ R202 IC04

K 0 N U

I L + E I P + V

~ IS>

...

...

IS> IS> IS>

III m m III

iSs ilir is J =H

d

R202 IC01 MI R202 IC05 u N 0 K

,V +P cl,E + L

S S IS> S co

m ttl m ttl

iSJ iliH iST iSs

d

R202 IC02 MI R202 IC05

0 K N U

IE +L I P + V

N N en

$

IS> IS> IS>

m m m ttl

iST iSs iSJ iSH

~ R202 IC02 ..,1 R202 IC06

N U 0 K

IP + V I E + L

.... ~ IS> IS>

IS> iii iii

ttl m

iSJ iSH iST iSs

d

R202 IC03 M I ,R202 I C06

0 K N U

I E ~L I P +V

v

IS> IS> iii

ttl ttl iii

iST iSs iSJ ;; H .

MJ R202 IC03 MI R202 IC07

N u 0 K

IP + V I E +L

It) It)

~ N

IS> IS>

m ttl ttl iii

iSJ iSH iST iSs

~ R202 IC04 ..,1 R202

l

C07

0 K N U

I E + L I P +V

~ ID ",

0 " ,

ttl ttl iii iii

SFIHliS is is J:

SFIHS J I

R60~

-rll

SFIH2 R603 1M

I

J,I

00:

- , , ; . , ; . _ • • < ~ _~,"'_.,-".v ... ,....~;..-!"., ...

fIIIIIII

~

I +

.., ..,

iii iii iSJ iSH MI R202 IC0B

0 K

I E +L

~ v

iii iii

;;r =s

~I R202 IC08

N U

I P +V

It) It)

iii iii iSJ iSH

wi R202 IC09

0 K

I E +L

ID ID

iii iii iST ;!;S

~I R202 IC09

N U

I P + V

...

....

iii iii iSJ iSH

..,1 R2021CI0

0 K

I E + L

CO CO

iii iii

iSr iSs

..,1 R202 ICI0

N U

I P +V

en en

iii iii iSJ iSH

1.11 R202 ICII

0 I<

E + L

IS> IS>

N N

m m

is J:

-

V

'''',.-,~-.,.-~.~-~

fIIIIIIJ

,...

~

..;;.

.

I +

$ $

N N

! r III

~s

MI R202 ICII

N U

I P + V

N N

ttl m

= J ~H M I R202 ICI2

0 K

IE ttL

N N N

m ttl

iST iSs MI R202 ICI2

N U

I P + V

" , ....

N N

m ttl

iSJ iSH MI R202 ICI3

0 K

J-E ~L

N N

m m

iST iSs

1.11 R202 ICI3

N U

I P + V

It) It)

N N III m

iSJ iSH

1.1 I R202 ICI4

0 I<

IE + L

ID ID N N

m III

iST iSs

..,1 R202 ICI4

N U

I P t.V

...

N N

ttl III J: J:

... ...

I

R603 I_ SFIH3

II1II

filii

I +

... ...

N N

III III

iSJ iSH

MJ R202 ICI5

0 K

IE + L

III III

N N

m m

i!ir iSs

..,J R202 ICI5

N U

• P + V

en en

N N

ttl m

iSJ ;!iH

MI R2021 C'6

0 K

QE ~L

" , ....

m ttl

iST iSs

1.11 R202 I

N U

I P + V iii iii

m ttl

;!;J iSH

1.11 R202

I

0 K

I E +L

N N

" , " ,

m ttl

iST iSs

1.11 R2021

N U

IP + V

" , " ,

" , " ,

m III

iSJ iSH

1.11 R2021

0 I<

I E + L

v v

", ....

III ttl

is is

.

·"~~"-'.~·w-

If

I,

.

+

~ ~

..,

..,

III III

;!ir ;!is

MI R202 IC 8

N U

IP +V

It) It)

..,

..,

m m

iSJ iSH I R202 ~ 9

F

0 K

I E

(28)

-N

(J1 •

J

....

I11III

.@1!11111

tId

(IIIIIIJ @IIII!IJ

W520 A03

to 02l OllBT E

to 02M OlIBT- 0

to 02F OTYIB l

to 02H OTYIB- K

to 020 OIOAT S

to 02E OIOAT- R

H llBIN

N TYINN

U IMPOA

fIIIII!I!'

to 01N

H RFNNB

to01P

aZZ resistors Z/4 watt

~ @III!I ~ ~

,....

..

,

...

...-

~

....

W602 03

ARFNB- 01 IF

ORFN3

120n

~to02J

...,."..

HI 1200. "I"

ARFNB IK ORFNB- to 02K

ORFN3- ...,."..

~

"I"

HIB00 L

I

I

N

l~On

DHSTD

to

D1J

. . 0 H ST3 "1M.;

c::::;::=::;.

' - - - . - . . 12M "I"

04

HIB00-

0

I

I

~

.

l~n

OHSTO-. OHST3-·

c::::::=

to OlK

~---~ ~2~

TYHBN H K 120.0. OTYHB

OTYH3 I 120,0. to 01l

;I

ATYHB- L N 120.0.

OTYHB-OTYH3-

..

I to OlM

120.0.

A32

lHBIN 0 F 120.0. DLHBT

OLHB3

..

I 120.n. to 01R

~

LHBIN- H K 120.0.

OLHBT-OLHB3- L ~

to 01S

12o.n.

FIGURE 17

DISTANT HOST, LINE DRIVERS AND RECEIVERS

',~li

~~

,-~

~ l"

~ ,

[image:28.612.48.736.76.564.2]
(29)

....

i

TYHBN E

...

...

@IIIIII

100.0. 1/2

w

,...

W9ge

1

V6REF 0

04

5v

C

I

1/2

w

V6REF V

D03

r::

I

W603

I

TYHBI 0

to OlK

JIIIIIIIIII

Ii,

1'1

002

.IMPDT to DIN

F

~

W512

I

IMPDA L

~

,...

,....

@lilt ~

...

....

fIIIIIt

fIIIIII

(liliiii

... ...

?

~

... V6REF V

003 """l

HIB00+

~

...

W603 HSOTA l

v..-to OlJ

RFNHB E 002

to Oll •

I~

W5l2

I

1

RFNNB 0

003

LHBIN H

t>f-I

W603

K

!~ ,~

,

FIGURE 17a LOCAL

HOST~~LINE

DRIVERS AND RECEIVERS

[image:29.612.19.771.19.594.2]
(30)

I

I

I

I

I

[

I

[

I

I

I

I

I

I

[

[

I

I

I

Bolt Beranek and Newman Inc.

5. TEST PROGRAM DESCRIPTION

AND PROGRAM LISTINGS

The test program runs on the PDP-IO under any of three modes:

as a stand-alone program, as a program under a DEC 10/50 monitor

using user I/O, or as a program under a TENEX system running in

monitor space.

The program tests the interface by communicating with the

standard IMP system, repetitively sending to itself two messages

on separate links.

These messages contain sequence numbers which

are indexed with each consecutive transmission.

Upon receipt of

one of these messages from itself, the program verifies the data

includ,ing the sequence number against that transmitted and types

out any discrepancies.

A queue 6f messages waiting for tranSmission is kept, and

on receipt of the RFNM for a given message, another copy of that

message is placed on the queue, with the sequence number indexed.

If the sequence numbers for the two messages ever differ by more

than one, a RFNM has probably been dropped.

A message to this

effect is typed out and the program is reinitialized.

The program is organized as three co-routines:

an input

routine, an output routine, and a background routine.

The

back-ground routine polls the interface for input completion and

out-put completion, and calls the appropriate co-routine.

It also

tests for a number of error conditions including sequence number

differences of two or more, interface power down, IMP not ready,

IMP was down, and TIMEOUT (a long period with no activity).

Upon initialization the program clears the interface, makes

the Host appear down to the IMP, waits one second, then brings

the ready line true.

It then places four no-op messages on the

(31)

[

I

(

I

[

[

[

[

"

II

1\

I

I

[

[

I

I

I

I

I

Bolt Beranek and Newman Inc.

queue of messages to be sent to the IMP, clears both sequence

counts and puts one copy of each of the two main messages on the

queue to be sent. The initial calling points of the input and

output routines are then set up and the timeout count is

initial-ized. The program then falls through to the background routine.

The input routine initializes the block-in pointer, then

loops, first calling the background routine to wait for an input

word. It then reads the interface conditions so that if the word

just input happens to be the last of the message, the ENDIN bit

can be reliably read. A BLKI is then executed to input the word.

This BLKI should never overflow, as the last word should be

re-ceived from the IMP before the input buffer is filled. The

ENDIN bit is then tested, and if not true, the input routine loops

to get another word. If the ENDIN bit was true, a CONO GOT ENDIN

is issued to the interface. The message is then tested for a

number of error conditions, any of which will cause a typeout.

A normal message from another Host, which is generally not an

error condition, will also cause a typeout. In addition, whenever

the sequence number on either link reaches a multiple of 10,000

octal, a typeout to that effect is given.

The output routine waits for the output buffer to be emptied,

then interrogates the queue to find whether there is anything

waiting to be sent. If not it returns to the background routine

to test the other background conditions. If it finds something

on the queue i t removes it, then loops, first waiting for the

output buffer to be empty, then executing the BLKO to actually

output a word. If the BLKO does not overflow, the routine loops

to wait for the buffer to be empty again. If i t does overflow,

after waiting for the buffer to be empty, a CONO END OUT is

issued. The routine then loops to again test the queue.

(32)

[

[

[

,

[

[

[

[

I

I

I

I

I

[

[

I

I

I

I

Bolt Beranek and Newman Inc.

There are three assembly parameters which are installation

specific.

One is SYSTEM, which may be set either to BARE for a

stand-alone program, to DEC to run under a DEC 10/50 monitor with

user I/O privilege, or to TENEX to run under a TENEX system in

monitor address space.

In stand-alone mode, the program will

assemble in RIMIOB mode, with an origin of 4000.

If it is to

run under a 10/50 it will ordinarily load at location 140.

If

it is to run under a TENEX, its origin is 274000.

The remaining installation-specific parameters are the IMP

device code, called IMP, and the network address, called ADRES.

These three parameters must .be set at assembly time to the

relevant settings for the installation.

-._,

(33)

f

f

G

[

C

r ..

~

t

[,

[J

~

f

f?

t

(,

I'

c ..

V~'~

I

i

'-..

~

I

[

.'

&',;,

I'

; <DIAGN03:ICS>IMPSBN.A,3 WED 22-UUV-72 1:b8PM PAGE 1

;<OIAGNOSTICS>IMPBSU.A;3 22.NOV-72 13:~8:0~ EDI~ BY CHIPMAN

TIT:'E II1PTS!

sua~TL S~NDS aE3SAGES lO SELF VIA IftPSYS

BAR ;==Vl

DEC~:::1

TEN:X==2

;INSTALL~TION-SPSCIFIC AS3EM8LY pnRAMETERS

********.*************

; W HAT KIN 0 I) F S Y S 'I E t1 A i1 I RUN H ll~ GUN D E R ? II<

S!3:Zl'1==1'i::NBX ;IMP DEVICE COD):J

IMP,"=1'055,1

;MY

NET~oa~ ADDH8SS

lJ. 0 R ~ S = = , J 1 :'j 5

·

I

·

,

·

,

*

...

...

...

...

;.*********.*************.*****.***********.*******~*************

;SYSTEM CAL1 DEF!NI~IONS

IFE S1STEM-LE~EX,<

SEARCH STEN:X

>

;LINK NUriBE3 TO 5E US EO

LINK==1'034.3 lIN~2==LINK+l

;INPUI ~UFF:R SIZE

IN.5IZ=='I'J225

STK3IZ==tD5 l ;PUSH DOW~ LIST SIZE

QUE3IZ=='I'D1~ ;SIZE OF OUTGOING MESSAGE QUEUE

CP=17 ;STACK POINTER

;OTHER AC'~

BLOCKI=<a10~KO=<INAC=<OUfAC=CP-1>~1>-1>-1

WHICH=<FtAGS=<TIME=<CUNDS=<QF=<OFfQ=B~OCKI-1>-1>-1>-1>-1>-1

;CONO BITS

CLR:RR==2')0~:'?I

f',

M,n. K'; ~D== 13<1;:,~ J STF)U'l'==~'3:J1 J .. :

El~DJU'I'==2:-~;;': ::.

GC.l'~ND== 1/)03·.5

ENB ~ND==4:.;r;

ENBiJUT==23Z

ENBn~== 1,~

; CONI BI'l'S

tL

F W R

u

P =::: 2 ; rH~ ?~~

Dew ~ 1 0

= =

1 ;~ tF: J

E~R==402 ,::;!1

IMPi)WN==2 11t.V·

END I N =

=

1 4 ;;' 0 'j

EMF fY==2 .:7'

FULL==10

o

(34)

f

f

o

t

t

t

I:

Ir

f

f

ii~;

i

c~

I'

~

"

,

I

I

I

r'

I'

.

,

<DIAGNCSTICS>IMPBBN.Ai3 WED 22-NOV-7~ 1:58PM

IFE SYSTEM-BARE, <LOC 4~00

RU112io>

;DEFINE TTY OUTPUT MACROS IN CASE NOT 1~-50

>

>

IFE SYStEM-BARE, <DEFINE OUTSTR (ADURES) <HRRZI 1, ADORES

PUSHJ CP, TTY OUT> DEfInE ourCHR

<PU5HJ CP, TrICKR>

IFE SYST!~-T3NEX, <DEFINE OUTSTR (ADORES) <HR ROI 1, A DDRES

PSO(JT>

DEFINE O(JTCHR

<PU3HJ C?, TrYCHR>

iMACRO TO PuT A ~ESSAGE oN TH~ OUTGOING QUEUE

DEFINE POQ (WORD)

STRING

/J>

tL

<MOVE 0. ;';ORD PU3HJ CP, PUIONQ>

DEFINE ERC! (SX!ING)

«PUSH CP, '/

PUSH CP, 1

OUTSTR <p.SCIZ/

pUSHJ CP, PHEADR

P:'P CP, 1

p' P CP,3

JE~r .+1]>

PAGE 2

a

.)

(35)

r

f

o

[

c~

t

t

[

t

t

[

f

f

Jji

I

{ .... :;,

I

I

I

1·0'

I'

I"';

~'"

.

,

<DIAGN~S~ICS>IMPB8N.h;3

iIF RUNNING UNDER 12-50, CALL TapSET

START: IFE SYStEM_TENEX,<USRIO

JF.SI [OUrSTR<[AS:IZ*

USER I/O PRIVELEGF NOT AVAILABLE. ARE YOU ENABLED?

HAlTF]>

IFE SYSI!~-D~C, <CALLI J,0

!1~V~I 1, ,;:

C1,LLI 1, 25

JLSI [OUTSf~<[ASCIZ*

USER I/O P3IVEL£3E NOT AVAILABLS

... J>

EXI:']>

IFF SYS1?M-EARE~ <CONO tTY, 3410>

M0V~ CP, [lOWD STKSIZ, STACK]

OUTSTR<[ASCIZ/

IMP 'IES1'EF.

/J>

C(NO IMP, MAK10D+ENBEND+ENBOUf+ENBIN

;NOW

WAIT FOR THg IMP TO SEE tHAT YOU ARE DOWN

IFN SYSIE~-O~C, <~OVSI ~, -4 .

A(JL .>

IFE SY51'r~:-;-D:::C,' <!"10VE.I J, 1

5tE-?>

;INITIALIZE QUEUE POINT~RS

H(.V~' QP, [IOWD QUESlZ, 'JUEUS)

l-I:V: OFE'Q, OP

;INITIALIZE THE IG!EBFACE

D i, I A I IMP, .!

C;~O IMP, CLRERR+ENDOUT+GOTEND

;pur

U NOP~ ON tHE OU?GOING MESSA3E QUEUE

i'j!'V::r 1, 4

NOPLOP: P-Q <[IO~D 1, NOPMES]> SLJG 1, ,'IOP1JP

. ;CLEAR BOTH SEQUS~CE COUNTBBS

SETZM MESCI

SETZ!'J ME:SC2

;QUEUE 80TH MAIN ~ESSAGES

P(:Q IOi-iDi

p~O IOWD2

;SET UP RETURN POINTERS TO POINT TO tHE BEGINNING OF THE

;INPUT AND OUTPUT ROUTINES

MrV~I I3hC, STP~I~

nCV~I aUlAC, STARTO

MCVSI TH1E, 4~;

'L

PAliE 3

"

(36)

... _ 1 _ ... _ ... _~, .. J "",.

~ .~

f

f'

j

o

t

t

t:

~

(p

[,

I

\

I

I

I,

I

; <OIAGN:~!ICS>IMPE8N.A;3 WED 22-NOV-72 1:58PM

BCKGUD: C·NI IMP, CON OS ;6ACKGROUNO LOOP TESTS WHETHER

TFN~ CONDS, FULL ;INPUT WANTS SERVIC~

JnST (INAC)

TnNE CONDS, ~HFTY

JF..~i (OVI'AC)

iOR OUTPUT WANTS SERVICE

'l'IMCNT: WV; 1, M'E'SC"I

SUB 1, MESC2

JVl~fL 1, STI:P

SC JG 1, STE:f

;NOW TEST WHETHER SEQUENCE COUNTS

;OIFFER 31 MORE THAN 1, TO CHECK

iFOR DROPPED RFNMS

;NON TEST VARIOUS INiERFACE ERROR CONDITIONS

T~NN CONDS, ~WPUP

JffT [OUTSTR <[ASCIZ/

N 0 POW E F. ," ~~ I N TEa F A C [ 1

J

>

JF~J START]

TEL CONt'S, IMPOI-iN

JR5? [OUISTf <[ASCIZI

IMP IS Dowr/]>

JFS: STAr.!) 'I Hi :_ CO 1-: D S , ERR

JFS~ [OtTSiR <[ASCIZI

IMP WAS D'"~N ERiOR IJ>

PAGE 4

H; Ii ZIT l. 1'1

r , ';

H~~ ~ 1) G ; T'IIH 0 U T QUI C K L Y AFT E R If IMP WAS DOW N ..

J

r ::

B C 1< G 1J D ]

S-JG TlhE, BCKGNC ;TOO LOnG SINCE THE LAST MESSAGE?

JIS: EROR clIME OU1, RESTARTING>

JE~T STAET

STEP: OUTSTB C[ASCIZ/

LINKS OUT cr STEP, PFNH DEep? RESTARTING

JF~:' STABT tL

o

o

c

(37)

_._

.. -... .

. w.-. .... '... _ '_~_ .

t

f

o

I

c

t

r~.

,.

,~

It

~

f'

f

f

c'

I

Cd;

I.

'~>

[

[

r

I

I·'

" ,

I'

',',

; <OIAGU' ~:ICS>lM}~BN.A;3 PAGE 5

iINPUI ROD1INE

STRTIN: ~~vr BLOCKI, [lOWD INSIZ, IEUFJ ;SEI UP ELKI POINTER

INLOP: JSF INle, BCKGhO ;WAIl FOB A WOBD

CC~I I~P, CONDS ;SAVE STATUS FO~ EKDIN TEST

SLYI I~F, ELOCKI ;GET THE WORD

Jrf:

ERCR <~fSSAGE FBO~ IMP ~OO BIG> ;IF BUFFER OV~RFLOWS

Ti~n CONDS, ENDIN;WAS JT THE LAST O~E?

Jrs~ INLOP ;NO

C

to

IMP, GOIEKD ;IES. RELEASE I~TEPFACE

;HAVt WOOLF MESSAGE IN CORE, CHECK IT

LOB 1, [POIEi 4, 12ur, 7J ;MESS TY~E

CLI~ 1, 5 ;BFNM1

J U

r:

P N 1, C 0 I~ :: R L ; IF U NUS U A L 11 E S SA GET Y P E

LOF 0, [POINT U, IBUF, 3J

JUrPN WtIROO ;IF IT IS FROM IMP, ETC

LOb 0, [POINT 8, IBUl', 15J

cr.!:

ADRES

JBS~ WE!RDO ;IF IT IS NOT FnOM ME

LOF WHICH, [POINT 8, IBUF, 23J ;LINK #

SUEI WHICH, LINK2

JUtPG WH:CH, EROR <LINK # TOO LARGE>

A:Jl WHICH, BROR <LICK # TOO SMALL>

UlI'I WHI:::a, 1

JU~:PE 1, NORNAL

SFNM: h~~ 1,~CHTADR(WHICH) ;INChEMENT MESSAGE COUNT

FrC <IO~D1(WHICH» ,PUT MESSAG~ O~ OUTGOING QUEUE

TPr7 1, 7777 ;TIME ~O PRINT "0~00~H MESSAGE" ?

JP~~ STRTIH ;NO

M"V:":: 0,1

PU;:HJ CP, PRNUH

OUTSTR <[ASCIZ/TH MESSAGE ON LINK

IJ>

fi' ,.r~I- LINI< (HHlCH) PU;;',HJ Cl?, PF.NUM OUTSTR <[hSC!ZI

Jl1.S:: STRTIN

o

o

o

a

a

(38)

()

r

,J'

f;

t

',.:

,-

-'---'

.

,

<DIAGN· :':;':'ICS>Ir.PSDU.Ai 3

WEIRDO: QUTSTR <[ASCIZ/ MESSAGE F~OM SITE /J>

LDH [POIH~ B,IBUF, 5J

PU~HJ CP, PRNUi1

PUSHJ C?, PH]ADR

JR:-:( STRTIU

WED 22-MOV-72 ':~8PM

;IS THE REC~IVED MESSAGE THE RIGHT SIZE?

NORMAL: HL~~ 0, BLOCKI

C~M~ 0, S!~TAB(HHICH)

JR~~ EROR<nIGHT MESS~GE, WRONG LENGTH>

iNOH

CHECK :HE DATA

M~"::~ 2, IOHD 1 (vrH!CH)

ADD 2, (XWD -1,1)

11'- V::I 3, IETJF COMPAR: i1';Y-: 0, (3)

CAre 0, (2)

JRS':' MIS!1A T

MATCH: ADD 3, [IND 1,1J

h I:' B J N 2, COM PAR

N~VSI TIME, 20 ;R~SET TIME COUNTER

JTIS:: STRTIN

STRANG: OU~STR ~TYP~AB-1(1)

PU~-:lh' CP, PHEADR

P"PJ CP,

CON:RL: LOR 1, [POINT 4, IBUF, 7J

PUSHJ CP, S7J:U.NG

J?S':;: STtCL';!:N 'I'L

()

PAGE 6

o

(39)

1

o

I

o

,

,

,

,

I

t

I

i

c

I

c'

I

J.

I

f

rll

'I

I

I

; <DIAGN~~ICS>IMPBBN.A;3

;NAMES

or

~:SSAGR TYPES .

DEFINE CONCAT(A,B) <A'B>

DEFINE NXTYFE (NkME)

<CONCAT(TYP,\N); ASCIZ/NAME/

N=!1+1>

I~= !

NXTYPE

EBRon

WITHOUT ID

NXTYPE IMP GOING DOWN

NX~YPE BLCCK~D LINK

NX~YPE NOP

NXTYPE RFNM

NX~YPE LINK TABLE rULL

NXTYPE DZSTINATION DEAD

NXTYPE ERROR WITH ID

NXTYPE INCOMPLETE TRANSMISSION

NX~YPE CEASR ON LINK

NXTYPE CEASE TIMEOUT

NXTYPE C:ASS SENT

NXT!PE TYPE;)

N X T Y PET Y P E ',"

N X 7 Y PET Y P Ei 5

I=:

TIPTtB: REF2AT N_1,<

Z CONCAT(TYP,\I)

r=:::+1>

tL

()

PAGE 7

o

o

o

o

o

Q

o

o

C)

o

f"':-~-...:.'

o

(40)

It

ii

I e

!,-!f.

It

I-t

t

t

t

:e

il

'.

,

,

L

"

t

r

,

t

; <DIAGN S?ICS>IMPBBN.A;3 WED22-NOV-7~ 1:58PM

MISMAT: OUT5TB <[ASCIZ/DATA MISMATCH ON THE /J>

HLnz 3

PUSHJ CP, PHNUM

OUTSTR <rASC!Z/TH WORD OF TH£ /J>

H~V: ~CNTADR (WHICH)

PU:::HJ CP, PRNUt1

OUTSTR «ASCIZ/TH MESSAGE ON LINK /J>

1"1 ,:' v :: I L I !~K ( 'II H I C H )

PU;;;HJ CP, PTINUM

OUTS'l'R <[l,SCIZ/'

SENT

t·: :. "1":: (2)

PU3HJ CP, P?NUM OU:STR <[l\SCIZI RECEIVD IJ>

[','V2 (3)

PU~HJ C?, PRNU:'l

OUT S T R < [!l SCI Z 1

XOR IJ>

/J>

tL

trv'!

(2)

X~;R (3)

PUSHJ CP. PRNUi'l

OUTSTR <(.~SCIZ/

J3.S'I' 11ATCH

"

PAGE 8

I

(41)

f

f

c'

I

!

t

[:

~

t

,

[1

t

I..,.

(

[

[

r'?

I'

.

,

<DIAGN-STICS>IHP8BN.A;3 WED 22-NOV.72 1:58PM PAGE 9

;OUTP(]T n:UI'INE

STARTO: JSB OUTAC, BCKGND iNAIT FOR THE BUFFER TO BE !MPTY

OUT: C~MN OFFO, OP ;ANITHING WAITING TO BE SENT?

JR3T TIMeNT ;~O

A: n J N OFF Q , • + 2 ; Y E; S • GET IT

M~V= OFFQ, (cIOWD QUESIZ. QUEUE>+<1,,1>J

l"l:.V2 BLOCKel, (OFFO) OUTLO?: JSP OUTAe, BCKGND

aLKO Il'lP, ELOCKO

JEST FINALO iIF

v!ts:

OUTLO?

FINALO: JSP aUTAe, BCKGND CCHO IMP, EtlDOUT

.. 1!L3T STARTO tL

-,

;WAII FOR BOFFER TO BE EMPTX jSEND A WORD

THAt ~AS THE ~AST WORD

;WAIT FOR THE BUFFER TO EMPIY

;TELL THE INTERFACE THAT'S AL~

o

o

(42)

r

r

f,

, :'

e

,

t

I

t .. '

"

(

"

i :

""

I

·~·,'··"i

,

...

,.

")

,ft

:

i

~"~) ;,,~

"

(

I

.

,

<DIAGN:3TICS>IMPBBN.A;3

;RaUTINE TO TYPE A CHARACTER

IFE SYSTUi-BAflE,

<TTYCKR:~:~?M 0, CHAR

D j~ T A I APR, ;.

T F: tal 0, 3

J!.ts,= DaCHAR TJNI 0, 2 C :: H saT T Y, '1 .:'

P PJ CP,

D~,'IAO TTY, [7J

P:PJ CP,

DOCHAR: C~NSO TTl, 1.'

JrST .-1

DJ. T AO TTY, CHid<

p',PJ CP,

CHAE:

z.

TTYOUT: HrLI 1, (POINT 7,~)

Jr~ST TTY NIP. TTYLOP: ourCHR

T'l'YlCIR: ILDB 1

Jur"'PN T',LYLOF

f,PJ CP,>

IFE SYSTE~-TEVEX,

<TTYCHR: EICH 0,1

pEOUT tXCH 21,1

r

PJ CP,>

WED 22-NOV-72 ,,:58FM

;ROUTINE TO ADD ~N E~TRY TO THE OUTGOING YUEUE

PUTONQ: ,i,-BJN QP, .+2

~:V~ QP, «lOWD OUESIZ, QUEUE>+<1,,1>J

E' V:::' M (Q P )

I PJ CP,

;BOUTINE TO PRINT OCTAL NUMBEB

PRNUM: LShC 0, -3

PRE!1:

'1.

JUIP, PE PRFN

PUSH CP, 1

pUSH,J CP, PRNUN

P(P CP,I

Figure

FIGURE 1 - I/O BUS CONNECTIONS
FIGURE 2 CONO AND CONI FORMATS
FIGURE 3 - ERROR DETECTION LOGIC
FIGURE 4 - HOST-TO-IMP LOGIC
+7

References

Related documents