MAINDEC 11 DZDMG C D_DMC11_CROM_AND_JUMP_S_May77 D DMC11 CROM AND JUMP S May77

MAINDEC-11-DZDMG-C-D_DMC11_CROM_AND_JUMP_S_May77 MAINDEC-11-DZDMG-C-D_DMC11_CROM_AND_JUMP_S_May77

User Manual: MAINDEC-11-DZDMG-C-D_DMC11_CROM_AND_JUMP_S_May77

Open the PDF directly: View PDF PDF.
Page Count: 146

DownloadMAINDEC-11-DZDMG-C-D_DMC11_CROM_AND_JUMP_S_May77 MAINDEC-11-DZDMG-C-D DMC11 CROM AND JUMP S May77
Open PDF In BrowserView PDF
IDENTIFICATION
PRODUCT CODE:

MAINOEC-l1-DZDMG-C-D

PRODUCT NAMe:

DMC11 CROM

DATE:

MAY 1977

MAINTAINER:

DIAGNOSTICS

AUTHOR:

FAY BASHAW

ANU

JUMP TESTS

Ine jntormatlc~ in thiS dOcUment is sUbject to change
notice and snould not be construed as a commItment by
Equipment Corporation. DIg1tal Equipment Corporation
no responsibi11ty for any errors that may appear

witnout
Dig1tal

assumes

in tn1s

document.
The sOftware 1escribed In th1s document is furn1shed under a
lIcense and may only be used or copied In accordance wIth the
terms of sucn license.
Digital EquIpment c~rporat1on assumes no responsibility for
the use or rellaoil1ty of its software on equipment that is
not supplied by D1gital.
copyright (el 1976, 1977 by Digital

~qu1pment

Corporation

Paqe 2
1.

ABSTPACT
The function of the DMCll dlaqnost~cs 1s to verify that the
oPt10n operates according to specifications. The diagnostiCS
verfly that there are no malfunct10ns and the all operations
of the DMCll are correct In 1ts env1ron~ent.
Parameters must be set up to alert the dlaQnostlcs to the
UMCll confl~uratlon.
These parameters are contained In the
STATUS TABLE. and are generated in two ways:
1) Manual
Input - the operator answers questions. 2) Autosizinq - tne
program determlnes the parameters automatically.
DMCI1-AR and
DMCI1-AL
~lcro-processors
It
per10rmS
jump tests on the
m1cro-proceSsor and Verifies the control ROM of the MS200.
Th1t dlaQnoJtlc ~111 n~t rUn dn ~ KMC (M8204), ho~~~~r it 1s
posSIDle to load the ~MC CRAM ~lth tne OMC micrO-COde.
See
test 2 for details.
DlOMG

tests

(MB2~0-YA

the

M8~00·YB).

Currently tnera are five oft line dlagnost1cs tnat are to be
run In sequence to insure that If an error should occur 1t
will be detected at an early stage.
NOTE:

Additional d1agnostics may be added In the future.

The five diagnostiCS are:
1•

2.
3.
4.
5.

DZDMC
lJZDME
DZDI4F
DZDtoIfG
DZDMH

2.

IH.. <.Il'l REMEN

2.1

EQUIPio1l:.Nl

LREV] sastc w/R and Mlcro-processor tests
L((EV J ODCMP Line unit tests
[REVJ BITSTUfF Line un1t tests
[REV J JUmP and CRUM tests
[REV J free-running te~ts (Heat test tape)

IS

Any POP11 family C~u (except an LSI-11) with minImum 8k memory
ASR 3) (of equll1valent)
D~Ctl-AR (MR2~~-YA) or an DMC11-AL (M8200-YB)

PA(;Ea

0~02

Paoe l
2.2

STURAGe,
Program wl1l use all 8K of memory except where ABL and
BOOTSTRAP LOADER reSide. Locat10ns lS00 thru 1640J contain
the ·ST4TUS TABLl" information which 1s g~nereted at start of
dlaonostlcs by manual input (questions) or automatically
(auto-sizing). This area Is an overlaY area and Should not be
altered bY tne operator.

3.

LOADING PROCEEDURE

3.1

METHOD
All pro~rams are In absolute format and are loaded using the
,ABSOLUTE LOAD~M. NOTl: If the d1agnostics are on a media such
as DlSK ,MAGTAPE,DtCTAPE, or CASSETTEJ
follow 1nstructions
tor the monitor -hicn has oeen provided on that spec1f1c
med1a.
ABSOLUTE

LOAO~R

MEMOkY

*

41C
81C
12k

11
37
51

starting address *500

SIZE

16k

71

20k

111

24k
28k

137
t 57

Place address of ASS loader into SWitch reoister.
(also place 'HALT' SW UP)
Depress 'LOAD AODRESS' key on console and release.
3.1.3

DepreSS 'STAkT KEY' on Console and releaSe (prOgram ShOuld noW
be (oading Into CPU)

PA(;Ea

0803

PaQe 4
4.

STARTING
a.
b.
c.

d.

PROC~~DUP£

Set s.itch reQister to ~~02~~
Depress 'LOAD ADDRESS' Key and release
Set swp to zero for 'AUTO SIZING' or SwR 01t0=1 for ~anual
input (questions) or SwR blt7=l to use eX1stlnQ parameters
set up by a previous start or a previously run UMCll
diagnostic.
Depress 'StART ~~V' and release. The proQram will type
Maindec Name and proQram name (if this was the first start
up of the program) and also the following:
MAP Of OMCll STATUS

PC

CSR

STATl

STAT2

STAT)

177777
111777

~000~~

6~lS00

16~010

14531~

~d151J

Ib0~20

145j2~

000~0~

The program .ill type 'P' and proceed to run the diaonostlc.
The above i& only an example. ThJs would Ind1cate the ~tatus
table starting at add. lS0~ In the program. In this example
the table contains the information and status Of two DMC11'S.
THE STATUS TABLE MUST BE VlRlfI~U bY THE USER lY AUTO SIZING
IS DONE. f'or information ot status table see Section 8.4 tor
helP.
If the diagnostic was started wlth SW00=1 Indlcatlnq manual
parameter input then the fOllowing shOWS an example of the
questIons as~ed and some example answers:
HOW MANY

u~Ctl'S

TO SF.

T~ST~O?l

~1

CSR AOuREsS116~e,10
VECTOR ADURlSS?31~
bR PRIORIT~ LEVEL? (4,5,6,7)15
DO~S MICRU.PkOCESSOR HAVE CRAM?
(Y OR N)N
~HICH LIN~ UNIT?
IF NONE TYP~ "NW, If M8201
M8202 fVPl W~W?l
.
IS rHl LOUP BACK CO~N~CTOR UN1~
SWITCH PAC'l (OOCMP LINl.)?J77
SWITCH PAC'~ (~~873 BOOT ADD)?]17

lYPE

Wi",

If

Following the questions the status map 1s printed out as
descrloed aoove, the infOrmation 1n the map reflects the
ans~ers to the questIons.
If the dlaqnostlc was started wlth
5w~0=0
and Sw07=0 (AUTO-SlZING) then no Queltlons are asKed
and only the status-map 1s pr1nted out.
If AUTO-SIZING is
use1 the status lnform~tlon must be verified to be correct
(match tne hardware). 1f it does not match the hardWare the
alagnostlc must be restarted with Sw~~=l ~nd the Questions
answered.

PAG£&

8004

Page 5
4.1

CONTROL swITCH SETTINGS
SW 15 Set
SW 14 Set
SW 1 3 Set
sw 12 Set
SW 11 Set
SW lid ::\et
SW 09 Set
SW V)Q set
SW en set
Sw l>6 Set
SW 0~ ::Ie t :
SW 04 Set:
SW 03 :iiet I
SW ~2 :i,et:
sw ~1 ~iiet :
SW ~0 Set:

Halt on error
LOoP on current test
InnIb1t error print out
Innlblt type out/abell on err()r.
Inhib1t IteratIons. (qUiCK PilS s)
Escape to next test on error
Loop w1th current data
Catch error and looP on 1t
Use previous status table.
RC,MC LK
Halt 1n
before
routine
micro-processor

cloC'Klng

~eserved

Reserved
Reselect DMCll '5 des1red active
LOCK on l:ielect~d teSt.
Restart proQraR't at selected tt~S t
Build new status taole from questlons. (If 5W07z0
and SW00z0 a new statuI table Is built by
auto-s1z1ng)

Switch 06 and 08-t5 are dynam1c and can be changed as needed
wnl1e the dla9nostlc Is running. Sw1tches 00-03 and switCh 07
are stat1c, and are used only on 5tart1nQ or restarting th~
dlagnoltlc.

PA(';E.

0005

Pa~e

SWITCH REulSIER OPTIONS (at start

b

Up)

SW 01

RtS1ART PROGRAM AT SEL~CTEO TEST.
It 1& strongly
suggested that at least one pass has been made before
trylnQ to select a test, the reason being 15 tnat tne
prOJram has to clear areas and set up parameters.
~nen this switch Is used the dla~nostlc will asK
T~ST
NO.?
Ans~er bY typing the number of the test desired
and carrige return to begin execution at the selected
test.

SW 02

LOCK ON SELECTED TlST. This switch when used with
SW~l
will cause the program to constantlY loop on the
selected test. Hitting any key on the console will
let It adVance to the next test and looP until a key
Is hit again. If SW02=~ when SW01 Is u.ed.
The
prooram will uegin at the selected test and COntlnue
normal operations.

SW 03

R~S~LECT OMC11'S DESl~EU ACTIVE.
Please note that a
message Is typed out tor setting the switch register
equal to DMCl1's active. this means 1f the system has
four DMClls,
bits 0~,01,02,03 will be set In loc
'UMACTV' from the switch register.
us1ng
this
swltch(SW00) alters that locatlon:therefore if four
OMClla are In the system ***00 NOT*** set switchs
greater than SW 03 1n the up position. thl. would be
a fatal error. do not select more ~ctive OMelia than
there 1s information on 1n the status table.

METHOD: AI
B:
CI
0:

Load address 20~
start with Sw 0~=1
Program w1l1 type message
Set a switch for each DMC desired act1ve.
EXAMPLE: If yoO haVe 4 ~MC'S but only want to
rUn the fIrst and the last set ~wR b1ts 0 and
3

= 1.

PRESS

CONTl~UE

Number (If VAL1D)- will ~e In data 11ghts
(excluding 11/0~)
Set with any otrier switch settin9s des1red.
PRESS CONTl~Ut.

PAGE:

000b

Pa~e

4.1.3

7

l>YNAI.1IC swITCHI:;S

ERROR

S~I'fCHES

1•

SW 12

2.

5ft

13
SW 15

3.
4.

sw
sw

s.

t)8

10

Delete print out/bell on error.
Delete error prlntout.
Halt on the error.
Goto beg1nning of the test(on error).
Goto next test(on error).

SCOPE SWITCHES
t.

5W06

Halt

In

ROMCLK

routine
before
clocking
instruction.
This allOWS the
operator to scope a micro-processor instruction In
the stat1c state before 1t Is clocked.
H1t
continue to resume runnIng.
(If enabled by 'SCOP1') on an error: It an ~*' 1s
printed In front ot the test no. (ex. -TEST NU.
10 ) Sw09 1s 1ncorporated In that test and
tnerefore SW09 1s usually the best switch for tne
scope loop (SW14=0, SWi0=0, S~~9=1, SW08=~).
It
SW~9
1s not enabeledJ and there 1& a HARD error
(Constant)J Sw~8 IS best.
(SW14=1,0,
SWl~=t),
SW~9=0, SW08=1).
for Intermlttemt errors: gWl4=l
«111 loop on test reguardless of error or not
error. (SW14=1, Sw10=~, SW09=0, SW~8=1,0)
InhibIt Interat10ns.
LOOP on current test.
~1cro-processol

4.2

:2.

SW.d9

3.
4.

SW1t
SW14

STARTlNG ADDRESS

start1ng address Is at 00~2~0 there
addressel for the D~Cl1 diagnostics.
NOTE I

5.

are no other startlng
(see sectlon 4.~)

If address ~00042 is non-zero the program assumes it
15
Under
ACT!1
or XXOP control and wIll act
aCCordinglY after all ava1lable O~Cl1's are tested tne
program will return to 'XXDP' or 'ACT-ll'.

OPlRATING PROClDURE
when pro~ram 1~ inItIally started messages as descr1bed In
section 4.~ Ifl11 be printed, "and program will beg1n runnlnq
tne dla':most lc

PAGEl

0"07

Page 8
5.2

PPOGRA~

AND lOR

OP~RAIOR

ACTION

The typicaj approach should be
t.

2.
3.
4.

Halt on efror (via Sw 1~=1) when ever an error occurs.
Clear S~ 15.
set SW 14: (looP on thIS t~st)
set sw 13: (Inhibit error print out)

The TEST NUMBER and PC will be typ~d out and posstbl1y an
error message (this depends on the tp.st) to give the operator
an Idea as to the source of the prOblem. If It Is necessary
to KnoM more informatIon concerning the error reportJ LOOK IN
IH~ LISTING for that TlSl NUM~l~ whlch was typed out and
then
NOTE THE PC of thE ERROR REPORl th1s way the lXACT FUNCTION of
the test CAN B~ OET~R~lNED.
6.

EPRORS

AS descrIbed prev10uslY there Will ~lways be a TlST NUMBER and
PC typed out at the time of an errOr (providing SW 13=~ and SW
12=0). In most cases addlt10nai information will be supplied
In the the error message to give the operator an indication of
the error.
6.2

ERROR RECUVERY

If for some reason the OMC11 ShOUld 'HANG THE BUS' (gain
control at bus so that console manuul funct10ns are 1nhlbited)
an Init or power down/up Is necessary for operator to regain
control Of cpu.
If th1s .riould happen, look in location
'TSTNO' (address 1226)for tne number ot the test that was
runnIng at tne time of the catastrophic error. In this way
the operator will have an l~eB as to what the OMC11 was doinQ
at the time ot the error.
7.

RESfRICrJUNS

7.1

STAPlING

R~srR1CTI0~S

see section 4. (PLEASl)
status taole snould be verified reouardiess of how progra~ was
started.
Also 1t Is important to use th1s 11sting alono with
tne information printed on tne Tty to co~pletly ISOlate
prOblems.

PAGEl

000ij

Page 9
1.2

OPE~AllNG

~~STkICTIONS

The first t1me a D~Cl1 diagnostiC Is loaded into core and run
the STArUS TA~LE must be set uP. This 15 done by manual 1nput
(S~~0:1) or o~ autosizing
(SW~~=0
and S~01:0).
fhereafter
ho~ever
tne status table need not be setup by suosequent
restarts or even loading the ne~t OMC diagnostic because toe
STATUS TABLE is overlayed.
The current parameters In the
STATUS TAHL~ are used when Sw~7=1 on start UP.
1.3

HA~O~ARE

CO~FIGURATION

PlSIRICtlONS

Jumper ~1 must De In, and sw1tCh 7 of
be In tne OfF position.

DMC11(MB2~0J-

KMC(M8204)- Jumper

8.

MISCELLAN~OUS

8.1

EXECUrlON TIM[

~l

E76

must

must be In.

All D~Cl1 device diagnostics will give an 'ENU PASS' message
(providing no errors and sW12=0) within 4 mins. This Is
aSlu~ln(~ SWll=l (DELETE ITE~ATIUNS) Is set to g1ve the fastest
possible execution. The actual execut10n t1me depends greatly
on the PDPll CPU configuration and the amount of memory in the
Iystem.
8.2

PASS COMPL[TE
NOTEZ €VERY time the program 11 startedJ the tests will rUn
as if swl1 (delete Iterations) was up (=1). Th1s Is to
·VL~IFi NO HARU ERRORS' as soon as
possible." Therefore the
f1rst pass -EACH TIME PPOG~AM IS StARTED- wl11 be a PQUICK
FA~S· unt11 all
DMC11's In sYstem are tested.
when the
d1agnostic has cOWpleted a ~ass the fo110wlno 1s an example of
the print out to be expected.

END PASS UZDMG CSRz
ERRORS: ~0lJ~~
NUl~:

17500~

VEC:

0300 PASbESa

~J~~01

The paiS count an~ error counts are cummulltlve for
each u~Cl1 tnat 1s running, and are set to zero only
.nen the diagnostic 1s started.
lherefore after an
overn1ght run for example, the total passes and errors
for each DMCll slnc. the diagnostic ~as started are
reflected in PA5S~S: and ~nRORS:.

PAuE:

0009

Page 10
8.4

Kl~

LOCATIONS

Rt;TlIRN

(1214)

Contains the address where program will return
when Iteration count Is reac~ed or if loop on
test Is asserted.

NEXT

Cl4!16)

conta~ns

the address of the next

test

to

be

peformed.
TSTNO

(1226)

RUN

Contains the number
peformed.

of

the

telt

no.

being

The bit in -RUN- always pOints to the
currently
being
tested.
EXA~PLE:
13~~/00~00~~001~0~000 Means that
OMC11
15 the OMC!l noW rUnning.

DMCll
(FUN)
no.~6

OMCR0~-DMCkl7

DMST00-DP-'STl7
(15~.,)-(1b4")

These locations contain the Information needed
to teat up to 16 (deCimal) OMClls seQuent1aly.
they conta1n the
CSR,VECTOR
and
STATUS
concernlnQ the conf1guratlon of each OMCII.

8.4A

DHAC TV

(t J06)

Each bit set 1n this location 1ndicates that
the associated OMCll will be telted In turn.
EXAMPLE: (DMAC1V) 1216/00000~0000011111 meanS
that OHCll no. 1110,01,02,03,04 wll1 be tested.
EXAMPLEz (OMACTV) 1276/0000000000010001 Means
that OMC11 no. 00,04 will be t~sted.

DMCSR

(14"'4)

Contains the CS~ cif the
test.

·STAlUS TABLE-

current

OMCt1

under

(J50~-1640)

The table 15 filled by AUTO SIZING or by the ~anual parameter
Input (questions) as deScrloed preVIOUSlY. AlSO if deSired bY
user; the locations may be altered by hand (toogled 1n) to
suit the specific configuration.
The example status map shown below contaIns infOrmation tor
D~C11·S.
the table can contain up to 16 U~Cll·S.
following tne map ~s a description of the bits for each maP
entry
t~o

~AP

OF

O~Cll

STATUS

-----_._---._.-._-PC

CSR

STATI

STAT2

STAT3

e~15~~

Ib~010

14531~.

117777

e00~~0

~t15tl

Ib~~2~

dlb32d

~0~0~O

0~0~HO

PAGE,

001111

page 11
Eacn map entry contains 4 wores which contain the status
Information for 1 OMCII. The PC ShO~S .nere In core memory
the first ot tne 4 words Is. !ri the example above the first
OMC·S status Is In locations, 1~~0, 1502, 15~4, and 1506. The
second DMC status is locate1 at -1510, 1512, 1514, and 1516.
The information contained In eacn 4 word entry Is def1ned as
follow~i :
CSR:

Contains DMC11 CSF address

STAT1:

BITS a0-~8 IS D~CJl V[CIUR ADDRESS
BlT15=1 MICRO-PROC~SSOR HAS CRAM
BITt5=~ MICRO-PROCESSOR hAS CPO~
Bl1t4=1 TURNAROUND CON~~CTOR IS ON
blT14=~ NO TURNAROU~O CONNlCTOR
BIT13=~ LINE UNIT IS AN M8201
Blt13=1 LINE UNIT IS AN M8202
B1112=1 NO LINE UNIT
BITS a9-tt IS OMC11 8P PHIORIT~ LEVEL

STAT2Z

LOW B~TE IS SWITCH PAC.1 (DDCMP LINE NU~B~R)
HIGH B~TE IS SWITC~ PACj2 (SMe13 BOOT AVD)

STAT]:

BI T0= 1 PERFOR"" (i'Ft:1:.. RUNN IN~ TESTS ON KMC
BlTl=0 DMCI1-AR (LOW SP~ED)
\
BIT1=1 DMC11-AL (HIGH SPEED)

PAGE:

0011

Page 12
8.5

M~THOD

8.5.1

~lNOING

OF

AUT~

TH~

SIZING

CONTROL STATUS

R~GlST~R~

The auto-slz1n~ routine finds a UMCll as follows:
It starts
at address 1&~~0~ and tests all address In increments of 1~ up
to and including address 16/76~. If the address does not time
out, the following 15 done, the first CPOM address Is written
to a 1~5252 tnen it 15 read Dac~. If it contains a - l o r
125252 or 626 or
'652~ a DMCll or KMCll has been foun~, if
not, the address Is updated by I~ and the search continues. A
-1 Indlcatas a OMCll with no CHaM, a 125252 IndIcates a KMCII
~lth CRA~, a 626 ind1cates a DMell-AL, and a 16~20 Indicate~ a
DMCII-AL.
Further tests are- pel formed at this point to
determine WhiCh line unit, It any, Is installed, If a
loop-bacK connector Is installed and various switch settlnqs
on tne line unit. THIS IS WHY ThE stAIUS 1ABLE MUST 8E
~ERlfIED
BY THE USER AND IF ANI Of tHE INFURMATION DOES NOr
AGREg wITH THE HARDWARE THE 01AuNOSIIC ~UST ei RESTARTED AND
l~E
QUESTIONS MUST BE ANS~EHED. All DMCII'S in the system
.111 be found oy the auto-sizer. If it does not find a oMel1
the diagnostic must be restarted and the questions answered~
8.5.1

FINDING THE

V~CTOR

AND oR

L~VEL

The vector area (address 3~~·71b) 15 filled
WIth
the
instruction lOT and '.+2' (next address)~
The processor
status 15 started at 7 and, theoMC Is proqraM~ed to 1nterrupt.
The PS 15 lowered by-l until the OMC interrupts, a delay 1s
made and If no Interupt occures at PS level 3 (because Of a
ba~ OMCII) the program assumes vector addre.s 3~0 at 8R level
5-and tne prOblem shOuld be fixed In the diagnostIc. Once the
prOblem Is flxed~ the program should be re-setup again to get
correct vector. If an Interupt occuredJ the address to which
the OMCII Interupted to is piCKed UP and reported as the
vector. ~OTE: If the vector reported Is not the vector set
up by Vou~ there Is a proolem and AUTO SIZING should not be
done.
8.6

SOfTwARE SWITCH REGISTER
If tne diagnostiC 1s run on an 11/04 or other CPU without a
switch register then a so~t-are switCh register is used to
allow user tne same switCh options as descrlbeo previously.
If the nardware switch raglster does not exIst or If one does
and it conta1ns ~ll ones (177771) thIs SOftware swItch
register 1s used.
Control:
10 obtain control at any allo_able time during execution ot
the diagnostic the operator types a CTRL G on the console
terminal KeYbOard. As soon as the CrRL G Is recognized. bY
t~e diagnostic, the follo~inq messaq~ will be alsolayed:

PAuE:

0~12

Page 13
SWR=XXXXXX

N~W?

Where XXXXXX Is tne current contents of the SOftware switch
In octal.
Th@ software control routine w111 tnen
await operator action. At ~hlch time tne operator Is required
to t1Pe one or more of the legal cnaracters: 1) 0 - 7, 2)
line feed«LF», 3) carriage return«CR», or 4) control-U
(CTRL U).
~o
checK Is made for legality. If tne Input
c~aracter Is not a , , or CTRL U it is assumed
to be
an octal digit.
.
re~lster

10 change the contents of the SSH the

operator SimplY types
the new desired value In octal - leading zeros need not be
typed. And terminates the Input string with a  or 
depending on the program action desired as described belOW.
the input value will be truncat~d to the last 6 digits typed.
At least one dJglt must b~ typed on an1 g1ven input string
prior to the terminator before a change to the SSR will occur.
when tl1e lnput string is terminated with a  the diagnostic
w111 contln~e execution from the point ~t which it was
Interrupted. If a  is the only thing typed the program
will continue without changing the SSR. The  differs fro~
the  Dr restarting the pro9ram as if it were restarted at
address 200.
If a C~rRL U 15 typed at any point in the 1nput string prior to
the term1nator the Input value will be disregarded and tne
prompt dlsplaved ~SWR = XXXXXXNEW?).
To set the SSP for the starting swttches, f1rst load
dlagno$tic, then hit CTRL G, then start the d1agnostic.

the

PAGEl

001J

OZD-.,G

LST

DECDOC VlR

l>OCUMENT

**************
lJZDMG

LST

**************

C:OP'iIHGH'I 1977
DIGITAL EQUIPMENT CUkFORATION
MAYNARD, MASS. ~1154

~0.04

l1-JUL-77 12:14

PAG~

01

PAGE:

0014

DlDMG

uST

DECOOC VER
6

MAINDEC-l1-UZDM~-C
DHell CRUM AND JUMP T~SlS
COPYRIGHT 1976, DIGITAL EQUIP~ENT CORP., MAXNARU, MASS.

0~.04

~17~4

---------------------.---------------------------------._-------.--1675

**************************

1696

************************** TEST

1721

*************************~. TEst 3 ***************************
TEST OF BR RIGHT SHIfT
VERIFY THAT A D~ST ~F BR RSH (011) OF A MICRO-INSTRUCTION
S~IFTS TH~ RESULTING BP DATA HIGHT ONCE.
.

1768

************************** TEST 4 *******~*******************
CROM READ T~Sl
THIS TEST R~ADS EACH POM LOCATIO~ AND COMPAFES
It TO A So~tWAR~ DUPLICATE or THE CROM. THIS TEST
ALSO TESTS THE JUMP(I) ~ICkO-PROCESSOR INSTRU~TIO~.

1173

IF THIS TEST FAlLS CHECK YOUR CROM PART NUMBERS.
DZOMG.C SUPPORT~ THE FOLLOWING PART NUMBERS:

T~Sl 1 *******~*******************

THIS IS A SPECIAL TEST WHICH IS ONLY EXECUTlD UNE TIME,
THE fIRST ~ASS AFTER THl DIAC~OSTIC IS LOAD~D. IT TIPES ON
THE CONSOL~ TH~ PART Nu~nERS OF THl CROMS WMICH THIS
REVISIO~SUPPORTS. TO FORCE A TXPE OUT PATCH LOCATION
ROMNUMI TO A ZERO.
-

2 *************~*************

THIS IS A SPECIAL TEST WHICH ~ILL RUN ON A ~MC (D~C rillH
WRITTABLF CO~TNUL STORE) TO LUAL TH~ CRAM WITH tHE ODCMP
MICRO-CODE. fIRST BE SURE BITi OF STATl IS ~ET UP AS FOLLO~S
1=LOCAL rilGH SP~ED CODE, 0=R~MUTE LOW SPEEU CODE ThE STATUS
OF STAT) BITl D~TERMINES WHICH MICRO-CODE WILL
BE LOAD~D IN TH8 KMC. LOOP ON ThIS TEST FOR A F~~ SECONDS
TO LOAD THE KMC~

DMC11-AR

(Ma20~-YA)
23-414A~
23-415A~
23-41bA~
23-417A~

2J-418A~
2J-~19A~

23-42~AY
23-421A~

DMC11-AL

(M82~~·Y8)

13-J92A~

23-j93A9
23-394A9
23-J95AY
23-J96AY
23-J97AY
23-398AY
23-399AY

11-JUL-77 12:14

PAG~

02

PAGE:

0015

DZDMG

LST

DECOOC VER

00.04

*******************t******

CRO~

T~ST

TESt 5 ***************************
Of JUMP(l) NEVER MICRU.PROCESSOP INSTRUCTION.

PlRfORM THE JUMP INSTRUCliON ThAT THE JUMP DID NOT OCCUR BY READING
THE CONTENTS OF THl NEw ROM P~(IT SHOULD INCREM~NT

V~klfY

1898

*******************_******

T~~T b

t~52

Th~

JUMP BY

~EADING

TH~

aNt).

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

CRO~ TtST Of JUMP(l) ALWAYS MICHO-PROCESSUR
P~~FORM THE JUMP INSTRUCTION

V~RIFY

8~

CONTENTS

O~

INSTRUCTION.

THE NEW ROM PC

*******************.****** TEST 7 ***************************

TES1 Of JUMpel) ON C bIT stT MICRO-PPOCESSOR INSTRUCTION.
SET THE C BIT, P£RFOR~ THE JUMP INSTRUCTIOh,
VEhIFY TH~ JUMP BY ~EADING Th~ CONTE~TS OF THE NEW ROM PC

CRO~

*******************t******

TtST 10

***************************

**************************

r~ST 11

***************************

CROM T~ST O~ JUMP(l) ON Z BIT S~T MICRO-PROCESSUR INSTRUCTION.
SET THE Z bIT, PE~Fc)RM THE JUM~ INSTRUCTION,
VERIFY THE JUMP bY READING TH~ CONTENTS or THE NEW ROM PC
2~6b

CROM TEST O~· JUMPCI) ON BR0 S~T MICRO-PROCESSOR INSTRUCTION.
SET THE BR0 BIT, P~PFORM THE ~UMP INSTFUCTION,
VERIFY THE JUMP &Y R~ADING THt CONTENTS OF 1HE NEW ~OM PC
2123

************************** TEST 12 ***************************
CROM T~ST O~ JUMP(I) ON BRI stT MICRO.PROCESSOR INSTRUCTION.
SET THE 8Rl BIT, PEnFORM THE ~UMP INSTRUCTION,
VERIFY THE JU~p BY READING TH£ CONTENTS OF THE NEW ROM pC

2180

*******************u****** TEST 13 ***************************
CROM TEST or JUMP(l ON BR4 S~T MICRO.PROCESSOR INSTRUCTIOh.
SET THE 8R4 81t, PERFORM THE JU~P INSTRUCTION,
VERIFY THE JUMPSY HEADING TH£ CONTENTS OF THE NEW ROM PC

2237

*******************~*** •• * T~ST 14 ***************************
TESt or JU~PCI~ ON bR7 S~T MICRO.PROCESSOR INSTRUCTION.
SET THE BR7 81T, PERFORM tHE ~UMP INSTRUCTION,
VERIFY ThE JUMP bY READING TH~ CONTENTS Of THE NEW ROM PC

CRO~

2194

************************** TEST 15 **~****.*******************
CROM TEST or JUMp(I) ON C 8IT S~T MICRO-PROCESSOR INSTRUCTION.
CLEAR THE C BIT, FERFOk~ ThE JUMP INSTRUCTION,
VERIFY THAT THl JUMP DID NOT UCCUR BY READING
THE CONTENTS or tHE NEW ROM P~(lT SHOULD INCREMENT BY ONt).

2152

*******************F****** TEST 16 ***************************
CROM TEST or JUMP(I) ON Z bIT StT MICRO-PROCESSOR INSTHUCTION.
CLEAR tHE Z BIT, PEPFOR~ THE JU~P INSTRUCTION,
VE~Iry ThAT IHt JUMp 010 NOT UC~UR BY k~ADING
THE CONTENtS OF 1~E NEw ROM P~(ll SHOULD INCREMENT B~ ONE).

l1-JUL-71 12:14

PAGE 0l

PAGE:

0016

DZD~G

~6T

l1-JUL-71 12:14

************************** TEST 17 ***************************

TEST 0~ JUMP(I) ON bR~ S~l MICRO-PROCESSUR INSTRUCTiUN.
CLEAR THE BR0 biT, PERFORM TH~ JUMP INSTRUCTIUN,
VERIFY ThAT THE "JUMP DID NOT UCCUR Bk READING
THE CONllNTS uf THE NEW ROM pt(lT SHOULD INCREM~NT U~ O~~).
CRO~

2468

************************** TtST 2~ ***************************
CROM TEST OF JUMPCI} ON HRl StT MICRO.PROCESSUR INSTRUCTIUN.
CLEAR THE BRI BIT, PERFOkM TH~ JUMP INSTRUCTIUN,
VERIFY THAT THE- JUMP DID ~OT OCCUR B~ READING
THE CONTENTS Uf THE NEW ROM PC(lT SHOULU INCREMENT B~ ONE).

2~2b

************************** T~ST 21 ***************************
CROM TEST O~ JUMP(I) ON B~4 S~l MICRO-PROC~SSOR INSTRUCTION.
CLEAR THE 8R4 BIT, PERFOHM TMb JUMP INSTRUCTIUN,
VERIfY THAT THE JUMP DID NUT OCCUR B~ READING
THE CONTENTS Of THE NEw ROM P~(lT SHOULD INCREMENT B~ ON~).

2584

************************** TEST 22 ***************************
CROM TEST O~ JUMP(I) ON BR7 S~T MICRO.PROCESSOR INSTRUCTION.
CLEAk THE BR7 81T, PERFOk~ TH~ JUMP INSTRUCTION,
VtRIFY THAT THE-JUMP DID NOT OCCUR 8~ RtADING
THE CONTENtS or THE NEW ROM p~(lT SHOuLD IN~REMENT BY ONE).

PAG~

04

PAGE.

0017

OZllM(;
MAC yt 1 31t! 1 ,i!46)
11-;)UL-77
OZDMG.PI1
2.l-APP-77 f119:29

t 4: 11
PAGE:2
lNTRODUCTION TO DMCll DIAGNOSC:UC

,*MAINDt.C-ll-DZDMG-C
OMCll CROM AND JUMP TESTS
,*COPlRlGHT 1976, D~G~TAL EQUIPMENT CORP., MAyNARD, MASS. 01754

, *----... --•. _.----.----...... -------.--._.-. -. --.. -_ .... ----_.---,;. .......... --_ ..

8
9

J0
11
1l
13
14
15

,STARTING PROCEDURE
,LOAD PROGRAM
,LOAD ADDRESS 09920.
,SIIRa., AUTOSIZE DMCll
J SII07 a l
USE CURRENT DMCll PARAMETERS
:SW00"1
INPUT NEW DMCll PARAMETERS
: PRESS START
- "
:PKOGRAM WILL TYPt. -MAINDEC-11-0ZDMG-C
~M~l1 CROM AND JUMP TESTIS,PROGRAM WILL hPE STA~us MAP
:PROGRAM WiLL TYPE wRw TO INDICATE THAT TI!:STING HAS 8TARUD
:AT THE END OF A PASS; PROGRAM WILL TYPt. PASS COMPLt.:l'E MEiiSAGE
: AND THEN RESUME TESTING
" ; SUBS~QUENT RESTARTS lilLL NOT TYPE PROGRAM TITLt.:

16

17
18
19
2d

21
22
23

14
25
26
27
28
29
3'"

,----;;.------------------

,SwITCH REGISTER OpnOfiS

190000

31

04001'10

32
H

1J20;100

34

35
36
37
38

39
411
U
42
4J

.5

44

010;100
0040.,0
£iJ2000
801000
jirld400
''''0200
e,hH00
''''1J040
""'0020
1J00l110
1909004
,,0000:1
111I9dlli

MAC ~ 11 3iH 10146)
l1-JUL-71
DZO"G
DZDMG.Pll
22-APk-77 09129

SW15a10000"
SW14.40000
SII13a20900
SW12.10000
SW11 a 4009
SWlI,a2000
SII09=100"
SW08=400
SW07a200
SW06ai"0
SW1l5&40
51104=20
SW1a3=i0
S1I102a'
SW01a2
SW09al

,-I,HALT ON iRROR
;al,LOOP ON CURRENT TEST
J-l,IliHlBlT ERROR UPEOUT
;al1DELETt TYPEOUT/SELL ON ~RROR.
,"I I INHIBIT ITERATIONS
illll,ESCAPE TO HEX.!' TEST ON t:RROR
Jal,LOOP WITH CURM"!:NT DATA
,.I,LOOP ON ERROR "
,al,USE CURRENT DIICll PARAMt;TERS, =iI,AUTOSIZE DMCll
;al, HALT BEFORE ~L~Ctl'r1l"'41!ti'l0
tllTl0"'2l"flA
blT9:1""'!!
BITSate.,
f>IT7a201'1
IllT6"101!!
BIT5 .. t0
B1 T4"20
IlIT3 .. t0

H

iI"a~;,14

fiIT2".

91
'i5

0I\C,'''2
n",HJk!l

bIT t e:.!
[lll;!'-'

9b
\i1

DE~"lNITION8

,---------------

11

~l

; PROCESSOR SUfUS WORD
:START OF PROCESSOR STACK

,------;..----------------

75
16

13"
!It

Psal77716
STACK-l:l00

,VECREMENT PROCESSOH STACK
WORD
,INCR!:MENT PROCt.:SSOR STACK
wORD
,SAVE RII ON STACK
"
: RESTORE R0 FROM STACK
,DECRtMENT STACK T,nCt;
,INCREMENT STACK TWICE
,BASIC DEFINITIOh Of ERROR CALL

I'AGE:

!!II19

DZDMG
MACHI 3"(11'46)
a-JUL-77
DZDMG.i'i i
22-APi<-17 09:29

12:11
rAGE 4
fRil!>CATCHEH fUR UNEXPECTED ~NTERUP'fS

98

1 : **.* •••• *••••••• *••••• * ••••••• *••• * ••••'•••••••••••••••••••••• -

99
10'"

•••••

l---··--;;;;;~;;~=~;·;~;·;~~~~A~-;;;~;;~;;;--·---------------.---.--.

101

iv2
1"'3

j'rML STANDARD -,+RAP'CATCIiER" IS P .. ACE;D
,BETwaN ADDRE.S " TO ADDRESS' 776'. J IT I.OOKS I.~Kt
"PC+2
HA~T·.
_ . _ . _ . ___________
• ______
• ___________________
• ______________________ _

1<14

t

!1:I5
I.'b

J : ** •• *•• * **.* •••••••••••••••*•••••• *•••••••••••••••••• * ••••••••••••••

._0

1101

"""'' lItl''

1<'!!
111)9
1 i~
111

tt2
113

114
115
116
117
tl8

l~"0"24

11"0024
.",,,,,,,26
1100030
1"'''032

'11'''034
:LId0'" 36

(2)

~1!!' • • ~ . . . . oe!!l . . . e

. . . . . ee.ee~!!Ie.!!I

.=24

li'Iil5J36
1100340
~"4 750
00itHa
Eli:l4716
li:'1Et0j40

.PFAIL
, 340
.HI.T
340
.TRPSRV
340

rPOWER FAll. KANDI.ER
; SERV ICE AT I.EVEI. 7
,ERROR HAND!.ER
,SERVICt AT··I.EVEL 7
JGENERAL HANDI.ER DISPATCH St.RvICE
:SERVICE; AT ·I.EYEI. 7
..

"~0k140

119
12\'1
J 21
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136

JSTANUARD INTERRUPT VECTORS
:

~00"40

600042
&1>1"0044
1611111046
9:"0052

&i00000
9110000
016 aIe'''':!
""3522
060052
161'000O

00010"'"
8"0080

"1Et0?0"

P)",,200
2i"0117

1'-11000
101025

lJiJ5371
104

.=52

:ACT-l1 PkO~RAM CHANACT~R~STICS

.=114
DISPRt.GI"
SWREG~
0
002002

ill,'H't"~

(2)
137

o

16

"",,;174
.00174
1J00176

UNDAD

,SAVE FOR ACT-II OR XXDP
:RETURN'ADDRESS IF UNDER ACT-ll OR XX!:'P
,SAVE FOR- ACT-ll OR XXDP
;FOR US~ IiITH ACT-11 OR XXDl'

"o

:SOFTWARE OlSPI.AY Rt:GISTER
rSOFTWARE SWITCH REGI8TER

;GO TO ST~RI OF PROGRAM

.:IMP

.START

.ASCII
.Ascn

<377>/MAlIIDEC-11-DZDMG-C/<377>
IDM~I! ~ROM AID- JUMP TESTS/<377>

.=116160
040515
041515

047111
030461

MTlTI.~:

0"120'"

138
139

,INDINEC'l' pOINTERS TO SWITCH REGISTER AND I.1GHT DlSPI.AY
J ----.. -~----.----- •• ~ ....... -.;.-.~.-.;..-.----;;-------.---

14"
141
14~

143

.,,1200
r;0121l2

11757O
11757O

DZOr-tG
MACHI 31H104b)
ll-JU1.-77
DZDM(..Pll
22-APR-11 09:29
144
145

12Ul
PAGE 5
PROGRAM PARAMUt.RS, VARIABLES. AND TRAP CAI.LS.

1775b0

TKCSRI

177560

IB

.012~6

177562

J'!'EL£TYPE Kf;YBOARD DATA iWtfER

fi\61211!l
.,01212

17751>2
117'564
1"17566

'!'KDl\RI

151!l
151
15.!
lS3
154
155
156
157
158
159
16O
161
162
163
104
165

TPCSRi

177564
177566

:TE~EpRINTE~ CONTRO£ REGIST~R
:TELEpRINTEj{ DATA BtJFH.R

TP[)8R~

~1!l1214

."1216
"0"1220
.1"'422
ii!1224
lI.,t2'6
'01230
&01232
.01234

""Il"'' !:)

800000
t00ij""
0"0003
• .,00.0
600000
.,,,.,0.,0
0"io000
£,"3
169

11'11

0021

J ----.;.-~---- •• --------• .;..---.-;.---;.-~.------.;..-------.012"'4

171
172
173

PAGE:

llNDIRECT POINTERS TO TEI.ETYPI!: VECTORS AND KEGISTt:RS

t4b
141
148

DlSPI.AU 177570
SWill
'177570

&01236
001240
;:t)1242
1"'1244
~"1246

il"1250
""'1252
0"'1254
I!llH256
!t0126<1
.01262
e01264
lit01266
6&127'11
'HH272
~"l;:H

81:11276
001 jil0
11111302
1jj0t3"7b

STRTS'"I
STATI
CLKXI
MIlSKU
TEMPi I
TEHPZl
TEMP3!
TEMp41
TEMP5i
SAYR0:
SAVRtI
$AV!l2i
SAVR3:
SAYHU
SAVR5i
SAVSP:
SlIvpci
Zt;ROI

lSCOPE ADORt.SS rON LOOP ON TEST
,ADDRESS or- NEXT TES'! TO Ill: 'EXECUTED
;ADORESS f;OR I.OCK ON CURREN1' DATA'
:NUMBER ot ITERAT10NS THAT CURRt:NT TEST W1LI.o BE
,NUMBER 01" ITEREATIONS COMPLETED
,NUMBER O~- tEST IN PROGRESS',NUMBER OF PASSES COMPI.ET~O
,TOTAl. NUMB!::R Of' ERRORS
,PC OF LAST-ERROR' C~I.L

VARIABI.ES

""

,SWITCHES AT START OF PRO(;RAloI
,DM 'STATUI; wORD STORAGE
--

"
Ii
16
it
0
0
0

lTEMPORAR~ STORAGt:
.TEMPORARI STORAGe;
,TEMPORARi STORAGE
ITEMPORAR~ I;TORAGt:
,TEMPORAR~ STORAGt:
:R0 STORAGEJRl STORAGE

"

;R3

0
0

0
0
0
fO
It!
it

~R2

sTORA(.;E

STORAGE
iR4 STOHA(.;E
;R5 STOKAGE
; STACK PoltHER STORAGE
JPROG~AM ~OUNTER STORlGE

ON~J

1

I'IEI4Lll4:
DMACTV:
IJ""UMI
SAVACT:
SAYNUMI
RUN:
.EVEr.
Cf;EA141
MILK:

0
.81.1<.11
• B 1.1<. II
.IlLKW
.BLKII
it

lHlGHEST 1.o0~ATION fOR NPH"S
;DMC11"S SEL~CTt:D ACTIVE.
JOCTAI.o NUMBt.R OF UNCIl"S.
1ORIGINAL A~TV
Dt.vlCES
; WORt<.ABuE lIIu14BEl<
,POINTER TO RUNNING DEV lCt..

D",.MAP-6
CNT.MAP-4

;TA81.t: POl"UR.
; TAbLt; l'Ol"lt;R

DZDMG
MACYlt 31:(hl46)
11·JUL·77
DZDMG,Ptt
22.APR·71 "'9:29
1'11
199
199

1.l111
PAGE 6
·PROGRAM PARAM~Tt.RS,

VARIABLI!.S, AND TRAP CALLS.

J PROGRAM CONTROL. fLAGS
J-.-.----.-.-.--- •• ---

2.6'"
201
202
:I~l

2"'4
21'15
21'16

."1324
""1325
.IH 326
."'tH7

a00
001'1
000
000

INIFLIi;
ERR'L"I
LOKFLGI
QV.fL~1

.BXTE
.eXTE
,eXTE
.BXTE

•

, PROGRAM INlTIALlZATION FLAIi
,ERROR OCC::URED rLAG
., LOCK Oli CURRENT nST fLAIi
, QUiCK VERIt'Y fLAG,
,ON'·URST PASS OF EACH DMCll LTt:RATIONS WILL BE

Ii

1'1
0

,EVEN

U7
208
209
210
211
212
213

214

, DEFINITIONS FOR TRiP SUBROUTINE CA"LS
J POINTERS TO SUBROUTINES CAli 8E rOUND
,IN THE tAB~E IMMED~ATLY tOLLOW.~N~ THE OEt'lNlTIONS

I 1•• ** ******* ••• * ••• *.** ••••• ******* * **.* **.*** *********** ** ******* ** *

,

&01331'1

215
J16

16;'1330

211
21B

Iottll332

219
220

101314

22t
222

223
l24

UI336

1"")1340

~"4154

111"1342

104405
004174

725
226
227
2'28

129
230

U44"6
""1344
&01346

231

232

U1350

233

234
235

.,01352

236
237
238

••11354

HII
24'"
211
242

""1356
"IH360
,01J62

243
241

104400
lHH576
104401
''''3136
lt14402
1>"3766
H94403
0"'405",
ItJ4404

&01364

fihJ4374
,,,,44,,,7
""4434
104410
bl!4466
Hl4411
6t14472
U4412
0"'5466
til4H3
'",5436
104414
9165504
104415
005552
104416
'U15b16

215
246

247

• • _ _ ,. . . . . . . . . . l1li . . . . . . _ _ _ • • • • • • • • • • _ _ . . . . . . . _ _ •

• TRP%A8 1
SCOPEIiITRAP+'"
,SCOPE
SCOPI8TRAP+1
,SCOPI
TYPE8TRAP+2
.TYPE

____ ....... -

___ ...... _ . - - - _ .. _ . - - _

..

,CALL TO SCOPE LOOP AND ITERATION HANDLt:R
,CALL TO LO~P ON ~URRENT DATA KANuLt.R
;CALI. TO TELETYPE OUTPUT ROUTINE
JClLL TO AS~Il STRIH.G INPUT ROUTINE

INSTRaTR~p+3

.INSTR
INSTER8TRIpH
.INSTER
PARAMaTRAP+5
.PARAM
SAV06aTfiAP+6
,SAV0S
RE5058TkAP+7
.REStl5
CONVRTaTRAP+lli
,CONVRT
CNVR!8TRAP+ll
'.CHVRT
MSTCLIWTRAP+12
.MSTCLR
DELA It'8TkAP+ 13
.OELAY
ROMCLIl .. TRAP+ 14
.ROMCLK
DATAC",hTRAP+15
.DATACLK
TIMER8TRAP+16
.TIMER

;CA",L

so

INPUT ERROR HANDLER

JCALL TO NUNERICA", \JATA INPUT ROUTINE
JClLL TO REGISTER SAVE ROUT ~NE
,CAlfi;' 'f0 REGISTi!:R R~STORE ROUTIN!::

i eALL TO DATA OUTPUT ROUT!N!!;
,fALl. TO DATA OUTPUT ROUNTINE WlT~O~T CR/LF,
;CALL TO ISUE A M~S~ER CLt;AR
ieA"" TO OELAlt'
,C~L TO CLOCK ROM (JNCE

;Cl",L TO CLK DATA
,CALL TO DELAY A ~LUCK TICK

,....................................................................
, 1***************.********•• ******************************" ***********

DZOMG
MACYlt 3IH1il46)
1l·JUL-77
DZlJMG,PII
22-APR·77 1:'9:29

12:11
PAGE 7
PROGRAM PARAM!:T"-RS,

PA(;E:

VARIASLa:;S, AND TRAP CALLS.

,.....-:-............ ..................... .........
~DMCll

2411

249

CONTROL INDICATORS FOR CURRENT DMCIl UND!!;R nST
;.
.;
.;.

lS"
~SI

752
;?~3
:i~

.01366
""1 H0
1101372

1.116.;""3
r.,,""0"

1:100000

4

:l~5

0
0
"

,DMCII VECTOR AND Rt;GISTER .INDIRECT POIN:1't:RS
J •••• ,;, ••••••••••••••• ;. ••••• ;..,;, ••• ;. ••••••• ,;, ••

256
257

","'0"'"

258

i'01314

259
lb"
2bl
262
16 ~
764

'01310
""140"
&C!J14032
L'IH 41114
t.'l!I141116

""",11",0
fI""000

e'''141f1

:1b5

i31412
1';J1414

Ihl""'0"
""0000
il0000'"

~66

S'lAT11
STAT2i
STAT3i

aDa""0
"60111'10

""1l1:l00

DMRVEC: "
IJ!4RULI 0

D"'!'VEh ~

DMTLYtl
DMCSRi
UMCSRA.
OIo!CTLi
DMP04i
DMP06i

0
0
"
0
0

0

,POUlTER
,POINTER
ir'O!K'!'ER
i pOlHTER
;PO.t:HTEi!
;POINTER
; POt.TER
,POIIITER
J POtllTER

TO DMCIl Rt;CEIvER lNTt:RRUt'T Va:;CTOR
TO DMCll Rt:CEIvER tNTt:RROPT SERV1CE PS
.LIJ

~MCll

TO DIIC 11
TO DACIl
TO DMCll
to DMC 11
TO ONeil
TO DNC 11

:HANSM!t:~rt INr~;:';;\,j"I

.iCIO"

TRANSMITTER INTI:;Ri!UPT SERVlCE PS
CONTROL STATUS KEGISTt:R
CUNTROl. StATUS Rt:GIsTt.R HIGH BUt;"
CUNTOL OUT REGISTi::R
PURT REGISTER{SE"-4)
P~RT REGISTER ~ SE;L 6)

')1>7

268
21>9

; TE~P STORAGE

,-_ ....---_ ..

nd
271
712
213
214
275
216
277
278
279
:l~'"

,HIt
282
2'l3
.t84
l85
2a6
J!!1

.01416

0160"00
.11146'"

TEMPt
,",.+40

0

,.... ..-....--..-.......-..... -... ......

,DMCl1 STATUS TABLE AND ADDRESS ASSIGNMENTS
~
.;

'01500
1101530
"'3151'12
11"1504
6"15.,6

"''''l'';t.,

e'lJl')t 2
'd1514
1ot01'H&

"1601101
IHhl"'01
O"'"6111
0"""01
61'1"'''01
IlwIdliJ01
,""'001
~001101

.=1500
DM,MAPI
OMeR0t11 .BI"Kii
OMS1001 ,BLKW
0110520", .BLKW
IJ"S3011' .BLKW

;CQNTROL STATuS Rt:G1STt:R t'OP' DMC!: NUI'IBl!:R 1&'"
,VECTOR FOR DMCll NUMBER 90
i ODCMP LINE. FOR UMe 11 NUMBt.R 011
i3Rl> STATUS WORD
-

OHCR01:
OMSI01:
L1M5201 1
OMS30il

.BLKW
.BLKW
.Bl.KW
.8LKW

iCONTROL STATUS Rt-GISTER t 01' DMC 11 NUMBt:R 111
iVECTORFOR OMCll NUMBER 01
,DDCMP LINEI FOR UMtll NUMBt.R 1111
,3RO STATUS'· WORD

IJMCR02:
0"'s1821
IJ'IS2021
DMS3":.!:

,8LKw
,BLKW
,8LKW
• 8LKW

,CONTRO" STATUS R!!;GlSTE.R t Ok [I/oIC 11 NU"'BER il:.l
:ya:;CTOR FOr; DMCll NUMBER ii2'
IODCMP \,lNE' FOR uHCl1 NUIObt.f' 02
,3RD srATus woRD

0-'CR0JI
OMSI03:
liMS20J I

CONTROL STATUS Rt.(ilSTER t 01< UMC 11
VECTOR FOR OMC 11· NuMBER iiJ
DDtM!> "INEI FOR UMe 11 NuMBt.k III
3RO STATUS WORD

NUHBiR ill

,IlL~w

r.uMBER 04

2~~

J89

~*,152J

"'6111"01

:19"
291

fI;J1522

.h10001

~'''1524

"11011101

~9l

JiH:)2b

0lO"'"01

:I'll
J'q

"'HSJ~1

0"030'"

2'15
29b
197

"'Jl~12

fIl"t514
""15311

0<10111"1
JIl"601
""0001

lJMs31:H1

,BLKw
,8LKw
,8LKW
.BVW

1~6154'1

1""~,,"'1

;;""",H

0l"CR04:
0"'s1041

,SLt<.W

0"':10"'1
t ""1:'0 I

l)MS2041 ,l:lLKw

CONTROL STATUS Rt.GlST!:.R rOk LlMCll
Y"CTOk ~·Uk O"Cll NUMSER ~4
UUCMP LIN!:.. FOR DMeil NUMI:!t.R 134

['~I) Hl4!

3~.O

J9il
/99
Jil"

HI
1,'2
Ul

16"1542

""ISH
l·'l'Hb

• f:lL!<.iII

STA'!lJS joCR!)

0023

MACYll 3.)(11)4b)
ll-JUL-77
OlD""
22-Al'k-77 09:29
OlOMG.Pll

H1
3,),)
3;6b
3l"
Nil

","U55"
• .,1552
."1554
IIil155&

hH

801560
1101562

01""'''\

""01d-'1
a"k:"01

0"",1?01
,,~.,00t

PAGr; B
12111
PPO<;RAM PAFAilt.l't.RS,
[JI4CR05I
0!4S1"5 :
OMS2,,5 :
OMS3io5,

VAKiAi:!Lt.S,

.BLKW
.BL"'W
.BLKW
.BLKW

A~D

PAGE:
,CONtROL STATUS Rt:GlSTER t'OI< LlMCII
, VECTOI! fUR" DHCll NtiMBER ~5;LlO(;MP LINE. FOR LlMCll NUMBt;R 05
; 3RD STATUS" WORD
"

NU~Bt;R

05.

"6

,,"'00IH
£'''''''01

OKCR"b: .BLKW
OMS10b, .BLKW
OMS20!>= .BL!l:W
OMS30b: .BLKW

;CONTROL STATUS Rt:GlSTER tOI< DMCl1 NUM8~R
J VECTOR ~OR OMC 11 hUMBER 06:DDCMP LINE' fOR !JMCl1 NYMBt.R 0b
,3RD STATUS"WORD
-

,,;H576

a0","'01
"""'tll'Jl
0di!ldiH
000".,1

OMCR07& .BLKW
0'15101: .BLKIII
DK5207: .BLKW
OMS307: .6LKw

:CONTROL STATUS REGlSTER fOR OMCll NUMBER O7
;VECTOR fUR-OMCll NUMtlER 07'
iDOeM&' LuiU FOR PilCH NUlebt.R 01
, 3R~ STATUS WORLl

~""d01

322

""lb00
"016",2
""1604
"ln606

010"""1
3111111i"H
"1l1};:HH

OMCR11D;
DMS11".
DMS21".
OMS310,

.BLKIrO
.BLKw
.BLKW
.BLK.

~CONTROL STATUS I!t:GISTER t'OR OMC 11 NUMB~R 10
;VECTOR FOR-OMCll NUMBER U-;ooeMP LI~E' FOR OMCll NUM~t.R 1"
J 3RO STl\TUS-WORD
--

323
324
325
32b
U7

...H610
••H612
1iJ01b14
IIH'1616

.. ""11101
"'*,"!!01
0;",""01

DMCRll :
OMs111:
0"lS211 :
OfolS31i :

.BLKW
.BLKW
.BLKW
.BL"'W

:CONTROL STATUS REGISTER fOI< DMCll NUMBER 11
;VECTOR-fOR -OMC 11 NUMBER 11:OOCMP LINE' FOR DMCl1 NUMhR 11
,lRJ) STATUS"WORO
-

OMCR12a .BLKII
0"'5112, .BLKW
OMS212: .BLI\W
OMS3121 .BLK"

;CONTROL STATUS Rt.GISTER t'OI< Ofll~ll NUMBER 12
; 'iECTOR - FUR' OIlC 11 NUMBER 12JDOCMP LINE' FOR DMCll Nuiit't.R 12
J 3RO STATUS" WORD -

.BLKr/
;SLKW
.BLIIW
.BLKW

:CONTROL STATUS REGISTER t'OR DMCl1 NUMBER 13
iVECTOR fOR-OMCll NUMBER 13
;OOCMP LINE' FOR DHCl1 NUMBt;R 13
: 3RD STATUS WORD
-

31"
311
312

313
314

."1564
001566
1110157"

315

~"1572

Hb
311

,,"ISH

;1'1
.Hoi

nIl
321

,,.:101,;,,1

a"~d"l

OO24

TRAP CALLS.

j28
329

""0"01
C00001
1Jf/l0001

3H

;I"lb20
lJ01622
101621
:J01&26

333
334

801630

."""!!01
11000.>1
300"'31

3)",

HI

3~01!;Ol

~""001

DMCR13:
0"'5113,
0"'5213.
OMS313:

.. ,1164;'
9.,1642
""'1644
."1646

01110001
f1d00,,1
iJ00001
S.,0001

OMCR14: .6LKIY
O'ls114: .BLKW
DHS2141 .BLK"
OMS314z .BLKW

JCONTROL STATUS Rt.GlSTER t'OR DMCll NUMBER 14
;VECTOR" FOR-OMCll NliMBER 14,DDCMP LINl' fOR LlMCll NUiiBt;R 14
,3RO STATUS" WORO
-

344

.,.j1650
~at652

301656

'hl""""1
0"'0001
1"'0131111
IJ",h'01

OMCP15:

345
346
347

014S215Z
01'15315:

.BLKw
.BLKw
.BLKW
• BLKII

,CONTROL STATUS REGISTER fOR DMCl1 NUMB~R 15
,VECTOR FOR'DMCll" NliMBER 15:DOCMP LINU rOR DMtii NUJi!St;R i5
;3RD STATUS"WORLl
.

"0166"
&101662
IJA1664
"'01b66

;)1'0001
;300001
".,"<101
Ih''''''01

OMCRlb:
OMsllb:
DHS21b:
DMS316:

.BLKW
.BLKW
.BLKII
.BLKw

JCONTROL STATUS Rt:G1STER t-Ol< UMCll NUMB~R
;VECTOR fOR DHell NUMBER 16
,DDCMP LINE' rOR LlMCll NUMBt;R 16
,3RD STATUS WORD
-

354
3SS
n6
35"1

."167J
3iil!672
001b74
t)iH676

ONCRI1:

.BLKW

3"~0"'!

D14511 7; .BLKw

,,6';"131
lIb0001

01'15211 : .BLKW
OM5311, .BLKW

,CONTROL STATUS Rt;GlSTER t-Ol< OMCll NUMBER 17
~YECTOH fOR'PMCU NUMBEfi 17
,OOCMP LINEf FOR OMCU NUMBI:.R 17
J 3RO STATUS WORD
--

3S8
359

""'17",,,

,,<1""00

DM.ENO: 0000"0

335
336
337
33'3

3H
Ht01710

~00""0

PACT011 0
ERCT"i:

;PASS COUNT fOR OMCll l1UMtlER 01
:ERROR COut;! rOR l)M~l1 NUMBt::R O1

(lJ01712
1101714

1I)""ih~0
~16":600

PACT0:.!:
ERCr02z 0

: PASS, COUNT fOR OMC 11 NUMBER 02
:ERROR ~OUNT FOR l)M~ll NUMBeR "2

lhUHI00

PAcr0,H
ERCT0)Z 0

i ERROR ~OUNT FOR DM~ 11 NUMBJ!:R 03

PACT04Z 0
ERC!"'" III

;PASS COUNT fOR OllC11 NUMBER 04
JERROR ~OUNT FOR DM~l1 NUM&£R 04

PACT165Z 0
ERCT0!):

;PASS COUNT fOR OMCll NUMtlER 05
JERROR ~OUNT rOI< ':IM~l1 NUH8t:1< 05

PACT"o: 0
ERCT0b:

J PASS COUNT FOR OMC 11 NUMBER 06
, ERROR ~OUNT rOR l)M~ 11 NUMBER 06
J PASS COUNT FOR ONC 11 NUMBER 117

"
"
"

373

314
315
376
377

378

PAGE:

VARIABL~S, AND TRAP CAL~S.

801716
11101720
8"'1722
801724

0"'''''''''
,,"0k>0"

0"30.,11

JPASS COUNT FOR DMCl1 NUMBER 03

319
;190

d0t 726

6:60.,03

381

0"11)";

]ill
393
3i11

"00""'''

8"1732
""'1134

3"0"0"

",1113 ..
iotJI740

~""i:10':t
~"0VJ021

PACT07:
ERCTI'"

iJ"""""

d""~0"

PACTI3:
ERCt13:

1("'1762
""176~

30k>0"0
Ihl""0"

PACT14: 0
F.;/lCTI4: 0

;PASS COUNT FOR OMCll
; ERROR ~OUNT FOR UM~ 1 t

""'176&
""'177·'

a!!,,"",

3""'otIal'l

PACT1~:

t!

I

E/lCT15Z

, PASS COUNT FOR OKC 11 NUMtlER 15
; ERROR COUNT fOR UMC 11 NUNBt;R 15

0,11771

"'' ' ' 'Icl.'

"
"

4 .. 5
411lb
4111
4",ij

a",1714

4",9
41<1
4 II

","'177&
vIlt2"0,1

411

~1Iti!0a"

~.

""".,

~"\:l"""

~UMBER

14
NUMBt;R 14

PACTlb: k!
EPCT1b:

,PASS COUNT FOR OMCll NUMIIER 16
; I::RROR CUUNT f'OR UH~ 11 NUMBt;p 16

PACT1 7:

iPASS COUNT F~R OHCll NUMBI::R 17
i ~'PROR COUNT FOI{ UMf,; 11 NUHSt;R 17

~RCTl7Z

""

0025

DZDMG
MC U I 34(1.,40)
ll-JUl.-77
DZDMG.Pl1
22-APR-71 09:29

12: 11
PAGE U'
PPOGRAM PARAM~l't.RS,

PAut.1

i:l02b

PAGE;

",,21

VARIABl.lo:S, AND TRAP CALLS.

41J

FORMAT OF STATUS TABL~

... ---------_ ...----.-

15 14
105
1:l 11
10 09 08 07 06 05 04 03 02 til 110
. _ - - - . _ . - - - - _ - - - _________________________ . _ . ____ • • • _ . _ . ___ w _____ _

I

1 C

T

0

R

0

I

L

G

S

T

E

R 1

I

CSR

I

---------------------.----_._-----_.-.----.-----._---------------

- - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - . - - - - . - - - - - - - - - - - ____ a_we_e.

1

I

I

I

11

I

I

I

*

1*1*1*1*1*1*1*1*
1
I
II
I
I
I
I

E

C

TOR

*1
I

STATI

------------------------------.-_._.------_...-. __._.--------_.-----------------------------.--------------.----------_.---------1
I
1*
I

I

MOD

I

*1*

L

E

1

1
*1
I

--------------------------------_._------..---------------------------------------------------------- .. _--_._._
.. __ .------------t

STAT2

STATl

I

DEF IN~ T ~ON Of fORMAT

DZDMG
MACnt 311( 1046)
ll-JUL-77
DZDMG.Pll
'22-APP-77 09 r 29

CSR:

CONTA~NS

STAT1:

BITS 00-08 IS DMCII VECTOR ADDRt:SS
BITt5.1 MICRO-PROCESSOR HAS CRAM
BIT15.0 MICRO-PROCESStlR H.... CROM
SITU"l 7111 TURNARUUND CONNECTUR IS UN
8IT14"e NO TURNAROUND CONNECTOR
BITU.'" LINE UNIT IS AN M82iU
8ITU"1 Llltf: UNIT IS AN M8202
BJ'f12.1 110 LINE UNIT
BITS 09-11 IS DMCU BR PRIORITY LEVEL

STAT2:

LOW BYTt; IS SWITCH PACtt ('DOCMp LINE NUHBt;R)
HIGH aYTE IS SWITCH PACi2" (bd73 BOOT ADO) "

STAT3:

BIT0s1 00 fREE RUNNING TESTS ON KMC
(MUST Bt: SET TO A ONE MANUALLY lPROGRAM DZDMI ONLY])
KMC MUST HAVE MICRO-CODt; WRITTEN fROM RUNNING
DZDl4G nST 2 FlRST
".
"
BIT1.1 OMCll-Al. LOCAL HIGH SPEED MICRO-COOE
bIU .." OMCl1-AR REMOTE ~O. SPEED HI~RO-CO~E

DMClI CSR

ADDR~SS

PAGE 11
12: ~1
PROGRAM INITIALlZATIOI'I AND START UP.

4bl!
4(d

J PROGRAM INI TIALlZATION

47"

JLOCK OUT INTtRRUPTS
~ SET UP PROCESSOR STACK
,SET UP POwtR FAIL VECTOR
,CLt:AR PROGRAM COtlTROL fLAGS ANO COUNTS
,TYPE TITLE MESSAGE

47t
472
471
471
475

416
471

"~21/l1"

418
479

802014
1Ht2112.1

011137

J;;

Z,J5~J1

1J1i1iJl~

ilia;.!.})"
"2"'4'"
iJ02d4 ~

1b51fl37
U51l31
812131
312737
012H1
'" 270'1

001325
001H7
""141",
001676
100000
1101702

tI:l2700
"01374
",,5,,]7
161:2737
012137

001234
000"01
002002

.!

r;~

1B t
4Bl

493
481
485
486
481

488
489
490
491
492
493
494
495
496
491
498
499
50'"
51H
51<12
51H
5vl4
5,,5
506
S;l7
508
5,,9
5111
SII

""21'111'2

~t:J

~"2v'j2

342060
""2066
0"21/72
."2074
."2 1 16 I!
1H21a2
it021""
'0)\12114

iH

MOV
!lOV
MOV
MOV
MOV
Clip
BEQ
8R
CMP
MOV
MOV
HOV
TSTH
BNE;
CHP
BEw
TYPE.
JSR
MOV
TST
bllQ
CLR

BIT

0IHJ'Ilb

BNE
TSTH
bPL
TST

IH1154

T¥Pl,

~:tllHo

81;1:.

']40,PS
.STAC,;,SP
'.PFAIL,U24
DHNUM,"SAVNUM

, LOCK OUT INTt.RRUPTS
,SE'l' UP STAi.:K
JSET UP poWER FAIL VECTOR
JSUE NUMBEN or DEVICts IN l>YSTt;M.
,C!.t.AR SOfT TYPEOUT fLAG
t:RRrLG
J eLt::AR ERROR FLAG
QV .f·LCi
~ ZE/'(O QUICK· VERIn t'LAG
'DM.MAP-1I8,CREAMJeET MAP P01NTER.
'CNT .MAP-4, MILK , GET PASS CUUNT MAP PUlNTt;R
.1!ITl5,RUN
:POINT POUTER TO flRST O~VlCt;.
: PASS COUNT" POINTt:R" TO R0 ""
'CNT .MAP, R0
(R0)+
:Cl,UR tASLt:
ICNT .MAP+l"", Ill/ ,DONE YETi JKEEP GOING
23$
LS'tERR
;CLEAR LAST ~IIROR POINTER
U,TSTNO
; SET UP FOR TEST 1
•• START,RETURN
JSET UP FOR PO~t:R FAIL BEt'ORE
J TESTING STARTS
U6,-CSP)
JSAVE CURRENT VECTORS
IlIU,-(SP)
,SET UP fOR TIMEOUT
.6" . . .
f177570, SWR
:SET SWR 'fO HARU SWR ADDRt;Sl>
f17757",DISPLAY 1SE1 OISPLU TO HARO SWR ADDRESS
; REFERENCt: HARDWARE SWItCH HIo:GlSUR
'-l,tlSWR
&$+2
J If " -1 Ust. SOFT SWR ANYwU
7$
,tF IT t:X1S1S AND ~OT = -1 USE HARD SWR
(SP)+, (SP)+
: AO.JUST S'tA~K
"
.SWREG,SWH
,POIHTIo:R TO- son SWR
'DI5PREG,DISPLAYJPOlNTER TO SOFT DJ$PLAY REu
(SPH,lIU
:RESTORE VE;~TORS
(SPH,lIfi6
INlf!.G
;HAS INITUt.IZATIO~ SEEN P!:;ttFORMEU
,SR I f XES ""
20,
UENDAD,U42
:IF ACT-ll AUTOMATIC MODE, VON'T TYPE lu
20$
,MTlT!.£:
TYPE TIT .. E MESSAGE
PC,C!KSWR
CHECK ~·oli 30FT SWR
ilSwi'I, STHTS'"
STORt: STAWI'ING SwlTCHlS
IilH2
IS II RUNNLNG IN AUTO MOUl:;1
BR U" NO
.+b
STRT SW
IF Yt:S, CLl:.AII S~lTCttt.S
'SWl!iI,STRT,s1'l
IF SWIo:J"''' I , QUEST IONS ARE Al>Kt:D.
BR It SII.,Il"' 1
11$
STPTSW
BlT7=111
t 7$
IlR If S .. 07=0
OMAC rv
liRe ANY UE;vlCr:;S SHl:.Cn:n
Hi< iF Xt.S
lbS
'lOAl.:r
NU L'l!'VtCt:S SELlCn:D.

oSw,'.,,,

,

DZD"G
IoIACUI 3alH"H,)
11-..J 1JL-71
i.iZDi"G.Pl i
2:l-At'R-11 09:29
521
525
526
527
528
529

,M2312
0)"2311

~~017&

1I~2316

8"4137

""2322
thi2 3~6
11101233;,\

&014i';

53~

~d2H4

!)3!
532
533
534
!)35
53b
537
538
539
54'"
541
54Z
543
544
545
546
541
H8
549
550
551
552
553

!""2n6

1~5/37

.,a2304
1J~237\'1

1112431

:Ji:!2J74
."2376
1'102402

&01411
012431
1)12431

,-'",236 a

HALT

0d0a016

t ~5 731
100431
""~2H1
3"1483
';'d'H24
11i:!::i131
1 iJ4402
012104
01 i0431

""2H4
IJI>I234b
,,,,2350
,1"'2354

14!:11
PAGE 11
PPOGRAM PHTI~L.iZATroN AND STARl' UP.

1010512
001324

17$Z
16$ :

001236
"'~".~05

001324
001>224
0"'1500
\HH 246
001250

t6n~;ob

~12431

001252
001254
001256

D162412
tM2414
"32416
032420

1"4410
1i1l1454
1"""62
01270'11

B0150~

2tsl

248z

1$1

."'2430
LH24H
",,,244.,
e"HU
:!.d2H6
002452
002454
6162456
~'024&0

""2166
iJil24H
!!M2472
11"250111
"1:125"'2
flI025Hl
:Db2512

813146
iH 314b
0~5"31

,,; .. 50]1
3<;5"05
011il31
001564
,,"57165
61<11085
3J216"
o;-t!l061
Suit404
11132760
""1454
012131
3"'5/05
;'''1003

irl~2514

-"'2520
""'2'522
9"2526
")0<12532
"62536
iil32'H0
tH25l2
"o2511
"'''2546
1I"255i:l
iJ62552
!la2554
11"'25&2

11112703
33iHiJ2
012183
312102
11121",1
!;i:l5111
11 t 204
I;b0401
00/15201
1'4",401
0,,51"3

0110004
000006
000006
001252
001404

Hl0~0"

0113"'"2

100000
0"2b74

1S!
0001<11'J4

~127

la0~00

000"'02

ent,~e

1000110

bi/l01:102

..,ilJ2&3"
IU2b32
,"'2636
lJa26'2
1t02b44
"o2640
"'26,}2
110200"
riJd2&64
,,,2&b6
.,,2672
.,102614
11,,21)16
"'il27.1iJ

Cl00156
01>2100

&15
&16
b17
bl R

011;;31
3"141"
30<1"'1Sil
" .. 210111

0b2i37
"11~31

\hH4S?
IH370i
IJllil135

bl'~

",,210-1
liIiJ27ltib
l10271J
U2112
'f0212a

"'3nl2

"'''2770

002731>

62~

~"2142

1>3"
bll
bn

III <121 U

bH

0"2741>
0,,2153
e,'J./51
i:'''2754
Jtl215&

003~22

FYI

1$:
2$ ;

"''''1404
001<1010
SKIPr

0"0010
001404

0a01'110
0000H
01H4(A4

OKI
003<12..!

0tl30n

12?2H

b2i1l
1>21
b22
1>23
b24
b25
b2&
1>27
b2;;

1lio1'S

FLOAT!

~H7&0

~b2101

614

3$ :
4$1

a62512

~"2b24

bl i

000010
003010
1&0010

1tl'J251~

."2b"2
''''26''''
.12612

2$S

0000~&

002100

,n61b
.,.,2&22

btl

5$
'OM.NAP,R0

;R0 POINTS TO STATUS TABLt;

1644J2
V'd7277
312737
,,1 "131
1,,4H0
Jd217&
""'5105
110:'1 "1'l3
t~t402

~"7 3 2"
II';" ~ ,12

U4,-tSP)
U6,-tSP)

it6

'

TEMP3
R5
(RI/I),OMCSR
AUDONt
R5

is
,BITU,:.I (R0)
SKlP -

BI'!

2S
.a!T!5;2(Rel

BEQ
MOY
TST
BNE

SKIP
fNODEY, . . .
R5 "
36

'SAVE Loe 4
,SAVE LOC 6
;CLEAR VECt;l
,CLEAR nAG
IRS-0-DMC, 1{5=-laKMC
;GET NEXT OKC CSR
,BR IF DONE
,DMC OR KMCl
,BR- IF KMC
ICHt:CK ~-OR UMC CSR
; SKIP It" NOT OMt
;lTS A ONt: SO CONTIflUE
;CH!£CK .fOR !C~~C CSR
,SKIP If' NOt KNC
,SET UP FOM TIMeOUT
;ONC OR uiCl
IBR IF KMC

12111
PAGE 13
PROGRAM INITIALIZATION AND START UP.

37
iUiH31
0d51iJ5
(IId100')

~n5/)6

MOV
MOY
CLR
CLf!
ClIk
AUSTRTs MOV
BEQ
TST
BNE
BIT
BNE
ElR

iHI1Hl

&",2
blO3

b"o
b,,7
biOd
bil"
bill
611

-

(RU+,TJ:;MP3
(R4h"TtMP4
CR4)+,TEMP5

, ,",.."."*,, .."....."*"""""" .. ".. """.."-""*.""""""""".. "" ..".. "",,.... ,, ....,,*.,,..,,""""""

,"'H24

110261 ~

b"'.
b.,o;

1$

TEST

o.oi

H~

MOY
i'lOV
SEQ
MOV
MOV
MOV
CONVRT
XSTATQ
SR
HOV

; IF NO THt.N TYPE STATUS
;IF YES DO NOT TY~E STATUS
,SET FLAG
;TYPE HEAUEJ(
·SET ?Ol:NTEH
; SE.T AODR~SI:l
,SET CSC<
; ALL DONE U- ZERO
;SET STATl
;SET STAT2
;SE! STATJ
;TYPE OUT STATUS MAP

; ,"THlS TE.ST VERIFYS THAT THE DMCl1S AND/~R KMCllS ARE AT THE CORRE~T FLOAT,tNG
J ;IIADUflt.SSES FOR YOUR SiSTEM. IF tHIs TEST ~'AILS, Ii' IS N()T A HARDWARE E/{J(OR.
".CHEC'" THE ADURESSES or ALL FLOATING DEVICEs (O..l,OH,DQ,DU,DUP,LK,DMC,OZ,KMC).
nlllf" TtlERE APE NO OTHER FLOUING OEVICES BErORE THE DMCli, THE F~RST- ,
.·"OMCtl ADDRESS Il': '6"I!!,,,.'KMCII IS 76"119: NO DEVIce SHOULD EvER SE AT
j;lIAoj}Riss-'60000:-TiIIS
MAi-REQUiRE-~-~R MORE ATTEMPTS""TO tiET THE
,,"RIGHi' ADDRESSES. Af'UR lOU HA~E CHANGED THE AODR~SS TO -WHAT IT TOLl)
l,uOil THE FIRST TIME, IT MAl COME BACK AND TELL lOii A DIn"t;REN'i ADDREsS
,,"THE NEXT TIME YOU RuN IT. pLEASE HAVE PATIENCE, THE FINAL ADDRESS ; ,"WILL BE CORRECT US LOt.lGlS ALL DEVICES .(N FRONT Of' Tlti UMC'S ARE
, r -CORRt.CTJ . '
,-,"- -, -

0111014
81'0404
8J276111
8"1401
""57ii
"}20i37
1"'1411

599
&ill!!

COM
TYPE

ISITli6.i.T2,5TFISntIS TEST ~Ju. OR LOCK SEL~C'l'!!'J)
24$
-,
1$
INIfLG
,XHEAD
iiDM.MAP,R4
R4, TEMP 1
(R4l+,TEMP2

,,,"AUTO
; ................
"......".. "" ... "•• *1I**••"."*••• """"*." .. ".... """" .. """"""",,,,...."",,....
SIZE TEST

Dt:DMG
MACYlI 31H1046)
ll-JUL-17
OZOMG.Pll
U-APR-77 09:29

593
594
595
596
597

1$

; STOP THE SHOW
;OlSQOALIn CONTINUE SWITCH
J GO DO THt; AUTO sat
; FlRST TINEt
;BR IF YES
USING SAME PARAMETERS DON! 'tYPE MAP

,If

218
STRTSII

8 M!

HOV

56:

55~

592

BEQ
TST8

bR

55~

5816
581
59l
5b3
584
595
5&:>
587
5bB
589
59iO
591

.-2
PC,AUTO.SlZE
INIFLG

51T
BEQ

555
556
557
S5i1
56i:!
!)61
562
5b)
5b4
SI>5
56b
567
51>S
51>1
570
571
s12
573
514
515
51&
577
51<1
579

BR
JSR
TSTS

MOV
BR
NOY
MOY
MOV
'IS!
MOVB
ADD
INC
BIC
TST
aNt.
MOV
MOy
TST
BNE.
BIT
BNE
BR
BIT
BEQ
1ST
CMP
BEQ
ADD
BR
ADD
MOV
BE.Q
BR
ADD
ADD
MOV
BEQ
MOV
BR

C!o!P!!

,6,R3

U
H0,R3
fDEVTAS,R2
f1600i0,Rl

CR1)
(R2),fl4
R4,Rl
Rl
R4,Rl
R3
FLOAT
.ERR,.,4
Rl,XLOC
RS
1$

.8lT15,2(R0)
SI(lP
2$
'BIT1~,:Z(R0)

SKIP
(Rt)
Rl,L>MCSR
OK
110,Rl

FY
H0,R0
(RB) ,DM~SR
AUD\lNE

n

110,R0
f10,XLOC
(R0),DM~SR

AUDONt
XLO~,Rl

FY

!P.2~+?-~a~}

RTl
b01252

ERR:

0~2700

"'IHn&

177717
01<112&<1

"01l52
1$:

TST
BNE
TYPE
CONERR
MOV
CNYRT
ERRPC
TYPE
CHERR
MOV
MOV
CONYRT
CONTA8
TST
bNt.
UP!:.
OMCM
i:!H

TEMP3
1$

IERR,SAVPC

PAuEs

;R3 IS
,GO ON
;R3 IS
;R2 IS
,START

COUNT
OF Ot;V ICt:S Bt;FURE
. _LlMC'
-

COUNT or Dt;VICES BEFURE KMC
DEvn:E TABlIE"'PONUR
WITH-ADDRESs 160010
;CH!::CK AOVR~SS IN Rl
;1"- NO TIMEOUT, GET NEXT ADURt.SS
,IN Rl

; ANY MORE O~VIC~S TO CHECII. ~-OR?
,BR IF YES
,OK ONLY LlM~'S ARt: LEFT, SE'f UP FUR T1Mt;OUT
;SAVE FlRSl O,",C IKMC ADDRESS'
,DMe OR KMC?
:BR IF KMe
:CHECK fOH UMC CSR
;SKip U- Not OMC
: ITS A OMC so CONTINUE
,CHECK foR !<.MC CSR
; SKI P IF NOT KMt:
,CHtCK OMe ADDRt:SS
;DOE:S IT lAtCH
,aR IF YES
; GE T NEXT DMC ADDRESS
,00 l'r AGAIft
;SKIP TO NEXT CSR IN TA8Lt.
; GET NEXT CSR
;BR U- DONE
:ELSt. CONTINUE
,SKlP TO NEXT OMC CSR
;upbATE EXPECTt.U DMt/KMC ADURt:SS
;GET NEXT OMC/KMC C6R
,BR II' LlOWE
• GET EXPE~T~D DMC IKMC ADDI(t.SS
;CONTINUt.
nt.,.
: O~ ,;!,!MEO!J1' ~
-"
:RETURN
;CHECK FLAG IF "' o TYPE Ht:AUER
:SKIP Ht:AOEI{
: TYPEOUT HEADER ME5SAGt.
;CONFIGURATiON ERROR! I!!
:SAVE PC tOOk TYPEOUT
; TYPE OUT EHROR PC
,

,

,

;TYPE Rt.sr ut

,

Ht.AUER

'-I,TEMP3
Rl,SAVkl

;SET FLAG SU IT ONLI GETS lXPt.D ONCE
iSAVt. Rl ~OH TYPEOUT

H5
3$

:TYPE CSk VALUt.S
;DMC 01( KMC ?
:BR If Kille

46

;CON'llNUI:.

0029

020l"G
MACYlI liS! Ul4td
ll-JUL-71
OZOMG,Pll
U-A"P-77 119:29

6J6
b37
638

639
b41;1
b41
b42
b43
644
6'5
646
b47
b48
649
6511l
051
bS2
653
654
655
b56
051
bS8
659
b60
bol
6b2
663
6b4
665
666
667
bb8
b69
b711J
611
672
673
b74
b75
b76
b71
67t1
679
081!!
681
682
b83
6t14
685
bet.
b87
6at!
689
69~

691

4427b,I
(;"2762
";'1764
"'''276b
"02110
",.,2772
802174
t'02776
"03"00
""'3002
~"3"04

1133"36
003...,1O

".)3"11
e33i?112

"")"13
elrJ.HH4
,,;HillS
""3016
ihi);;}17
11"3"'2<'1

1114402
!'lo!7H"
312b26
1'h'''727
000001
606
""1276
0.,"'1102
"06
'''13''22
"06
1t1iH404
007
017
001
"O7

.,,,3.,34
.03.,'0
:.t03i' 42
""3046
~"3~52

0~2737

L1"3"00

IIhl1422
1"4402
0115000

.'H~30

~"'30b2

(10)"6f>
IIJ.U,,7.J
8"3072
I"UliM
li5if3102
fht3106
811311"
fHI3112
:/J"312.~

003124
1103126
663132
""3136
'1/33140
."3142
.03144

"UIS"

3$1

HI
t-RRPCI
002

fit"""

00
027737
1 "1404
1<1"02

00.,006
000004
0000101

0014!3b

006144

17bt04

001J12

0"'6005

17bllb4
001306

01:'lJ06

000300
001<1302

"IH000

td2
bH
b95
6:16
1>91
b9~

bH
HI"
1" 1

'''2

8113152
.031S6

"13746

0"12~1i!

.BEGIN: MOV
MOV

000000

eliHb2
'''3166

013746
0\15000

fl00004

1112137

.,03234
000006

11>2790

:'1"o37

"~J<;~

",,,nH
",,324:,
1",3252
",,"325 ~
IIh'32t1'"
803262

8"32H

113

~il3276

714
715
116

00330·;)
"'H.hll
• .,3312
;)1I332rJ

717
718
71'1

n'd

721
/22
723
124

6,2

tI,.
6,2
7

17
7
7
7

7
7
7
7

RS

18
'-1,R5
,OM.MAP,R0
AUSTRt
(SP)+,U6
(SPH,U4
;SWIII3,STRTSW
3$
,MNEW
R0
IiISWR,SAVACT
28
,MERRl
.-2
tlSIoIR,DMACTY
DMA~TV,R0

fl0111rRe
.302,IH
Rl, (RII).
(R1J+
(R0j+,(R1H
U0,""Re

4S

:IlJ
lOH
;DQ
lOU
iDUP
l"K
lDMC
lllZiKMC

lOMC?
JBR- If' KfoIC AND A1.L DONE
,SET R5 TO ~1 (KMC)
; RESET Po TI1 START Of' TABLE
,GO DO KMC'5
-,
J RESTORE Loc 6
J RESTORE l.OC 4
;SELECT SPE~Inc Dc.~ICES??
JBR If' NO.
;TYPE THE MESSAGE.
; ZERO DATA i..lGHTS
i wAl T FOR' USER TO TELL WHAT Di:V~Ct:S TI1 RUN
; IS 'THE' NUMBER VALID?
;8R If' NUM&t;R IS ok~
;TELL USER Of' INYALID NUMI:IER.
; STOP EVEtlY'-THING. .'
;,RESTART tHE PROGRAM AGAl~.
;GET NEw IlEVlCE pAtTERN
,SHOW lHE UsER wHAT HE SEJ..El:TED.
JCONTINUE DXNAMIC SWITCHES.;"REPARE TO"CLEAR THE FLOATiNG
;VECTOR' AREA. 300-116
.
-JSTART PUtTING ·PC+l - HALT"
J IN VECTOR AREA ~ .,
; POP POINTEtiS
,ALL DONEY?
,BR If" NO.

~.a3J22

843330
k)tl3Ho

0J1
IH.l631
",,<];; j
"n021>
Ib27""
lb21~iIJ

0221>J0
IN1361
1I/1210a
""0156
012137
3J2737
JtlH41l
1"44"'2
1512737
e'12137
0".1406
'H3731

0001104

U:
157776

,,13'131
012737
"J2731
;'0H!02
1.,4402
~,",,177

007776
00131214
.,"00oil4
""0006

7$:

2U
00001(l4
00777b
030000
0374ih)
000340
0000104
"'''6043
009240
800240
01;1373"
""'3732
010060
""ti!H~02

.,IIS 755
17503"

fSTACK,SP
U6;-~ap)

JSET UP STACK
;SAVE "DC 6-

12: 11
PAGE 15
PROGRAM INlTIALU,ATION AND START UP.

~"1314

1",3211

1III"323b
u.,j3i4l

711
112

IhlS11

XLOC
.B),TE
DHCSR
OEVTAB: .BYTE
.BYTE
.B¥Tt;
.BYTE
.8¥TE
.BYTE
.BYTE
.BYTE
.BYTE
.EVEN
XLOC,
AUDONl!:: TST
BNE
MOV
MOV
SR
MOY
lSI
MOY
BIT
BEQ
TYPE
CLR
hALT
CMp
B1.0S
TYPE
HALT
BR
MOY
2$:
MOV
HALT
MOV
35 I
MOY
MOV
41.
CLP
CMP
CMP
BNE

°

177777
0'11500

(SPh, (SPh
OK

PA~t;l

1

.B~TE

004
0"2

ih'0ii;a0
,;.,,)176
311737
01310"
;:"3000
,1121011
i1121al
31"120
005021
822;121
62270"
811i111l

TXPE
KMCH
CMp
BR

.aYTE
SAVPC
CONTAtil 2

1M?
007
007
001
11101
".,3022
""01"!)0
.,05705
"iH"0!$
Ot2N5
012700
3111111;02
iH2b31
012631

8"3422
.03"'24
.,03026

12: 11
PAG!!' H
prOGI14.,3-\
'·'1114,;30
;:IOP12

f<

~4

~r;

TELt;T~PE

OUTPUT ROUTIN(o;

J .--.-•• - .... -.-••• -.-.-~
.rH054b
,"1&,,5
"b~ lob
!}II'; 137
1 ",,,4
'1-J2177
,..,10112
1 "'5715
1-'''''''J2
1614"'2
1,,5177
1 '!. tIJ 75
112'>1'1
J1.2

""'
' ' '1112
.,1O;.116

0110"'02

01101b0(;!

17'5104

4S:

1$:
,,~5f)l.l

tl~

15

~

J7~15"

26 :

MOV
MOY
ADD
TST
BNg
BlI
BNt.
ISTB
BPL
TYP"TST!l
BPL

MOVB
hl-ft.

R5,·~sP}
~2(SP),R5

f2,2(SP}
SjjfLG
lS
,SII12,IilSWR
3$
(R5)
JS
,MCRLF
(cITPCSR
.lS
t R5 J 1', (iTPOBF
4$

SAVE 1'15 ON THE STACK.
GET ADDRt.SS OF H(o;SSAGE.
POP UVI::R AUORt.SS.
SOFT SwR Mt;SSAGt.?
iF 1(o;S UP~ IT OUT kEGARI)!'t.SS uf SIII1;;!
INHIBIT ALL PRlhI OUT??
8R U' NO PKIhI OUT WANTt.l! lSjj12=1l
IS NUMI:IEH M1NUS? (MSB=ll1!l i 1 ) )
81{ U NUMbt.R 1S PLUS
np~ A CH/LF!
TTY RI!.AO~?
BR
NO.
PRINT CURRt.,,! CHAR.
l i NUT ~~~~., ~EE~._~~~~~ l~u i

u-

'1ACHI 3,;( 1"46J
DZOIol"
II-JUL-77
DZDMG.PI!
'2~-Af'fl.-77 1-19:29

1137
H38
839
840
841

'''4<146
,,"'4"51"
"II4i152
,""4054

843

·t;H~62

1:144

\)'H,,7"

1145
846
1141
1148
849
IISIO
851

;:;)41'172
"iH,,7'i
1"'4100
1;04t04
1J1ll5
012531
rt12531
:)12531
1125H
1125)7
"J~56b

C0501ll5
&12704
112714
""142O

IlU21
I01!2415
1:l1421
IHH"12
14:'!114
152405
122114
"",,1406

.PARAMI MOV
MOV
MOV
MOV
MOV
MOV
MOVS
MOVB
MOV
PARAMli CLR
MOV
CMPB
BEQ
CliPS
181
BLI
CMPB
BGT
BICB
BISB
CMPB
BEQ

00111004
o"43&4
004366
004370
1<11<14372
"'04373
001ll1ll04
I":7506:l
1ll~1ll015

000060
000067
00o,,60

,,"''''fits

MACHI 3il\ lIHb)
l1-JUL·77
DZD"G.PII
22-APR·77 09129

~95

e 36
891
!l98
1199

.INST": MOV
MOV
MOV
ADO
• (NST~: TYPE
.Mse:
MUV
MOV
TSTB
18:
bPL
MOVB
bleB
CMPB
BEQ
2$1
TSTB
BPL
MOV
DEC
SHE
MOV
MOV
.INSTl'.: TYPE
NOV
MOV
BR
INSTR2: MOV
MOV
RTl

"

1:lIol75"'2
0110007
175"14

DZD"G

H:oH
b94

.};.<;

9i1b

~GO

tllHJil,l
ua4J02
1111'14304
thl43&6
""'1310
!iil4312

Rl,·(SP)
R4,·CSP)
U(SP), ~MSCi
'2,4($51)

~'114H4

1)0432"
~,01 ~22

9"7

liil4326
J\t4Hkl
tiilO31

.'lIIb305

ASL
ASL
ASL
8R
PARERRI INSTER
BR

~"'6305

"'''bJ*'5
"""'16'"
li14434
171""5"

0:lil';H
1"'1373
~'1~",s 37
11IJ11v1
1 J3l05
l>1II1365

004366

LIMITS: CliP
SKI
CMP
BLO
SITe
8NE

~;:.; 3~~

""4372

91'"
911

'.11'1

9211
9~ 1
'n.~

'123
924
925
926
927
928
9;d
9hl
931
'132
9H
934
'.135

936
931

18
itK08R, CRt)
'2011, (R4)
(RU+,tl5
lNSTR2
tlTP~SR

:u

ilTKUBR, tTPD8R
R]
is
(SP)+,R4
(5P)+,1\3
,MQM
R3,·(SP)
R4,·(SP)
.IHS'h (SP)+,R4
(SP)+,R~

;

,RESTORE R4
,RESTORE R3

STRING TO OCTAL
..;.;;.

R5,·(SPJ
R4,·tSP)
4(SP)iR5
(I'tSJ+,LOLIM
(R5l+,HILIM
(R5)+,D£YADR
(R5h,LU81TS
(RSH,AORCNT
R5, 4~SP~
R!>
UHBur,H.
(R4)
PARERtI (R.', .60
PARERR
(A4>,.67
PARE;RR
.61l, (RU
(RU+,R!S
'15,(R4j
LIM~ta

us,

R5
R!5
R5
1$

PARAM1

R5,KILIM
PARt:RR
1<5,i..Ol.ll'1
PARERR
LOBITS, £15
PARERR

,STORE NUMBER AT
~"B36

"04342
~iHJ41

-'114J50
,·I.H]5'!
61"'4356
..tI:l13b0
••:14362
l'11-1361
t:H36t>
01114 J71'l
8114.!7l

;H3704
"10524
Iifb2705
lol5l3f

~tJ43H

,,"'''''''2
~"'iU'00

MOV
MOV
ADO
DECB
8NE
MOV
MOV
RTl

SpEClf'~ED

ADDRESS

DEVADR,R4
R5,CRUt
.2,RS
ADR~NT

IS

(SPlt,R4
(sph,R~

LOLIM:
~
HILIMi
DEVAOR: 0
L08ITS:
AORCNT:lJ08ITS+1

•

10)16""006

1'''''''''''
""""'1ll0

'"

2'043H

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

,SAVt: pC OF TEST THAT FAILED ANu KiI·R5 .

IItd43H

016b37

"""0114

01'11l76

.SAV051 HOV

HSP),SAVPC

;SAVE R1 ~P~ )

JSAVE R0-R5
"d44l1:l

ilH"i37

UJ4406
!M4412
.. "4416

fil ,,4J7
2"1ob
1"4402

PAGE:

,.....-....Asell. ..............

1:114
815
1:176
878
819

PAGE lij
UTILlTHS (TkPlOUT, ERROR, SCOPt., ETC)

G",l/ERAl

;

842

1153
854
855
1156
857
85e
B59
116",
H61
Bt>2
1163
964
1.165
tlb6
tl61
tl6B
sb'}
810
1171
tl12

lHll

""'1212
11111270
0"l.l6b
1J"1264
I6
!."'\) 1.!

.RESil~:

MOV
MOV
MOV

SAVRII, R0
SAVR1,Rl
SAVN2,R2

MO';

SA\lH3,

MOV

SA";;4, R4

RESTOR!::
RESTORt.
Rt;S'fORE;
fllSTOIi,t:
R.. STO"r.

MOV

SAV~5.R!>

~"Sl(lk;

'Rt.srOR~

1"1-1 H 1
nH15,
" •.141'; I
.;,14

H,.'

·.\J/1l1
,q 17 "4
." 3. "1 .. ,0:;

\I:!'H 772

R5,SAVR5
R4,SAVR4
Rl,SAVRJ
R:l,SAVR2
Rl,SAVRI
R0,SAVR"

~SAVE R5
;SAVE R4
;SAVt. R3
JSAVt: R2
;SAYE Rl
JSAVE R0
;LEAVE •

R"·R5

~j

Ril

kl
1(2
H3

1<4
~5

DlD,"G
DZD~G.Pj

949

MACYlI 3~ll"40)
ll-JUt.-77
2: I!-Ar'H.-j·i W:>9;2G
i
,""'4404

12: 11
PAGE. 20
\OcNERAt. UtlL1Uc.S

1\~,h'02

(np~OiJ'I,

PA(;E:

"03ft

PA(;E:

01<13"1

C:RROR, SCOP!!;, t:TC)

RTI

ILI:;AVt:

Q!).'

951

ICONVERT OCTAt. NUMSER TO ASCII ANO OUTPUT TO TEt.EPRiNTER

I--------------------------;-----~-~-----------~---;;---.;.

95l
~5l

9:)5
950

iJtl4466
0'H412
l'iH414

~5,

1:0 .... 7&

1"4402
IH0040
"IIH40
01"'346

958
959
9b"
90i
902
9b3
9b4
9b5
':Ibb
961

0'H5';0

~l';Hb

1fi0450"l

lJIIS'H&
SI7b01

9~4

'Jb~

969
911:1

911
972
973
974
':i75
910
911
978

:.ta4504

000012

;;11451;;

~b2766

£i0\ij002

0000l:l

bJ45\6

312i31
112! 31
112131
;'13137
122"131
01111"'''3
042131
JI3104
113705
IH27\30
"til403
£;4211113
1)02703
tUH20
u"0241
iS06"04
000241
01:16004
,,0"241
","6084
00531'5
1{o01J62
iH 2"103
114023

004710
0<14712
004713
"1Il4714
000003

004712

1104522

.",.520
e.,4532
...,453&
;'03454 \
;,104546
1'!'04554
0045611
1;104564
;,)04570
1Il04512
~tl4576

tW4602
IId4604
.,0461.l6
00461'"

97'J

~04612

98k!
981
982
983
984
985
98&
9d1
9811

1604614
,""461l>
·"*'4620
.J046;l2
1J04b24
"04630
:';04632

989

.,04644

99~

~'04046

~04bj6

h'~B7

~'04672

iI/.I1374
h15131
ih.l1405
112123
iijsj37
0dl313
105013
U4402
:lu5H1
I:t'H313

""4614
;,)04&15

;:illbtiJ4

~04640

991

'HHt.52

99l

>,)04656
0"466"
01>4062
b1l4&66

993
99\
':195
':196
991
':198
999

005012

111400
004114
0"4712
001416

004714

111770
000k1i1k!

"~75H

004712
01:14713
0"0040

j(j;;4i13
007544
004110

~12b05

1 kiWI"

!:!"1'
","
t!04702

1~01

i0HJ4

11602

o041~6

i:H 21>01
812600
9 ihHlJ2

11M3

.,0471"

0~00~0

llhl.

1:04712

0"0000

~12b1U

1"'~''''>

~04 714

, MCRLF
R0.-(SP}
R1,~(5P}

R3,-(SP)
R4,-tSPJ
R5,-(SP;
U2tSP) ~ R1
.2,12(50')
(R1)+;WRDCNT
(j'lj+,CHRCNT
(R1)+,SO'ACNT
(HRl)+,BINWRD
,j,~HRCNT

2.
11114"0,I:I1NWRD
BIHWRD,R4
CHRCNt,R5
ITEMp,R0
R4,R3
U17170,R3
1060,1\3·
R3, (R0)+
R4
R4
R4
R5
3$
'MDlTA,R3
-(R0), (R)+
CHRCHT .
4$

SPACNT

oS
#040, (R3)+
&PACiiT
5.
(R3)
,MDATA
WROCNT
1$

(SP}+,R5
(SO'i+,R4
(SP}+,R3

(Sph.Ri.
(SP)+,R0

"

DZDM(,
!"ACYl1 3ill1~46)
ll-JUt.-17
DZO(ol('.Pl1
2:l-AIJR-17 09:29

11M 6

.CONVR: TYPE
.CNVRt: MOV
MOV
MOV
MOV
MOV
MOV
ADD
MOV
MOVS
lU
MOV6
MOV
CMO'B
BNE
BIC
2$ :
MOV
MOVB
MOV
3$:
MOV
SIC
ADD
MOVB
CLC
ROR
CLC
ROR
CLC
ROR
DEC
SNE
MOV
Mova
U:
OECS
SNE
TSTB
BEQ
MOVB
58 :
DECS
SNE
CLRa
6S:
T1PE
DEC
aNE
MOV
MOV
MOV
MOV
MOV
RTI
WRDCHTz
CHRCRh 0

12111
PAGE 21
GENERAL UTLLITII!.S (TYPEOUT,

6114113
1:;1'.:1000

E~ROR,

SCOO'~,

ETC)

SPACN'I:CHRCNT+l
BINWRD; 0

I"" 1
1161>13
Ib)~

J TRAO' DISPATCH SERVICE
~ ARGtl"!ENT O~ tRAp IS £lTRACTED
JAND USED AS on'SET TO OBTAIN pOINTt:R
; TO SELECTED 5UHROUTIHE
..

101~

I!HI
1012
101l
Itlt4
1161"'>
Ulb
1~11

lI!1 tI
11<)1<1
1,,2'"
1",11
11122
11;23

>;"\)4 716
16041211
,,"4124

~'041)"
~04132

004136
i;;D4H2
ti"'4146

,,11646
lb2116
017616
0"6316
~'42"11f>
~b2116

137
,,,51037
I ;o4411b

.. 05",)"

;;llb~5

1;-,,50)32

t05 ~36
;}05vo40

lb2/;,5
Jll:'>tl4
"tlb104

;)"5"4~

~/bl!>04

1".'J

I 05.H4
1.1I5>.H5
1:165"'52
'I0505b
6"5\162
1:05"'bb

1 ,,5'"

,,"'5k";.!

1"';1
1.,52
1053
105'
lil5')
11:51>
11157
I",!>t!

005"'16
,.105101:1

",,63"4
;'42704
l'b;ll04
n2437
"1:.1437
,)11 437
1Il5131
IHH4>13
G,,5131
1'1'111'1<'
1",44,,2
1.,44 .. 2
l-h,5731
till '<12

1,,41
11642
h,43
11<'44
1.,45
104b
1",41

1" ~t!

1~5'}

1,'0"

; GET PC O~· RETURh
P:PC OF TRAP
;GEt 'IRP
J MULTIPLY TNAP ARlO I:IY 2
JCt.t:AR UNWANTED sITs
:POiNTER ·rO·SUBROUTlHE ADllR:;SS
,suBROUTINE ADDRESS··
;GO TO SUBROUTINE-

I ERROR HANDLER

1"414
11')26

(SP},-(SO')
.2, (SP)
i(SP), (SO')
(SO')
1l71001rCSP)
' . TRPTA8, (SP)
IHSP), (SP)
i(SPl+ -

""SHU
IH051tl6
ii05112

"o5116
~wi5121

1oI,,51.l4
(,,513"
!!o5JH

1 <'lHVll

IH4.12
1 •. 11 t I

007606
"10000

JSR

114212
114174

XBX:

001234
0"1234
".,1325
1$:

117"111
021602
"''''5172
"'05204
,,05216
dll1325
00521b
1'./1:'5612
0~5b12

!'l(~122'"

SIT
BEQ
TSTB
SPL
MOVS
BIT
SNE
CMP
SEQ
MOV
Ct.RB
SAV05
MOV
SUS
MOV
ASt.
ADD
ASL
SIC
ADD
MOV
MOV
MOV
ISTI:I
BEQ
1ST
IlI'IE
TYPE
TYPE
1ST
SEQ

tl 3 3'.'

1$:

TYPE
TiPE

CNVRI

PC,CKSIfR
Iswi2,iSliR
XBX
i!lTPCSR
X6X'201,'TPDSR
.SWi3,i5WR
HALTS
(SP),loSTERR
18 ...
(SP),loSTERR
EHRtLC
(SO'),R5
'2,R5

(RSJ.R4
R4
(R5),R4
R4
11710011R4
•• ERRTA8,R4
(R4l+,ERRMSG
(R4l+,DATAHD
(R4J,DATlBP
ERRt"LG
TYPMSt
DATASO'
TYO'UAT
, MCNL ..
, MCRt.,·
LOCK
IS
,MAStEK
,"!fSIN
,XlSTN

JCHECK I"OR SOFT SWi<
J BELL ON Ii:RKORl
18R· If' NO St.LL
JTU READl.
;DON"T WAiT If' TTY NOT REAOX.
; O'USH A si::t.J.. AT THE TTY • . ..
:DEJ..ETE ERRUR PRINT OUT?
J 8R· IF NO' PRINT OUT WANTED.
I WAS THIS EAROR FOUND LAst TIME?
:8R IF tEl>
IRECORD Bt:ING HI!:RE
: PRt:PARI:; HEADER
JSAVE ALL PHOC Rt:uISTERS
; GET Tlit: O'C· OF ERROR
ICE.T ADDRt:SS OF TRA~ CALL
: GET HL! lNS'!'!H.!CT!ON
;MULT 8Y lWO
IDOUBLE IT
IMULT AGAiN
IC1.;'4H JUNK
J GET POIN·lEN
: GET ERROR MESSAGE
IGET DATA Ht:ADRER
JGET DATA TABLE
:TYPE Ht:AORt:ER
:BR IF yt:S
:DOES DATA TAB!..!:: EX~ST?
JBR U' YES.

;ShO" I i

DZUMG
MACHI h:tlkl41»
tl-JUl.-71
OZU"G.PII
U-A!'I1-71 09:29
l~t>1

':id~14~

I.,I)~

~.,5144

Hl!>3

!'I05150

hl>1

l.>0!!1154
""5162

1"'1>5
H·I)!>
till) 7

Itr51Ol>
1110517,1

1~6~

*'''5172

106'1

1'05174

Ii!
1071

(:>il5100

101l

1)05202

7.'

H,13
11:114
H,75
1.,76

1.,77
1078
11'179
1111811
1081
II!1B~

10(13
1084

1085
h81)
10117
10bll
1089
lil9<,

,,"!!IIH
~'''5l04

.,,5206

Nj5212
;:;"52111
",,5216
.,05220

1"4 'H,2
101441 I
lu4Hl2
112737
LJ"S/31
l ,,141:12

&<15"137
"il141'12
1114402
JII,h,"0
0;,5731
"'0:)1402
lil44111
!lil"000
I i!l4407

nU37
>}"1403
Ih,5777
I "'0tl05
610"'41)
'16600
!JiM "160

\f05246
~"'525il

1'105252

16"'5322

TYPt.
CNVRT

0~%72

T~PE

117717
0"5172

005204

llll5216

173744

012&0~

'h~5237

~\"5256

032777

"1:15264
11"5266

ihH~iH

'H2177

0':11232
000400

173106
0"'1214

hHI
1092

1,l05214

thH411

805276

1~93

005304
1)05310

Cl H37
1:H21,1)
1)13701
"""177

0lH216
001200

0"'2

1094
11695
lil96
1097

,.,.'5314

00532'"
1105322
1'\05324
."S316

00&
1l.,1276

1100

1'05330

~1!0801

IUB

C",Sn2
16"S334

"03
l>lflJ26

",.,5336
1oi.,5 J36

012737

1I~5344

~"0ItiH'

1111:1

~iI:»H6

flhJiJ177

111 1
1112
1113
1114

""S3:»"

173674

1102

.PFAILI
8"S350

0001>124

1122
1123
1124
112S
112b
1127
1128
1129
1130
1131

Jl32

1133
1134
1135
1136
1137
11 38
1139

114"
1141
1142
114J

1144
1145
IUb

MOV
HALT
BR

; SET UP FOR pOWER UP TRAP
J ~A~T ON POWER DOW" NURMAL

,PROCESSOR WILL TRAP HERI:: WHEN PowEI{ IS RESTORED
ItE8URZ

~ii53:»"

0~S336

","5356

,,111200

11100024

OZUMG
MACY!I 3.,,(II64b)
l1-JlIL-77
DZDMG.P!I
22-APk-77 09:29

1111
1118
11 1 ':I
11 2<1
1121

;TYpt: PC •
ISHOw 1T
;GIVI:: A CR/LoF
;NO HORI'; iiE~DER UNlot:SS NO DATA TAI:!LE.
, IS THER!:: AN ERROR Mt:;SSAGJ::?
J8R H" NO.
ITXP£.
EI217

II "iH100

'-'05222

~"524"

12:11
PAGI:. 22
-GENERAL UTILITltS (TY!>I!.OUT, EI
"it540J
VII5404
005U",
t;0SUt
t'''S42''
tjll''H22
lldS424
'd,,543'"
01,,5432
ilii!l:»4H
Im543l>
",,5U6
..,05444
",,,544,,

104411
1115,,3"1
~1'5"'l1

""'5675
0054.31/1
0"1325
01<11234

1l~511t1

104412
1735b4

:.103

"02

11105461.>
1110:»41)b
1.05474
tKt5502

; SET UP FUR POWER FAILURE
iRES&::T THt; ~TACJ( PO~IoITER

PAGE 23
GENERAL UTllolTlt.S eTYPEOUT, ERROR, SCOP!!;, ETC)

8014"4
001416
001416

,,'''1117

'.pF1IL,24
'STACK,SP

1 L: 11

aili!l!:!;l1

PFTAB~

.. ~~,.~

,'61l26

MOY
eLR
INC
BNE
TYPE
CNVRT
CLRS
CLi{
CLR
MSTCloR
JMP
1

D"'CSR,R~

TEMP
TEMP
.-4
'''PFAIL
,PFTAB
ERRt'LG
LSTERR
tRl)
'RETURN

;RESTOR!!; HI
iREADY FOR TIMMER
; PLUS ONE TO THt: IlMER I
JSR IF MORE'"TO GO
iTl!PE THE" MJ::SSAGE
,TELL wllAT iEST TO RETURN TU.
; START CLt:Ait
; • • • • • • • • it ....

iCI,t;AR MAlNt BITS
,START CLUN UP OF DEVICE
,START DOING THAT TtST AGAI~.

3.2
TSTNO

012771
"'44t4
Illill

000020

173746

MOV
ROMCLK
121111

'20,'OMP04
; NEXT WORD 1S INSTRUCTION, I(OJIICLK PC .. ~31ol4
,POKE Ct.O~K'"DELAY B~T

1$1
U4414
121224
IIn777
8"1772
£100"02

ROMCLK
121224
000020

17373"

;NEXT WORO IS INSTRUCTION, KOMCLK PC·~31ol4
; PoRT4_180S* 11
; IS CLOCK BU SET?
J SR If' NO "-

flIT

UlIT4,iI?MP04

BEQ
RTI

11

BISB
8lCB
RT!

.BIT6, iDMCSRN
,SET MASTt:R CL£.AR
'BIT6!BLT7, (lOMCSRH
JCLt:A~ MASTER CLE.AR ANU RUN

BISB
MOV
ADD
BIT
BEQ
HALT
BISB
BICs
RTI

'BIT1,(lOMCSRH
i2"177

IiJ-J01011J

14~777

0"'0300

173712
173104

ild0002

;~UURIoi

1141
lH8
114':1

I1S0
1])1
1152
1153
115.'1
115~

115&
1151

IrI"S50t
"d55li!4
"."5512
0"5516
",,5522
"\15530
905532
1.i055H
&1'5542
"'0~551'

.ROMCLoKZ

152"177
~13671

f'lb2741>
~J2"i77

"tl011102
173&76
0000li!2
1(101:11""

1731>74

1734:»2

0~1401
~\}ii!fC0f6

1~2177

,,","1<103

142"177

0"0i007

173b44
1731>11>

III

1j .. ",;",,2

;SET ROMI
:LOAD INSTRUCTION IN SEL6
; ADJUST STACK
; HALT U" SWii6 -I
;BR""IF
Slii06 "'0
11
IHALT BEFORt. CLOCUNG INSTRUCTION
.BITllS1T0,(lOMCSRH ,CLOCK INSTRUCTlUN
I8lT2IBlTlIjjITIol,'DM~SRH" ,C~EAR I\OMO, ROM!, STEp

11 ~H

115'1
I If'"
1161
Ill'll
Ill)j
116~

1165
11 bb
111.1

llbtl
I t('~
11 7~
t 171
1172

",115552
!'0S552
t'iJ55&2

01 JbJ7
,,1>214!>
1 ~'J 177

,,"~"7\'

"n 171

IIh'~55!>

PAuE:

.DELAI:

\)it545~1

I1J.t54SI"
.,..,5452
",,5154
.. 05462
805 'b4

HOV
MOY

",,,551';
1111:156"4
8056 hI
""51>1;/
l05614

.,"1 Hill
,""ttl,,;.!
0""ttlill

':'J5blf:
'.·.o51>Ib
"'115022

.11 ~"J7
ibll4!>

142"177

Uil5 ill

"''''141''
01;1ol0io!2
011"1:1211

173b1o)
111111112'"
01:11416

IHb16
173&0b
1110"2

.DATACLI'.:
NOV
ADD
BIS!:!
1SI
C"'P

lues

lSI

DEC
SNE
RTI
.BloKIi

t( SP) +, TEMp

'i,-esP)
.BIT4"OMCSRH
(aOMCSR, liOHCSR
.tlIT4"DMCSRH
HMP

16

, PUT T lCI\ CUUN, IN TE'IP
,ADJUST S UCI(
,SET sn;p LO
;WASTE TIME
,CloUR sn;p LU
;DEC TlCK CUUNT
1BR If NOT iJONE:
;RETURN

• TI'II:.M:
Wl111b
I<\VlI"lvl2

MOV
ALJD

'illS!') +, TEMP
n,-(SP)

,MOV!;; C'.lUIliT TO n,Mp
; ADJuliT SfA~K

0"3'.1

DZDI'G
MACUI 3'Hl~4b)
11-JUL-77
DZDMG.Pll
22-API<-77 09:29
1173

~"5b26

1114

.,215626
0051>30
"'05632
1J"'5b40
Q"S64:l
l)iJ51> 42
..051>44
... 051>1&
';0SI>Si
.,051>51>

1175
1171>
1171
1178
117'1
lllH'
1181
j

iS1

1183
1184
1185
; 1 St.
1187

( 2)
(2)
(2)

~il5662

.,05664

IHI"'''02

"05b66
W05612
;6051>75

020iJ4t1
""5015
371

371

Iti:l575"';

377

lI857b(i

04H71

( 2)

~06005

377

(2)
(2)

"",6i:l31
1Hl6"'4J
Saba72
"06100
1606106
~ill>i 17
,,"'1>130
1H6142
""'614'1
"''''b217
001>224

(2)
(2)

(2)
( 2)

( 2)
(2)

(2)

~06263

( 2)
(2)
(2)

1:0&322

(2)

~0645i:l

(2)

306510
e"&526
",,6541
006606

(2)
(;' )
(2)

"'06314

377
371
~~15IU

,,42526
1l4"520
1:/15
1)42524
3.,0052
051777
120
1J20212

317
320212
021>777
0 4 4377
:... 1777
,,~H71

377
~44177

t 2)

l'!!b7t)4

(2)

~07\"116

i}53"177
~51771

(2)
(2)
(2)
(2)
( 2)
(2)

'",7a54

~5t771

~a7154

644777
047 j77

':;1)7205
007215

(2 )

1)k)7213
007171
007H0
"'''733.:1

(2)

tiI.,734!t:)

(2)

( 2)

en
( 2)

Od7454

1/J1t}74S6
0)"746,i

ROMCI.K
021364
BIT
BNE
DEC
BNE
RTI

t!~0002

377
116
371

377
:11414.140
:624.140
642371

00141&

00"077

0""

053520
047105
000122
020117
047111
042524
047514
035122
035103
051523
051122
052123

020122
020104

052105
IH5103
020040
020040
050il40
026455
053517
051123
041505
051hl2
1"20106
1.'4451"
044527
044527
1020iH
020117
051412
053505
042377
"S4105
046504
IH6513
041515

051440
600"'40
020040
020041!l
020103
026455
04644;1
040440

042~04

052523
052123
045503
000040
000040
051505
051111
047"'40

047524
050"'40
046504
044i03
041524
041~24

0ii4 i24
042::'04
051 in
020"'71
041515
04252'"
024503
024503
030461

,,60fjj05
036
lilllH6

11 9.,
1191

Ifi:l7462
!J;,71b4

1192

,);,7460
1",7470

1196
1191
1198
1199
1200
121<11
14/112
12",3
12"'.
12k'S
1UII>
12"7
12i:l8
1209
1210
1211
1212

007472
"16747~

.,"7176
"''''75~~

.07544

1215

~"7622

1:116

0071>24
kid71>12

liB

1221
1125
In&
Inl

:;.d7&40
1'.l~7b42

0871>51<1
-'07652
.,.,7654
"01656
.,.,7660'

t/RI
<371>/NU DEVICES PRESENT.I
<311>/IHsUFrleIENT DATAII
<371>/TEST PC-I
<371>/LOCK ON SI!;LECTEO TESTI
ICSRI i
!VEC:- I
IPASSES, I
IER~ORSi I
ITEst-NO; I

.Asen 1*1

.ASClZ
.ASCIZ

~:n>~S~T SwITCH RE~ TO OMC~I'S Dt;S~REO A~T~.VE.I

• AlSCI!

~2!2"1

.ASCII
.ASCII
.ASCI!
.ASCIZ
• ASCl!

<371>1
<212>1 pC
<377>1---;;'--

.Ascn
.ASClZ
.ASCIZ
.ASCI!
.ASCIZ
.ASCI!
.ASClZ

.Ascn
.ASCIZ
.ASClZ
.ASClZ
.ASClZ
.AselZ

.Ascn

.ASClZ

.BYTE
TEMP2
.BXTE
TEMP3
.BYTE
1'EMP4
.5~T£
TEMPS

003
002

0"7544
"00"00
,,"7b06

MDATA:

;jl2737
C"'ld71
1>15171
IUr/l003
i'J12737
(22177
"'01404
;1:1211"1
a'l1i:161

-------------------1
~A~

OF O'-C 11 STATUS I

CSR

STAT I

STAT31

STAT2

------1

<171>/HOW MANY OMCU·S TO St; TESTt:DlI

<371>IC$R

AOORE~S?I

<371>IVtCTOR AODR~SS?I
/SR PRIOPITY LEVEL? (4,5,6,7)?!
<371>/IF OMe HAS CRAM (M8204) Type °Y",

~~n~~::~i~~L~:~. ~Ni~~c;~ ~~:~ ;;~;

--A",

It

CROM (M820~) TYPE aN-

~F- M826i TYP~ ~

1", .l~ M

<371>/SWITCH PACti (BM873 BOOT ADO)?I
<371>/IS THE LOOP BACK COftNlCTOR ONlI
<317>/Nb Ot:VICES ARE SELECTED I
<371><12>/SWR= I '
- INEW? I
<177><377:./0MCl1 FOUND AT N(,IN-STANDARD AD~R~SS
P~I
<371>/ElPECTED FOUNDI
I (OMC) I
.I CKMC) I
<37?>/DIIC1l-ARCREMOTE,LOW SPEED) OR DMCll-A~~lI0~AlI,HI~H SPEt;O) T

6,3
6,3
6,3

tr,2

."'.+40

"

.=.+49

",,:.17674
"077",4

001liti2

171362
177717
000007

003"134
171H6

000207

17tHI>

"'1~.!41>

310H6
-61"446
,,12731
IH27164
1114402
11!411 t
&10,,52
11114402

til6n~2

1141
124l
IHl
LlH

003

003

INSuFa

~"5"02

1IH/J770"

124'"

?/

12:11
PAGE 25
-GENERAL UTILITlt.S (TYPEOUT, ER~, SCOPE, ETC)

1.'1{J!6000

9i1l767it

1229
12_hl
!:l31
1232
1:l33
lil4
1135
1236
J 231

"01>
IJllll50
"06
\itl1252
il0b
.,01254
fIl01>
".:11256

r/I~7666

1l2t!

12HI
t2H

I

<15><12>
<371>/PWR FAILED. Rf::START AT TEST I
<371>/ENO PASS OZDMG I

J ---.------;;.-~---------;.-~--------- .;.----

~1/l7616

un

18

,ROUTINE USED TO CHANGE SOFTwARt; SIIll'CH
'REGISTER USINGTRE CONSOLE TERMINAL

17lJ

1221

an

2$
TEMP

;BUFFERS FOR ~NPUT-OUTPUT

1214

LI1"!
1219
122"

HUH:
CSR:
VECi
PRIO:
CRAM:
MODUI
LINE:
BM:
CONNI
NOACTI
SWHESi
SWMESi:
CONERR:
CNERR:
OMCM,
KHCH:
SPEEDI

.ASCIZ
.ASCI!
.ASCI!
.ASCI!
.ASCI!
.ASCIZ
.ASCI!
.ASCI!
.ASCI!
.ASCI!
.AStlZ
.ASClZ
.ASCI!
• ASCI!

;NEXT WORO IS INSTRUCTION, 1<0NCil" PC-~3"4
; PORU_LBOS. PEGll
; IS PGH--Ci"OCi\.
/it:T?
;SR IF ~ES ;DEC COUNT
rBR- IF NOT IJONE
: RETURN
-

'2,O'IDIOt'0"

.EVEN

,,"7606
307&14

lU7

MQM:
MCRLf:
MPFAIL:
MEPASS:
MRI
HERR2:
KERR3i
HTSTPt:
"'LOCK:
MCSRX:
MVECXi
HPASSXI
KERIUI
MTSTNi
MASTE/(.:
KNEW:
MERRPCI
XHEADi

;NEIT .ORI! IS INSTRUCTION, 1<0MCilK PC-S304
~POR:r4_1B(;S* PEGll ;IS PG~ ClIOCK BIT CLEAR?
;SRIFYE~--

12, ~DKPU4
U

IS'l'ATQ: 5
.BYTE
TEJoIPI

~03

DZOMG
MACH 1 3~lI046)
I1-JUL-77
DZD!'G.PI1
22-I\l-'R-71 09:29

tlH
11 94
1190;

0040

.EYE!!

11 ~i:I
11119

ROMCLK
021)64
BIT
BEQ

I 73!':15l

,,"iHO!

( 2)

(2)

""0U"2

1114414
021 J64

On.n7

(2 )

( 2)

PA4/l703

""77)4
.,.,773&
.,.,7742
3i:l77H

1'1"1754
f,lU03
061762

~0774&

.'077::'4

,,4271113
0db3,,2
0"63012

"071)ot,

';'J6h!2

"·'tI176'

0k1~01,,4

'SWREG,SWR
CKSWR5 .
i'tKCSR

,SWMESl
PC,lNCHAR
li5~Rl .

5$
112,R3

48
f25,R3
CIISWRl

Il,R3
CKSWk4
1<4

117777r/1,R3
R2
H2
1<2
R3,l'2

J IS THE SOFT SWR HEING USt.Dl
,ilR IF NO-'
nS DONt.: SU?
,GO ON IF NliT SET
,IF DONi!: SEt, SET FLAG
iwAS CTRL G TYPI!;Dl -':7 SIT A.sCll)
JSR It YES
,WAS CTRL-G TYP~Ol (B BIT A~CII)
;8R IF NO
;STORE R2
;STORE R3
;STORE 1<.4
,SET SOtT TlPE OUT FLAG
;CLt:AR NEW aliR CON'1'~IiTS
; SET FLAG 1'0 ALL ONt:S
irI;=~ =Sii~: 0=
; TYPE OUT - PREsENT CONTENTS
rOF SOFT SW.lTCH Rt:G1STER
;1'~PE "NEiI?-·
;GET RESPONSE
;WAS IT A- CI16
12')1
1 :/52
1253
12!>4
1255
1256
1257
1258
1:l59
12blll
1261
12b2
12td
Ub4
1265
12b6
1267
120ij
126'1
1210

0167776
IH0~02

til 01"06
;1101610

I i :11
PAGE 26
G";NERAL UTILITltS (U'PEOUT, EHROR, SCOPt., EIC)

1115117
1",.,315
"liB77

BR
MOV
TST
BNE
MOV
bS z
CLR
MOV
MOV
MOV
CKSWR5; RTS

000"'1016

171200
01001b

'.START,6~SP)

R4

S"FLG~

SOFTSW: 1
.BYTE
SWREG

092

OlOMG
"ACYll 30(1046)
ll-JUL-77
DZDMG.PII
U-APP,-71 09:29

.n~l"b"

ifill57J7

IHl1ii.,t

fl 1 "'''72
vli'h!74

1.,4402
;Jllb1l00
"1'11176

i:U07b
til "'1 !!",
111",1","

Itl!bl37
IIhl5531

~11"110

~6:l7J1

InlH16

"b2137
";12131

l'I"'IH
Iitl'!42
ul1t1150
B10iS6

IH.l737
.H2131
l)H737
1J"1147
16131911
,,131.,2

0U160
~1"'164

'177000
' ' 1314

'H2~17

00136b

812d37
012031

"13737

"1025,,,
1110256

311f5i31
:.t13H1
l)",S.ll7
1113737
Jb"037
1>13731

1.124
\J25

0013211
,,"'1322
0014"'4

,a"J06

,,10244

1323

"01nl!
081322
"1<11306

111..,212
»i1l216
"U212
010221>
.1"'232

010Bb

lJ2l

""1500
001702
001316

eU~37

IH2217

1)116262
lIIt027.,
..,10274
01",302

" 1113"'&
\;ttHI4

WUAl..olr ~ CO"!'. Sill.
,CLi:;AR PROC. CARRY tilT.
RUN
,UPDATE POINTER
RUN
,CATCH CAHR~ FROM RON
14, MILK
; UPOATE POINTER
110, CREAM
,UPDATE AUOHESS POINTt.R.
,OM.MAP+lI00,CREAM
28
,KEEP GOING; NOT ALL TESlt:D FUR.
'OM.NAP,CR!:"M
,Rt:SET AOORt.SS POINTER.
'CNT.MAP,MILK
;RESET PASS-COUNT POINTER
RUN,DMACTY
:15 THIS ONt. ACtIVE?
1$
; 8R IF NO'
CREAM,R",
,GET AODRt:SS POINTEI'
MILK, R2
; GET PASS- COUNT' POINTI:;R
(R0H,DMCSR
;[;OAD SYSTEM CIRL. REG
(Rill) ,OMRYEC
I LOAD VECTOH
H 71"'1110, DMRVEC ICL";AR UNWANTED BlTS
(Re'.,STATl
;1.0.\0 STUI'
(RIIIH,STAT2
,LOAD STAI2
(R0H,STATl
,1.0A!) STAT)
(R2H,PASCNT
,LOAD PASS (;OUfoIT
(R2H,ERRCNT
,LOAD ERROR-COUNT
f2,Re
,SAVE COR~ THIS WAYl
DMCSR, DMCSRH
DMCSRH
[lMCSRH, UMCTL
DMelL'
DMCIL,OMP04
RII, UMP04
DMP04,DMPOb
R0, UMP06
DMRVEC,UMRLV!..
lut,OMRLV!..
DMRLV("OMTVEC

~=;~~~~~~Tt.VL

IPIX LVL
;

TJ(

Vt;C

;

rx

LVL

RIi,LJMTLVL

lj2H7

f:;W01,S1'!tTSW

~,114SV1

1$

TSi

,ARE ANY OM(;l1"S TO 8E TE~I~D?

,NOACT

;is 11:;5T ,;0. SI:.LEI.:Tt.LJ
;tlH H NO

PAuE:

.""43

ozo .. G
MACYll 31.U1l4&J
11-JUL-77
OZOMG.PI I
U-A.-R-71 09:2~

un
1128
In'J
133",
13.31
%. 332
1333
13H
1335
1336
1331

rl"'3b'"
ct"'362
911<1366
010)7\}

"..,.372
1i>1IiHH
ohlHb

"1"'
4"''
iHI.H02

IJIHd45
1"'4402
104403
0"013i'l
1"'4405

12:11
PAGE. 2B
<>t::NERAL UTlLlTH.S (TYPEOUT, ERROR, SCOp!:;, ETC)
tiNE
TYPE
INSTR
MTSTN
PARAM

005612

31l1il1llill

i

"hll.616'"
1:).,1226

1000
TSTNO
Ii!!

Lua

"'00
"01
;)1210"

.BYTE

IH04J3
1110431
1'104H)

022110

58:

1339

~1"'412

lH~

~1l;l414

ii12137
1/,,10:;2<.1

1141

81041&

1342

~h'424

1343

f'liH2&
61iH34
IH0436
.H0442
610446
"1"'454
IHIH56
910460
011<1464
810466
&10412

1344
1345
134b
1347
1.348
1349
135<:)

1351
1352

1353

823760
IrJIHI114
02276!!1
0"'1010
ii10il31
1<14402
",42737

.B~TE

001226

000"'02

001226

0001004

001214
005755
0fi!0002

001236

0"'0412
.101572:"
"~0e27

6$1
026472

01H35i
1"4402
3""'730

005666

022322
001404
170502

7$

PA<>E:

JtlR If' YEl)

, MCilLf'

1
MOV
CMP
HOV
SHE
CHP
SNE
CMP
8NE
MOV
TYPE
BIC
BR
TST
CMP
BNE
TYPE
8R

nSTl,RiI
(PCl+,(RIn
(PCl+,(f(PC)+
6$
TSTNO,2(R0)

65

.

nSTNO,4(R")
6$
R0,RETURN
,MR
.SW01, STRT8W

;<:MP fIRST WORD TU 12737
1B~ IF NO! :lAME
:I>OI!:S TSTNO MATCH?
1BR-IF NO'J IS LAST WOilD OJ( 1
,SR If' NO
.
: IT I S A l.oE~AL TEST SO DO IT

8S
(R0)+
RIJ,iTLAST+U
58
.-,HQM

U

;POP il0
;AT END It:T?
:BR If' NOf IES ILl.oEIiAJ. TEST NO.
:tRt AGAIN .-

1354

1355

161 !!I 474

012737

135b

"U0502

1351
1356

810506

013701
01hH71

001214

7$1

8$:

US9
1360
13bl
1303
1364
13&6
1367
1368
13&9

1t10512
l'10512

1371

tlHl520

1372

~ld522

1373
1314

IJl"5:t6

000005


,,10534
910540

01U02
;:J051ri17

1371

.;Hl5H

1378
1319
Bill!)

iH0552

032737
""Ui02
31")137

~'hjS54

loll !!I560
IJlo56l>
lH0S7"

012131

AUTO.SIZEI
- RESET
CSRi'iAPi NOV
IS: - CLR
CMP
8NE
CLR
MOV
CLR

0"'1700
"01310
001500
001306
000001
011252
0"0001

001 :l36

BIT

001256

BNE
JMP
MOV
INSTR
NUM

Ilf4403
0"6450

OZOMG
!o'ACYl1 30( 1046)
ll-JUL-71
OZOMG.Pll
2Z-APR-77 09:29
13B3
1384
1385
lJ'3b
1.387
lHt!
1389
1.391:1
tJ91
1392
1393
1394
1395
13Jo
1397
1.398
1.399
141l1!
Hill
140:2
1403
1404

':11:1512
f'U574
vlii576

.. HH.0"
'd10602
elil603
~11:I"04

151"612
"'10616
IH0610
111111622
t-Jr.lb26
f10630
~t0b3l

0)1,,634
1)1063b
;10'64'-'
1i110b42
"..,643
Il10bH
;.:ljjt.5k1
~1i1652

""0

ki01
1613137
"'44;)2
104410
012002
005237
1il440j
IH'6St0
1114405
lb0000
lb4;j00
1"11254

~l!e00'"

iliJ0Hb
""1254
11100
001
0,1.3112
1044"2
!)1:6547
:rl.,4131
Cn70J
101ci14
022103
1<13411
IH2704
,,1"6393
Ihl5304
""1375
1:142103

1424
1415
142&
1421
1428
1429
143"
143\

1431
1433
1434
143~

1436

1437
1439

"107~2

t1lllHHi
rrH071tJ
!il0714
~t0716

I"H!722
.,IIHZ4
IihH26
fla73k!
::ld731
110736
1,u074,'
'-10742
1!'1.:I7H
~10140

'.;1.,75",
11111752
.;10756
'.,.",762
1110164
171"17<:)
1110112
,'''1774
i.l011!.

1601256

001254

104403

~'hl660

Hid

12S~

a106~26

(.'10b56

1HI!I664
1>10665
,.10666
.. 1011672
'J10bH
''1!!1616

01:11.i10

0iU

~1"t>54

~10662

0"'1252
"05672

000
~13122

14,,6
1407
1408

1411
141l
1413
1414
1410;
141b
1411
1418
1419
14i.l
1421
1422
1423

fPREPARE RETURN ADDRESS
: Ri" BASE OMC 11 ADDRESS
:GO START-T~STING.

IIDM.MA~'R2

(R2a'OM~END,R2

u

.

OMNUM
,DM.MA',R2
OMACTf
ISwi0, STRTU
.+6

78

It, TEMP'

,INSURE A BUS IN IT.
;L.OAO MAP pOINTER.
;ZERo ENTIRt; MAP
,ALL DONE? :BR' I f NO
:SET OCtAL. NUM8ER or DMCll'S TO 0
,R2 POINTS 'to DMC Mip;CUAR ACTIVE
; QUESTIONS? .
JBR- If' YES
~lf /IOQ ~!UP QUESTION!
; START WI'tH 1

12:11
PAGE 29
GENERAL UTILITIES (TYPEOUT, ERROR, SCOPE, ETC)

1"4405
01J0d01
ail00l"
"tl1252

14~5

14otl~

~RE'i'URIi-

,

1365

082

'TST1,R~TUR)I

OMCSR,Rl

JROUTINE -USED TO -AUf 0 SlZE~ THE ,!M~l1
ICSR AND VECTOR.
JNOTE:
THE-caR MAY BE ANY WHERE IN THE FLOAT~N~
,
ADDRESS RAN<:E (i&00001164000)
,
AND - TRE VEC'iOR MAY BE ANY WItERE IN THE
J
FLOATING VECTOR RANGE 000:i70)
-.' -

1102

1 j81

MOY
MOV
JMP

!"HIlS

PARAM
1
16.
TEMP3
.BYTE
.BYTE
MOV
TYPE
CONYRT
IIHICH
INC
INSTR
CSR
PARAM
160"'00
164""'0
TEMP4
.BYTE
.BITE
MOV
lfiSTR
VEC
PARAH
0

PA<>E:

0

1
TEMYl:[l"NU~

:

DM~!J"!

~

~O~

~A~X

• MCR!. ...
; TYPE WHICH OMC IS tiEING OONi:.
;TEMP5 1S- w~ICH OMC
TEMPS

0
1
TEMP",,(R2)+

: STORE <:SiI ~N MAP

77&

0"'1254
10':
0122&b
0"0~24

0001-.l27
Ihl"011

1711771

1:1

1f~0312

1f00403
1144402
i)d5666
:;"'0152
11J4402
""bb0b
IhJ4737

1112266

~Z27il3

0~iH31

01:1'\27
,1:/21<>3

1II'l:Illl>

TEMP",
.BYTE
.BYTE
MOV
TYPE
PRIo
JSR
CMP
8HI
CliP
BLO
MOV
IoSJ..
DEC
SNE

50S:

BS:

Ie

lOIS
8R
TYPE
MQM
8R
TYPE
eRA"!
JSR
CMP
bEQ
CMP

~·.l1403

8~;Q

1114402
Itltl5b60
i)lfbH>3

TYPE
I4QM
~R

0
1
TEMP"" (R2)

PC,lNTn
'2",;-R3
5"S
.27,R3
sa.
I1trR4
R3
R4
.-4
117t1777,R3

8.

R3,

~R2)

US

PC,lNTTX
'131,R3
9$
tt 16,R3
4"$

9$

; STORE

VE~TUR

IN MAp

;ASK WHAT BN LEVEL
:GEt RESPUNSE.
;BR J.f' LESS THAN 4
JBR If' GRt.AtER THAN 7
NOM~EN OF SHIfTS
JR4

=

~8H!FT R~ L~~',!

iDEe SHIFT !;OUNT
;tlR- If' NO'r LiONE
;BIC UNIlAIUt:D BITS
,put tlR L~V~L 1N ST~TUS MAP
;CONTJ.NUE
; RESPONSE l~ OUT OF
;TRX AGAIN
; Oot:s OIlC HA YE CRAM?
;GE'r REPI..t
J Xt:5
;110
;Hv"f A

r UR II

;TYPE " ?"
;A511. AGAIN

LIMIT~

0045

DZD"G
MAC~ll 3,H1I:4b)
ll-JUL-77
DZDMG.Pll
22-APH-17 09:29

143':1
1441<1
1441
1442
1443
1444
144:i
IHII
144'1
144f!
144'1
14S1<1
1451
1452
145.1

1454
H55
14511

1451
145A
1459
146.,
1461

1461
1463
1464
1465
14116
1461
14bH
146'1
1411<1
1471
1472
1473
1414
1415
1416
1411
1418
1479
148111

1:11"'111'"
IHlij02
k'it004

Ill11
PAGE 30
(;FNERAL UTILI1'It.S (TYPEOUT, ERRUR, SCOPt:, ,ETC)

11';4402

"liB..,

40$1

tH10h'

0114737
02210j

012266
01'10122

011"14
Ut01"

0111414
022/,U

1111110114

.Ut021

TYPJ.;
SPEED
JSR
CMP
8EQ
CMP

1,1111403

B~Q

~11024

lit4402

U1l026
I: 11 I!J 30
iC11031
otU."
1iJ11042

005b66

TYPE
MQM
BR
SIS
BR
SIS
TYPE
MOoU
JSR
CMP
SEQ

011046
lHl05"
",tUS2
811",56
.-11062
011064
.11070
IH1072
"i 1.,'6
tti1l0~

00":763
6:;2162
000402
"52112
llt4402
086704

0.,4737
en763
B*,1411
022"")
0i!l412
0
MOV
;LUIIO INStRUCTION (CLR OTH)
f12211l,6(RtJ
.lIl'1'e, (Rt>
815
;CLOCK IHST/WCTION
/010 V
,I..OAU INSIROCTION
4021204,6(1<1l
,bU8, (Rl)
SIS
,CLOCK INSTHUCTlON
C/oiPS
f377,4(fll)
; IS IT AL!. UNES1
flip If" NO
'
SNE.
.+ lit
SIS
,BlTI2, lR2)
:IF Y~S, 1'<0 LItol:; UNIT, 5E'1 .sTATUS BIT
20$
,
liP
II:I1Tl,4(R1)
:IS sdTCH A ON"-?
BIT
tlEQ
.+l~
:SI< H MIfJl'li
BIS
.BUI31SlTI4,(R:n JM82":.I A::i::iUMI:. CUNr>lECTOP
IlP
l0,
;CONI'<",CTO~ UN)
IBIT3,HRt)
;ls MPD~ :!E't
BIT
BNE
A!0$'
/IlP If" MaJr!l NI) CUNJ'1I

"11532
oi154a
9115U.
IH1552
IH156"
t'11564
0'11572
.,11S74
411600
,,1161112
»11610
1:111614
...'IH>2t1
I:Ub2{;
:,H1632
.:11636
IHl04~
1~11 642
10111646
011054
'!It 1651>

'~1166.J

011664
C1167u
611674
b1lb7 ..
iU1102
e117,,6

»11712
tUI714
IJtI720
IHI724
IH1726
t.t11732
bU736
G1114a
~1l142

01115"
1111156
\i11762
C11766
iU177H
11111772
i'1I774
;:;1200J

!iU161

IU2161
052711
"12761
052111
"32761
I61H402
~52712

1'115122
IH2161
IU2111
1561,22
2/12761
1:112711
15bl2:.!
c;1:I5722
,,05011
IU,5231
022137
0111412
,,"5011
IilfS061
Gb2701
/f22"101
"01402
0011131
t;.,5037
3*,5137
1J01423
013"101
0ui31

"'"01"'"
122113
001114"0
021264

SIS
11100006

~0"400

0"0010

0,,,O004

0401600

221e:
021324
01'1400
000004
021344

11100",,,,6
0000"0

01;;14;,)0

0"0004
001310
O00020

0013te

3$1
"00"06
0001310
164000

14$1

,,11264
"01306
0013te

13$z

001310
001314

4$1

1!l'0024i

l:06137
0005231
985301
111'1311
612131
e13137
"16"137

O01306
03131116

1~4402

006306
0013"6
012010
005760

016500"
IUf0030
1600776
0)12116

011664

00111004
001312
511

611

Iht0~02

l!dl

1633
16H
163';
1636
1637
16jll
16H
1640
1641
Ib42
1613

"'21344; 6(Rt)
fBrtUBIT9, ~RiJ
4(Rlli02l+
(R2J+
"
(Rll
DMtlOM
'20,OMNUII
13,
(Rt)
6eRi)
,i",Rl
116400111,Rl
131
2$
DMACTY
DMNUM"
58
OMJlU .... R1
Rl,SAYNOM

ROL
INC
OEC
SHE
HOV
MOV
.IMP
TYPE
CLR
HALT
BR
MOy
RTI

OMACTY
DMAcn
Rl
4$
.6,814
DMACTV,IiAVACT
YECMAP
,MERR2
Re
.-2
1148,

~ap)

000~01

001236

YECMAPZ BU
SNE

~12137

000340
012202
3fU501J
000300

!!l!!!H'22

!w'!

!]t6.eIl22

0"IH!20

MOV
MOV
MOY

'4$,'130
'DM.MAP,R2

012131
~n"/02

91271110

WHI~H~

002

iH:l701
,H0i20
012721
;)22<121

000302

,jlb127
Jtl1"l7i
!J! 3137

001111"0

0!120bf>

1)12",74

0~6iH1

0"1246

~12100

11(1].163

.12ie2
\)12106
1112114
1/'12116
"12124
0121311
(jt2136
;112112
i!t12144
.:12146
ifl215l
",12154
"12162
",121b4
.12172

~127J4

ro12044

~12174

U1220<"
C122~2

fJI2206
1112.214
1:12220.1
012222

i:U6437

1$1

9!iI!3ril6

28 :

0001012

012252

11717&

316020"
01Hkl3;3
121111
001400

0001'104

iin 1:.!91

.U2"161

tJ12711
IH27bl
i1127U
Ilf52"0
I6tllJ16
t b2"104

781
01110002
012252

177776

",05309

6001,.;2

ii~0767

~~2162

""Skill
d6211112
iJtllll135
&51062
,,42"/62
r.t640S

68:
3$ r

0"0010
000i'02
0"""07
012254

11100"02

0~6305

'0bJ05

~'12224

~1"6j05

11112226
1:11223
,BR" TO DEl.AI
""
:NO INTERUP't ASSUME. 300 AT l.EVEl.o 5 ANO fIX OM~l1
,CLEAR ROMI
,POP SOFTWARE POINTER
,KEt:P GOING"
, GE'!' VECTOR ADDRESS
,CLJ:;AR JUNK
,\iE't SR" Lt.VJ:;L Ot' UMCll
, SHIFT LEVEL 4 PLACt.S
,TO" THE""Lt!Ft FOR THt:
;STATUS TAB~E
.

(SP)+, (SP)+
B$,(SPJ

:CLt.AR Ut41!1ANTEIJ BITS
,PUT bR LJ:;Vt.L IN STATUS
:POP lOT ,",UftK Ot"f STACK
,SET FOR RETURN
-

,ALL OONE iUTH "AUTO SIZING"

RS,~(~2}

RTS

PC

fIll2:l52
.,12:l5i
B12251>
:,122b"
11112262
IH22b4

1."""1110'"
"'''1011010

BRLVLI

o

,LEVLL
,LEVEL
Jl.oEYEL
,LEVEL
;LE'VEL
,LEVEL

3
200
240
300

"110:.!0d

;;","l4.,
~1:I0J0'"

~"0H"

340

1 ",5177
1.'JrH7';

166712
166106
1607164

~10j77

16610!'

:'421 J 3

"0"'24~j

IHTTX I

TSTtI
BPL
MOV
TSTS
BPL
MOV
BIC

TABJ.~

~,TS

.,
0
4
5
6
7

IiITKCSR
.-4
I!ITK08R,R3
ilTPCSR
.-4
R3,tlTPDBR
'81T7IBITS,R3
PC

""49

;STORt: TEMPORAL~Y

gT!

(l177'}J

DEVI~ES.

;5t:'!" !O'!' TRAP PRIO TO 7
,SET lOT TRAP VECTOR
:SET SOFTWAj{E POINTt:R
,FLOATING V~CTORS S'i'ART H~R~.

D~:'CTV i

5$1

"''';>J;P

O~'

,~R IF MORE TO GENERATE
: RESTORE TRAP VECTOR
, SAVE ACT1vt REGISTER
,GO FIND THt: VECTOR-NOW.
iNOTln" OPR- THAi' NO DMCll'S FOUNO,
:MAKE OAT A l.oIGHTS ZERO
; STOP THE" SHOW
:OISABLE CONT. SW.
; EN'l'EREl> SY "NON-EXISTANT TIME-OUT.
:RE~URNTU MAINSTREAM

ROR
BCC
MOY
MOV
MOV

6~~~g2

1.,5777
1",,,375

DEV~CES

,GENERATE ACTIVE REGISTER
rSET TH~ BIT
-

MOV

.,.016207

1i12261J
'.lU72
'.IJ2H
..."1230 •
'1123"4
"lH"t.
I.. t Hl:l
;'t2J16

,SAYE HUMl!EI< OF

;PC OF lOT !NSTR.
; START nl.L1NG VECTOR AREA
; wI1'H .+2"j lOT
:AOD 2 TO Rii +Rl

~ln5'"

16511
1657
165'3
Ib5'1
16.,,,
1001
lo6l

J WERE ANy DMC 11 • S FOUNO AT ALL?
J ERRO"R AUTO SIZER FOUNO NO ~M~I!'S 1M THIS SlS.

.302,Rl
1<1, lR6)+
14, lRlh
(R0j+, (R1J+
Rl,il380

!&1?H6

It.'5'5

,BR IF DONE
:uUMP If ~OT

.SW00,STRt.W
58

!f>H

104';

INSTR.

BMflH ADD IN TABLE
,POP on;R ·STAT3"
;CL~AR ROM 1
;OPDATE D~VICE COUNTER
JARE MAX. NU. ot PEY f'OUNU?
~iES OON·T t;OOK FOR ANX MURt..
:CLEAR BIT iii
"" ;CLt:AR SEl.o 6
J UPVATE CSR- POINT~R ADORESS

2,2

1645
1640
1641
Ib49
165.1
loSI
16SJ
1653
1654

~Ci.oOCK
~STORE

MOV
MOV
MOV
CMP
CMP
BLOS

HOV

000"'01>

1:)01404

010437

iLOAI) PORT4
; LOAD INSTRUCT ION
,CLOCK INSTRUCTlON(SET J?TJ:!)
, LOIO INSTRUCTION
;CLOCK INI>THUCTION(READ MOOt.M Rt:GJ
; IS "MROY SE'r NOW?
"" .
~IiIR I f NO"CUNNECTOR
,SET STATUS· SIT FOR CONNE(;TOR
jPOP POLNTEK
"
;PUT 1NSTI;(~2l+

1)12"10
1112016
,,1202,'
&12026
e12'H4
ill2040

!f>! J

Ib2':1

'BIT6,4(Rl)
U2:.!113;6(RIl
lIUT8i(Rl)
U21264,6(RIl
18IT8. (RI)
'SITl, 4 ~Rll
20.
'SIT14, ~R2)
(R2Jt
t021324,6(IH)
.BI1'91SLT8, ~RIl

''''0001
002
011125b

tI12165..1
012052
IPI:l05.,
1::12"00
{Ii 2£1114

lol~

MOV
SIS
SIT
SEQ
SIS
TS'l'
MOV
MOV
SISti
MOV
:oIOV
BISS
'iST
eLR
INC
CMP
BEQ
CLR
CLR
AOD
eMp
BEQ
JMP
CLR
TST
BEQ
MOY
MOV

ERROR, SCOPt., ETC)

1H20102
U20"'4
iU2006

Ib,,7
Ibl!l8
16.:1?
161"
11111
1611

Ib216

~AGEr
(TIP~OUT,

MOV
MOV

0"'''''''",4
0001t!0ti

DZOfo!G
MACYll 31H 111146)
l1-.:IUL-77
DZD"lG.P11
2l-APR-77 1119129

1621
t622
16H
1621
lb25
1626
1627

12: ~ 1 PAGf. 32
GENERAL UTILITH:S

; WA1 T FOR DUIiIE
: PUT CHAR IN 113
;WA.1T UN1~LPRINT~R IS pt:ADr
,t;CHO CHAk
;MASK OFF LOwER CASt.
;RI!:TUkN

DZOMG
MACHI 3iH104b)
Il-JUL-71
DZD"'G.Pl1
22-APR-77 09:29

16b3
1661
1665
lb6b
Ib67

12:11
PAGt: 34
Gt.NERAL UTlLlIl~S (nPEOUT, ERROR, SCOPl!:, £.Tel

7J
11
114
!~A
258

J1"
353

361

t)1I0i1l"0

II1H22

111 100

ROHMAP Z 0

=PO~hTER TO HI OR

01200
10 1 300

LOHAP ~

1 LOW SP~E~ ~ REMOTt;) MICRO-CUOt:

MACYlI 30(1041»
11-.1UL.77
TABLE OF CONTENTS

12118

MACRO DEfINITIONS
Rt-VISION ''0
H.eRllARY 25, 1975
RI:.VISION dl
MARCH 18,1975
Nl:.w CSR HOARD CHANGES
HAHV"t.y M. SCIILESINGER
COPYRIGHT 1915 DIGITAL EQUIPMENT CORPORATION
"'ICI'O lNSTRUCTION Dt;f!NlTIONS
BRANCH INSTRUCT10NS
INDEXED BRANCH :1NSTRUCTIONS
~CVE :M::':"ri.~C::Ot~~
INPUI/OUTPUT ASSIGNMENTS
PROTOCOL Dt:PENDANT MACROS
DIIilC 11 ODCMp MICRO COvE ASsEMBLED FOR Ust.
VERSION ""A FEBRUARY 26,1915

WlIH THE 1'18201 LINE UNIT

Jb2

363
364
365
Jbo
Jb 7
308
jf>
18

PAGi::1

1975

rH~ LATEST MODIFICATION:; WlRI:. ADDEO ON:
OCTOBER 13, 1971>
THIS Yt;RSION WAS USt;!) TO BLAST THI:: FlRST
Rt.LHSE ON OCTOBf,1I 13, i97b
MIC~OPROCESSOp MAlN MEMORY ASSIGNMENTS
SCRJlTCM PAD ASSIGNMt;NTS
INl1--1NITlALIZAtJOfj ROUTINE
lULt.--PROGRAM J.OLE LOOP
BASSRV.--. BASE· SEFVICE IWUTINI:.
NJOLE2---NO CSR ACl1VlTl STATE
1NWA1T---IoIAIT FOR RQI TO CLEAR
OUfJNT---5E.T UP OU11'UT INTERRUPT [ROlO)
ourWU--ijAlT FOP RIHO TO GO AWAY
CTLSRV--CNTL I SERViCf.
TtlASI
1649
1685
1692

MACYl! 30(104tl)
l1-.JUL-17
tAIlLE OF CONTENTS

12:18

10
11
12

13
14
15
ttl
t1
111
19

PAGE:

0053

°

MACYll 30(10t~)

11-JUL-11

12118

PAGE 1

5

8
'J

011152

RCVII.OI--ROUTI~E TO IIAN01.t. FIRST BYTE ()OIJ RECEIVE
RC:VIIO--PROCESS 000 CIIARACTt.R
RC:HE--HANDLE EVEN BYTES
Rev I--STORE UNtiUMBERlD MESSAGE TYPE
RCVJ--ROUTINE TO HAND1.E SUBTYPE FIELD, SELECT ANU FINAJ..
RtVR-·UNHUMBERED MESSAGt. R"SPOHSE fiELD
RCVQ--\JNNUMBERED I'1ESSAGt;--NUM8ER FIELU
RCVL.·PROCESS CRC3
R(:VR_-PROCESS CRC4--END Or DiI'l'A. MESSilbE
E~2--PROCt:SS RLO MESSAGI::
TMTOA--TRANSHITTER UISPATCH ROUTINE
TMTA--FlRST CHARACTI::R Ot HEADER
TI"TIl--OUTPUT FIRST CHAR OF COUNT
TI'ITC--OUTPUT SEC ON!) CHAK OF COUNT
TI"TD--RESPONSE F'IELU-NUtI'IIlEREO MESSAGE
TI'ITt.--NUHBER FlELD--NUMtsEREO MESSAGE
TMTto--NUMBERED ioISG IIDDRI::SS FIELD
Tn-NUMBERED MSG HEADER EOM
rM'£H--ROUTINt: TO OUTPUT DATA CHARACTEKS
TI"Tl--SEND UNNUMBERED TIPE FIELD
TMTJ--SEND SUB-TYPE FIELD
TMTII.--OUTPUT RESPONSE FJ.J:;L[) (UNNUMB MSG)
TMlJ..--UNNUMB MSG NUMBERo'FlELD
TI'ITM--UNl7
6d

""flit>.,
.,04"00
010000
01416"0
0111t100
Jet400
311,.,.00
""2""'!)
1::.I'240e
0U000
".3400

DMC-l1 JIIIICHOPROCESSOR INSTRUCTIONS
DMCNt::",,"A~
21-APII-71 10108

MACYlt 30(104/»
ll-JUL-71
12:18 PA(.;E I-I
COPYRIGHT 1975 1.!1GITAL EQUIPMENT CORPORATION
NEw_0
; MICROPIIOCESSOR
MOVE=0
JUMPa1000"'"
18US=20000
IMM_0
"'EMXa40e"",
8RX=600e",
SR-601!100
OP-601!100
LDMARd0000
INCMAR::r141!11!11!1
wRtESR-4"1!I
WROUTXc100'"
SHFTBR-1400
WROUh2000
WRMElfa2400
SPX=3000
SPBRb34"'0
IFUNCTIONS
SELAc200
.
SELB_220
AORNS_240
AANOS_260
AORBc300
AXORSa320
SUSc340
SU8TC=360
AOO_",
AOOC=20
SUSt_40
INCA=6'"
AC-l00
AAII120
AACa140
OECAa t60
; END f"UNCTIONS
PAGE1.4"'e0
PAGE2 8 le"00
PAGE] Ii 140"0
CCONDs1000
zeON081400
ALCOND=400
BR0CON-2""e
BR1CON824"'0
tlR4CON8]000
tlR7CON c l4011

,SOURCE BR
fMA-LOAD MAR LO
IMA-;rNCREMENT MAR
,DEST-WRITE SR
; OES1'-EXTENDEO IBUS
,OEST-SHIFT BR !;Et"T
JDEST-WR1~E OUTPUT
,DEST-WAITE MEMORY
,OEST-WRITE SP
; DEST-WRITE SP AND 8R
,FUNcr IUN-SELECT A
IrUNCTION"SELECT 8
;FUNCTIUN-A"OR NPT S
; FUNCTION A AND B
;FUNCTION-A OR i:I
,tUNCTION A XOR B
,SUBTRACT
.
;FUNCtION- TWOS COMPLEMENT SUBTRACT
;AOU A+8
,A+S+CARRY

,A-s-e -

; INCREMENT JI

,A

{>LOS"CAR~Y

,A PLUs' A
; A pLUS A PLUS
;DE~R£MENT'~

;CONDITION
,CONDITION
,11owUS-'
;CONOITION
,CONDITION
,CONDUIoN
,~OND~'1' ~O.

MAcYU 30!1"'4t1)
ll-JUL-17
12118
MICRO INSTRUCTION DEFINITiONS

'"

.SBT'fl.
.SBTT~

71
72
7J

INSTRUCTION WORD DEflNlTII)N:>
,OPCOOE MOVE
lopeOOE JUMP
,SOtlRCE IBUS
,SOURCYE IMMEOIATt:
,SOURCE MEMORY
,SOURCE BR
,SOUR~E BR

JUMPII10"0"''''

(;

1
BRe

eal

BR4
BR7

PAGE 2

MICRO INSTRUCTIUN DEFINITIONS
BRANCH ~NS1'kUCT~ONS
,JUMP OP CODE

H
19
81
Ii-i

94
9~

hl4

109
114
11:'
12"
125
IN
135
140
145

.SBTTL.

15"
151
152
153

Isa
163
lb8

113
178
l~ 1
192
1':1"1
li'l2
.llt7

212
221

H'"
235

Jt"
4145
JS2
256

.SBTTL

""'ih'00

M0YE_1!J

r
J

INOEXED BRANCH INSTRUCTIONS

MOYI:.
, MOVE OPCODI:.

IHSTRU~TIONS

PA!.iEI

0"54

OMC-11 MICRoPROce;SSOR INSTRUCTIONS
DMCN~\II.MA~
ll-ilpl<-17 HI:08
258
259
21>'"
261
21>2
21>3

lb4
2b5
266
261
268
21>9

27'"
211
212
213
274
215
21&
277
2713
2H
:.Iii'"
:lSI
282
:l1l3
284
285
296
281
lall

1~0i"'"

1100"'20
Ul8t: 40
ilOiHifJ0
tiI"100
1110120
1d0140
ltI0160
108200
'00220
i"'"10~0

11 .. .,1120
0110140

060160
eJII01 Oil
i}lIiiH20
800200
30"':.120
a~~24d

1""021>0
iJil030'11
010IH 2 ill
0100HiII
""'<'36'"
600000
0t1"i'01
1"001182

18-J

~0"003

29O

1600;'04
D00005
'''''0006
fiihHl01
308"'10
16"0011

291
2'J2
293
294
295
296
297
298
29-J

30<'
311H
3.,2
31.'13
jill"

3105
3106
3"'7
30~

'J100002
alO01103
IH'''806
"1(1""'07
Iilt0004
16"0005
"001110
81101011
iilO.,012
""0013
IU'01!!4
000011

DIIC-II MICflOPRoce;SSOR INSTRUCTIONS
DMCNtW.MA~
ll-APR-17 10:08

351

12:18

PAGE 3

.SBTT~
INPUT/OUTPUT ASSIGNMENTS
; IBUS
ASSIGNMENTS
lIoICONK0+1f<1000",
: IN CONTROL CSR
MAIN-20+100000
: MAlNTAlNiNCE Rt:G1STER
;OU7 CONTROL CS~ -OCONK40+100ft10"
;uhuSED
-U6l0DRaoIOt i iO~100iO
fCB!!4
PORTI';'I"0+!"".,00
PORT2=1211!+100000
:CSR5
;tSR6
l'ORU'" 140+1 00000
PORT4=lb0+10IiUl00
;CSR7
NPRa200+100000
,NPR CONTROll
: SR t INTI::RRUPT) CONTROL
UBBR·:l2"+100000
; INPUT DATA LOW BUt;
INDAT1"'''
INDA!l'2=20
i INPUT DAIA HIGH IHTE
;OUTPUT BA 1.00111 BUI:.
10BA1"'140
:OUTPUT BA HlGH BYTE
IOBA2"'1&0
; INPUT SA -LUW BUE lIBAI·1i1"
,ltlPUT 8A HLGH BYTE
11BA2"'120
RCVDATK200
;RECEIVE UATA
; TMTRCONTRUL
TIITCON·U0
RCVCONa240
;RCVR CONTRUL
HODEMI:260
:MOUEM CONTHOL
:SYN REGISTt;R
SYNREG"'300
,LINE NOM~Ef< SWITCH
LN08W C320
,IiMil73 ADURli;sS
BM873-340
LUMAIN=360
,LINE UNIT IIA INTA~NEN~E
lOBUS
lSSlGNMI!:NTS
: EXTENDED OS US
OINCONl:iI
:IN CONTROL CSR
,MA~NT
-OMAIN"'1
:OUT CONTROll CSR
OOCON=2
:UNUStD
- -OUBADLJa3
OPORTi=.
1CSR4
OPORT21:~
:CSR5
OPOR'l'J.6
:C:SR6
,eSR1
OPORN"7
ONPR"10 ,IilPR CON TROll
: BR CONTROLOBR_11
I UlIiEXTENDED OBUS
OUTDA11:i
:OUTPUT DATA LOW SYTE
OUTDA;2a3
;OUTPUT DATA HIGH BnE
,OUTPUT BA 100111 8nEOBAla6
: OUTPUT BA HIGH BITE
OBA2a'
; INPUT SA - LUW BITE IBAl"'.
IBA2_5
: INPUT BA HLGH BYTE
,TMTR DATA -TMTDA1=10
OTMTCO",U
: TMTR CONtROL
ORCYCOa12
;RCVR CONtRUL
OMODEMaU
~ MOOEM CON'TtiOL
; SIN REGISTt.R
SYNCai4
OLUMAflz17
;LINE UNIt MAINT.

MACYll 30(t046}
l1-JUL-71
PROTOCOL DEPE!fDANT MACROS

12118

,,

PAGE 3-1

.SBTTL PROTOCOL DEP~II?AflT MAeROS

3110
317

324
32'1
333
337
H3
349
350

ll-JUL-17
MACY11 31H1041>}
.LNPUT/OUTPUr ASSIGNMI::NTS

1"11771

MICPC=177777

: INlT MICRO PC

PAGE:

~"57

OMC-II MICkOP~OC~SSOR INsTRUCTIUNS
LOW.MAC
- 13-0CT-71) 14:33

l5J
J54
355

J~9

Jtd

362
363
364
305
366
367
368
369
37101

171

P!
373

314
315
J1f>

377
37'!

379

.SBTTL
LOW=1d
SLOW-"

Ih'0i100

1;"""'"

OMC 11 DUCMP PROTOCOL, IMPLEMENTATION
ODCNt.W.MA~
21-i\Pk-77 IIlHHI

360

MACYl! 30(11141»
11-",UL-77
12118 PAGE 5
UMCII OOCIW M~CHO COUE ASSEMSLEU rON USI:; W~TH 'fHt. 11482"1 "'INE UNU
OMCll DDCMP M~CRO C(JOE ASsEMb"'ED rOt{ USI:;

30(1846)
ll-JUL-71
1211& PAGE 6
Ol'CI1 DDCMP M~CRO CoDE AssEIIIBLEOrOR US~
IoI~TIt TH~ M821iJ1 "'lNt; UNIT
.TlTLt; UMCll DDCMP PROtoCOL IMPLEMENTATION
.1DENT IV""liI1/
.SBTT'" VERSION fllilA r!BRUARI 26,1975
.sBTTL
:~:iit HARVEY M. SCItL~i~.~E~
.S8TTL COPYRIGHT 19?5, DI~lT1L t:CoIUIPHENT ~0I

J97
398
399
400
401
402
403
404
405
406
40"
4013
409
41'"
411
412
413
414
415
416
417
418
419
420
4;>1

422
423
424
425
421>

J,;,;I!!i4

:3"0015
300iJ16
""""17

1J001c122
".,"023

0;'0024
0.,3025
1)00032
2''''''''37

1'00044
3"01151
,00"56
1:1"''''63
1J0"'", 7 "
000071
iJ"kh172
Oil~073

klIIII101
Ih'1I107

0''')115
"",iU2l
i.'il013i

800137
1'00145
iJ01H53
U","154
"1110155
BIIJI:'156

l:-iI'0157
3&ii::;t&0

"0,,161
000162
lJ"016l

427
4211
429
Hill

MACHI 3"'(10411)
11-JUL-77
12118
PAGE b-l
M1CROPROCESSOII !;Al!; MEMU'''' ASSIGNMENIS

PAbE:

0061

or

,
J

433

;;00170

434

~0017t

4 3~

"'1I~172

436

011!B 13

DMCll DDCMP PROTOCOL l"4PLEMENTATION
DDCNEI'I.MA~
21-APR-77 10:08

431:1
439
440
441

011611

.S8TTl.o MICROPROCESSOR MAIN MEHORX' ASSIGHMEtlTS
; ALLOCATION OF MICRUPROCESSOR MAIN MEMORY
NAKSRie
,NAr.S R£CD--DX'NAMIC
NAKSTaNAKSR+l
JNAr.S TMTED--D:iNAMIC
REPSR=KAKST+l
i REPS RECD--DYNAMICREPSTaRt:PSR+l
I REPS TMTED--DYHAMIC
NPo:REPST+l
;CONSTANT 0
NTLRaNp+l
,NAr.S-MSG NO BUf'FERS CUMU~.
NHDRaNTLR+i
,NAII.S-M&G HEADER J;AO
NDATR=NIiDR+l
; NAr.S-DATA BAD .
NTLSaNDATR+l
J NAr. SENT --NO BUFfERS
NHDSaNTLS+1
,NAI'. SE~T BAG HEADER
NDATS"'iiHOS+!.
, "AI\ SElf'! SAO DATA
REPCsaNUATS+!
JREPS St;NT CUMUl.o
REPCRaRtpCS+!
:REPS RtCD CUMUli
BASEaREPCRtl
- ,CORE TABLE BASE ADURESS
SRC.SASE+l
.START OF INPUT' CAAIN--NUT RECV uOIlE
ERCaSRC+!
,END OF INPUT CHAiN"
loRC:ERC+l
,LAST POINTER RECjj
RCLlaLRC+1
,RECEIVt: LINK .i RCL2akCLl + 5 ,
-;.
.• '
12
RCLlaRCL2+5
,.
tl
RCL4=RCL3+5
RCL5=RCL4+5
RCL6zRC1.o5+5
RCL7aRCi..6+5
STCaRCL7+5
,stART OF OUTPUT CHAIN---NEXT TMT DONE
,LAST TKAN5MITTED- LTCaSTC"1
ETCzloTC+1
,tNO OF TRANSMI'l' CHAIN
,tRAIISMlT LiNK 11- .
TML1::li:TC+l
;
-."
..
'.2
TML2::TMl.l tb
TML3:tMi,2+6
J
fl
TML4zTML]+6
TNL5=TML4+6
T"L6aTML5+6
TML7aTML6+6
TML8a'fML7+6
1':11'141.011+&
,TYPE F J.ELD
,SUBT1PIC FIELD .- .
5TaTtl
ISP17 i ST+1
I MSG ACKED IMAGt:
IMG10 a ISP17+1
',lMlGE OF Bsp~Tl11 Or" ~P10
IMG11 a IMG10+ 1
,lMAGE or
IMG12=IMGl1+1
;IMAGE Or 5Pi~
IMGI7aIMG12+1
J IMAG£
SP17
PRTSTaIMGl7+1
;PORT STATE
TYPTABcPRTST+l
,TYPE TABLE~-,72 nPE TA8&.E REP
,7l
Ii •
HAK
TYPSTTa'UPTA8+2 ,14
START
,75
STACK

431
43l

437

PAGEl

flI"01H
f'00H0
000241

0002i2
000400

OSTATEcn:PSTT+3
15PI1-05TATE+l
ISP12 a ISPl h i
INCONsalSP12+1

,OLD STATE POINTER
:SPll . I"AGE
,SP12 IMAGE
, I I 'C()N'tItOL CSR IMAGE

MACYll 30(10411)
l1-JuL-77
12U8 PAG~ b-2
MICROPROCESSOR MAIN MEMORY ~S~I~NMENT&
RTHRS-INCONS+ I
NXTINTa240
NXTSPcNXTINT+ I
INTSTr.=NXTSP+l
MMENO"40.,

I RECV THRESHOLD LINK
:NEXT INTERRUPT POSiTION
Jt:NO OF 'INT£RUP'l CHA.l.N
: STACK OF IffTERUPTS
I MA~N -MENORX' END

OMCII I)OCMP PROTOCOL !MPL~MENTAT 101';
DUCNEW.MAC
.!l-APIl-77 10:08

MACYll 3111(1041»
11-JUL-77
SCRATCH PAD ASS1GNIlt.NT;;

443

.SBTTL
bP0:0
sPl:al

444
445
4411

Hl
448
449
45'"
451
45l
451

454
455
45b
451

SP2:a2
SP3a3
SP4z4
SPS-5
SP6:a6
SP?a?
SP10z10

i!J"""02
iHIi,);'03
1J""004
0"""05

458
459

""'0!'10b

Ih'0007

4btl

1t."tll0

4111
"b2
4bJ

4b4
4115
4611
4111
468
4119
47",

~"'''111

471

SPllzll
SP12-i2
SPt3=i3
SP14-i4
SPl5Zis
SP16ai6
SP17=i7

0ih1012
0""013
""0il14
01)f;015

472

473
414
475
4711

0"""'16
u"e 17

OMCII OOCMP PIlOTOI.:OL IMPLEMENTATION
.ll-API<-17 10 :08
DUCNE.W ."A~

491

(I)
(1)

l12322
1)12124

(I)

:61H2t
~12j2&

(0
(1)
(I)

4916
(1)
(1)

011233"
1:l12H2
012332
012334

(I)
(1)

812334

494
495

tlI2H6

(1)

fiJ12)40

496
497

1112342

498
(1)

(tl

~12]4i

1'112346

(I)

U12341;
012150

(tJ
(I)

""'''''03
0bI2""
(,,0t104
01>10!02
""0005
.0H70
55 I

Ihl0006
f1'1>313'"
)11111.,07
0111423
thlitel"

"12H2
"12344

499
(I)
~0"

01> 3231

kl12340

(1)

(1)
(1)

",1IJ.!2J

":12H6

(II
(I)

1111000"
/UIIHl"

~1J1i1t1"2

,012326
1t12H"

491

492
493

1NlTi

611J01tJ01

(1)

(1)

;U

iU2n2

liH2312

4813
499

PAGE 0-4

.SBTTL IN1T--IHITIALlZAUON ROUTINt:
~ ZEROS JllAIN MEMORY
..
,LOOPS wAITING rOR RECEIVE DATAl800T?)
~Otl FOR RQI TO BE S£!- -.
,WILL A~C[PT ONLY BAS~ ~ORMAT. ALL OTHERS lULL RETURN A PROI.:t:DURE ERROR

4el

4&1

PAGE tI-3

SCkATCH PAD ASSIGNM!::NTS
~ SP"---SCRATClt REGISTt:R
ISP1---PORT STATUS WORD
I BIT ASSIGNMENTS
,l:IlT0--1Nn MOD~
/BIT1--sEe STATlON SELECT(UNUSED)
,BIn--NO BUFtER ASSIGNE:D IN SOOT MUDE
IBIn--DLE RECUVED WHILE N~lT IN MA~NT MOUE
,BlT"--INTERRUpf PENDING
,BITtI--DISCUNNECT ERROR
IBIT7--BOOT- MOD£
,SP2---TRANSMIT STATE POINnl<
,SPJ---RECEI V~ STATE POINTER
I SP4---t:ND REev -ADDRESS
,SP5---END RECElVt AODRt:SS
,SP6---END TRANSMIT ADDRESS
,SP7---ENO TRANSMIT ADDRESS
, SP1"---LIN~ $TATUS WORD
,BIT ASSIGNMENTS
,BIT0--UNHUMB PENDING
J BITI--MESSAGE IN PROGRt:SS
;B1T2--LINE-HAS--GONt: IDLE
,SIn--START RECEtVED·
ISIT4--CLEAR ACtIVE-·ON t:ND
,BITS--STAR'l' jlOOE
,BIT6--HALF DUPLEX
,BIT7--0K TO SEND
,SPll---R FiELD
,SPI2---N FlEr.D
,SP13---TYP~ _.
,SPU---Rt:CtIVE LINK. IMAGE
,SPiS---TIMEff"ENTRY';--NUMBER Of ONE SECONO TICKS
,SPI6---POIHTER TO TMT LIn COpy iN MAIN MEM ,SPI7---UST MESSAGE ACKNOW~EDGeD--

MACY1t 30(10411)
U-JUL-77 12118
1NlT--INITlALlZATION ROUTIN~

418
479
48O
483
484
485
486

12118

If II 311110

""""11
1111413
1"'0012
100406
;6""''''1 J

51/'1

11112350
1012352

(I)
(t)

el23'.12

~o2

:.l12J54

(I)

i!1I14~1

""Cl014
("I>Ull
i&~i1!"'15

(I)

BIB51

~i
"I ~l ol

INITIALIZATION --- THE t!ARDWARE CLEARS '~HE 8R ANI) MAR
."'12322
5P
8R,SELB,SP0
SP"
HICPCaMICPC1-1

SP
BR,SEL8,SPl
,PAGE ONE T~ANSf'ER ADORESS
MICPCaM!CPC+ ,

SP
BR,SELB,SP17
'c:L~AR SP17
I4JCPCaMICPC1-1

OUT BR,
;ZERO THE IN CONTROL CSR
MICPC-MICPc+l

SP
IMM, 370, SP10 .
IWR~TE 5 ON~ BITS TO THE HIliH ORDt:R
HICPC-MICPC+ I

,BITS or SPt0
SP
BR,AA,SP10
;5H!FT SP~0· "EfT stoTT!NG C;ARRY THI:.
MICPC.MICPC+1

; FIRST 5 TIMES THRU THE LoOp
HEMINC BR,AODCISP3
I WRITE A ONt; TO TH&: FIRST-5 MEMOIH
MICPCiMICPC+1

Z
I'"
;A"L OONE
MICPC.MICPC+l
1 <108-1N1 T"717/2»
ALWAYS - 56
..
;KEEp GOING
MICPCi:MICPC1-1
 I <58-1NITi.77 I /~»
SPBR IMMol,SPl
. .
,WRITE A 1 to THE 81< AND SPI
HICPC.MICPC+I
.

SP
- BI<,S~L8,SPll
~WRITE A 1 1·0 SP1~
MICPCzMICPCH
.

:;P
.
BR,SELB,SPI:l
JWRIH A 1 TO SP1:l
klCPCZMlCPC+1
<~OVEI SPXI BR I SELb 1 SPI2>
LUMA . IM",PRTST
;I'OLNT "lAt< TO UNNO,.., M51i SI'.EI.oETOI'1
rHCPC=M lCPC+ 1


012360

505
0)

In 2362

(I)

;612362
812364

5"'1>
(1 j

812164
812360

:hl8

t!lt21bb
ti1237"

(0
(tl

(1)
(l)
~ki\l

(1)
(1)

51'"

iii I 2370
012372

1)12372
,U2374

(11

ttl
511

612374
012376

OJ
(1)

512
(1)
(1)

513
(1)
(1)

511
(I)
(1)

515

1J1237b
liU2409

blH0'cl
tlIH02

~10

"1241l
N2414

(1)

"IHU
1112416

(1)
(1)

52!
(lJ

ttl
522

31hlJd27
!flb4al

"*'0032
01b413

1:K'0"H
W16473
ihl01H4
aU"22
3"01<135
Jlb425

(1)
(1)

(1)

525
III

(1'
526

.

;~EP

0"

912432

e'bt22l


MICPCaNlCPC+l
...

MEMINC IMM,6
_. - ;START
MICilCiMlCPC+1
>>
BRWRTE IMM,226
-~ WRITE SYNC TO MEMORY
HICPCiMICPC+1
_.
'I.MA~
21-lip~-17 10:o8

52J

PAGE b-5

£11241"
IH'H2!'

(ll

(ll

1J00026
016407

"124~6

1>12406
... 12110
012412

52111

31:.1iH'25
016406

IH2404

ICll410

~19

"001024
057235

01:.10031
iHb413

(tl

(1)

iJlh"'23
ihJH02

illlJI:.I10

(I)

51t!

"1:0022
E'10403

12'110030

511

(0
(0

fb2234

'l12402

it' 24"'.

(1)

(tJ

!hllihol0
iilll0b2b
i)"'1244-1

544

ft:l4 46

(1)

(I)

545
(1)
(1)

546

~12446

~lH52

t;1245~

.,lt0050
108452

549
551i1

t:1245b

(t J

.:t 2 \50

..

SP
BR, SELB, SP2
MIcpcaM1CPC+1


lU

~~~:~~Ml~~~iRCVCON

""'0(1152
0201>40
3.,005l
11>7203
121
a00054
1.'11"62
fJtI"*,55
1401>2"

JRE~D I.o!N~ ~NIT RI::C~lVE C~N!ROI.o

f,IH5b

!fIB6"

(tJ

WORD


I.oDMA 114M, PRTST
,.
;AODRk:SS PO'I

MACYll 3'H104b)
ll-JUL-77
12111
BA5SRV·--~ BAtiE SERVICE: ROQnRE

PAGE 6-8

PAGEl

.SBTTL BASSRV---- BASE SERVICE ROUTINE
BASSRVI PSTA'lt;
NIOLE2
.
..
MEM
IMM,«NIDI.oE2-IHUli77712»
KICPCaMICPC+1
" ,. , .
>>
LDMA IMM,BASE
,...,'
J~L.~AR TO MAR SO
MICPCI:MICPC+1
3222

O"Cll DDC"'P PROTOI;Ol, HIPLEMENTAl ION
ll-APk-17 lIiH"B
DDCNt.W,"AC

BRwRTI:; BR,
IREAD TRA~SMIT STATUS WOR'! tROM SPI0 TO BR
MICPcaM1CPC"1
 I  1  1 112450
"12450
.,12452

(lJ
(1)
541

IDLEI
.,001H5
"'00010
ih,.,046

(1)

(1)

PACt;; b-7

.SBTTL
IDLE--PHOCRAM IDLE LOOP
,PROCkA'" IDLE LOOP
"
,DISPATCHES TO APPROPRIATE SERYLCE IWUT!Nj;S
,USES STATE POINTERS rOf! TMT,RCV,CSi! ACTIYI'l'X
I
-.
.

~ 39
(1)

54.,

12:18

MACYll 3'1(104b)
ll-JUL-77
lOLt;··PROCRAM lULE LOOP

n

POINTS TO BASt; POINT

(1)

... 1246.,

55l

.,12462

:~~!~~M~~:~!iPORTl

I11H62
1J12464


SP
- . II'lUS, INCON, SPV
~ HEAD INPUT CONTROI.o CSR
MICPCaMlCPC+1

BRIIIRT!
IMN, 1.'"
'
J~LEAR THE till.
MICPCilMlCPC+1

HICPCaM1CPC+l

bPWRTF;
IMM,241
;SET OK TO SEND,STAI0

-.125011'
1J125i ! A3 -P! TI. I n I')>>

,H252i)

'1252.1

JRE~D

'

11"'133

*

011167

DMCII DDCMP PROTOCOL IMPL~M~NTATION
DUCNE.w.MAC
21-APR-17 116108
568
(1)
(1)

tl12522
6ildHl"
i:~3ili}4

569

10)12522
1ot12524

(1)
(1)

wl:l524

flb3010

57.,
57!

til 2526

~''''H01

ttl
(1)

572

1:.12526
w1253.,

(1)

.,12530

5H

~12532

ll)

(lJ

.12532

574

0125H

575

IH25H
81253b

(1)

(I>
57b

1112536
012540

(1)

(ll
577

312540
1112542
812542

:;:12541

(1)

(1)

579

~12544
~n546

(1J
(1)

11112546

58"
581

'U255d

ltl
(1)

582

(I>

Ull552

(1)
(1)

586

1112554

(1)

{n

bS2:
IiJd.a105
010156
0d0100
043310
0001"'7
05723i
0~7:H2

" ""0111
&UH7
.,.,0112
1110317.,

000520
""0114
I)b3233

3"0115
003161

~t2556

""12556
1112560
~1256iJ

"",nI6
()""b0f6
800111
110731

DOICll DDCMP PROTOCOL IMPLEMENTATION
DUCNE.W.MAC
~l-APR-l1 H'=08
588
58\/
(1)

594

1112502
;1)12564

t! J

'!2S~~

59b

1iJ12566

tn

~1:l56b

597

612570

(l)

598

111257:,1
f1112572

(I)
(1)

:1112572

(1)

599
6ro"
6f'1
b1 <10S-lNITio 17112»

l)"IH21
14!3b20
1J1I0130
tlH4S
10$:
.,,,IU31
\i23b60
"0132
IIb"S20

.

-

SPBR IBUS,U8I!R,8pe
"
,TIMER I:.Xi>IRESl
MICPC-M.lCPC+l
.

BR4 TIMSRV
MICPCaM.lCPC+l
 1 
BRWRTi 8R, AA! SP8
.
MICPCi:MICPC+l
 1 
BR4 IDL~
;START MOUE
MICPCaMICPC+t
IC:oMICPC+ 1
 I 21

1i12H'>

"11.)14:

PAIiE:

MICPCtiM.lCPC+l

INUTI
- . .
, IF RQI S~T -- BRANCH
BR4 MICPC.MICPC+1
""
.  i 1 t;OuiinT-Inlfil 771 ;2»
SPBR IBUS, INCON, SP'.- ..
J READ INPUT 'CONTRUL CSR
MICPC-MICPC+l
. " "

DRSHF't
.. -""" .

3\101211
;'bc:lb01
:)160121

(t)

e"68

,TRICII. TRANSMITTER CODE
LDMA
IMM,8ASE
IADDRESS HA~t TABl"E- ADDRESS
I'lICPC"IoIlCPC+l
 1 
SP
MEMU INC MAR; SELB, SP11
,~E~TORE SPl1
MICPCaMICPC+1

SP
MEMXUNCMAR,SELiI,sP12
,RE~TORE SP12
MICPCo:MICPC+l
"
.

SP
MEMX,SELB,SP17 ,RESTORE
SP17
MICPC-IUCPC+l
.
".

SP
8R i DECA i SPle
•
MICPC.MICPC+l

: ZENO THE liNG
STATE
NIDLE2
:PORT STATUS
MICPC .. MICPC+ 1
<"'OVEI W~TEBRI IMN I
,RAM "A8 TULE UPDATE wHICH SAV~D STATUS IN' 8P13
SP
8R, DECA, SPI
f~L~AR ~II~T MODE
MICPCaMICPC+l

8RWRTl IMM,2,e
MICPCiMICPC+t
 1
SP
SR,INCA,SP10
MICPCo:MJ.CPC+l


0(1010:2

(1)

(1)
(1)

MACYll 30(104b)
U-JUL-71
12:18
~A&SRV---- SASE SEkVICE ROUTI~E

"069

OMCII DUCMP PROrOl:OL IMPL~Mt;NTATlON
DDCN~W. '1AC
2t-APH--i7 t011,!i
(1)

623

.,t 262-l
{<12626

(1)
(1)

~12626

621

312630

(ll
(1)

1125
(1)

(1)

1126
ll)
(1)

"27

I"

d1l014i
lin" 45

1112634
III 21>3&

300500

:.!&3"2
812634

.112&36
1112640

(1)

012&40
1612642

(ll
(1)

636

012642
112&44

(J)

(t)

1112"44

&37
638

SETDSR:
300150
.,0BIl1?

(I)

~12646

b19

l·12b50

6hl

';;12&50

1112652

b41
b42

,;,12654

(1)
(I)

~1:l&51

bB

01:2&56

(I)

(lJ
&44

"1265S
tU 2&6,)

OJ
(2)
1>45

"1206O
eU6&2
e1266:l
f\12064

(1)

(1)

641
(ll

.12664
&12b66
!/I12666

(2)

(2)
648
(1)

012666
111:2610
IU2b73
"12672

(1)

(1)

05i/1

;»12612
.,12674

(1)

(I)

651
652

I,,. 2b14

b53

Inl67b
012700

(I)

ll)
&~8

1//12711'"
.12702

(I)

tlJ
b59
III

fl:H02
111121164

""'01&4
06130"

IhJ" I 65
, "111445

.. 1271114
1112

lrHiRV:

1"'0115

7~(,

i;i 21166

iI""I72
1l"7i 71

PAGE 6-12

PAIiEI

- -

""71

,SH~FT ~T L~FT

~:=:!:lNWAIT-~NlTn7712>; UPLiATt:

STAtE

POl~T~R

TO NO INTt;RRUPT GI!.Nt:RATt;D

MIcpcaMICPC+l
.

NI0LEU BRWRTt; IMM,20/i1
.MICpciiMICPC+l
 I 7
1 tJJ1l5
1/1111" 1iJ
IHHJIJ

ERROR FIlAIi

INWATl: SPBR
IBUS, INCON, SP0
; READ T~E INPUT CONTROL CSR
MICPC a MICPC+l

BR7
.lNWAT2
: READY ~N Sl'lLL S~T
MICPC-MIepC-t 1
))
ElRIIRTEBR,AAISP0·
. -',SHlfT CSR ~EFT
MICPCiMICPC+l
..
-<'lOVE I WRtEBR I BR ••AAl 5P0»
BR7
ININT
MICPCaMICPC+1
 I ! 

:)1""54
10]557

~U2660

(I)

b40

-

""153
06052;,1

8",,,155
123400

:~~:~~M~~~~:~17

MACYll 31H104b)
ll-JUL-17
UU8
INiwAIt---WAlT FOR RQl TO CLUR -

,~I:2b52

0)
(1)

1:l341hl

--


ALWAYS ERRXX
,MAU A CON~ROL OUT
MlCPCitMICPC+l
!  l<10IlE-INIT" 177/2»

~i!0145

(1)

b29

:~~~~~Ml~=CZ~D'SP"

''''0143
1f1l0411J0

PAGE &-11

 I 

1"'3445
Ihl014:l
1:ll420

i)12&31"
012&32

(1)

oj
628

MACYl 1 3"(104&)
ll-JuL-17
121111
NlDLE2---NO CbP ACTIVITY STATt;

llRSHFT
: SHIFT TH!:: tJR fIlG".T
MIcpCaMICPC+I
 I 
bRI
30$
: --SENSt: OR BASE
IHCPCICMICPCtl
: : 1>9

~"'01 75
"02703
~1H!1176

(1)

,,'

666

Itl2b01

!~l¢b22

10$:
3kl1H77
002b6i
1"'0200
It-0be2
15$ :

20$:

1112126
9'12730

(0
(1)

61'6

el2730
'It 1 2732

(I)
(1)

1>79

012732
(:112734

(1)

(t)
1>80

·H27H
012136

(1)
(t)

( 12136

b81

~1274"

(1)

(I)

be:.!

iU2740

33$:
300205
U2201
""020t>
1 "0bl1
35$:
01J0201
360b0i

(11

684
(1)
(1)

61.15

012742
012741
t'12744
.. 12746

(1)

(0
b8b

,,12746
"12750

(1)
(1)

687
(Il

e1275;;
IHl152

1j1J0212
IH)1260
1M'0213
..,10177

~12752

"12754
'j12156

(1)

(1)
b90

"12756
,,1276"

(Il
(J)

011>402

SASSRV

.-

&Jl1»
MEMINe '11'11'1,2

'112160

MACYll 3iH1041»
ll-JUL-71 12&18
INWAIT---WAITFORRQI TO CL~.~

PAGE b-14

01J0215
Ihl2400

 I 88

PAliE:

tlRSHFT
; MUST SE tlA/CC-SHlFT FOR J.N ON UUT
HICPC=MICPC+1

bRl
15S
HICPC"'M1CPC+l
 i <15,-INlnn 112»
PSTATE TBASRV
; TRAHSMLT'i'EM
MEM
IHN,«T~ASRV-IN1Tiol1712»
-H!CPC"'UCPCH
- ,.
>>
ALWA~S
206
MICPCioMICPC+1
! (22S-!N!T£ 77! 12»PSTATt; ' C T L S R V '
. .
MEM
IMM,«CTLSRV-INl'f6i71712»
MICPC"'M1CPC+l
-- >>
ALWUS 20S
MICPCioM1CPC+1
! <23,-INIT& 17112»
PSTATE - RBASRV
MEM .
IMN,«R8ASRV-INf.T&11712»
IIIlCPC=MICPC+1
--,
BRIIIRTE 'SR,SELAISPl
' ,INIT MOOt:
MICPCiitM1CPC+l
- , I  I  I <35S-INIT' 77 7/2»
ALWAYS 'PROCER
"- .
MICPCi:MICPC+ 1
 I5302
91111<1225
"!:IfII220

0"'''226
0Ll776

07452'"

7't"
110,111
"1jil~

(1)
(1)

111'1

013000

"lllhl0
013002

(j)

(ll
711

013002
"!le04

0)
(1)

tH3~"4

112

"13006

(t>
(1)

1113"'06

713
714

1'13010

(1)
(1)

QIl010

Ihli'227
e55lH
0d0231:1
855225
8"0231
055227
fU0232
",55226

"611233
10376"

115

721
123

"13012
1
. ,COMPLETION
LDMA
IMM.NXTINT
.
,ADURESS OF NEXT INTERRUPT POINTER
MICPC-MICPC+ 1

OUT ,
MICPC=MICPCtl
-"~ 
;~I~K PAST LINK STATUS BYTE
MICPCaMICPC+l
<""OVE! lIiiTI!:BRI8RI INCMARIi
,IrIR~TE LOW BYTE OF ~A -T~ ~SR
MICPC-MICPC+1
.
., dELB jOpORT2> ,IiR~TE HIGH BYTE OF BA TO CSR
!HCPC-MICPC+l

, IIR~TE HIGH B1fTE Of COUNT TO ~SR
MICPC=MICPC+l
,<8ELB10PORT3>
,WR!TE THE LOW B¥TE or COuNT
MICPC.MICPC+l
. . . ..
 I
MEM
IMM,IN1'8TI( MICPC=NICPC+l

CMP BR,spe
- ;SHOULD WE WRAP
I'lICPCI:MlCPC+l

Z
5$
, YES--8RANCH
MICPC·HICPC+l
I<58-INlU777/2»
BRWRTt; - IMM.2
,Uf.'Se:r -FUR NEXT PO.LNTER
,MICPCliMlCPC+1
$;
SP
MEMX,SELB,SP0
,c:OP¥ PUUT~R TO 8P"
MICPC-MICPC+l

LDMA IMN, NXT8P J PIc:K UP ST~RT Of IN QUEU~
MICPCalllCPC+1

Z
108
, If EQUAL-.~LEAR !HT PEt/DUt:.
NICPCaMICPC+l
1 <10S-lNITl.777/2»
ALWAYS - I D L E · '
.'
MICPCiMICPC+1
 I
ALWAYS IDLI:;
MICPCioMICPC+l
!<~DLE-INln ?77/2»

PAIiEI

0075

OMC11 ODCMP PROTOCOL IMPLE14~NTATION
21-APR-71 101"'B
OUCNE.W.HAC

74"
Hi

013.-52

(ll

(1)

142
UJ
(1)

743
(tl
(t)
144

".,,,:l51
"13"52
u1.3!'54
"" 3.J54

1 2344i(!
".,0255
1 "3525

',H3i?56

IJ13",5b
,,13"60

(1)
(1J

In306~

145

I)t3,,62

(1)
(1)

IU3f<162

IJ"025b
J"'1i!500
"!Hl251
"bl:.!62
0002b"
1"0674

DMCI I DDCMP PROTOCOL IMPLtMtNTA TlON
DUCNE~."AC
21- A PR-l1 1"':08
141
748

O1306~

(1)
(t)

749
iii
(1)

751b

IlJ
{ll
751

al3 1
12356"

1:I.hlll"
1)""4171
"",o5""

HACylt 3~(104l»
1!-JUL-'17 12118
UUTWAI--WAlT t'Ok RDYO TO GO "WAX

.seTTL OUTWAI--WAIT FOH RDYO TO GO AWAY
OUTWAI: SPBR
ItlUS,OCON.SP0
JREAD OOTPU'!' CON THOu CSR
MICPC=MICPC+1
< .. OVEI SPBRX! IBUS~ OCON !SP,>
BR7 NIDLE6
- :ROY0 SET ·-GET OUT
MICPC"M.lCPC+I
 1c;NIOLE6-INIT' 77712»
SRWRTE 1"''''.100
'":CLt:AR CONTROl.. SUS"
MICPC;'M.lCPC+l
 I 

IIUlbl
LNSH:

...........

:

'113115
~I

(1)
(I)

lb4
III
[I)

765

nil

II)

~iI"bl1ii!J

31ll'!

tJ"ill77
it1312'"
IH31a
IU3122
1t11l2 ,

(11
[tJ

C600T:
IJ,,027b

(1)

763

~bH"l

",,0J0"
IiW"'b~4

:i)ilil,hH

;)13124
0I1312b

;§1I313"
3";1,,2

:~L~AR ~N

II J11b

ll)

pAliE:

<'lOVE I Wi'MEM 1 lMM!«NlDLE2-IHIU 77712»>
ALWUS - IDLE
.
--MICPC=MICPC+l
 I <10LE-INIT& 777/2»

lJ"252i(!

1&1

762

PAGE 6-18

.SBTT!.. CTLSRV--CNTL I SERVICE
CTLSRV: SPBR
IBUS,pOI
8RSHFT
iHCPC=l'ilCPC+1

8Rt
HDS!::L
- J ~f SET Is ~ALf DUPuEX
MICPCO:'UCPC+1
 !
- - ,
Jj(E~TORE TIt~ ~NTL WOR\)
MICPCir:MICPC+I
 I 
8RWRTt; 1111M.100
: ~Ej(O THE 81< REtilSTI!:R EXCt;P'£ IN'£ t.HABliE
MICPC;;M.lCPCi'l
1.!60

..,

t:2 :

12118

MACYll 30(046)
ll-JUL-17
CTLSRV--CNTL ~ SERVICE

&""lH
!l131hl
1.tl3112
11113112

PAGE 6-11

-

-

,

8RWRTI!:
11414,200
MICPC=MICPC+ I

BRWRTE.
IMM,204
IiIICPC=IHCPCtl
<"'OVE! WkTEBRIIMM 1 <204»
SP
BR,SELIl.SPl16
HICPC:o:MICPC+l
<"'OVEI SI'XI BRI SE.LB, SP1iI>
AL .. A!,:> 1NS12
;UCPCZMICPC+l

-

-

-

:MA5K FOR BOOT MOUE

lIN PORT STATUS WORU
:MASK' ~'UR 011. TO St;Nu AND uINE lOLt.

;IN LINt: STATUS

0077

OMCll OOCMP PRUTOl:OL IMPLf.Mt.NTATlUN
21-APR-11 id,08
OOCNEW.MAC
(1)

.1l126

MACHI 30(1,,4b)
ll-JUL-71
CTL5RV--CI/TL ~ SERV ICE

"'lib 7<1

O"C I I DDC"IP PRUTOl:OL IMPLEMENTATION
OOCNt.W.MA~
ll-ApH-l1 10:08

TIlASRVI

0)
(1)

n"

(1)
(1)

111

IH1130
.13132

IUl132

(t)

112

"13134
"13136

(I)

TBA5RV--TPlIIS/IIll'TER IiUfn:R ADORI';SS SERVlCI'.

~~~:C~Ml~;~!~TC

.

,,53220

<140VEILVMARIINMI
IIICPC-M.1CPC+ 1
'~

11.,,,3,,.

:~~;~~M.1~=~~!

013134

(1)

6-1':1

MACYl1 31Hl"4b)
ll-JUL-71
12&18 PAGE 6-20
T6A5RV--TRAIISMITTER BUFFER AD~R~SS SEFtHCE
.S8TTL

IUlI3"

PAG~

 I 
BRWRTE.
IMM, T
,~O~D BR IIITH AUDRESS 0 .. CHAIN i';N1)
MICPCi:M1CPC+1

Z
20.
J~' YES--IiRANCH
MICPC-MICPC+1
 I <2e1-IN! T&717/2»
MEM
- - BR, SELAlSPlt
..
J OPUATE. THE ENU PIJINTI!:R IN MEMOKY
MICPC-MICPC+1
.
ALiliUS
INS1~
MICPCioMICPC+1
 ICIN512-1Nl n.771 1"1.»
MEM
114M, TIILI
,WRAP IT ARUUND
MICPCO:'"CPC+1

Z
1NS12
J IF' EQUAl. BRANCH

IU&41l1
000331
IJ&5i:11i1

1365216

000333
13&569

136540

(1)

8"'.
(1)
(1)

8 it'S

e1l0336
811.12425

e"'337
e004&3

"H,340
813222
-'13224
013224
1113226

"&91&13

~~~~~~i~g:g~!

101&7(.1

",,,,,342
@13226
IU3230

"B04"S

(ll
(1)

R"6
(I)
(1)

807

til 3230
IU 3232
IU 3232
"13234

0",,)f5

(1)

(ll

P13234

11 .. 9

313236

(1)
(1)

'U3236

11,,9

~13240

(I)

q)

8"0117

'0034&
0&3&711

"All
9ilil347
ih!g1".~'"

"0li0

PAuEI

0081

.. -.

ol7o;~7

0~322';

(tl
(1)

8111'"

PAuL:

.SBT'!i. RBASRV--RECElYE BUrFER ~DDR~SS SERVICE
NBASRV: l.DMA
IMM,ERC
_.
rAD~RES END O!, RE£E:':Vt: ~HA~N
MICPCZMICPC+1

;"E'f THE POINTER 'ro loIN ...

~00334

(1)

798
'199

PAGE 6-21

MACYlI 3rI(IB4&)
l1-JU1.-77
12118 BAGE 6-22
RBASRV--RECEIVE BUffER I.DDR~S~ ~UY~Cl
.

1J"'0332

(1)

196

12118

ALWAYS 10&
J~ONTINUE PROCE~S:':N~
MICPCiiMICPC+1
I I  I < INS12-1N I T.777/2»
BRilRTE IMM,317
,MASI( TO C1.EAR START MODE AIiD CLil ACTIVE
MICPCaMICPC+ 1

liIlWR'!'!:;
I"M,~
,C1.EAR Bil
MICl'c:"MICPC+1

<"g '1t.1.l'l.£! T.EBR.!.I1!JU ~0>;)

DMCI t DDCMP PROTOCOL IMPLEMENTATION
DOCNEW.MAC
2t-APP-77 1IH08

810

1113242

(1)

(I)

flit

!Jll242
'iJIl244

(1)
(I)

~13244

812

1;}13246

(1)

(Il

MACYl1 )tI(104f1)
1l-JuL-77
12118 PAGE 6-23
RBASRY--PECElVE BUFFER ADDRESS SERYICE

0U246

'''0351
'''0424
'00352
11'14422

tn325~

(I)
(1)

815

"1325,,,
813252

(I)

(t>

tH3252

8k1,B53
')110462
""0354
114b7t

,

RTHREs 1 BRWRTE IMM,2
MICPC·MICPC+l
 I 
R31
(I)

11»13254
813.256

(I)

832

lotI 3256
10113261'1

(1)

(1)
1113
ijH

"U 3260

.. 13262

"35

"13264

( 1)
(1)

836
(I)
(1)

ilU

"'13264
013'266
913266
I'IU270

(I)
(t)

01327a

1143
814

613272

(1)

( 1)
R45
946
(1)
(1)

P41
(I)

1113272

"J13274
013276

iH3216
111330"

~4~

1113302

0133"0

(1 )

(1)

1150

1'113302
IH3h14

0"1231
21dl:l367
120623

""CB
70
t:J2767

;113301
.,1331'1"

(I)

IHH01>
IfIHI'"

12oH.2a

In331"

1"3364

(I)
1153
(I )
(I)

154t>20
'0~372

~"jjj13

(1)

"13112
oil H 12

,

HALTED: MEMADR EM6
MICPCcMICPC+ 1

MICPC.MICPC+1
(MOVE I WROUTX I BR!  I 
CKTIME: SRWRTE IBUS, UBBR
,READ BR CONTROL REG
MICPCcMICPC+l
<"'OVEI WPTEBR IIBUSI  I  I 
OUT
BR,(AORBIOBR>
; INTERRUPT
MICPCaMICPC+1
! 
ALWAYS INst 1
MICPC·MICPC+l
I 4
,}a2730

.

HDSELI

ed.H56
"'''HI 3

"'''U6]
l"'iU.H

-

MACYlI 30(1046)
ll-JUL-17
12118 PAGE 6-24
R8ASRY--RECEIVE BUFFER ADDRESS SERYICE

0i/iH5!
,NodS"",

1J13262

(1)
(1)

0082

SP
·BR,SELB,SPll
,SET NUMB Mt:SSAGE TYPE IN SP13
MICPCaMICPC+1

STATE
RCVB
,CHANGE RECEIVE STATE POINTt:R TO STATE B
MICPC=MICPC+l
 I I ! l
8b4
RoS
866
(1)

013322
""0377

013322

(1)

~13122

967

!Jt3324

(I)
( t)

wI>9
(1)
(I)
t!69
(I)
(t)

1170
(1)
(1)

il7t

;)13326
.. 133H

813330
013332
3332
013334

."

(1)

"13134
!il13H6

(1)

B13Bo
;113340

(t)

(1)
814

"1334'"
1113342

(I)

(ll
1175

'113344

~76

1'!!3.!4~

(1)

(0

iJIH46
.)1335'"

81335<'1
. , H52

(1)

1179

.13152
"13354

(\ )
(ll

~IH54

P~iO

II)IHS6
dlH55
"1336fl

III

0"04"4
lh""601
,,034"'S
0611361il

0i}il406
PIt 745
,,1I0407
l}iH140S
"b"~6"

""0411
t
BRIiRTE BR,SELA!Spl
:READ PORT STATUS 1i0RD
MICPCaMICPC+ 1
! <5&-IN I T& 77112»
BR7
5$
I IF BOOT MODE---ONLY BOOT OK
MICpcaMICpC+1
1 <5$-INIT'777 12»
BRWRT£ IMM,201
f SOH TO BR
MICpC·MICPC+l

Z
RAI
: IF EQUAL-IS NUMBERED MESSAGE
MICpC.MICpC+l
I
Z
RA2
: IF EQUAL-IS UNNUMBERED MESsAGE
MICPCraMICPC+l
1 "'1>01

ilIlll4l0

"13342
1113314

(1)
(t)

H71
(I)

RCVAZ
,,
Z
.
BOOT
J IF EQUAL IS BOOT
MICPC=MICpC+l
 I 
:FLUSH THt. INPUT SILO
MICPC"MICPC+l

ALWAYS RM 1
lSI:. T STATl:. TO RCVA AND RETURN TO IDLE
MICPC.,,<\lCPC+1

I)MC11 OOCMP PHOTOCOL IMPI.EME.NTATlON
DDCNE.W.MAC
21-APR-71 l;1u'Q
(1)

883
(1)
(1)

1198

IU3362
9133&4

!!8~

RA21

1113364
lil 3366

800100

1113366
!H3370

863223

REXIT:

,,""422

(1)
(1)

114«>62
"a~421

(I)
(l)

;~ACYll 30)(104&)
~CVA-_ROUTINI:: TO

tit 3370'1

1..,,,423
"'0445

DMCII DDCMP PROTOCOL IMPI.EMENTATlON
DDCNf.W.MAC
21-APR-77 1101:08

89~
8~5

(1)

gl3372
1J13372

1199

11113372

''''0425

In 3374

~99

~IH76

1"13376
",IH0il

1"34",,,

902
(Il

t6i )4162

01

"11402
813404

9163
(1)

(I)
9"'4

~13404

0H620
&9"430
106342
811\1431
0&0601

013406

(I)

(1)
91<15

t'I3406
01341>1

(J)
(t)

"13411'1

906
(ll

wl3412

(I)

1613412

'11<17

013414

{J

,,53234
~0427

(I)
(1)

"h'~24
~"'IH2&

(I)
(1)

9,h'
901

"0"132
"'7440
2\00433
01015)

01hHH

J

(Il

_1341t

91<18

1)13416

(I)
(ll
91'19

<713421"

~i6402

i""H 35
e02710
800436

.. 13416

~U012

"'''0437

(1)

(ll
'lId
(1)

.,1342-.

(1)

.. 13122

911
(1)

ul3424

104557

"13422

(I)

1J1H~oi

912
(Il

£'l3426

(J)

L'I342b

913
(II
(I)
'114
(1 j

1"IH]0

RB31
000440
0",,,,104

30,11441
f-bH01
RBI:
I'J0H2

.,13~3"

PAGEl

0ee7

RCVSr

.'1:15424
623'204

,'13374

(I)

(ll

008&

.SBUL RCVB--ROUTINE TO HAIIDLE FIRST CHARACTER OF COUNT FIt:I.D
I ENTERED FROM IDI.E LOOP
,STOPES COUNT FIEI.D AI'IO sIrs UP RCVC AS IIt;XT STATE
I

893

(t)

PAGEl

 I 
ALWAYS IDLE
MICPC"MICPCtl
' 
LDMA
IMM,I.RC
,LOAD ADDRESS OF START or RECV CHAIN
MICPC-MICPC+1

,AND 1.0AO MAR WITH lDDREsS OF CURRENT SA
BRWR'I'E MEMX,INCMARISELB
,READ fLAGS BYTt
MICpC-MICPC+1
<'IOVEI WpTE8R'MEMXI  I !CRB1-INIT' 777/2»
8RWRTI!; BR,SELAISpl
,READ STATUS BYTE
MICPC&MICPC+l
 I I 
STATE
RCVC
<"aVE I WIITf-BRI IMM I 
OUTDUT <~U'X!INC'!AH>,
MrCPC=fHCPC+l

51'

,UUI'PUT LO., Oillif-R B~TE

or

AOOII~:SS

DMCII DDCMP PROTOCOL IMPLEMENTATION
DDCNt;.W.MAC
21-APR-71 111:08
(1)

915

,,13432
,,13434

(1)

916

al3434
.. 13436

(1)
(1)

(913436

Q17

~1 3~1"

(1)

(1)
(1)

918

.13440
013442

(1)

(il
919

013442
013444

(1)

(ll
910
971
922

1113444

923
(1)
(1)

924

&13446
"13450
,n3450
013452

(1)
(1)

925

.13452
013454

(1)

(1)

921>

VI3454
11113456

(1)
(1)

927
(1)
(1)

9:18
(1)
(1)

929

65
1)09453
ihil I> 20
1)09454
tlII1620
"10"''1455
1)01620
,,,1)456
0171620
1100457
1)61311
000460
100445
RB2:
1"'0461
1110454

O'4Cll DDCMP PROTOCOL IMPLEMENTATION
DDCNEw.MAC
21 -APP-71 10:118
931
932
933
934
935
936

'137

"'13466
.1347"

(1)
(1)

~t3470

938

!UH12

0)
(1)

939
(1)

~134

11)13416

(1)
(1)

941

74

(0)13476
i'l135/tt0

(ll
(1)

942

"13500
ft135\!:2

(I)

Il)

..,13502

941

~13504

(I)
(1)

944

"13504
013506

(I)

(ll
945

il'13506
",135 Iii

(I)
(1)

~1351"

946

tl13512

!1)

(t>
941
(ll
(1)

918

.,.,e463
1"10214

It741>01

~15620

ijli!0466
1"6475
Ihl0467
1:114471
,"'Jlll47'"
,,57220
itlti1411
il60660

DiIl0472
01>03b5

~13S1b

0089

t 15513

RC5:
~1"H77

2'00476
U4422

ALWAYS

!E!.:QSY

: "CALL" 5E~!!:C,!,!QSYNC SUBROUT!NE

MICPC~MICPC+l

3"0473
115116

~"'0475

"13514
"'13516

PAGEl

MICPCaMICPC+l
,
 I 
I LOAD ADDRESS OF CURRENT COUkT
MICPC-MICPC +1
<"'OVE I LDMAR 1BR I  l'
BRWRTE BR,AANDBISP0
:MASK TO BR
MICPCaMICPC+1
5>
C
.
RCf'ATL
,IF CARRY--TOO B1.(; ERROR

~~::)474

11)13512
al351 ~

(1)

(0

RCYC:

0",,462
1\4419

000465

(1)

9HI

0088

 :OUTPUT HIGH BYT!!: Of' ADDRESS
MICPC~MICPC+1
.

BRWRT£ 1MfoI.101
NXM AND V~C4 BITS
JMASK OFF A!.:L
MICPCo:MICPC+1

51'
11414,300,51'5
;MASK TO ~SOLATE EX. MEM BITS
MICPC=MICPC+l

,NOTE THIS REALU WRITES A 305 BUT THE
:5 GETS SHIrtED OUT
BRWRTE MEMX, AANDB I 51'5
:MASK ALL BUT EX. MEM BITS
MICPC-MICPC+l

BRSHFT
MICPC=MICPC+l

BRSHFT
MICPCaMICPC+1

BRSHFT
MICPC-MICPC+1

OUT
BR,AORBIOBR
:WR~TE EX IIEM BITS OUT
MICPC=MICPC+l
 I 1<12-INITit77712»

MAC'YlI 3!rH1046)
l1-JUL-77 12118 PAGE 6 u 31i!
RCVC--ROUTINE TO HANDLE SECORD CHARACTgR OF COUNT P'J.ELD, SELECT AND FINAL

el'li"464
,.'t347.l
(.J13474

PAGEl

.S8TT[' RCVC--ROUTINE TO HANDLE SECOND CHARACTER OF COUNT F~ELD, SELECT AND FINA
,ENTERED FROM IDuE LOOp·
: INTERPRETS SELECT AND FINAL
,CHECKS FOR COUNT TOO LARGE
I

"!:!~66

(t)

(1)

MACYll 3"'(1"46)
ll-JUL-77
12:18 PAGE 6-29
RCYB--ROUTINE TO HANDLE FIRST CHARACTER Of' COUNT rULD

 I  I  I 
C
RDl
INO OVERF1.0W
",ICPC-MICPC+l
 I 
STATE
RCVE
MICPC-MICPC+1

SPBR
IBUS, RCVDAT, spe
,INPUT THt. ~HARACTER
MICPC-MICPC+1

BRWRTE BR, SUB I SPt 7
,COMPARE NEW R TO LAST
MICPCaMICPC+t
 I I  I 
BR4 .
IDLE
MICPCaMICPC+l
 I dDLE-IN I T. 777/2»
LDMA
IMM,ISPI7·
: ADORESS LAST ACKED IMAGE
MICPC-MICPC+1

ALWAYS
IDLE
MICPC:oMICPC+1
 I 
(1)
(1)

971

.5BTTL
,.13570
,,13570
'1>13572

(1)

(1)

''I1351l

978

~'13574

(1)
(1)

979

",13574
1113576

(1)

(ll
980

",13576
£'13b00

(1)

(1)

981

1)136011
IIH3602

(1)

(1)

992

"'13602
'1113604

(ll
983

9136164
1)13606

(n

(1)

(1)

984
(1)
(1)

0136166

RCVEs
I)t0523
1')60601
000524
101713
.1&10525
kJ20600
3"0526
iJb0171
301i1527
HJ5532
000530
063173
000531
IIHSH
5$:
080532
063"71
RE2:

"'13610
9"3533

985

ij"~534-

MICPC=MICPC+l .

It)

kll3612

104422

 1  i 
Z
5$
"ICPCaMICPC+l
1<5$-INIT& 777/2»
SP
BR,DECA,SPll
JFORCE MSG TYPE TO -1
MICPCcMICPC+ 1
:
ALWAYS RE2
MICPCaMICPC+1
 I 
STATE
RCVF
,NEXT REC~IVE STATE IS F
MICPCsMICPC+l

ALWAYS REXIT
MICPC"MICPC+ 1
 1  I tJ646
<:13650

(1)
(1)

111110

1113650
.H3&52

(1)

(1)

1011
(1)
(1)

liH~

,.;13&52
013&54
013&54
"'3656

(1)
(J)

He'l3

:,.3656
,.;13660

(1)

(ll
11"14
(1)
(1)

1015
(1)
e1>
1016

fltJ660
"'t3662
013662
·,.3664
iol1366~

(1)
1IH 7

iJliI'HH

~

lih;0544
116167
,"'10545
360601
3"0546
iil7751
060610
000550
:'1'-"162"

"80551
117315
l)iI,jI552
"10153
&a0553
fJ164i62
ti.,0554
016701
111"0555
062617
""0556
111101'113
RH5:
,,00557
11143220
,,00560
,,62460

~4,,;620

:llt0563

(1)

D"'Ctl DOCMP PROTOCOL IMPLEMENTATION
ll-APR-77 10H'I8
DDCNt.I'I."'AC
(t)

013670

10lB

~13672

(1)

(Il
10J9
(I)
(I)

1.,2",
(I)
(Jl
1"21
(I)
(I)

313612
10113674
V.lJ674
"13676
013616
"137.,0
1613700

(I)

(I)
11'23

IU37".!
'J1l7d4

ell

,,&1620

000565
116264
,,"a566
114112
RH3!
"",('1567
060573
!iil,,570
115'51115
""0'571

(ll

4137.04

;'''341''''

tat 31"'6

'1",}572
,,6322)

"13710

(1)
(1)

1025

813710
1113712

(1)

(I)
IH'6

11'13712

(I)

Il)

1021
(I)

'13714
.:13716

{J)

"'13716

11128

1:13720

(I)
(1)

U2Q

<1)
(t)
(1)

UI.31
(t)
(1)

litH

BI3722
'i)13724

01",1&3

jjS43B
115404
""J602

1113726
~'t

if5411)

37)'"
0'4(,,,,,3

(Il

vl37H
113732

(1)

11544)
iliI.IIhlil.J

,'·13732
';IJ1H

(t)

(11

600516
t!1l12a4

~iII06"'1

... 13724
l'tJ726

11<'33

11<'3'5
tl)

CG11
,,}I!I('575
·'iIl621l

IJi!lIb00

(I)

(II
1"31

" .. 0'574
117"4"

(1)(110577

1>1312..
013122

(I)

1113<1

000573
,,6061"

(!13114

n]H~

ali!'H.5

,J"""0S

Ll511H

,WRITE IT TO BR
; SHIFT IT RIGHT

MACYll 30(1046)
ll-JUl.-77
12118 PAGE 6-36
FCYH--ROUTINt TO HANDLE CRC2 AND TO DISPATCH NUHBt.Rt::D AND UNNUMBEREU TYPES

f!",,564
"b2620

(1)
(1)

11124

BRWRTt MEMX,SEJ..B
MICPCilMlCPC+l

BRWRT£ IBUS, RCVCON
J READ RECVR CONTROJ.. REGISTER
MICPCo:MICPC+I
 I  I 
1READ PORT STATUS WORD TD BR
HICPCaMICPC+ I
<"IOVEI WflTE8RlDP I 
SR4
BNAKI
, IF START MOOE--PRO~EED TO REBEND START
MICPC.MICPC+l
 I 
MEM
8R,INCAlspe
,INCREMENT ~T
MICPC .. MICPC+1
3

MACYlI 31<1(104b)
I1-JIIL-71
12118 PAGE 6-35
HCYH--ROUTINE TO HANOLE CRC2 AND TO DISPATCH NUMBERt;D AND UNNUMBERED TYPES

PAGE:


MEM
BR, SELB
; UPDATE IT
MICPC.MICPC+l
 I ' 
: J..OAD TYPE RECEIYED--DECRE.MENT ING
MICPC·MICPC+l
 1 
bRIiRTt DP,<5ELAISPH'>
,J..OAD LINE STATUS WORD IN BR
MICPC·MICPC+l
 I 
BR4
10$
MICPC.MICPC+1
 1 ,SP13
MICPC.MlCPC+ 1

Z
REI:'
MICPC·MICPC+l
 I , SP13
MICPCo:MICPC+1

Z
NAK
MICPC.MICPC+l
 I OAK-IN I r&o 777 n.»
LDMA
IMM, TYPSTT
: SEr POINTER TO START TYPE
MICPC-I'I1CPC+1
<"'OYE I LDMAR! I"''''! ,SP13
"IICPCO:III1CPC+i

Z
STAHr
I
lin')
(1)
(1)

Hl40

"1371$2

(ll
Hut
(ll

613744
i"374&
.,13146
'stl7S"

Cll

il1375~

1043
(ll

UI3752

(1)

U13752
lH 3754

11144
(I)
(1)

1045

.,13754
+13756

(ll

ell
1046

1)13756
1>137b0
!J137b0
~13762

ell

1049
(1)
(1)
1049

ell
ell
105"

IH371>2
Itt3764

lH37b6
1f13770
~1377'"

1051

013772

(ll

a001>13
Uhf445
RCVCK:
IJ""b14
1:231>4"
&00615
0b0400
000b16
,,,3452

110405
ACK:
:J006:;!0
Iib0530

107223
000b22
HhH45
56:
000727
'h~0b24

t,I3772
'f1J174

ct)

(ll

r;:;J06i2
105b20

170~1>23

(ll

t05.!

'.H3714

,,63270
N0b25
104517

DMCI I DOC"'P PROTOCOL IMPLEMENTATION
DOCNE. .... MAC
H-APR-77 10:08
1055
1056
1051

t'13776

(1)

toiJ0b26

(I)

.13776

1~se

~~! 4~00

(1)

(ll

"14~0'"

1""5~

"'140"2

(ll

(ll
lf1bll

,;14o",2
'.14304

(I)

(Il
UbI

~14004

f:HHii6
!J141110

(ll

~14;;10

&Uil'i12

(I)
(1)

1)14,)12
IU4014

(0

!H4"14
;1141116

(ll
(I)

1",75
(1)

)14f116
1111402 ..
1l14(~2"

HlP
1I!1'l
et)

(11
il I 
,TURN ON C0
MICPCaMICPC+ 1
 1
SRI 1 
OUTPUT
IBUS,PCVDAT10UTDA2
,OUTPUT A CHAR
MICPC~MICPC+1

l14~12

Cll

(ll

"'4&37

.,iJ.o636

(Il
1076

:!I'''''b 32
&110670

0~"'635

(t)

1074

«1,,'b31
061310

~00&33

(1)

1063
H112

IO'1H

""0630
,SPU
;ACK TYPE
MICPCaMIcpC+l

Z
. ACK
iO\ICPCaiiICPC+1
 I  I  I  I <5$-IIIT"777/2»
ALioIAYS
IDLE
MICPCaMICPC+ 1
 I ·
ALWAYS RD5
MICPCaMICPCtl
.
 I  111
... 54173

1700621
,..13764
013766

ct)

(1)

..,"21610
115425

:;~0617

(1)

(ll
1",,47

(n

~5H71

t;U744

(1)

0096

 1 ,SPll
HICPCaMICPC+l

OUT
BR, 
; .. RUE NPR REGISTt:R
MICPCaMICPC+l
!17.-,

1 tl4

~14072

(1)

(I)

~14"'72

1115

'f14J74

(1)
(t)

30"652
105255
063 I 65
t'0a054
105721
10$ :
~231411J

8*''')656
1l&2066
1111,,657
115030
.R K9,
"232~0

RK):
1,1'01.161
r'b2202
~4J&b2

(1)

1113

RK501
l'''''b51
1J63164

<}*,0660

(1)

(ll

I)b2;!b6

"""b55

(I)
(1)

111"

RK5r
0011047
",231",'

0~klb53

(1)

0)
1106

46
1£'2"45

!!I00b5~

(1)
(t)

RCVKE:
""0045
120b00
~e06

(1)

11"'1

1125

014074
";14"76

(I)
(I)

#14076

1126

·H41"'.~

111.13164
"iH1663
1 "52b6
0:'<11>64
i'&3165
0.:<1"665
111765
RK6:
'''''''01.16
H

O"'C11 OOCMf PROTOCOL IMPLEME"rATION
ODCN[W.MAC
21-,\PR-17 lIH~B
(1)
(1)

MACH 1 3f
HRWRTE 1M", I ~7
MICPC'"'" ICPC + 1

MICPC,",MICPC+l
73

(1)

(0

l}.oollb71
3.,3517

il14112

(I)

C14ll.!
1'14114

1136

[)00675

(1)

(ll
1137

"114114
1"14116

(1)

(ll
1136

Jl4116
f'14121/l

(1)

(t)

l'J"0674
i'212111'1

1:114121'1

!JO~b~1

11>""076
II700?!
1)..,,,&77
1"41>61

PAGEl

0099

,READ NPR REGISTER
;MASK FOR ALL BUT C0
fTUItN Orf' ALL BUT Cil

pr51~

MICPCaMICPC+l
 I 

0098

,

RKEta
='"1'1670
12320*,

PAIiEI

MICPCaMICPC+l
 I  I 
, WRITE INCREMENTED SA
OUTPUT DP, 
MICPCaMICPCtl
 I < 10S-INIT'777/2»
SP
BR,DECA,SP5
,OVERFLOW - DECREMENT HIGH BYTE
MICPCaMICPCtl
<"40VEI SPXI BRI DECAI&P5>
,BYTE COUNT ZERO
Z
RL3
HICPC'"'MICPC+l
 I 
OUTPUr OP,
J WR~ TE INCREMENTED HA
MICPC"MICPC+1
 I < ICBA22-IN IT' 777/2»
;REAO CHAR AND SAVE IN SP0
SP
IBUS,RCVDAT,SP0
MICPCaMICPC+ 1

C
RK6
~ NO OVERFLOW
MICPCaMICPC+1
 I 
Z
ilL ..
,aUE COUNT ZERO
MICpC'"'MICPC+1
 I
BRIiRTE. BR,SELAISPI
:READ STATUS BYTE
MICPCzMICPC+l
 I 
SfAff.
HCVJ
JNEXT STATE IS J
<~OVt;1 iriPTEijll1 1M'" I  I  I  I 0071 3
000111
1115136
"0112
1114503

DroIC 11 ODCMP PP.OTOCOL IMPLEMENTATION
cl-APR-77 10:~8
DOCNEIoI."'AC

llbl
llb 2
HId
1164

~1141

5'1

(I)
(1)

llbS
(I)
(I)

30(1046)
l1-JUL-71
12:18
PAGE 6-43
RCYR--UNNUMSERED ME.SSIIGE RESPONSE FIELD

:,.'070&

(1)

(1)

M~CYll

OJ!

4t 52

,,"0535
8"" 114
I fl45 3&

0102

.saTTL RCYR--UNNUMBERED MESSAGE RESPONSE F lELD
1 ENTEREll FROM IDLE LOOP
f
tlRWRTE
I1'1M, 1
1 REP MESIAG!:: TYPE TO BR
MICPCaMICPC+l

1NEXT STATE IS RCVQ
STATE
RCYO
MICPCo:MICPC+1
 I  I  I 24

(I)

iii
IUl8

170iH32
1j23640
116116

,,6i/1601
""lH35
te1751
010153

"lb402

0.,0740'
616702

".hH41
i·i ';2i ..
",.226

(1)

(JJ

t!t422,;

12;,'}
t:1H
(ll

;';1423,'

(1)

~1421I'

1211

.14232

(Il

(II

:.H4112

1212

r-t42H

Cll
(11

ll"I 1 
SRI!
IDLE
HICPCcMICPC+l
 ~ 
OUTPUT BR,INCA!OBAI
,INCREMENT THE LOW ORDER IHTE
HICPC=MICPC+1

OUTPUT BR,AC!08A2
,ADO CARRY TO HIGH BYTE
MICPCcHICPC+l
 I 
BRWRTE IBUS, RCVCON
,READ RECEIVER COHTROL REGISTER
MICPCaMICPC+1
 I !  I ,,371»
BRIoiRTE IMM,10
,MAINT MESSAGE ERNON
MICPCaMICPCt 1
 I 143,1)6

1243

Itl411~

til 4310
814312

(ll
(ll

,,14312

1245

~14H4

(I>
(1)
It)

IH7
(1)
(I)

"~~~Q!'

01'11766
11110747
""0767
0;00434
000770
1232""
~b101:il

"00772
111'1753

&08404
~00174

(I)

lHE>

3tl0764
1"'061"

~00771

(1)

(ll

000163
103747

(100171

(I>
IH2

1144

0.hntl2
06"601

00'''65
"t'174
.14276

(1)

(11
lHI
11)

PAGE 6-·"

PAGE:

0106

PAGEl

0107

U4314
811316
"14316
191 4320

'2322'"
0111;,775
kl 6UHl
1100776
114167
&00777

"1f)2;,

""at-3"

BRWRTE IBUS, RCVOAT
,READ THE CHAR
MICPC-MICPC+1

Z
EM3
I'IlCPC-MICPC+l
1  I < 10'-INIT& 77112»
ALhUS FLUSH
JALREADY IN -MAlltT MODE
MICPC-MICPC+1
 I 
ALWAYS FLUsH
MICPC-MICPC+l
 I 
:l.
EMTRIG
,TRIGGER AC LOW
MICPC a MICPC+1
 I  I < IDLE-INIT& 777/2»

MACYlt 38(1046)
I1-JIIL-77
i:.M2--PROCESS RLD MESSAGE

12118

PAGE 6-48

J
BRWRTt; BR,SEU1SPI
: SEE IF IN MAINT. MODE
MICPC-MICPC+l
 I ! ".1 PR ! SI'!'"
ALWAYS RA3
:TREAT LIKE NUMBERED MESSAGt.
MICPC-MICPC+ 1
 I 
OUT
8R, ADD I ONPR
:00 IT
MICPCaMICPC+1
 I 
OUT
BR,AD01OBR
MICPC-MICPC+l
 I 
"1434"

12115
(I)

~143H

"14346

0)

ell

!1~1"12

",,"453
1'111"13

1;114350
;14352

I/b3222

;,14351
~'1435 4

(1)

(Jl

127"

31'1014
1'"!I3

(1)

113427

0"1",16
:; .. .,t>i';

1114362'

(t)

(11

... 72

r1436,'
1>14362

(I)

""1021

(1)

~"~bliH

121 3
(I)
(1)

('14361

1114

;;14366

[1"llIll
:;6;>2 30

(1)

(I)

1715
(I)

0)
OJ
(I)

127..,

0" 366
1"1431.'

,llHit23

,,1:,,",,'"
"'"H~21

"bU12

PAGE b-49

PAGEl

0108

aRWRTE
railS, triTtON
,READ TRANMITTER CONTROL REGISTER
MICPCeMICPC+l

;If' READY PROCEED
MICpcei4ICPC+1

ALWAYS
11
J ELSE IDLE
MICPC .. MICPC+I
 1 <::ll=INITi. 777/2»

MACYlt 31H10411)
ll-JUL-77
12118
TfoITA--FIRST CHARACTER OF HEADER'

1258

J2H

12:18

.=lNIT+2089
MICpCe777
.SBTTL
TMTOA--TRANSMITTER DISPATCH ROUTINE

,U771

(1)

(I)

MACYll 30(19461
11-JUL-77
EM2--PROCESS RLD ""SSAGE

BRWRT~

PAGE 6-50

THTA--FIRST CHARACTi!R Of' HEADER

BR,AA!SP18
,SHIf'T LEFT
MICPC=MICPC+l
!  I 
BR4
11
,If' START MOOE--EXIT
MICPC=MICPC + 1
1.<11-INIT&. 777/2»
SRt
NUMSYN
7 If' LINE HAS GONE IDLE SEND SYN
IHCPC"MICl'e ... 1
! 
BRWRT£
BR, SELA! SPI
,ARE wE IN BOOT MODE
MICPC-MICPC+1
 I 
~UNNUMt:I MESSGE?
MICPC .. MICI'C+l
! 
~ HI TMT SILO
1"Tl5:
MICPCeMICPC+l
IUS
11
MICPCaMICPC .. l
 I <1 I-INI TI.77 7/.l»
TSTATE
TMTJ
1 "'TUI"
MICPC"'MICPC"l

BF<"PTE
H4M,5
; i:.f'", TO bR

PAGEl

0109

DMCII DDCMP PROTOCOL IMPLFMF:NTATION
DDCNlW.MAC
21-APIl-17 H':"8
(1)

(II
1277

l'i"h'25
'H4374

(1)
(1)

"14316
1f144000

(1)

O)

.-144"'10

1279
(t)

"14402

(ll

IH4402

128"
1281

.14404

(I)
(1)

IH44~4

1292

E144"6

121H

114-106
\;1441"
814410

1284

11114412

(ll
(t)

(ll
(1)

1289

1>1442(1
&14-122
lil1H22
.14424
H4424

Il)

II}
1294

1114426
!'14430

(I)

(»
U9b

fl44JU
,;14432

(1)
(1)

1297

614432
014414

(ll
(I)

1291:1

(ll
(ll
1299
(t)
(t)

""1032

tl3434

klil1033
100452

~ft'llb20

(1)

(1)

~6eb10

1t14414
'H4416
1f14416
014420

('14414
"11436
.14436
J14440
"'1444"

""tins

(1"1036
11!l052

oI!! III 31
!HJ0173
""1040
"t>327iJ
11111041
1}00445
0111042
r63222

(ll
13.1t

tl4442
014444

(1)

(ll
1 J"2

"1440
814446

(1)

(ll

11'14446

IH111

PAGEl

lUll

MICPCaM1CPC+ 1
<,",OVE.I WRTEBRI IMMI<5»
ALWAYS TMTAS
MICPCaMICPC+ 1
 I 
I READ LINE STATUS WORD
MICPCcMICPC+1
 1 <5S-INITio77112»
ALWAYS 11
, t;I.SE--IDLE
MICPCo:MICPC+l
 !
8R4
J RTS SET1 I f SO WE ARE--STA~L
It
MICPC.MICPC+l
 1 
TSTATE TMTAI
MICPCaMICPC+1

BRWRTE IMM,10

""111143
t{lIl4t0

olllC 11 DOC"!' PROTOCOL IMPLEMENTAT ION
21-APfI-77 10:08
DDCNEW.'1AC
1l0U

PAGE 6-51

I

0"1034

(1)

12118
(t)

01iH030
110421

321166..,

(t)

(t>
1211 1

T"'TBT:
Nlll627
,,00b20

.14412
814414

(l)

(11
1296

"(111'26
110421

38U']1

(1)
(1)

1295

'J03405

~14376

1278

(Il
(l)

"'ACYl 1 31"
SP
BR, DECA, SP6
i DECREMENT SYN COUNT
MICPC=MICPC+l

Z
TMTEXT
MICPCaMICPC+l
 I : <'fMTA5-IN In? 77/2»

OMCll OOCMP PROTOCOL IMPLEMJ;.NTATlON
OOCNEW .... AC
21-APR-17 101"'8
1304
1305
13166

.SBTTL
"'1445.,

1)"7

8t 4450
.,101452

(1)
(1)

~t44~2

13,H::

t14451

(ll
(1)

13.,9
(1;
(1)

131'"

(Il
(ll
1311

"144S4
"14456

",1446"
814462

(I)

(0

IJ14462

'HU64

(1)

~1H.64

1313

~14466

(1)
(1)

1315

6532]6
IhH057
.,16403
";'1116"
1;11>1>12

U05"~

ail 1062
,:/1441>6
014470
014473
('14472

0)

(ll
1316

".,11<155
1)10011

"01061

(ll

1314

1231>00
"'Hkl54
1021645

iiHil56
(flUS!)
k't 446:/1

1312
(l)

(ll

TMTB:
IhJt~53

(I)

U)

al>3222
i'IIH063
056224
~'Heti4

~t4472
~14414

&56225
1:J01~65

(J)

(ll

014414

1317
1318

IlIH76

(1)

(ll

~14476

1319

(61450('

(ll

343227

001066
,,"'3300
001067

::1450'"
014502

~54660

(l)
1321
(l)

014502
'H4504

DiH620

(1)

un

814504
814506

(1)

614506

132.3
(ll
(1)
1324

~t451'3

(1)

132"

(ll

~01070

(ll

1114510
.14512

(lJ

IHH1671
:>01620
"!H012
001620

0"11114

(1)

114512
'14S14

(1)

(0

In"

U14514
014'516

(1)
(1)

1327

1114'516
014520

(1)

(ll

1328

111452"

T8~:

PAGI:: b-53

PAGEl

0112

TMTB--OUTPUT FIRST CHAR OF COUNT

;PilR
IBUS,NPR,SP0
:READ SR CONTROL REI;
MICPCZMICPC1-1

!:IR0
IDLE
~ NPR G9!NG--GET OUT
MICPCaMICPCH
~JUMPI BR0CON 1 cIOLE.-INIT.li.30S004> 1 cIDL£=INIT' 177/2»
LDMA . 114M, LTC
,GETPOINTER TO NEXT TMT LINII:
MICPCZMICPC+l

OUTPUT , SELB I IPAI
,WR~ TELOWSYTEOFADDRI::8S
MICPC=MICPC1-1
_
,SEJ,.BllBA2
IWR~TE HIGH BYTE or ADDRESS
14 !CPCzMICPC+!

JWAIT TO MASK OFF .MEM EXT. BITS
SP
IMM, 300, SP0
I MASK FOR MXT
MICPCaMICPC+l

SRWRTE MEMXIINCMAR,AANDBISP0
,TURN OFF C~2
",rCPc z MICPC+1

BRSIIFT
MICPCcMICPC+l

BRSHFT
MICPCaMICPCH
< "10 VE I SHFTBR I WRTEBR 1SELB>

BFsHrt
9d1073
01111>2'"

DMCll OOCMP PROTOCOL IMPLEMENTATION
ODCN~W.MAC
ll-APfl-71 10108

1325

MACY11 3111(046)
ll-JUL-77
12:18
TMTB--OUTPUT Fu-.ST CHAR OF COUNT

1>1>1230
"'IHil75
';571>26

MICPCIIMICPC+1

OUT
BR, SELB 1ONPR
MICPCaMICPC+l

MACYl1 31H1046)
l1-.JUL-77
12&J,8
TM1'S--OlTTPUT nRST CIIAR OF COUNt

PAGE 6-54


OUTPut BR,SELB!TMTDAT

PAGE:

,LOWBYTE OF COUNT TO SP6
,IiR~TE IT TO TMTR SILO

~~tlA'4

MICPC!lMICPC+1

81>2230

 I < IDLE- I N I Tlio 77 7/2»

1.'1011717
180445

.

0113

OMC11 DOCMP PROTOCOL IMPLEMENTATION
OOCNE-W.MAC
21-APf'-11 10:08

13H
1331
1332

.SBTTL
:~14522

(I)
(1)

I J3 3

.14'22

1331
Ill')

£14526
,,14530

1336

tl1453\1
t·14532

(1)

(Il

1131
(1)
(1)

133'1
(t)
(t)

lB9

~t4532

114<'
(I)
(I)

1141
(ll
(1)
134Z

tl14536
:J145,.;)
fII145H
"'1454'2
t,.4542
"14544

(Il

1114546
.-14553

1344

ol1455'1
.:14552

0)
(Il

ioi1455'2

(1)



aIJII35
f'62416

1:)'
" 106
000<; 45
e1l111'"
111513
5S:
~01111

1114544
1:I145H

(t)

1143
(Il

Ull~7

01t1104
"f1IIU;J6

caB515
"'HI12
1 ",,451
&01113
""2473

""'t

lhfll14
110511

PAGEl

IH14

PAGEl

0115

TIITC--OUTPUT SECOND CHAR Of' COUNT

1"'''',77

JU376

0t.IJ~71

;t14534
1J115H
1114')36

(J)

(ll

1'''"
"2
"62230
60\ \Ill

(1)

(ll

!:i63667

~14,)26

(I)
(1)

allll00
1)1l0477

\i01lSl
1'14')24

PAGE 6-55

BRilRTI!:
MICPCaMICPC+ 1

OUTPut DP,
MICPCaMICPC+ 1
 l 1 
",1456.1

(I)
(t)

~14560

1351

W145f>2

(t)

(I)
'1C:')

U14562
(II! ., C;; ~ ~

(1)

(t>

IMTDI
;ttl 1 I 15

i'14554
"'14556

"1l0523
301116
1163166

ihll111
111121
Dilll20
1.\63161

.SBTTL TMTD--R!SPONSE FIELD-NUMBEREO MESS AlOE
STATE
TMTE
MICPC-MICPC+l

C
T02
~ NO OVERFLOW
MICPCaMICPC+l
 1 
:..C'~;.

')01121
614564

MACYll 30(1046)
I1-JUL-17
1211B
PAGE 6-56
TMTO--RESPONSt: HELO-NUMBERED MESSAGE

rUl1l

!~~,I5;1j.

MICPC.MICPC+l
14576
li;1460.?!

(I)

(ll
1374

11114&"'3
ill4b02

(1)

(tl

""1123
123000
&111124
Hl2iJS2

G14574

(I)

"'146"'~

I'IACYll 30(1046)
B-JUL-77 12118 PAGE 12
TMTE--NUMBER FIELD--NUMBERED MESSAGE
.SBTTL

TMTE--NUMBER rIEloO--NUMBERED

SPBR

IBUS, NPR, Sp0

PAGEl
MESSAG~

T"TE:

*"1451"

£I0tUS
.,60612
JIll126
1'''223''
""'1127
""0531
101l11l0
110573

0116

ALWAYS TJl
l'ICPCo:MICPC+l
 !

J READ NPR CONTROL REGISTER

BR~
•
11
~BUSY ... GET OUT
MICPC-MICPC+l

,WRITE IT TO THE SILO
I'lICPC-MICPC+ 1
 1 
bRWRTE 114M, 1
,LOAD ADDRESS
MICPCcMICPC+1
 I 
,I1PDATE THTR CONTROL. REGISTER
MICPCcMICPC+1

,OUTPUT A GARBAGE C~AP
MICPCaMICPC+1
 I  1 54
G14651

(11

(ll
1419
(11
(\)

142J

14.12

Z14654
>.:14656
.114656
lH4660
(H4660

(ll

(ll
1423

3141>60
"'14662

(I)

(1)
1425

i:14662
YI4664

(ll

'H4664
1614(,61.

«)

14}6

(ll
(11
1427

t}t46E>6
81467e

(1)

(ll

0146711'
,H4672
iH4E>72

0iH! 45
1"2,,'52

5$:
(;"1146
"'niH 3
;;2310~

"0111150
.J62/664
~03161>

1'31152
11115'5
1'01l53
1,1>3167
""11;,4
1 15402
TH6z
TMTF1:
D01155
"",,'557
1'101156
lIM451

lB~

1:114674
IH4676

(Il

(I)
1431

031160
1i'J21652
Ttl9,
rlH161
02203<'
\)111162
.,23100
I<'62f1164
016116 \
1t1372

(t)

(ll
1432

1!!147114706
\.11470&
t:.1471,'

(I)

(ll

tlt47hl

14.;9

':14112

(1)

(1)

~14712

1440

')14714

(11

(ll
1441
(I)
(I)
144~

,,14714
114716
l:14710
1'1472;)

(1)


BP0
11
MICPC-i41CPC+ 1

,OOLI CHAR TO SILO
MICPCaIHCPC+1

OUTPUT BR,
,OUTPUT THE INCREMENTED BA
MICPC a MICPC+l
! E~REMENT CHARACTERCOUNT
MICPcaMICPC+l

C
TH7
fNO OVERFLOW
MICPCaMICPC+1

Z
HEHI
, BYTE COUNT ZERO
MICPCaMICPC+l
 I 
STATE
TMTH
MICPCzMICPC+1

'l:HlX,
SRiiR'lE IMM,157
,CLEAR C0 AND Ci
MICPCaMICPC+l
<"'OVE1WRTEBRI 1141'11 <157»
SP
BR,AANOB, SP0
,CLt:AR THE BITS
MICPCaMICPC+l
<'40VE lSii'll SR 1 AANDS 1 5P0>
BRWRTE IMM,t
I WRLTE NPR B ITS TO aR
MICPCs:MICPC+1
 I! 
SR0
It
;IF NPR IN PROGRESS --BRANCH
MICPCaMICPC+1
i 
I WRITE THE EYEN CHAR TO TMT S~LO
MICPCaMICPCH

OUTPUt SR,
"OUTPUT INCREMENTED SA
MICPC"MICPCH

C
- TH6
; NO OVERFLOW
MICPCaMICPC-tl
! 
Z
HEHI
f BYTE COUNT ZERO
MICPCaMICPC+l
 I 4"
('14642

(1)

(n

PAGE,

J

IH4632

(1)

11111>

PAGE 12-3

; ************TIME CRITICAL PATH--MODIF'i wITH GRI:;AT CARE
.SBTTL TMTH--ROUTINE TO OUTPUT DATA CHARACTERS

iii
(1)
(1)

MACHI 311(1046)
Il-JUL-77
12:18
TI'"i -NUMBI::AED MSG H~ADER EOM

'In'H
001167
1)63167
,',H170
1154,,2
",'''171
12360"
,"O1172
"",,544
111'1173
863222

il'"
74
ii0\l551
I

iHH175
1..1>32&3
f'01116
0""4"1
.",1177
, J4643

I

PAG~I

0121

DMCII DDCMP PROTOCOL IMPLEfI4ENTATlON
DDCNE.,. MAC
21-APP-77 11!1108

MACHI 30(1046)
ll-JUL-77
12118
TMTI--SEND UNNUMBERED TYPE HELD

145~

1455

0>14722

(1)
(1)

.,14722

1456

1'14724

(1)
(1)

1457

,'14724
:';14726

(1)

1:114726
~14H'"

(1)

.-147hl

1459
146"
1461

'H 47ll

(ll
(1)

tH4732

1462

,'14134

(ll
(ll

1/114734

14!,»)

~14H6

(1)
(1)

1464

014736
:':14740

(1)

(ll

01!lll01
::43226

""12iiJl

(I)

1458

(ll

TMTI:
9".200
i'>10153

.,1474.)

""",00.
('012,,)
110"06
TMTJ:
&01294
1,.015'
C""1205
$"'0610
Toll:
SlU236
9422)0
1'01207
100451

PAGE 12-5

PAGEl

0122

.S8TTL T"IT1--SEND UNNUMBERED TYPE fIELD
LDMA
IMM,T
,ADDRESS Of' TYPE nt:LD TO MAR
"IICPC-M lCPC+ 1

STATE
T"ITJ
MICPC-MICPC+1
 I  I CMP PR01'OCOL IMPLEMENTATION
OOCHE.W.MAC
21-APR-17 1Iil:08

MACYlI 30(104")
l1-JUL-77 12118 PAGE 12-6
TMTK--OUTPUT RESPONSE P'~ELD (U.... UM8 MSG)

14t,7
/4,,8
146:1

.S8UL
11'14742

(ll
(1)

147'"

:114142
lt4144

(1)

Cll

tl14744

1471

'H474"

(I)

TMTK:
01'12li1
"0041'l3
,,.11211
.,6"H6

(ll
0)

~14746

01'1212
:)110616
0U213

(1)

tlI4750

e63222

(1)

~14752

,,01214
111223

1413

ot4754

(I)

(1)

(ll

"'14754

'h11215
I10Sl1

1474

147'>
1476

1;14756

(1)
(1)

1'I14 756

II)
(1)

1417
0)

IH476"J
0.4762
n4762
fl14764

(I)

,..4764
.,,47li6

(1)

~"1222

111625
IHH223

~ICPC-MICPC+l

n14710

1180400

 I 
"14770

(1)

(n

6",H03
,"'11221

(Il

148'"

0i!l217
;,63222
~"1220

(1)

1478
(Il

1479

TMTL:
~lrH216
"0~627

TMTIt--OUTPUT RESpO"SE FIELD (UHNUMB MSG)

BpWRTE IMM,3
J WRlTE A 3 TO BR
MICPC-MICPC+l
<'40VEI WflTtBRI IMMI<3»
NOP
SR, SUfi, SP6
, I f' TYPE LESS THAN 3
MICPCI:MICPC+l

TSTATE TMTL
MICPC.MICPC+l

C
TMTLtI
MICPC-MICPC+l
 I  1
bRWPTI!: IMM,3
MICPC-MICPC+ 1

Z
"T"TL1
, lr:ES
MICPC-MICPC+l
 I I 7

1'11593'"
,,15032

(1)

(ll

~.'1

51:'32

D01244
110641

DIIICII DDC'lP PPOTOCOL IMPLEMENTATION
DDCNEW.MAC
21 -A.R-17 10:08
15£19
1510
1511
1512

0150H

1513
(1)
(1)

;,15.'36

~"" 245

.TIMSRy--TIMEOU'l ROUTINE--SENDS

.ENABLE LSB
.
IBUS,UBBR,Spe
T!MSRVI SP
MICPC-MICPCtl

t~3~~Q

<""'iEISi'll 16US, U66RISP0>

1!i'lI24b
"'''0571

BRWRTE IMM,111
HIC.pCIIMICPCt 1
"
015"'62

(I)

"1'id62
titS"" ,
u15'-o4

1529

",15000

153:0

elSI(Ib6

(I)

·'15"bb
.. 15"1,,

fI)
(1)

153l

• t5,17·\
,'15,,72

10S1

255
116731

vi" 256

. -..,"''''.

1il '"

~01260

(I)
(I)

1531

.,63175

"~lOt

1526

II)

001251
103445

"15~52

(1)

15:t~

011125£1
e60601

1"~12S)

!.15£'50

1524
(Il
1'i2'5
tl)

tiJ61271

,,"ll52

(1)

(t)
1523

1'115

n2

PAGE:

0125

REP
;READ UNIBUS BR Rt.:GISTER
; MASK 0P'f

BR REQ

;RESET TIMER---SLICK MOVE
,SINCE TIMER IS RESET BY WRITING
,A 1 AND THE EXPIRATION
LOOKS
,LIKE l--VOILA
,AIID THE BIT ON
-.

ISIS
1516
1517
1518

,SHI.FT STATUS LEFT

MACYll 30(1046)
I1-JUL-l1
12:tB PICE 12-B
TIMSRV--TIMEOUT ROUTINE--SENDS REP
.SBTTL

"31503 i
1:1151'36

\jj

1!l1:z4

, < ISS-INIT, 17112»
BRWRTE IMM,316
,MASK TO TURN OFf UNNUMB pENDUING
MICPC-MICPCtl
<~OVE;: WRTEBR! ItO!!: 
ALWAYS TEOM2
ftICPC=MICPCtl
 I ! <58-INIT(.17112»

,

(1)

PAGEl

.SElTTL TMTM--UNNUMB MSG--5TATIDN ADDRESS
TNEOM
STATE
HICPCaMICPCt 1
 I 
I1ICPCo:MICPC+l

MICPC=MICPCtl


:'~~:~!Ml~:~:~ISP10

~15i'22
IU5~H

(1)

(ll

iJ6)1U

01501b
El5e21i'

(1)

1503

O.H234
£100434

PAGE 12-7

JOb?,,\~

OUT
BR, 1 
Z
20$
,If ALL ONES HAS t.:XPIRED
MICPC=MICPCt 1
! 
BR4
IDLE
; START MODE
HICPCzMICPCtl
 I  I 
tlRI
IHCPC""'lCPC+l


1535

',15014
1115"70

(1)

(I)

1i151.l;l
~;151~2

(1)
(I)

'15H'l2
9115101

(I)

(ll
15)6

;;1511:,4
iH5tll6

(1)

(I)

1539
(I)
(1)
15H~

IH5U6

(ll

tJ15112
uI5t 14

(ll
(t)

~H5114

1542

6H5t 16

(J)

III
15H
(I)
(I)

15H
(1)

"1St 21"
lil15122
£;15122
01'5124

(1)

(1)

~15124

1546

~1506

(1)
(I)

1547
III
(I)
15H

(Il

,,1512b
01513;)
"15130
NSl32

(t)

;~15112

1549

t'l51H

(1)

(Il
155~

(Il
(1)

10;51

fHII267
1660572
tlel270
k'1J0377
!HII271
111654
TIME2:
"jilt 272
0l!l153
001273
"'6403

"UI274
1!11670<'
""U275
010015
1'1"1276

1115116
015121'

(1)

1540;

206
1113076

~151J,'

1'15110
I~ 15112

(I)

1541

eiH 265
.... I o 2 oil
kl(H

rJ15070
tl5101J

1536
1537

"15134
"15136
"15136
1.'15140

(1)

04322~

ElI/ll271
;;6246'"
.,.,1300
IHa003
001301
04062O

alii 1 J02
flblb20il
fliH303
!'62620
B!lUS4
til 2 35 3
B"1305
Il1l0611\
301306
,,633U!
"d1307

OMC 1\ ODCMP PROTOCOL IMPLFMENTATlON
OOCNE","'AC
2t-APR-77 UllliiS
(1)

1551
1553

"ACYll 30(1046)
ll-JUL-77
12118 PAGE 12-9
'I H4SRV-·T IMEOUT ROUTlNE.-SI£hDS
REP

"'I5H>l

100445

PAGE:

0126

HRSHfT
HICPC"'MICPC+l

BR4
ast
, IF IN START MODE--SRANCH
MICPCaMICPC+1
 1
Z
105
~ IF EQ --SEND ACK
MICPCaMICPC+l
 1 < 10. -IN 1 'U.717/2»
LOMA
- IMM,T
,LOAD ADDRESS OF TYPE fIE1.D Iii UNNUMB SK
MICPCaMICPC+l

MEM
BR,INCA!SP"
,INCREMENT IT
MICPC.MICPC+l
_

MEM
BR,SELB
MICPCaMICPC+1
 I 
ALWAYS IDLE
MICPCaMICPC+l

MACYlt ]0(1046)
ll-JUI..-77 12118 PAGE 12-U
TIMSRY--TIMEOUT ROUTINE-.SEHD8 REP
 I 15204

(1)

",!It 315
;'606.,,1
113755

IJIHH 7
063072

"1"101\
001321
1)5022')
Ll>j!322
IH06210
l'h11323
112334
0[01324
000175

iliH 325
063670
kllOl326
tt2334
¥.l013,ol7
U10153
1:,31330
1}164r61
~ill331

(1)

1574

1;\01314
\i62230

~i5ii6

(1)

(ll

Ot/0402
lllH3t3
062231

N1l32a
1;15162
"15164

(1)
(1)
1~66

(tl
(tl

iiili3ii
116863

0;111 316

t'15156
o;151b0

1565

1561

1206H

nU12
i ';i ii6
IU515;!

•

"152034
::1521<16

"\;0405

DIilC 11 DDCMP PROTOCOL IMPLEMENTATION
21-APR-71 1011~8
DDCNEw."AC
(1)

<1)

1515
(I )
(ll
1576
1577
(1)
(I)
1578
(0

(tl
1579
(1)

Cll
15~J

kH5.206
\;152101
1:'15210

IU5214
'.'15216

(1)

(ll
15ill

.. 1522~
'-"15222

(1)

(I)
15ij2

015222
.:15224
:J15224
015226
a15226
:"15230

(ll

(I)
IS85
(I)

.. 1523"
015232

(1)

()I 523:.!
,15234

1586
(ll
(1)
1581
(11

1)15234
U5236

(t)

~15B6

1588

1-1514-'

(1)

(I)
158'i

~1524~

ell

li15?12
1!'151H

(1)

(1)
15~1

t"152H
iH5246

(I)
(1)

.. 1524b

IS92

,'1575{1

(1)
(I)

"'152~J

I~H

.H5252

(1)

~013 3 3
lJbBI0

lEOM2:
!"'IH4
"'00403
011133')
10i1451
fUDGE:
12060~

""1337
102045
u,,1340
:H0bIH
1,,3505
'J"I342
jj36400
0"1 H3
'63642"

\,"'344
r.;104"2
kt01345
,,631104
IiHl1 346
1'231011
6111347
362Uil4

,,15242

(1)

159.1

SA3:

~kll341

(1)

(I)
1593
(1)
(ll
1584

MACYlt 30(11'146)
U-JuL-77
12:18
SNDACI<--ROUTlNE TO SEND AN ACK

IJkllH6
815216
tH522f<1

0128

PAGE:

0129

BRWRTt: IBUS, USBR
MICPCaNICPC+ 1
< '40VU WRTESR I ISUS! ' 
~ IiiRIrE TMTR CONTROL
MICPC=MICPC+1

;wRlTE GARBAGe; DATA
HICPCo:MICPC+l
 I 
TEOM1:
LDMA
IMM,LTC
~ADDRESS lIAST TMT LINK
MICPC"MICPC+ 1
"
BR0
TEOM2
MICPC"'MICPC+l
 I 
BR16
TEOM:.!
:IF UNHUMB PENOlNG--GO AWU
MICPC-MICPC+l
! >
.saTTL gNDACK--ROUTlN£ TO SEND AN lCK
SNDACK: LDMA
IMM,T
MICPC .. MICPC+1
C+1
~
SP
BR,AORB,SP10
MICPCO:NICPC +1

STATE
TMTA
MICPCo:NICPC+ 1
<'fOVEI WRTEBRI IMNI  1  !I
SP
IBIlS: JlR",!: 5!'!!I
! I)!'PII,!,E jl,ODRESS r,n~
MICPC==MICPC+t

OUTPUT BR, ADOIIBAl
MICPC-MICPC+1

OUTPUT BR,ACIIBA2
~UPOATE HIGH
MICPC-MICPC+1
 I 
ALWAYS THlJ(
:(;0 DO A,,"UTHER NPR
MICPC=MICPC+1

DMCII ODCMP PROTOCOL IMPLEkENTATION
DDCNE;W.MAC
21-APR-71 1"':1Il8
(1)

1594
(1)
(1)

15Y"3

1:15252
1115254
.:15254
r.: 1520;6

(tl
(1)

1596

.,15256
vl!)26\j

(1)

(t>

f}15260

15'17
15911

IH52b2

(1)

(1)

1599
(1)
(J)

16.,,,

~ 152i>2
1:15264

"'15:;>61
"15266

(1)

(0

Li15<'66

(1)

(ll
lblH

.-15271'1
r-15272

(1)

(11
1t>.,2

&15272
\:15274

(1)

(ll

lIS2H

(0

(ll
1603

t15276
IH53",'"

(1)

(ll
161,11

III 51~0
(153i12

.:>15302
9'15334

(1)

It)

"15104

lbl3

~15306

(1)

(11
Ib14
(Il

05306
filS)"!

(I)

.15H0
l'l5 3t 2

Iblo;
(l)
(11
161&

!.I15H2
"'5H4

(tJ

-aSH4

1611
1618

... '5H&

(I)

(tl
1619

1(1111 lSi>
0bH7f1
ill'l j57
0b3:.!33

""1360
110070
01111361
1.'043220
0"'13&2
1600431
"01363
1}63222
0"1364
114534
1'11'1365
001:1715
01'1366
~63223

12320~

IJiI137"
00;)621
f)1'I1371
t1J4643
&81372
$23120
001373

(1)

l-15316
"1532",

';b2~&5

iJitl374
t 11376
0111375
l1e5b5

aiH 376
'23200

DMel1 DOCMP PROTOCOL IMPLEMENTATION
DDCNlw.'1AC
21-APR-77 101108
(I)
(I)

1"]:'1
(1J
(1)

.,1532"
['1532.l
~15122

(1)

1~15324

t 10565

1622
Ib23

11115326

"it

(1)

(I)

PAGE 12-14

NICPC-MICPC+l

rTURN ON PROPER MIt IIITS
MICPC-MICPC+1
I I 
SP
, STORE UNRECOGN IZABLE VALUE INTO BPI)
BR,SELB,SP13
MICPC-MICPC+1

'SO wRH3- Wl1.L EXIT BACK TO IDL~ LOOP
LDMA
IMM,STC
J ADDRESS START Of TMT CHAIN
MICPCaMICPC+l

TSTATE NUMS~II
;CHANGE XMIT STATE TO LINE ~S ID1.~
MICPC&MICPC+l

ALWAYS TOON2
;POST A DONt:
MICPC&MICPC+1
 I 
SP
IBUS, MPR. spe
JREAD NPR CONTROL REGISTER
KICPC&MICPC+l

BRloiRTE IMM,221
MICPC:oMICPC+l
 I 
OUTPUT BR,INCAIIBA2
f OUTPUT INCREMENTED BA
MICPC=MICPC+ I
 I <5S-INIT&.777/2»
ALWAYS TH8
MICPC-MICPC+l
 I 
BRWRTE IMM,4
rWRITE BIT TO ADD

"'''1317
0t10404

1621
0)

tb24

PAGE; 12-13

BTEOM:

tJ013,)5
0"0774

IHH361

(1)

(I)
161l

113574

MACVl t )d(10.b)
II-JUL-77
12: 18
SNDACK--ROUTINE TO SEND AN ACK

lIHH51

HEHI :

STATE
TEOM
MICPC&MICPC+1
 I 31

tlt5336
1115340

(1)
(1)

~'H407

• SBTTL REP HANDLER
LDMA
IMM,REPCR
MICPCEMICPC+I
)I
SP
MEloiX, SELS, SPiii
MICPCaMICPC+l

MEM
DP.29

915332
!>I!53H

OJ
(1)

11>3'"

1:15334
1»15336

(I)
(t)

.,,534:1
",5344

(1)

(ll
1634
(ll

"15346

(lJ

015346

1635
1636
1637

11)15350

~'15344

015350
015352

II}
(1)

1640
Ib41

,;)15354

1 b42

11>15356
1'15360

(;153610
,..15362

(1)

'alS362
!"5364

(ll
(1)

164'5
(1)
(1)

I bi6

IU5364
015366
"15366
('15370

(1)

(0
1647
(I)
(1)

b221

9 .. 1415
117021

£HH416
019117

6tl~699

~01426

(1)

16U

6"1413
;96061"1

kJtl1417

. (t)

(1)
1643

START:

"I"

J,i1531,.;i
... 15312

"15372

PO~NTER

TO REPS RECC

J REAO N UMBER OF REPS RECD

; INCREMHT RI::PS REeD

~LOAD

ADDRESS OF TYPE HE.LD

IM~1l5351

LDMAR!

iLOAD MAR AL>DRESS WITH

0132

MEMINC
IMM,2
; LOAD HAl( TYPE
!HCPC-MICPC+1
 1
:READ LINE STATUS wORD
I4ICPC=MICPCtl

8M
10$
; IF IN START MODF: !ii~T 1;TA~1<
MICPC=MICPC+ 1
 1 <10S-HIIT, 77112»
;ELSE SET UP START ERROR
LDMA
IIlM,«RTHRS+,]»
MICPCaMICPC+ 1
&377»
BRWRTE HIM, 200
MICPCsMICPCtl
<"lOVE I HRTEBRI IMM 1 <290»
ALWUS RCEXY
MICPCaMICPC+l
 1 ~
ALWAYS SA2
, SEND THE UNNUMBERED MESSAGt;
MICPCZlMlCPC+l
! ->
SP
SR,AlNDB,spte
,CLEAR STARt MODE
MICPC=MICPC+l

ALWAYS TIMEt
;RESET TIMER AND IDLE
MICPCaMICPC+1
1 55
(1)
(1)

1656
(1)
(1)

1&51
(t>

IU54102
U154"'4

"1'11431
01151104
"'t5hlt>

(I)

0154L~

1-J15U2

(1)

(t)
(t)
(t)

IH5412
LH5U4

1661

;-"15414
·at54t!>

(t)
(t)

J15416

11162

~t542"

1,15421l
.'15422

(I>
(t)

1664

'715422
'.15424

(t)
(1)

lbb5

IH5424
!l1542&

(t)
(t)

"15416

166i>
(1)
(1)

~1543kl

415432

(1)

(1)

t;t5432
<'15434

(1)

(1)
lb69

ft5H4

(t)

'U54)<)

167"

~15440

(1)
(1)

1671
(t)
(t)

1672
lt> 13

'It 544il
1:15442

115 4 42

""1011
01H431
104663
&01440
32

,!'I

I""

iJ1H441
062212
1'J01442
104575
ItIH443
11J10010
".,1444
l'57220
'HH445
at-2b00
I'ikl14 0\6
;!60471
3"1441
0113232
11"1459
01",4,,6

,)15444

(I)
(1)

lIiU435
1"'04104

c;1~43ti

(tl

tool 5444

,tlH451
0b3310

O/olClt DOC"P PROTOCOL IMPL~MENTATION
.ll-APP-11 11'1:08
OOCNtli."AC
IbH
(I)

1675
(t)
(I)

H>1b

,,115446
,,15451'1
1115 45~'
1'15452

(1)

(I)

lb77

,;1S452
~'1 5454

(Il
(t)

1:1~~54

11178

fJl~45b

It)

(I)
lbH

JI5456

(11

1 liP I

'.'1 516U
,~1 5462
~'546.l

(II
(I)

tb31

MACYlt 3"(11146)
STACK HANDLER

ININT:
'hH454
k)1t0415
E,.il455
1232:t'"
BI" 451>
:l6H6"
I/IIH451
""060;')
1'1'11460
3111311
~"1461

fIlS464
rl5466
lit 5 4 6&

PAGE:

0134

,

e;;1453
,,,,720

U54!>4

(t)

1682
(11

PAGE 12-17

SP
ISUS, UBBR, SP'
MICPC"'MICPCH
< 'lOVE! SPX IIBUS I UBSR I sp,,>
BRWRTE I"IM,4
MICPC.MICPCtl

MICPCa:MICPCH
 I 
OUTPUT 8R, 
MICPC"'MICPC+ 1
 1 
MEM
,COpy START Of CHAIN
BR, SELA I SPIt
MICPC"'MICPC+ 1

BEtWRT': IMM,6
;WRITE NUMB!,;RED MSG PENDING
MICPC-MICPC+l


301452
ubH35

··tS46~

(1)
16~"
(t)
(1)

12118

ICBA22 : SP
IBUS, JOBA2, sp"
,REAIlTHEHIGH ORDERB~TS Of BA TO SPkI
MICPC=MICPC t 1

OUTPUT DP,
,OUTPUT THE INCREMENTED COUNT
MJCPCa:MICPCt 1
 I <5$- Iii 1 TO. 77 7/2»
ALWAYS RK9
MICPC-MICPCtl
 I 
ALWAYS TEOMI
MICPC-MICPC+l
 I
SP
SR, AAND~, spe
: MASK Off' VECTOR TO X04
HICPC-MICPC+l
<"IOVEI SPUBRI UNDSI SP0>
BRNRTE IMIII,290
: MASK fOR INTERRUPT
'ilICPCaMlCPC+l

AI,WAYS NIDLE4
HICPC"'MICPC+1
 1 
(1)
(1)

16S;

{n

(t)
!b~Q

~HH4b3

'-'1547"

(l)

C10171

rii5'i7~

~15472
~'! 5474

;;1547;
b1547b

(1)

,.II'14b4
"164o!1
001 \65
i}02 t~0
"'H466

til

~t5416

Ib9'"

tH550.,

(1)

IU55"0

(li

!:l43230

3"1461
114527

O,,"CII ODCMP PROTOCOL IMPLEMENTATION
ODCNEW. MAC
21-APR-71 10:"'8
Ib12
Ib93

1694

~15502

(1)

(1)
Ib95

l'15511i2
01551'14

(1)

(ll
169b

t"155i."4
f,il55!!!6

(1)

(ll

{"1550b

1697

615510

(J)
(1)

015510

Ib98

1'>15512

3d1471
1 17477

:ill" 472
6611'525
001473
117502
~014H

(1)

(ll

(1;61470
;,23005

015512
,,15514

000477

;)1551 ~
015511>

1<163065

lU,,,
(1)
(t)

"1551b

16~9

~"1475

(1)

(I)

17"'1
17.,2

fH552lJ

(t)

11)
17<13

;;15520
fl155U

(ll
(t)

17tH

(1J
(I)

17.,6

1,115520
''-'1553.,

0b3310

ilrJ15<12
""<142'"

17 .. ,
(t)

915532

!

2~S:

BRWRTE I"'M,29"
ISET OK TO SEND
MICPceMICPC+ 1

ALWAYS 5S
MICPCaM1CPC+l
 1 <56 -IN 1 n. 77 7/2»
BRWRTE IMM,20
~SETCLEARACTIVE
MICPC-M1CPC+1

BR?
15$
j SEliECT SE!?--Bi{ANCH
MICPCeMICPC+1
1 <15S-INIT. 117/2»
5$:
BRWRTC; BR,AAISP5
,SHUTSR LEFT
MICPC"'MlCPC+1
1<208-1Nl T. 777/2»
10$1
BRWRTC; IMM,77
J MASK
TO SR
MICPC"'MlCPC+l

• ALWAY BR, INCA, SP]I PAG1tl
MICPC=MICPC+l
•


,,15524
P'155H
ii1552t>

(I)
It)

MACYll 30(104&)
ll-JUL-77 12118 PAGE 12-20
SELQSY--ROUTINETOCHECK SELECT AND QSYNC AND DIODL'!:; LINE STATUS WORD

1J61509

.:t 5522

0)
(t)
17",5

;)61470
16446)

PAGEl

.saTTL NXIH:RR ---NON EXIST ANT MEMORY HANDLER
LDMA
IMM, «RTHRS+l»
1 ADDRESS t:RROp LINK
MICPCeMlCPC+l
"l77»
HEMINC
IMM,l
MrCPC=MICPCH
< 14 0 VI:; I WRMEM! INCMARI 114M 1<1»
MEM
IMM, e
i NX14 ERROR i$I T
MICPCeMICPC+1

AI.WAYS RCEXX
MICPC"'MICPC+1
 I 
ALWAtS
HIS
HICPC=MICPC+1
 1 <10S-IN1 T, 7 7 7/2»

D~eSt DDeHp PROTOCOL JMPLEME~TATION
DDC"'E"II.MAC
21-APR-71 10"'8

MACYll 30(104&)
l1-J01.-77 12118 PAGE 12-21
snQSY--ROUTI"'ETOCHECI( SELECT AND QSINC AND DIDD1.t: 1.INE STATUS WORD

111\19

11...,
(I)

H55H

(1)
1111

.'15534
015536
015536
:it554{~

(l)
(1)

.. 15'54.,

1717

liiI5'512

(1)
(1)

IH'5542

(1)
(1)
(1)
(1)

rt5'545

(1)
(1)

(1)

1125
(1)

91 '5550
"15552
.,15552
4
.. 15566

(J)

( 1)
173111

Ii. I '55&6

(1)
(1)

1132
(1)
(1)

J1H

801514
115116
IB441~

""t516
010153
001511
IH6402
""1520
002111
.,""75
&"'1522
83(,540

(:15'51.,

(I)

(ll

1131

ci15510
lil5512
,.t5572
t't5'514
1'15514
"15511>

C81'523
0)36560
801524
""1428
IHH525
tlI6480

litH '126

(1)

DMCll ODCMP PROTOCOL IMPLEMENTATION
DOCNEW. 14 AC
21-APR-11 10r08

(0
1134

.. 15571>
015600

(1)

ttl
1735

rU5600
.15602

(1)

(I)

1736

til5602
fill 56134

(1)

(t)
1731
tHIl

t·IS&04

(1)

1139

.. 150"'6
i."15610

(I)
(1)

1740

e1S61"
e15f>12

(J)

(1)

1141
(1)
(t)

1742
(1)
(1)

fl15612
,,115614
'115614
.115616

IHJ

f'15&16
.,15620

(t)
(1)

"15620

1144

~1562"

(1)
(t)

1 145
(1)

,,15624
615620

(1)

( II
1141

(Il

(t)

1749

1)15626
'115030
'" 56)"
£'15632

(I)

(n

17 f\I

"1'5032
.. 15b34

(1)

-.15634
'" 5630

Cll
1151

tl15636

1751
iii

RCEXX:

,,1111'30
Ihllti01
81'1531
114&74
TDON):
""1532
a40151
IHU'5H
187567
TDON2:
001 '534
310200
,,."1535
:h'2400
""I '536
""0010

,,"1173
8t'0545
0l1li541
0&0360

.."'1543
060406
081544
a&2409J
IDO'"4r
~10241

&"1546
053223

\, 1564C'
"151>42

"'''t!'>41
l:16611"
t.';155i"

PAGEl

'H39


,HUSH THE ~NPUT SILO
MICPC-MICPC+l

ALWAyS NnS1
MICPC-MICPC+l
,  I 

001542
115545

"'151>4.)

(1)

fll

062&20

aal'545

III
115"
(Il

17Sl

MACYlt lrH1046)
U-JUL-17 12118 PAGE 12-22
SE1.QSY--ROUTINETOCHECK SELECT AND aUNc AND DIDDLE 1.INE StUus WORD

lti" 5 48

(1)

1146

CI4P
MEMX, SP4
rCOMPARE LOW ORDER lilTS or COUNT
MICPC:0141CPC+1

C
RcrATL
,eARRY--TOO BIG
MICPCaMlCPC+l
 I  I CElC5-INIT, 17112»
RcrATL: LOMA
IMM,T
14ICPC=MICPC+ I
1io377»
HEMINC IBUS,IOBAt
MICPCiiMICPC+1
 1  I  I I t'363



11:'15644
vi564b

(t)
(1)

nS6

Li15646
e-t5bSt)

1757

(0
t1)

1758

1759

1>15654

17Ml
(1)
(1)

1761

L'15656
rH5boil
1115600
1d15662

(1)

(t)
1762
(1)
(1)

1763

915662
iU5bb4
9.'156b4
iH 5666

(1)
(1)

815666

1764

~15&70

(Il
~15670

1"15672

(1)

(ll

~15672

1766

f!'15614

rt)
(1)

.. 15614

1767

~15676

(1)

(1)

015616

170P
1769

~15100

(1)
(1)

'i:l571!l~

(1)
(1)

001550
''''0402
0111557
062403
01'1560
O".,420
e;iH561
1163301
3iJ1562
">072

I"

"0156]

(1)

1165

171~

&<11555
115569

~.i1565fi

(1)
(1)

!}"1552
302b42

'::156:> I

11)
(I)

17.'1551
ill 0241

~,"1553

(1)

(0

I:Ib2460

<140VEIIiRMEMI BRI 
CMP
BR,SP3
MICPC-MICPC+1

(1)

(I)

~43220

I'ilH564
1'.10010
ihil565
:;40360
ih'156&
1 "'5561

TOONI Z

3157e2
01H570
~43:237

0110107<1

1772

1115704
!1115706

(1)
(1)

IH57;66

(1)

~!O!1571

001572
i!)S3b20

DMC 11 OOCMP PROTOCOL IMPLEMF:NTATION
DDCNE- .... MAC
21-l\PR-17 1~:"8
1773
(1)
(1)

1774
(1)
(!)

EH57!2

171'5

~15714

0)
(1)

1710
1717
(Il
(1)

1778

.15714

(I)
(1)

IHH514
! !6532
ill11575
1,;4567

.t5721)

:f01516
0iHl404
1)1'1577
'14671

i ADl.lRESS ENOOf!N'!

LDMA
IMM,ISP17
MICPC-MICPC+l
<"'OVEILDMARIIMM1
LOMA
IMM,STC
!!!Cpcz!HCPC+l
! 02

(1)
(1)

1786

"'01b01
115&05

,,15726
0<15730

"'~0406

(I)

(ll
In7
(1)
(1)

1 788

",1573£'
<:15732
015732
i-I 5734

(1)

(lJ
17P9
(1)

flI57)1;
E'15736

(1)

USB"
,,15H0

1190
(Il
(1)

1791

e,.H6kl4
115b13

(I)

11)
1793

MICPC.:M!CPC+!

~6000t


BPI
RHX
:MESSAGE WITH NO BUFfER ASS~GNED
MICPCzMICPC+1
! 
BPI
RCVM"
;0[,1:; RECELvt:O IN NORMAL MOOt:
MICPC=MICPC+ 1
 1  l

~liJl&21iJ

IH5 7 4"
U5H2
'.15142
'J157H
IMlbl1

1f1574\
i.-15746

(1)

(1l
1194
(Il
(1)

... 15H ..
')1575.'

1,)0743
.;"lb12
I-Hool
2~S:

;',11 b
~1575-1

CHARACTER

'H'1 b!'lr;

.hllb06

(I)

R~CEIVE

IBUS, LNOSW, SP16
: READ PASSWD SWITCH
PASWRDI SP
MICPCz'HCPC+l

Z
10$
: IF ALL ONES NO RLD ENABLED
MICPC-MICPC+l
1<10S.lt~IT'777/2»
BRWRTE IMM,6
:CHECK rOR ENTER MOP MODE
MICPCzMICPC+l

Z
20$
, If EQUAL
ENTER MOP
HICPC"MICPCtl
1 <20S-lHIT.777/2»
1061
BRWRTE BR,SELAISPI
:RE"O STATUS BXTE

(1)

1792

13

"" 3\b4

0141

STACK

17H
178'}
I7Bl
11&2
1783

PAGE:

J ASSUME WRAP AROUND

IiRWRTE MEMXUNCMAR, SELB
J GET THE t'LAGS
MICPC"MICPC+l
<140VEI WRTEBRI MEMXI INCMARI  PROCEED
MICPC-MICPC+l
~JUMP !BR!CON !~TDO~3~If.IT"30ee~4>!~TDCNl=INIT&177 12»
ALWAYS RH3
,ELSE---£XIT
MICPCzMICPC+1
 I I
BR,AORB,SPI
SP
MICPC=MICPC+1

LDMA
IMM,ETC
JADJ?RESS NEXT EMPTY PTR
MICPC"MICPC+l
<>lOVE I LDMAR! 1I1!M!
IMM,STC
,GET NEXT DONE PTR
LDM"
MICPCo:MICPC+1
<"'OVE! LDMARI IMMI 
RH3
,FINISH PROCESSING HEADER
Z
MICPC=MICPC+1
 I 

1798
1799
(t)
(1)

10,,,,

(I)
(1)

18"2
(t)
(1)

18b]

815162
0157b 1
'H571>4
015766
"15766
I!J1S7H
.a577;'
.. 15772

(ll
(1)

10itlll

:'15772
iJ1S714

(1)
(1)

~15714

1111<15

f1115776

(ll
(1)

18116

1'1!l776
[:16000

(1)
(1)

316000

10",7

tU6a02

(1)

(I)

oJ' 61102

1808

"'MM4

(1)

(1)

1809
(1)
(1)

1810

(0
(I)

lR11
(1)
(1)

1812

0161'04
011>9106
IJlb3466
"16El"
;.J16U10
tJI61112
016!"12
016"14

(J)
(1)

lau

IiCVMl :
1""1616
"1:)171
al11617

tIl5760
.115762

(I)

(t)
18131

";,11>15
1114422

~H576a

(0
(I)

0"1614
allH>146

rlI5754

(1)

(1)

~62S71

:hH62J
if10241

""lb.!1
ICS1221
0"1b22
"16604
"01623
072614
1»'1624
01641'10
1ii01625
\f21144
IlIH626
0H165
001627
f/S7344
1f01630
115232
0d1631
('6316'5
10$:
01111>32

~ICPCcMICPC+l

<1I0VEISPXIMEMXIINCMARISUBI5P5>
"EM INC BR,SE'LAISPS
MICPCioMICPC+1
<"OVEI WRMEMIIIICMARI8RI))
016605
""'11>]4
tP66.,4
Ih~IH02

'hH636

DMCII DDCMP PROTOCOL IMPLEMENTA1'ION
DDCNEW.MAC
2t-~PR-77 1IJ:08
(1)
(1)
(1)

1815

ClI&",t6
"I61121d
li)1ti62111
~i16f022

,,:1\ 640

(1)
(1)

1816
(t)

"161,22
916Vl24

(t)

~I6"24

1817

"16"'26

(1)
(1)

uno

"'16"'20
",I 6 !'I ,HI

0)
(1)

1819
(1)
(1)

1820
1821
(1)
(1)

1822
Ct)

(ll
1823
(1)
(1)

lR24

011>030
816;'132
"'16032
IU6034
IU6034
1'116034
1'16"'36
.,1(0)6
11161640
811>114<1
iH6"142

(1)

(ll
1<'25

_16042
1/111>;'44

(1)
(1)

10161<144

I R26

'Il'16'~46

(Il

1lt6H6
1I11>"S"52

(I)
(1)

1829
(lJ
(1)

183"
(I)
(1)

IRB
(1)
I

"16"52
"'61654

Ifl6,IS6
"16\'16.1

~

IIi

.H6.;&2

3.2
It I

ittll642
'15644
IJllllbH
1141>45
tll
1t"\l40S
001647
01>3014
""165'"
'3ihH7a
"6~374

0:)1652
1151>55
01111653
B&4!"14
"i!I6S4
It405b

""I &57
i"631.11
Ihl\b&1
CI4P
, INRAP AROUND
BR,SP3
MICPCaMICPC+l

Z
RMll"LP
, IFYES-- BRANCti
MICPCcMICPC+l
 I  I CRMU-INU,777/2»
RMIFLP: 14EM
IMM,INTSTIC
MICPCcMICPC+l

BRIIRTE IMM,STC
,ADDRESS OF IIRAP AR~UND POINT
MICPCcMICPC+I

RMFLlp
Z
,IF ¥ES---BRANCH
MICPCaMICPC+ 1
 1  I CRMX-INIT, 771/2»
RMrLlp: MEM
II4N,RCL1
,!>OiNT TO flRST LItH,

0~"425

16"'11>56
0.,,1421<1

1~OPY

MACYl1 30(11l46)
ll-JUL-77
12118 PAGE 12-26
SELQSY--ROUTINETOCHECK SELE~" lfIO QSYIIC AND DIDDLE "IIIE STATUS WORD

I"H655
0161-\54
I)I6·,15fi

'Hbi!6i1
1II11H62

(1)

ii"'0"176
O"lb41
ablll363

0U651

(I)

llin

3U241
"lit 637
£1624.,3

PAGEl

STATt;
~M2
MICPC,!,MlCPC+ 1
 I 
MEMINC
IMM,204
,KECEIVE DONE IMAGE
MICPCaMICPC+l

SP
IBUS,IOBA2,$i>5
,AND HIGH BYTE
MICPCaMICPC+1
.
SP
MEMXIlNCMAR,SU8,SP4
,SUBTRACT TO GET COUNT
MICPC-MICPC+ 1
.

C
10$
1 If' CARRY SET THEN NO CARRYl
MICpczMICPC+1
 I < 10,-IN IU717/2»
SP
BR,OECA,SP5
,DECREMENt HIGH BYTE OF ADDRESS
MICPCcMICPC+1

SP
MEMXItNCMAR, SUB, SP5
,SUBTRACT FOR COUNT

~57345

..." b35
tU61i114
"lbtll6

(1)

1814

MAC'll 1 311(1046)
l1-JUL-77
12118 PAGE 12-25
SELQSy--ROUTlNt:TOCHECK SELECT AND QSyNC AND DIDDLE I.INE STATUS WORD

<"OVEI WPMF.II! IMM! 
DP,AOR8,SPl
MICPC-MICPCt1

I;IPWRTE liP, 
HICPC"MICPC+I
< ~OVe.! ilPTEbP I rlP! 72
iiio400

t'i6 i24
"16t 26

(1)
(1)

~t61l5

lRS2

albl3;'

~62620

NTRS1:

ed1675
05322a
0'6lb76
016601
"'H677
!.Ii!2574
""17;;""
:.Jta241

0iH7a1
ijino42
0;U702
3"'0776

(1)
(1)
I1j5~

.tt613u
1t116132
'llb132
",lbiH

(t)

(I>

1855

1116tH
y16136

(ll
(I)

111'56
(I)
(1)

IR57
(1)
(1)

1958
(1)
(1)

18S'I

~t6136

316\

~t6140

1 96"

~lb14o

1861
(1)
(1)

1862

U)
U)
1663

(Il
(t)
I

R64

0161506
016152

Z16152
016154
loIl61 ';4
.,161 '5b
616156
a16160

iiJ

et6160
010162

(1)

(I)
1867
II)

1116162
:Jt6164

(t)

1116164
"161 b6

(I)

1,16166
Dlbl7"

(t)

(I)
Ib7 "

;;,1617'"
':J16111.

!II

110342
SNAK:
f!iH7t2
"U171
flllt713
043231
''''1714
1:1>3071
SNAKl:
01:111S
0.,,34.,1
SNAK2:
I1HH716
1}63310

U4HS

'11617l
.'1617 't

,

MICPC=MICPCtl

Z
'NTRS2
J~T DID WRAP AROUND
MICPC-MICPCtl
 I 
BRe
TABI
,FLAGGED ax ERROR TYPE
MICPC-MICPCt 1
 I ~
SP
MEMX,SELB,SPll
MICPCaMICPC+l

SP
BR, INCA, SPl1
J INCREMENT MSG EXPECTED
MICPCo:MICPC+1

BRWRTE IMM,1
J UNNUMB PENlNG BIT TO BR
MICPCIioHICPC+1

ALWAYS rIouSH
;::lCPC=i:iIC~C+l

 I ~
OUTPUT bR,
MICPC-MJ CPCt I

OUTPUT BR, SEt.SI OUTOAl
MICPCl&lUCI!C+1

ilJf>2126

v:'17t1
""1!l40Gl
~"1'72 3
~ 6'2227
~;}1724

(1)

It>
I'l7t

011171<1
0637111

0.11 721

(ll
1869

NTRS2:
IM1107
:H042d

VV&; i ;

(ll
19b5
11'06

I R68

0d1706
<062400

.H61S0

(1)

(I)

ii'''17"S
0110432

09\ 711

cl61H
"16146

(1)

(ll

l'IiH704
11S707

IH6142
1.'1614'2
)16144

~"J741!

\11<11715

0145

JASSUME QUEUE WRAP AROUND

""0

~b0360

~a

PAGI:;:

"RPiEPii iNCPiAiii 1ft"! €i;»

MEM
BR,SEL8
MICPC-MICPC+l

LDMA
114M, NXTSP
MICPCaMICPC+1
>>
CMP
BR,SP0

MACYl1 30(1046)
11-JU[,-77
12U8
PAGt: 12-28
SELQSY--ROUTINETOCHECK SELEct AND GSYNC
OIDDIoE LoINE STATUS WORD

0111703

(I)

(I)
1853

<~OVC:l

001b74
0ta241

DMCII DDC"IP PROTOCOL IMPLEMENTATION
DDCNE"'.MAC
21-APR-77 Hl:!"8

0144

n

"01b73

(1)

(1)

Ihl1663
104422

PAGE!

BR4
FLUSH
J IF CLEAR ACTIYE SI:;T---YLUSH
MICPCI:MICPCtl
!  1 
BRWRTE BH,ADDISP0
JSH~P'T LEFT
MICPC-MICPC+ 1
! ,3'71»
MEMINe
IMM,II
MICPCioMICPC+1

£116110

(1)

1845

Infl b6 2
1il""'40"

1'161~H

t'16104
IH61"6

(ll

1844

d"1661
1,,711'5

MACYll 30(Ul46)
l1-JUL-17
12118
PAGE 12-27
SELQSY--ROUTINETOCHECK SELECT AND QS:t'NC AND OIDDLI:; LINE STATUS WORD

J READ 8 101 1113 ADDRI:.SS---

: SET UP LOlli !lYTE OF ADDREss

DMC 11 ODCMP PROTOCOL IMPLE.MfNTAT 10/11
DDCN.,W. M"C
H-APR-71 1":08
(1)

1872

"16174
1116176

(1)
(t)

~16t76

1813

1J1620'l

(J)

(1)

1874
(1)
(I)

1875

"Ibll""
(;16262
oJI621l2
IH62"1

(1)
(t)

1877

(11

0b1231

tltb1t16
I)lb21"

I'b1230

"~1732

;,1\6211-1
... , 621 2

(lJ

(ll
1819
(t)
(l)

1880

(ll

'J16214
01164116
1110216
.U6220

(ll
(t)

1882
OJ
OJ
1883

~, 6<120
"'622'2

lJ16222
:JI6224

(1)

(t>
1884

IIH6224
1!I16226

(ll
(ll
1885

(tl

016226
'H623"

(I)
18P6
(IJ

"16.230
016232

(1)

',Hb23:l
111b231

1897
(ll
1 8eq

.. 16234
91b236

(t)
(1)

10116236

I&B':I

lf1624~

(1)

(1)

(0

3<11733
120600
IhH7H

til16212
.,16214

(1)

11181

iHH71(J
""',J421

IJI6204
",16?"6

(1)

t 878

illH 727
962223

001731

(ll
(1)

11176

0b2222
8"1726
0"0766

;t1624a

1~2312

eAtH5
!!Ia2b62
!!IIH736
U0765
!!I111737
023640
""174IJ
..,b0400
'h11741
1"1445
001742
BUI5b
001743
0lhJ4iJ2
""'1744
01bb70
IohH145
07b611
!!IiU746
1\i7b612
:7"1747
,,76617

MACYl 1 3"'( 1046)

11-JUL-77

12118

PAGE 12-29

S~LQSY--ROUTl"'ETOCHECK SELECT AND QSlCNC AND DIDDLE LINE STATUS WORD

PAGEl

0146

PAGEl

0147


MICPCaMICPCt 1

MICPCa'UCPC+l
 I  I 
BRWRTE BR,AODISP0
:SHIFT LEFT
MICPC-MICPC+l
 I 16244
<616216

(t)

1897

STATE
RB2
, NO'l'E I THE BRG CANNOT BE CHANGED FROM THIS
HlCpCzMlCPCtl

Z
.
10LE
HICPCaMICPC+l
 I 16252
.11>252
k·16252

1"1445

I

&"1753
04J23J
0U754
1f"2775

~'lb2!H

"'16254

,iH755
IJd3004

11199
19"'''
19~1

016256

(1)

(0
19\12
(I)

ell
19£13
(lJ
(1)

t9,1H
(t)
(t)

19.,5
(t)
(lJ
19'H.
(tJ
(t)
19",7
(1)
(J)

19,,11

016256
111164160
1'1626.)
1116262
11116262
(116264
816264
At6'266
1>1 b2b6
.. 10,27<'1

(11

tltb.ol72
"lb214
'OIt774
210',
",,11766

(Il
191.'
IQI I
(IJ

(tl

"1,,757
1;J4441

1'''17,,3
\'JI b27il
1'l6272

(1)

191'1'1

0i1l156
&"'017

, .1';313

Eel( :
;4:H 767

II b 30,1
116 h'7

a1\lbH
,;'i

Iii"

SP
MEMX, SELB, SPll
MlCPCO:MlCPC+1

PSTATt: TBUI
: NEIi PORT STATE ADDRESS
MEM
IIoIM,«TBUI-INIT'77712»
MICPCaMICPCt 1

SP
114M, 4, SP4
I INITIALIZE COUNT
MICPCaMICPC+1
<"OVEI SPXIIMMI41&P4>
,NOTEI FIRST 6 RAM LOCATIONS ARE NOT WRITTEN
rTO CORE TABLE.
LOMA
IHM,BASE
r HAR NOW PO~NTS TO BASE
MlCPCaMlCPC+ 1
. 
OUTPUT BR,ADD10BAl
MICPCaMICPC+1
<'40VEIINPOUT 18A I 
OUTPUT BR,AC10BA2
MICPC-HICPC+l
 I 
!:IIl7
20$
: ALl" DOlliE
MICPCzHfCPC+t

DMCII DDCI4P PROTOCOL IMPLEMENTATIO~
DOCNEiI.MAC
21- Al PP-71 101"8
(1)

19tJ

Vlb102
1810304

(I)

0)
1914

l'161lH
!Jl6106

(ll

"'10306
1:H63! ,

(ll

I'll ')
(I)

O}
1916
1917
(I)

O}
1919
(1)
(1)

1919

IoIttd""

901773
104&41

MICpcaMICPC+l
 I  I <20$-lNIT60 777/2»
OUTPUT MEMU rNCMAR,SELBIOUTOAl
,STORE COUNTS OF I!:RI1 ,>9

t&7itl

lJ16322

12:11

PAGE 35

GEN~RAL UTlL1TH.S

02800
02900

HU!A~I

PAGEl
(TYPEOUT, ERROR, SCOPE, ETC)

rfl1GH SPEED (LOCAL) MICRO-CODE

0149

OMC-ll MICPI}PROCE5S0H 1'llSTRllCTI0NS
OMCHGH.MAC
~1-APR-71 10116
6
8
9
10
II
12
13
14
15
11
b9
70

t 13
149
257
309
352
359
360
3i> t
36.2
363
364
365
366
367
~bH

369

MACUt 30(1046)
11-JUL-77
TABLE Of CONTf:NTS

12:25

PAGE:

0150

PAGE:

IUSI

MACRO DEFINITIONS
REVISION 0'"
fEBRUARY 20;, 1975
Rt.VISION ,It
MARCH 18,1975
Nt.W CSR BOARD CHANGES
HARVE~ M. SCHLESINGER
COP:tRIGHT 1915 DIGITAL EQUIP"IENT CORPORATION
MICRO INSTRUCTION DUINITIONS
BRANCH INSTRUCTIONS
INDEXED BRANCH INSTRUCTIONS
MOYE INSTRUCTIONS
INPlJrlOUTPUT ASSIGNMENTS
PI 1

368
369
3701

171
372

373
374

375

OIllCII OOCMP pROTOCOL IMPLEMENTATlOr.
OOCHGH.MAC
21-APR-77 10,16

377
378
379
39'"

181
382
383

384
385
386
381
398
389

01"0000
""0"01
"00002
800003
,,"ek106
000"07

"""ltH'

8'''101'
8","'12
800013
Ih'0014

]9~

JZ3e15

391
392
393

t'l1t001b

394
395
396
397
398

0~"017

Ih'1I022
""0"23

"lh~024

399

0110031
8"0"36
860043
.",,,,0511

HIli

11"0055

401

4"'2
403

4"'.
4115
4\?6

h·7
41'18

4lH

41'"
411

412
113

MACHI 3~(104b)
ll-JUL-17
12'25 PAGE b
LlMCll OOCMP MICRO CODE ASS~MBLED FOR USE !Inti Tilt; M82"1 LINE UNIT

0i101llb2

0001<167
0.,0070
0"",,71

Ih,ee77

"ltateS
", .. ,,113
e1l01.H

9"'''27
lUhU35
"""t
51
""0152
~1I"143

414
415
416
417
418
419

"'81'1153

420

:Jli0161

421
422
423
414
i25

""0162

1)110154
'''!lU55
0"0156

allot'57
800160

4n
4311
01

432

"",'£

~""'11l
~~""73
";'~I74

PAGE:

0159

HARVEy M. sCHLESINGER
COPYRIGHT 1975, DIGITAL EQUIPMENT CORPORATION
VERSION 1l0B
MARCH 17,1975
CSR AND MICROPROCEsSOR CHANGES
VERSION 0ec
NOVEMBER 6, 1975
RETRANSMISSION CHANGES
VERSION 000
DECEMBER 3,1975
TRANSMIT DONE CHANGES
THE LATEST MODIFICATIONS WERE ADDED ON,
NOVEMBER 16, 1976

MACYl1 30(1046)
1l-JUL-77 12125 P,AGE 6-1
MICROPROCESSOR MAIN MEMORY ASSIGNMENts
.SBTTL MICROPROCESSOJI MAIN MEMORY ASSIGNMENTS
J ALLOCATION or NICROPJlOCESSOR MAIN IiIENOJlI
NAKSR c 0
; MAKS Rt(:D--DYNAMIC
NAt-STsNAKSR+l
J MAKS TiliTED--DYNAMIC
REPSRsNAKST+l
J REPS RECD--DYNAMIC
REPST-RtPSR+l
J REPS 'rll'!'ED--DYNAMIC
NPaREPST+3
JCONSTART ,
NTLR-MPH
,MAKS-MsG NO BurFERS CUMUL.
NHOR_NTLR+1
,NAKS-MSG HEADER BAD
NOATRsNHOR+l
,NAI'.S-DATA BAD
NTLsaNOATR+ I
,NAK SENT --NO BUFFERS
HHOS8NTLS+l
,NAK SElF BAD HEADER
NOATsaNHDS+l
,NAK SIllT BAD DATA
i\£;PCSahOAJI)+i.
,REi'S bEIU CUMUL
REPeR-REPeS+l
J REPS RICO CUMUL
BASE_REPeRt 1
fCORE TABLE BASE AOURESS
SRC-BASE+3
fSTART Of INPUT CHUN--NEXT RECV DONE
ERCdRCtl
JEND OF INPUT CHUN
flCL1 .. t;RC+1
JREC&IVE LINK f1
RCL2-RCL1+5
J.
.2
RCL3-RCLH5
,
f3
RCL4 .. RCL3+S
PCLSaRCL4+5
RCL6aRCLS+5
RCL7"RCL6+S
STC-RCL7t5
; START OF' OUTPUT CHAlN---NEXT TMT DUNE
ETC8S7C+1
;END OF TRANSMIT CHAIN
TMLt_ETCH
,TRANSMIT LINK 11
T"'L2-TMLI +6
T"'L3-TML2+6
t3
T"IL4.1ML3tb
TMLS_TML4+b
TML6sTML5+6
TM1.7=TML6t6
T"IL8.TML7+b
T=TML8+6
;trPE FIELD
; SUBTYPE F'lELD
ST"'Ttl
ISP17.ST+1
,MSG ACitED IMAGE
HIG10·1SPI7tl
,IMAGE OF BIT 1 OF SP10
IMGll.IMG1~tl
J IMAGE Of SPll
IMGI2.1"1Gll+1
; IMAGE Of SP12
I 111 G148IMGI2+1
:IMAGE OF SPI4
IMGI6-IMGIHl
,IMAGE OF SP16
IIMAGE. Of SPI7
IIllG17-IMG16+t
TYPTAI:h: IMG17 t 1
J TYPE TABLE--:72 TYPE TABLE liEP
,73
•
NAI<
TYPSThryPTAB+2 ,74
START
,75
STACK

·

4~1

" ... "" b7
t 71

0158

DMCll ODCMP PROTOCOL IMPLEMENTATION
VERsION 0011 FEBRUARY 26,1975

426

418

PAGE:

t;C:TYPSITt3
ISPl1-BCt2
ISPI2"ISPll + I
p:eONS-ISPl4'.1
f-lTHRS=lNCONS+ t

,,

IRECI:.IVI!. BYTE COUNT
I SPl1 IflllAGI:.
,SPI2 IMAGE
;IN CONTROL CSR IMAGE
: REC v THRESHOLD LIN K

·.2

OMC t 1 ODCMP PROTOCOL IMPLEMF:N.TA1'lOt.
ODCHGH.MAC
2t- APR-77 10: 16

433
4.34
435

MACYlt 30(11146)
ll-JuL-77
12&25
PAGE 6-2
MICROPROCESSOP MAlt. MF.'MORY ASSIGNMENTS

~il021l

437

000240
0lilil241
0o",242

TABST-210
PRTST=Tp,BST+l
NXT!NT:240
NXTSP .. NXTIHT+1
I NTSTK=NXTSP+ 1

ilitJiH0itJ

MioIiENDzU'0

439

",,"'21"

DMCt 1 DDCMP PROTOCOL I'IPLEME.NTATION
DOCHGH.MAC
2t-APR-71 10116

442
443
444

e001101

.SBTTL
SP0=0
SP1'"'

1'",,1:1.,2
61101!l03
,,300164
0"0005
0110000
"16"007
1100010

SP2-2
SPl-3
SP4-4
51'5-5
SP6=6
51'7=7
SPUJ.10

;,""'011

SPllaU
SP12a12
SP13a13
51'14=14
SP15=15
SP16-16
51'17-17

0003ih'

446
4~7

HI!
449

4S0
~SI

461
41>2
463

4b.
41:>5
466.
467
468
469
470
471
472

473
474
05

PAGE:

0161

580012
i"'0013
~dlililU

,-,,""1615
lidl""O
1)00017

,TABLE UPDAtE STATE
IpORT STATE
,NEXT INTERRUPT POSITION
1 END OF INTERUpT CHAlN
:STACK Of" lfiTl-RUPTS
1 MAIN MEMORY END

MACYll 30(1046)
ll-JUL-77
SCRATCH PAD ASSIGNMENTS

445

452
453
454
45'5
456
4'57
458
459
401il

!a!6!:!

fALL LOCATIONS fROM 200 ON ARE NOT WRITTEN OUT DURING A TABLE UpDATt.

436

4313

PAGE;

12125

PAGE 6-3

SCRATCH PAD ASSIGNMENTS
, Sp0---SCRhcH REGISTER
:Sp1---PORT STATUS WORD
,BIT ASSIGNMENTS
,BlTe--INI'!' MODE
,BI'ti--SEC S'rAtiON SELECT( UNUSED)
:BIT2--NO BUFFER ASSIGNED IN SOOT MODE
:BITl--DLE RECEIVED WHILE NOT IN MUNT MODE
:BIT4--INTERRUPT PENDING
,BITb--DISCONNECT ERROR
,BIT7--BOOT MODE
,SP2--·T~ANSMIT STATE POINTER
,Sp3---RECEIyt STATE POINTER
,5P4---ENO RECV ADDRESS
,SP5---END RECEIYE ADDRESS
,Sp6---END TRANSMIT ADDRESS
,SP7---END TRANSMl'1' ADDRESS
,SP1I6---LIN~ S'lATUS tlORD
, BU ASSIGNMENTS
,BlT0--UNNUMB PENDING
,BIT1--MESSAGE IN PROGRESS
,BIT2--LINE HAS GONE IDLE
,BITl--START PECE:IVED
, BIT4--CLEAR ACTIVE ON END
,BIT5--START MODE
,BIT6--HALF DUPLEX
,BIT7--0K TO SEND
,SPll---R FlEW
,51'12---111 FIELD
,SP13---TYpE
,Sp14---R£C£IVE LINK IMAGE
,Sp15---TIMER ENTRY---HUMBER Of ONE SECOhD T1CKS
,SP16---POINTER TO TMT LINK COpy 1N MAIN MEM
,SP17---LAST MESSAGE ACKNOWLEDGKO

I)MC II DDCMP PROTOCOL I MPL!'MENTATIOt;
DDCHGH.MAC
21-APR-77 10: 10
477
478
479
4801
491
482
483
484
485
(1)

(1)
(1)

487
(1)
(1)

488
(I)
(1)

489
(1)
(1)

01bJ.l2
.16322
1i/16322
916324
U6324
016326
N6326
.16330
(6163)(l
816332

49"

151&332
tl6334

(1)
(I)

316334

491
492

rt6336

(1)
(1)

w16H6

493
494

flI634'"

(1)

(ll

k;l6343

495
496

,,16342

(1)
(1)

~16H2

491
(ll

Itlb344

(ll

498

(ll
(ll
(I>
50"
(ll

(ll
5"1
(1)
(1)

II-11T:
""0O,,,0
1J63220
&1"'001
1",3223
i"'''002
1'1&3237
t;;ji/ltl03
061201-1
iJ;'0004
061202
000005
003370
5$:
""0"06
0&3130

0:10007
C76423

000"U'
0&3060
311"''111

816314
1:16345

(1)

499

1016346
IH6350

:116350
816352
ii16352
e16354

502

81 &354
"t1>356

(1)
(I)

~t6356

1i!1413
000012
liI040!)
11'18:
303013
0034'"
il\!0U4
&&3211
0i:0015
063232
IH''''''16
~U1t62

DMCII OI)CMP PROTOCOL IMPLEMENTATION
ODCH(;H,"'~C
ll-APR-77 I(HI6
5173

~1636;)

(1)

(ll
5;'.

f16360
t1&362

(1)
(1)

5k15

(ll
(ll

41b362
Ub364

';06

U63E>i
ll6366

(1)
(t)

fIIlb 360

~~7

~:! 17~

(ll
(1)

5108

Itt &37"
tlbH2

(1)

(1)

:116372

51/19

rI6)74

(I)
(1)

513

(ll

'16376
'¢164"a

(1)

(ll
5U
(1)

101640"
Iilb402
'IIlb402

(2 )

(2)

5H
(0

tlb4a2
tl164A4
'16416.

(2)

( 2)
51t
(1)
(1)

515

\11641'14
fJ164;;oS
116406
.. lbU0

(1)

(ll
516

1016H''
1oI1641Z

(11

(I)
'H7
(1)
(t)

'518

"16'12
":16414
IIltb416

519

011>416
016421-1

II>
(I)
2"

.,16421
<616111

0;

0"0021
01641/13
''''0022
002402
1.'1"0023
.. 57235
111/10024
IH640&
Illb407
0"0026
'H6401
,,00027
01AH0

'H'0010
616460

0,,"0J1
016533
;100032
'U 0057

,,.,,,,'33

616471

1""0"34
0112411
,,<1,)"35
IH3:l3b
Z'il'l0}6
I";H'22
kHH'''l7
·:·161 :.H
l!!a ..... 4.)

III

'1)

*'00020
0&22H

~16414

(I)

(ll

,,00017
b00626

~9t0l125

i16371
816316

(1)

511

PAGE 6-4

PAG!':

0162

PAGEl

.,163

.SBTTL INIT--INITIALlZATION ROUTINE
,ZEROS foIJ\lN MEMORY
,LOOPS wAITING ,OR RECEIVE DATA(BOOT?)
; 01< FOR RQl TO BI!: SET
;WILL ACCEPT ONL~ BASE FORMAT, ALL OTHERS WILL RETURN A PROCEDURE ERPOR

(1)

486

MAcY11 311(11'141»
ll-JUL-77
12:25
INIT--I"'lTlALIZATlON ROUTINt.

1:'10122

,.1"2'14

; AT INlTIALlZnrON --- THE HARDwARE CLEARS THE 8R AND MAR
,"'16322
SP
BR,SELB,SP0
;CLEAR
SP"
MICPC=MICPC+l

SP
BR, SELB, SP3
; PAGE ONE TRANSFER ADDRESS
MICPC=MICPC+1

l>P
BR, SELB, SP17
;CLEAR SP17
MICPCaMICPC+ I

OUT
BR,
;ZERO THE IN CONTROL CSR
MICPCo:MICPC>t1

; ZERO THE OUT CONTROL CSR
MICPCIIMICPC+1

,BITS OF SP10
;SHlfT SPl0 LEfT SETTING CARRY THE
51'
BR,AA,SP1I!I
MICPCo:MICPC>tl
<,",OVEI SPXIBRUA!SPI0>
,FlI~ST 5 TIMES THRU THE LOOP
MEMINC BR,ADDCISP3
;WRITE A ONt TO THE FIRST 5 MEMORY
MICPCII'UCPC+1

Z
10$
; ALL DONE
MICPCIIMICPC+1
 I < 1 0,-INI1&7 77/2»
ALWAYS 58
; KEEP GOING
MICPCaMICPCH
1 <55-INIT"77712»
SPSR
IMM,I,SPl
,WRITE A 1 TO THE 8R AND SPI
MICPC.MICPC+l

SP
BR,SELB,SP1l
,WRITE A
TO SPll
MICPC"MICPC+l

SP
BR, SELB, SP12
,WRITE A
TO SP12
MICPC·MICPCtl

LOMA
1MM, TYPUB
,POINT MAR TO TYPE TABLE
MICpCaMICPCH
<"'OVEI LDMAkI1lllMIt 1

MEMIHC
1101101,6
,START
HICPC.MICPC+l
< .. OVEI WPMEM! INCMAR!lMMI<6»
MEMINC
HIM,7
,STACK
MICPC-MICPC+1 .
>>
PSTATI
NJDLE2
;INITIALIZE PORT STATIJS
IMM,«NIOLE2-INITIo77712»
kEMINC
MICPC-MICPC+l
>>
LDMA
IMM,STC
,LOAD ADDRESS OF LAST 1MT CHAIN
MICPCaMICPCt I
< .. OVt:: LtlMAP! IMM I 
LOMA
IMI'I,SRC
;LOAO ADOflESS OF LAST RECV CHAIN
MICPC"'MICPC+ 1
042
30"*'44
002b42
0110045
fl00b0"
"30046

(1)

0b1221
""0047

(t)

tH6U0

530
531

U16442

(1)
(1)

916412

11014~

000050
063223

DMC11 ODCMP PROTOCOL IMPLEMENTATIOr..
DOCHGH.JoIIAC
21·APR-77 10: 16
534
535
536
537
5H
539
(1)
(1)

54'"

(ll

(1)

541
(1)
(1)

547
548
(1)
(I)

549
55i1

616444
'16446
"16446
1016f50
"16450
0116452
,,'6452
",,6454
016454
(H6456
.16456
11046'"

(1)

(t)

551
553
(1)
(t)

554

':16460
l"164b2

(t)

(ll

~16464

fl646b

(1)
(1)

1116466
1"6470

In

(0
(1)
(1)

561

(ll

1"'0"55
167203
12:
!J;,atl56
0U210
a00057
t 401'>20
ea\!l060
800404
a,,0061
.,60342
8"0"'62
11111130

12.25

PAGE 6-7

PAGE:

!I.H"~6i

.. 16H4
31647b
.Jt6416
""05o"
91650 ....
"16502

(t)

~16502

'lb5~1

06"065
62324"
0"""66
&60520
Ih''''''b 7
1 \1)454
.;""070
,'10211

."'0.071

SRWRTE BR. .
IREAD l'RANsn!T SiAiiiS iiOEU.. rROjoj SPi'" TO SR
MICPCI;MICPC+1
' I 
LDMA
I"'''',TABST
,pOINT TO TASLE UPDATE STAT~
MICPC-UCPC+l

STATE
TMTAt2
;GET IDLE TRANSMIT S'UTE + 1
MICPC:o:MICPC+I

C
TMTDA
,NON-IDLE STATE
MICPC=MICPC+1
' ! C +1
 1474

(J)

(Il
56l

030053
11200'"

12)020

(t)

56"

0110052
I t240~

1116HJ
.lb412

(ll

(ll
S51

IDLEI
IM005!
ijbet>10

iii7ijVio,;

'II

!>58

MACYlI 30(le46)
ll-JUL-17
IDLE--PROGRAM IDLE LOOP

~16462

1'16462
':16464

'ISS

557

MEMX. SELS. SP14

~ICPC=MlCPC+l

< JoIIO VE ! SPX! M"",XI SELS! SPI4>
LOMA
IMM,NxtINT
;AOORESS OF NEXT INTERRUPT POHITER TQ !UR
MICPC=MICPC+l
<"lOVE! LDMAf< I 1MMI 
JWRITE THE RUN IUT TO MAINT CSR
MICPC:o:MICPC+1
' 

,
elt>444

(I)
(1)

PAGE 6-6

.SBUL IDLE--PROGRAM IDLE LOOP
, PROGRAM IDLE LoOOP
,DISPATCHES TO APPROPRIATE SERVICE ROUTINES
;USES STATE POINTERS FOR TMT,RCV,C6R ACTIVITY

(1)

(1)

MACY11 30(1046)
ll-JUL-77
12125
INlr--Il\lITlALIZATION POUTINE

0165

DMCII DOCMP PROTOCOL IMPLEMLNTATION
DOCtlGH. MAC
21 -APR-17 1'l1:16

(1)

~165~'

14~b20

OMC II ODCMP PROTOCOL I~PLE.MENTATlON
OOCHGH."AC
2t-APP-77 10116

5&5
566
(1 )
(2)
(2)
51> 7

off I 1>500

~0a07)

(1)
(t)

el651~

illb511

(I)
(1)

S69
(1)
(1)

510
(I)

£'11>512
R16514
.. 16514
IH651/)

(n

iU6516

0;71

Il'Ib5l0

(I)
(t)

.lb520

572

'''6521

(1)
(1)

,,,6522

573

816524

(I)

.1/)524

0lb526

(1)

(I)
(1)

571
(I)
(1)

518
(1)
III
5H
(1)
(I)

.,11>526
.16530

1"11>532
f(,lb5H

1I1b536

IW010a
01"'1500
1161260

,,00102
0it2131
040b20
'''''0104
103113
r-10151

'00106
:)16406

"'654"

,;lb542

~81

0Ib~44

IH'0107
1"02700
L"It.1110

(t>

91>311>1
~iJ.H

,,1>544
"1654b
IH&!'>t!>
i'lb550

(1)

i i j

""0077
123000

81101<15
IIlb534

1\)
(1)

(I)
(I)

iJ0i'1076
122560

.16536

011>54J
111>542

583

""0015
IJb5l0

"11011113

.11>534
ed3

II)
5&2

01111017

800074
lJ6500

~0010t

(1)

51\
(ll
575
II )
(I)
516

,00012
""'2531

Illb51a

5b8

6i6r,5;'

12125

PAGE 6-8

PAGE:

1'I1b6

PAGE 6-9

PAGEl

011>7



MACYlI 31'1 ( U146)
It -JuL·77
12125
BASSRV---- BASE SERVICE ROUTINE

• SBTTL BASSRV-·_· BASE SERfICE ROUTINE
PSTATE
NIDLE2
MEM
IMM,«NIOLE2-INIT"77112»
14 ICPC-MICPC+ 1
<'10VEI liRHEMI IMM 1«NIDLE3-IIIIU 777/2>>>
LOMA
IMM,BASE
,CLt;AR TO MAR SO IT POINTS TO BASE POINT
MICPC·MICPC+l

BRWRT~:
1M"', 100
,CLEAP THt: 8R
MICPCz:MICPC+1

,CLEAR THE lliCONTROL CSR
I4ICPC·MICPC+1
dlOVEI liROUTXI8Rl 
,MASK FOR HDX AND DTR
MICPC·MICPC+l

BR4
RESUME
,If
RESUME
MICPC.M lCPC+ 1
<.JUMP 18R4CON I  I 
1i51:
IlRWRTE
IMM,241
,SET OK TO SEND,SlAHTr-ODE. AND UNNUM Pt"lDING
MICPCzMICf'C +1
(140VE 1 wI'TE.SR lIMIoI I <241»
ALwAIS
SA]
MICPC.''I1CPC+l
 I 41

",,""2
IU731
a"'3113
'j,ni''}4

sn

(,~(;Vt.!~~ )':lu~:SP4!4>

DMCll ODCMP PROTOCOL IMPLEMENTATlON
DDCHGH.MAC
2i -APr.-7; 10,16
584

01b552

(1)
(1)

MACYl1 31/)(1~4bJ
I1-JUL-77
12:25
BASS",---- aAS~ SEilVlCE ROuTINE

rH655l

SP
BR, INCA, SPt0
MICPCO:HICPC+1
<~OVEI SPXl BRIINCAI SP10>

&"0114
tlb30H

316S'H

(t)

(I)

587
{ii
(1)

588

.,16554
"'160;56

(1)
"11

i?1656~

;)165b2

(ll

591

IU65b2
b165b4
iUb564
.165b6

(ll

~lb566

592

1016570
e1657~

1116572

(1)

iU6572
IU6574

(1)
(t)

595

J16574
11H6576

(1)
(t)

!;t6516

596

\)166~kI

(t)

(ll
597
598

(t>
(ll
5;19

1>1660"

057232
i'lihl124
057234
"00125
05723&
ihl0126
1143237
000127
0b3170
SIhH30
p03161

3"'0131
IU66e4
0t6b06

(1)

(1)

357231

111&602

.16002
l&l1660"

{1)
(1)

Mhil

et0154

""hH23

593
(t)
594

BS2:

1,.11"21
0573U'I

i",f/lb",,,
81/10132

O16600

110737

DMC 11 DDCM? PROTOCOL IMPLEME.NTATION
OOCHGH.MAC
21-APR-77 10:16
b0l
6'l3

&16610

(ll
(1)

ru66U!

b0S

91b612

(I)
(1)

bHl

016612
fU661 ,

(1)
(1)

.1661-\

611

~166t6

(I)
(t)

b12

116616
"tb620

(1)
(1)

116620

bt3
b14
&16
618
639
(1)

.:16622
016624
916624
016624

(2)
(2)

81b624

b40

t!t6626

(1)

816626

(n

,hMI34
103141
060135
123400
060136
110162iJ
1'60131
1<13146

016622

(J)
(1)

lN01H
1J60biH

eo;iH40
'''0451

800141
i.tJ2b14
"'''01.2
100451

01b8

; SET UNNUI4B MESSAGE PENDING TO

~Ju"P! ALCONC~.cT80"XNIT'300.';''';''

t Z4S5

,,0iH22

(1)

(I)
(t)

~

~a"12f/1

(1)

(t)
(I)

fle~H3

""0117

SS9
590

8118115
8111011
li.hOi 1b

k"16556
IU6560

PAGE:

J TlllCt< TRANSMITTER CODE
-LDMA
IMM,B~SE
iADDRESS BASE TABLE ADDRESS
MICPCzMICPC+1


PAGE b-t"

i ;:;'

LOMA IMM,IMG10
MICPC=MICPC+1

SP
MEMXIINCMAR,SELB,SPll
,RESTORE SPl1
MICPC"MICPC+1

SP
MEMXllNCMAR, SELB, SP12
1 RESTORE SP12
MICPC=MICPC+l

SP
MEI4XUNCMAR,SELB,SP14
:RESTORE SPt4
MICPC-MICPC+l

SP
MEMXlINCMAR.,SELB,SP16
:RESTORE SP16
MICPC:o:HICPC+t
.

SP
MEMlt,sELB,SP17
,RESTORE
SP17
NICPCaI'lICPC+1

SP
BR,DECA,SPt'"
;TURN OFF UNNUM MESSAGE pt:;NDING AND
MICPCaMICPC+ 1

J ZERO TtiE BRG
SP
BR,OECA,SPI
,CLEAR INlT MODE
MICPC&MICPC+1

BRO/RTt: IMM,201'1
1SET OK TO SEND
IIICPC=MIC!>C·H
 I I 
BRSHFT
JStlIfT IT RIGHT
MICPCZMICPC+1

SR4
INWATt
J IF RQI SET -- BRANCH
MICPCaMICPC+1
I 1 
ALWAYS IDLE
IHCPCaKICPC+l
 I lb6H

(t)
(t)

(I)

r,t16634

Eo47
648
(\)
(I)
6H

811>636
e16640

(1)
(J)

65'"
U)
(2)
(2)

651

lIi"'H 45

(1)
(1)
(2)

(2)
654

'lb642
016644
,,16b44
916646
016646
'1665'"
01665<1

!t)
(J)
( t)

656

IHb652
.,lb654
fU 6654
016656

(1)

(1)

\,.6656

657
658

016660

(1)

(1)

6t>3

1116660
816662

(1)

(1)

664
(1)

11166102
816664

665

01666t
1116666

r 1)
(1)
6b7

0"03150
007546
0d0151
0b0520
00,,152
117460

Iih~25U

.00154
1'1.0 "b00
0"1"55
,61300

IhHU 56
10,451
'00151
,111620
",0160
103]051

9161064

(2)

(2)

1113551

,0iU53
816650
.lbb52

(1)

655

12340~

Bi10tn

01664"
016642
IUb642

(1)

653

1'00145
\03550

016636

(1)

(1)
652

123400
""0144
06"')20

tU6666
(!1667,l

''''dlbl
'02563
".,,,lb2
t a3451
.00163

(I)

DI4C 11 ODCI4P PROTOCOL IMPLEMENTATION
DDCHGH."IAC
21-APR-17 10rtb
(1)

I>b8

1iH6670
10116672

(1)

669
(1)
(1)

bH
(ll
(1)
611

1il166 7 2
816674
01b614
"16676

(l)

673

tl16702
111670\

(0
(t)

674
ll)
(2)
(2)

bTS

016704
fl!16N6
1I1670b
1II167fub
6')167111

(1)

(ll
616
(1)

816710
'''6712
"16712

(2)
(2)

677

(I)
(t)

679
(Il
(ll
680
(1)
(1)

bel
(1)

(2)
(2)

l>ij2

102574

11,,"170
''''2700
""0111
1110575

£1''''172
""'2b57
e.,e173
100575
IJlI,3174

,,16712
016714

&02721
'''hH7S

(1)

(ll
678

'"162"
811~167

1116700
816702
1::110702

en
en

"'200'"

1''''01105
ta21H
~Ulb6

tll6676
1116700

(1)

(I)
672

12140'"
~~0164

(1)

6)11>714

~6"601

1:16716

.616716
elb12>'
"612;)
816722
Il'I6722
'16724
816724
i!'16724
Itlb726

(Il

(1)
bBl
(I)

.. 16726
(<'1f>73"

(I)

1'11>73d

&'34
(I)
Iii

"'(7)2
tlib1j2

e
BRWRU' BR,
,SHIFT IT Lt:fT
HICPC=MICPC+1
 I 
Bill
INWJl.T2
; READY IN SrILL SET
MICPCO:MICPC+1
 I 
BRWRTE tlR,AAISP0
ISHIFT CSR I.EFT
MICPCo:MICPC+1
lI
BRl
ININ!
MICPC-MICPC.&
<,JUMPI8R1CON1I
NIOLl4: BRWRTE IMM,21110
..
MICPClIMICPC+l
I
BR4
IDLE
MICPC-UCPC+l
 I 
ALWAYS IDLE
MICPCaMICPC+l

BRI
3"'$
J --SENSE OR BASE
MICPC-MICPC+l
 1<308-INlT, 777/2»
BRit
10$
;CNTL I
MICPC-MICPC+1
1<108-INIT, 177/2»
BRSHF'T
,MUST BE B1/CC-SHIFT FOR IN OR OUT
MICPC-MICPC+ 1
 I >>
ALNUS 20$
MICPCaMICPC+1
! <208-1NIT, 777/2»
116$ I
PS'lAT£ CTLSRV
MEM
114M, «CTLSRV-INnn7712»
MICPC-I41CPC+1
>>
ALWAYS 20S
MICPC-MICPCtJ
 I <208 -INn, 717/2»
15$1
PSTATE RBASRV
MEM
IMM,«RB15RV-INlT&177/2»
MICPCaMICPC+l

206:
tlRWRTE: BR, SELAlSPl
J INIT MODE
MICPC-MICPC+1
 I  l>>
IIRWRTt
IMM, Hl0
,CLEAR INPUT CONTROL CSR

0il~:t02

~ICPCaMICPC+l

"I",)')J;'

<"lOVE I WPTFBRI 1M'" I <100»
OUT
tlR, AA'IUB I OINCON
:,
MICpC"MICPC+t
<"lOVE I WI'OUT X! AR!  .. 377»

11:1:02,,3
rb\2b,l
Jk'02iH
l;li'1tll

0110

PAGEl

0111

DMCII DDC"'P PROTOCOL IMPLEMENTATIO,"
ODCHGH.MAC
2i-APR-ii 10:16
685

816734

(1)
(1)

6a6

U0205
61b734
81673S

0164~2

\:itb 736
IIIlb74a

"0240"

iI~02"'6

{l}

(ll
bll7

(tl

(0
b89

lIliG1';;'
ii)lbHl

0)
(1)

6S9

.,16742
i11674-i

(1)

(1)

690
(I)
(1)

691
(1)
(1)

f16744
fiJ16746

,,"e207
il422.i3
,,002ta
tl4524
0"0211
06a601
0~0212

ti16746
"'16750

t32072
~0"2t3

1116750

100601

DMCII DDOlf PROTOCOL IMpLt:MENTATION
21-AP"P-71 10:16
DDCHGH.MAC
693
694
696
(1)

(2)
(2)
701
702

""2631

li'1t>754
<100215

0U240

(I)

016756

a,)~0220

7,,4

"16760

(0
(1)
(I)

71!5

0*'0216
~il0217

"1676-"
f!16762

0)

(0

706

1116762
"'16764

(1)

(11

~167&4

''''7

1.'16766

(1)

U6766

(U

123f!40
0:11<1220
055302
000221
",Stl2l0
£001222
074520

7..,8
709
71~

(ll
(0
111
(t)
(t)
712

';1677U
i)1671<6
1:16772

&"'0223
1'155224

Ult)224
ft 6 77 J
1'16774

.,55225

(1)

~1\6774

,,55227

713

d6776

(i)

;;i1~225

(i j

(ll

ijii6;i:;i6

"16716

055226

114
715

"I 70 I  1 <-BASSRV-INI T"777/2»
ALWAYS PROCER
,NO - PROCE~URE ERROR
MICPCaMICPCH
 I >>
,COMPLETION
LDMA
IMM,NXTINT
:ADDRESS OF NEXT INTERRUPT POINTER
MICpCZ:MICPC+1

OUT

: IIRI TE THE OUT CONTROL CSR
MICpCaMICPC+ I
<"'OVE! WROUTXI MEMXI INCMARI. 
:KICK PAST LINK STATUS BYTE
MICPCaMICpC+I
,
:i'lR1TE LOll BYTE OF SA TO CSR
MICpCaMICPC+1
 f 
JWRlTE HIGH SYTE OF SA TO CSR
MICPC=MICPC+l
<"'OVE I WPOUTX I MEMX I INC MAR I , 
JIIRITE HIGH BYTI:: OF COUNT TO CSR
MICPC"MlCpC+ 1
, C-iHcPc+i
>
l***HI::RE 15 SR7***
~P7
PEl
: INTERRUPT ENABLE IS SET
KICPC"'MICPC+1
1  I < IDLE-INI rio 177/2»
PSTATt: OIlTIilAIT
MEM
IMM, «OUTWAl T-INIT& 777/2»
MICPC=MICPC+1
<"'OVElwH'EM I 114M I «OUTWAlT-INlT,,777/2»>
LOMA
1"'''', NXTJNT
: ADDRESS NEXT INTERRUPT QUEUE
MICPC-MICPC+1
<'10VEI LOMAR! 1M'" 1 

1)17"34
t"17f/l36

(1)

(ll
137
(1)
(1)

138

1!ll7036
01704.,

(t>

tl17042
16170344

(I)

(ll

0016241
01>2400
~43220

1"'0241
1110241
[:40360
0"0245
131641
0"0246
1 Di/l451

11"0247
tj1704iIJ
;)17042

(1)

739

000240
"0,,402

1)OO244

U17'-32
1617034

(1)

136

"6~31>"

£'00231
11'1642

"~0242

(1)
(1)

733

735

\:."",235
111"",76
&110236

in7.cl16
.. 17023

(1)
(1)

131

e'4l22kl
ii."'0:l34
""2642

"17044

""0157
""025"
(&3261
""'0251
Ui'l451

O"CII ODCMP pporOCOL IMPLEMENTATION
21-APH-77 10: 16
llDCHGH."AC
HI

742
(Il
(ll

IH7.:1b

147

317"}46
IU1"50

(Il
(t)
149

"171<150
IB! 7052

(1)
(I)

7503

1'17.;52
111795 4

(1)
(1)

1117054

151

1617115&

(1)
(1)

B17056

0110252
t 23440
,,>:I025J
1113451
0.*,'254
".,9590
,,08255
111>1262
1»1,"'256
1031>71

IUCYI! 3ij( 1041»
ll-JIIL-77
12125 PAGE 6-16
OUTINT---SET liP OUTPUT INTERRUPT (RDYOl

PAGEl

O174

PAGEl

8175


ME,..
IMM,INTSTK
; ASSUME kRAP AROUND CASE
HICPC=MICPC-tl
>>
CMP
BR,SPf!
; SHOULD Wt: WRAP
MICPC-MICPC+1

, YES--BRANCH
5$
Z
MICPCz:MICPC+l
 1<5$-INIT,777/2»
RRIIRTE IMM,:Z
;OFFSET FOR NEXT POINTER
MICPC=MICPC+1

LDMA
IMM,NXTSP
,PICK UP START OF III QUEUE
MICPCaMICPC+1

J IF EQUAL--CLEAR INT PENDIN~
Z
103$
MICPCz:MICPC+l
 I < 1 ".-IN ITlo777/:Z»
ALWAYS IDLE
MICPCaMICPC+1
 I 
ALNUS IDLE
MICPCaMICPC+t
 I < IDLE-INIT, 117/2»

MACUt 30(1846)
It-JUL-77
12an
OUTWAI--WAlT FOf< RDYO TO GO AWAY

PAGE 6-17

.SBTTL OUTWA!--WAIT 'OR ROYO TO GO AllAr
lBUS,OCOII, SPi!
,READ OUTPUT CONTROL CSR
OUTWAU SPBR
MICPC=MICPC+l
<"IOVEI SPBRXI18US10CONISPII>
BR7
IDLE
MICPCz:MICPC+l
 1  I
MICPCDMICPC+I
'>
BRWRTE .,TML8
I4ICPCaMICPC+l
..

Z
- 10$
: IF XES--BRANCH
MICPCIOMJCPC+1
1 00304
136500

(I)
(1)

782
(1)
(1)
783
(1)

TBASRV--TRANSNIT!ER BUFrER ADDRESS SERVICE
IMM,ETC
:GET POINTER TO END OF TMT CHAIN

MICPC~MICPC+l

"a0330
1"10"70

[·17132

(ll

.

BRWRTE IMM,290
,MASK FOR BUOT MODE
MICfC-MICPC+l

BRWRTE 114M, 204
,MASK FOR OK TO SEND AND LINE IDLE
MICPC-MICPC+l

ALWAYS INS12
MICPCaMICPC+1
 I 
,CI.£AR IN CONTROL CSIl
MICPCaMICPC+l
•

ALWAYS IDLE
MICPCDMICPC+1
 I  I 
BRWRTE 114M, 1.,0

e00266
"091503

DMC 11 DDCf4P PROTOCOL IMPLUIENTATION
DDCHGH.MAC
21 -APR-77 10: 16

i IF SET IS HALF Oi.iP~£X

HDSE!.

KICPCaMICPC+l
<.JUMP! 8Rl CON I  1 
,MASK DTR, TUIlN on HDX
MICPCzIHCPC+1

,RESTORE THE CNTL WORD
RICPCaMICPC+l


SRI

(1)

CTLSIlV--CNTL I SERVICE
IBUS, PORT4, SP"

PAGEl

~IICPCaMICPC+l

tHI')260
01H&2iit

710

PAGE 6-18


BilSHfT

~11112

817U2
!Jt7114

12125

MICPC~MICPC+l

""0262
"1.1066
0""''''

(1)
759

(ll

&09257
123563

f1~0261

(1)

161
(1)
(1)
762

.S8TTL
CTLSIlV: SP8R

1i17"'61:i
3170691
1;17062

MACYlI 31ij(1046)
11-.lIIL-77
CTLSRV--CNTL 1 SERVICE

:


ALWAHI
INS12
MICPCaMICPC+1
 16
"17166
~t717ij

t>17170
6.'17172
''II 7172
011174

(1)
(1)

799

11117114
&17116

(1)
(1)

IHie

817 176
1t1720'"

(1)

10>17200

!lti2

fl7'2"'2

(1)
(1)

81'13
(1)
(I)

8"4
(1)
(1)
1j~5

!H 7204
1:17206

iit72l"6
11I172hl
1l172Ul
(17212

(1)
(J)

81C8

i'il1212
tit 1214
1!Il7214
017216

(1)

.,t72lb
017220

( 1>

1'1722'"
l,l7222

(1)

(1)

911

1/17'222
et7224

(t)

III 2

et 7;>24
lilt 7226

(1)
(1)

017226

(1)

136540

010023
000331
002424
000332
i:li'JI!I462
0.teJ33
060360

101b65
1)0"335
000405

1:1624030
,,"0337

(1)

Ille

v"032b
13&500

I:!01tl336

(I)

8"'9

U032'S
13652'"

ii"0334

(1)

(1)

IM7

I;W0324
136S1/10

0"~330

lH 7202
017'204

(II
(l)

8lf6

t-"t6323
fJl6401

r.~0127

(I)

' 'H

~10~23

tl1!0122
053220

100665
0003421
0ihH17
0003341
.,63b70
lJihl)42
IHI0490

D"'Cll DDCMP P.010C01. IMPLEMENUTION
DDCH('H."'AC
21-APP-77 1(11:16

B13

"172301

(1)
(1)

IH72H

!!14

(1)
HIS

1117232
1;17234

(1)
(1)

t)17234

816
9t8

517236

(1)
(t)

el713b

1119

1!l7240

0)

11172U

P21

"17244

822
(1)
(1)

823

il17244
0t 7246

1'117240
ill7250

(1)

(I)

l1-JUL-77
12,25 ,PAGE b-21
RBASRV--RECEIVE BurrER ADDRESS' SERVICE

iHi
STATE
RCVe
,CHANGE RECEIVE STATE POIHT~R 1'0 STATE B
MICPCaMICPC+ 1
! 
'IiET THE POINTER TO LINK
MICPC-MICPC+ I
R'f3»
'" iNOTE INVERTED ORDER or PORT 3 AND PORT4
LDMA
114M, ERC '
MICPCaMICPC+l

Z
114512
,If EQUAL BRANCH
MICPCo:MICPC+1
 1 < INS12-INIT6.777/2»
BRIoIRTE 11414,5
,CALCULATE ADDRESS OF NEXT LINK
MIcPCaMICPC+1
 I 
RA3:
BRilRT£ 11414,0
,CLEAR BR
MICPC-MICPC+l
 I <5$-IN IT&717 n»
ALWAYS
IDLE
"
MICPCo:MICPC+l
 I 
ALWAYS RD5
MICPC-MICPC+1
 I . 1 73H"

95'"
B5i
(1)
III
852

&17312
IU7314

t54&2~

[,,,,,371
120&20
0~,,372

1i!3363
~00373

114725

r;;iHi?

TBllt:
1,.'0374
120&00

DMC II DDCMF PROTOCOL IMPLEMENTATIOH
DDCfoIGH."'AC
21-APP-77 10116
(I)
(t)

el7314

b53

"'17316

(1)
(1)

854
Oi
(t)
855

8117316
liH 732'"

"""375
102051
ri00376
114752

JFALL INTO ACLOW
BRlliRTt. 114M, 2
:CAUSE AN A~ LOW
MICPC"MICPC+ 1

ilICPC=MlCPC+l

BRl
5.
MICPC=MICPC+l
! <5S-IrH Ti.777/2»
.ALWA'i IlEMX, SELB, PAGEl
MICPC=MICPC+l

BR!I!R!t lBUS, USBR
M.ICPC=MICPC+l
 1  I  I  L;>
SP
lBUS, UBBR, SP0
J READ BR ~ONTROL REG
MICPC.NICPC+l
<140VE1SPX! tBUS1 UBBR1SP0>
OUT
BR,
JINTERRUPT
MICPCcMICPC+l
 1 C'" !4!C PC + 1

ALWAYS
INS11
MICPC.MICPC+1
 I eIIiSi i-Ilii H.77i i2»

e~0361

(I)

11-JuL-77
8U~'F£R

ItOSEL:

ilI",.U57

(!)

(1)
1143

MACYll 30004&)
RbASRVeexECEIVE

.,""'354
i'I""501i!

91726'"

(I)

(Il
839
840

10:1.6

!:,J~n55

(!)
(1)

l!2ij

829
830

21.AP9~71

1.""'~0e0

MICPC.MICPC+1
000000

.

PAGE:

0181

DMCII DDC"Ir PROTOCOL IMPLEIoIFNTATlON
21-APP-71 1": 16
ODCHGtl."AC
857
IiS8
859
860
861
86'2
81'13
(1)
(1)

864

1:17322
110"377

r17322
el7J22
.,17324

(I)

(0
865
(1)
(1)

1166
(t)
(t)

1167

011324
"17326
017326
f'11330

.17330
IU7H2

(1)
(l)

869

{17332
f 17 334
811334
6117336

(ll

e17H6

87'"

~IH40

(1)

01 7 34~
817342

(0
(1)

872
(1)
(1)

1173
(0
(1)

B14

017342
.1l73U
.t7344
1117346
t,·17346
017350'

(1)

( 1)
875
(1)
(1)

876

~I 735<}
(173'i2

'17352
tl7354

""0402
13611112
lIi"H03
1.,7412
0"~601

00.,435
060360

UII74"
000407
01'10405
11"0410
060360
000411
145422
5S:
.,00412
"0062"
0l'10413
060360
000414
105156
FLUSH:

e'''''4 t 5

(I)
(t)

""041iH
060b01

lId,,406

(1)

(1l
871

RCYI'.:
B1Il040'"
323200

~",0404

(1 )
(1)

868

MACHt 30(104b)
ll-JUL.-77
12:25 PAGE. 1>-24
RBASRY--HECEIYE bUFFER ADDRESS SERVICE

,17354

9"'2212

1'177
tile
(1l
(11
879

!;t1356
.11356
"173b0

(1)

(0
884

kH736"
.. 11362

IH'0416
''''0757
""",417
.63270
RMI:

D"CII DDCHP PPOTOCOL IMPLEMENTATIOlol
21-APR-77 10: 16
DDCHGH."'AC
(1)
(1)

1<85
(1)
(t)

887

It>! Hb2
1!o11364

"17364
&17366

(t)

( 1)
88~

11117366
linN

RA2:
8o,,422
1,.'01>65
iJkl
BRwRTE SR,SET,A1SP1
, REAO PORT STATUS WORD
MICPCo:MICPC+l
I<5$-INIT&77712»
SR7
5$
,IF BOOT MOUEceeONLY BOOT OK
MICPCI:MICPC+ 1
 1 <5,-INIT& 77712»
BRWRTE. IMM,201
,SOH TO BR
MICPCI:MICPC+ 1

Z
RAl'
,IF EOUAL-IS NUMBERED MESSA(iE
MICPCo:MICPCtl.
 I 
Z
RA2
J IF EQUAL-IS UNNUMBERED MESSAGE
MICPCa:MICPC+!
 I 
Z
BOOT
: IF EQUAL Iii BOOT
MICpC-MICpC+l
 1 
;FLUSH INPUT SILO
MICPCaMICPCt1

STATE
RCYA

MACYlI 30(1046)
l1-JUL-77
12125 PAGE 6-25
RCVA--ROUTINE TO HANDLE FIR6T DOCMP CHARACTER

000420
"o0400

PAGEr

MICPC=MICPC .. 1
 I  1 
017153

(1)

(ll

~17450

927

;';17452

(1)
(1)

928

tH 7452
DtH54

(ll
(ll
929

017454
1H1456

(I>

(Il 1117456
930 . "'7461"
(ll

1:17460
ffl1462

(l)

(Il

SP
IBUS, UBBR, Spe
MICPC"MICPC+1

BRWRT/:: IMM,101
MICPC·MICPC+l

01h14$5
12322011
&00446
002!5!H

SP
BR, AANDB, spe
MICPC·MICPC+1

SP
IMM, 300, SP5
MICpc:o:MICPC+1


0irl0441
Z63260
~63305

8110451
043665
",r.;,452
00162"
kiiliiJ453
1l01b20

91110454
1101620
1)00455
1l0162"
k/;;i;4S6
"bUtt

61H62

hJ0451
RB2:
f11!04!P0
11'>0456

,READ THE BUS REO R/::GISTER

:MASK OFF At..L BUT NXM AND VI::C4 BITS


LDMA
BR,<.8I':LA1SP14>
,LOAD MAR W~TH ADDRj:;SS or CURRENT BA
MICPCo:MICPC+l
<140VE I LOMAR! BR I II;'
MEMINC
IMM,2
iLOAO NAK TYPE
MICPC=MICPC+l
J 
STATE
RCVC
MICPC"MICPC+l

OUTPUT ,
:OUTPU! LOW ORDER BXIE OF ADDRESS
!!ICPC"!HCPCH
.
 :OUTPUI HIGH BYTE OF ADDR/::SS
MICPC~MICPC+1

0""444
056227

DMCll DOC"''' PROTOCOL IMPLEMENTATION
DDCHGH.MAC
21-APR-77 10: 16
918

0li4

.S8TTL RCVB--ROUTINE TO HANDLE FIRST CHARACTER OF COUNT FhLD
,ENTEREO FIlOM IDLE LOOP
COUNT FIELD AND SETS UP RCVC AS NI::XT STATE

(1)
90112
(1)

(ll
90114

PAGEl

JSTOR~S

(!)

9.,3

11-JUL-77
12:25
PAGE 6-26
MACYlI 31H104b)
RCVB--ROUTINE TO HANDLE FIRST CHARACTER OF COUHT FIELD

:AND SAVE IN spe
,MASK TO ISULATE EX. MEM SITS

iNOTt THIS REALLY WRITES A J05 BUT THt;
,5 GETS SHIFTED OUT
BRWRn M£MX,AANDBISP5
,MASK ALL BUT EX. MEM BITS
MICPC"MICPC+l

hRSHFT
.
MICPCaMICPC+1
< MOVE I SliFT8R III RTEBR I SELB>
BRSHFt
MICPC.MICPC+l

BRSHF't'
MICPC.IUCPC+ 1

OUT
BP,AORBIOBR
,WR~TE EX MEM 8ITS (JUT
MICPCaMICPC+l
<"'OVEIIiPOUTXIBRI I ! <12-INlT& 77 7/l»

PAGE:

0185

D"'CI t DDCMP PROTOCOL IMPLt,;MENTATIO";
21-APR-77 10:16
DDCHGtI.MAC

MACYlt 30(1046)
ll-JUL-77
12;25 PAGE 6-28
I
BRiliRTE 11414,280
:SEPARATE SI::LECT BIT FROM COUNT
MICPC-MICPC+ 1
<"OVEI WRTEBRI 114M I <200»
BRWRn BR,AANDBISP5
MICPCo:MICPC+l

LDMA
IMM,BC
,LOAD MAR TO BXTE COUNT
MICPC-MICPC+ 1
 I 
SPBR
18US, RCVDAT,SP0
,INPUT THE CHARACTER
MICPC-MICPC+l
.

8RWRTE 8R,SUB!SP17
,COMPARE NEW R TO LAST R
MICPC-MICPC+l
!<10S-INIT' 777/2»
ALWAYS IDLE
MJCPC-MltPC+1
! < IDLE-IN I'U, 77 7/2»
tlRWRTE BR,SELA1SPl
,READ STATUS BYTE
MICPC-MICPC+1
cMOVEIWRTEBRI8RI  I < IDLE*INIT .. 177/2»
8RlIRTt 8R,SELA!SP10
MICPC-MICPC+l
<'lOVE !IiR TEBR 1 BR! 
BR4
IDLE
MICPCzMICPC-t1
! 
ALWAXS IDt.E
foIICPCz"IICPCtl
: < IDLI:.-IN 1 r& 777/2»

PAGEl

IllS7

OMCt t ()OC~P PROTOCOL IMPLEMENTATION
ll-APk-11 10: 16
DDCHGH.MAC
q75
976
977

.5BTTL
111755(J

(1)
(1)

1;;11'55<1

978

e! 7552

(1)

(1)

979

017552
U7554

(1)
(1)

fill 7554

980

lj:17556
017556
p1756<1

(1)

ell
962

i11756'"
617562

(I)

017562
017564

(1)

II)

kl175b4

9i14

~17566

(1)
(1)

985
(11
(1 )
986
(11
(t)

l'1II0513
t)b061H
1!'.,05 1 4
tll77iH

V17566
1i17570

f:,b3173

5$ :
"a0522
"&3071
RE2:
lh'Io'523
16~0524

Dto!C 11 ()DCI1P PROTOCOL IMPLEMENTATION
21-APF<-77 10116
DDCHGH.MAC
988
989

flt7574

(1)
(1)

~17571

':191<1

017'576

(1)

1;.17576

991

~17600

(1)

(ll
991
(I)

RCVF:
900525
3631&4

IH7bl

(I)

9':03

RCVFt:
tJ~0531

(1)

(ll

MICPCaMICPC~l

 I  I 
STATERCVG
MICPCIIMICPC+l

ALWAYS RElIT

loI~'450

,

991
(1)

PAGE &-31

"00532

995
99b

998

RCVG:
0it0533
3011535
0"'8534
U4531

0189

 I
STATE
RCVF
,NEXT RECEIVE STATE IS F
MICPC""IlCPC-+1

ALWAYS REX IT
MICPCaMICPC~ 1
 1 ' 
ALWAYS RE2

"""517
1 015522

,,17572

kCVE--ROUTINE TO HANDLE Ii f'IELO OF NUMBERED MESSAGE

•

BRWRTt: BR,SELAISPI
MICPCo:MICPC+1


1'&0371

16"05~5

fUBB

MICPCo:MICPC~l

i)d0515
020600

"1757,,
1ft 7572

PAGEl

 ! 1 1620
,,00557
£.t.2620
""0"i60
116256

f',,,0501
... 17661114704
fl17666

RH3:

~1",,562

U 7666

I)b0573

:~170;;

(1)
(1)

1027

01767",
817672

(1)

(I)

It)
(t)
11-)28
(1)
(1)

trH

~'11672

ili17674
'" 7676
017676

(I)
(1)

1.,37

017700
"177162
1:17702
.17704

{O
(I)

h!.Hl
(I)
(t)

1039
(1)
(1)
lfD4~

1417704
1"77"6
""7706
IU771"

h177U
'IH 771 2

(t)

(ll
11':41

\'17712
t"177t 4

(1)

(Il
11'42
(1)
(t)

Ii,.J

tfl71t4
'"11116
'117716
.1'177216

(I)

It>

",'772'"

1044

\)177'11.

(tl
(I)

11"45
(()

0110563
115467
000564
[;"0400
Ihl,,565
t)6322J
~h"'566
"f>~610

"'1770~'

(1)

(tJ
Il!I36

aot",567
9.,2212
0;,,,,570
1':0162'"
01),,571
1071 77
k'1'0572
010162

1'111",573
n54373
0,,0574
115411
1'''1Il575
U54371
:')160516
115445

HiS:
0d,,577
013t64
J,,~600

"17722
S1I7124

0190

RCyH--kOUTINE TO HANDLE CRC2 AhD fO DISPATCH NUMtlt:Rt:D AND UNNUMBERED TYP

'151373

SP
IBUS,RCVDAT,SP0
,GET CHAR IN SP0
MICPC"'MICPC+l
<"OVE1SPXIIBUSIRCVDATISP0>
8RWRTE IBUS, RCVCON
7 READ RECVR CONTROL REGISTER
HICPCaMICPC+1
 I I 
;READ PORt STATUS WORD TO 8H
MICPC·''IlCPC+l

BR4
SNAKl
; If START MOOE--PROCEED TO RESENO START
MICPC"'MICPC+1
I
MEM
BR, INCA 1SP0
, INCREMENT IT
MICPCa:MICPC+l
:.
BSHFTB
; SHIfT IT IUGHT
MICPC-MlCPC+ 1

MACYll 30(1846)
l1-JUL-77
12125 PAGE 6-33
RCVH--ROUTINE TO HANDLE CRC2 AND TO' DISPATCH NUMBERt:D AND UNNUMBERED TYPES

~17662

(I)

PAGEl

RCVHI

6&0551
*'17644
.. 11646

(1)

(I)

.SBTTL
J

,,17614
lU7614

(I)
(1)

MACYll 30(1046)
ll-JUL-77
12:25
PAGE 6-32
RCVH __ kOUTINE TO HANDLE CRC2 AND TO DISPATCH NUMBERICD AND UNNUMBERED TYPES

PAGE:


MEM
BR,SELB
,UPDATE IT
.HCPC-MICS'C+!
I I <8NAK-INIt& 177/2»
bR\liRT£ DP, 
, LOAD TYPE RECEIVED--DECREMENTING
HICPC&MICPC+1
! 
BRIIRTt. DP,(SELAISP10>
,LoOAD LIIIE STATUS wORD IN BR
MICPCa:MICPC+1

IIICPC&MICPC+1
.

SR4
10$
MICPCaMICPC+1
 1,SP13
MICPCaMICPC+l

Z
REP
MICPCaMICPC+ 1
! ,SP13
MICPCaMICPC+l

Z
NAK
MICPC&MICPC+ I
! ,SP13
'11CPC-MICPC+1

l
START
MICPC&M J CPC+1

.n

0191

O~Cj j DDC'IP PROTOCOL IMPLEMENTATION
DDCHGH.MAC
21-APfI-17 10: 16

OJ
11'146
1047

t·t77H

(1 }

(Il
liI48

.. ,7726
e17730

(1)

(l)

U773:>l

1£'49

~17732

(1)
(I)
1~50

1051

1"17734
1117736

(1)
(1)

1117736

1;00602

MICPC=~rCPC+l

054373


Z
STACK
MICPC=MICPC+1
.::JUMP I ZCONO Ii,SP13
lACK TYPE
MICPC:oM!CPC+l


",00603
215432

a54373
3"00165
'01H6
1<'",,606
'03451

D"Cll DDCMP PROTOCOL IMPLEMENTATION
DDCHGH.MAC
21-APfI-17 10,,6
1005
1.,66
1",67

1ft 7740

(1)

(1)

lti68

klI774£'
IU7742

(1)

(t)

.. 17742

"'09

~177U

(1)
(t)

1071

617144
917116

(1)
(1)

1076

t!l7746
IH7751i!

(1)

(I)

1077
(1)

"1775i'
811752
9117752
t;17751

(1)
(1)

le'SI

011756

(I>
(t)
(I)

1088

(ll

1617762
"17764
1117761
" ' I 11010

(1)

(t)
(1)
1~94

1~4620

123&"0
0;00616
'0&247
01'10025
1;"0620
,,63221
.. 2220]

a"",b22

et 7766

,'1717"

0"0421
ti",,,62]

fe1777"
,,17772

(1)
(1)

1<'''''&13
&6"653

0"0621

(1)

(n

IH'0b12
W633160

~00&17

817760il
t'17762

i~G9

l093

"~"611
~"0600

~17760

(I)

lil87

&00610
1012051

~!""&15

817754
",7756

(1)

(Il
lea6

"*'0607
123600

000614

(1)

1078
1€79

"17772

 I, SP13

CMP

860604
,U7732
=17134

(1)

(1)

115420

C17726

r-.:'C'll1 3"U04bj
il-JUL-i7 12,25 PAGE 0-34
RCVH-_ROUTINE TO HANDLE CRC2 AND TO DISPATCH NUMBi::RED AND UNNUfoIBEREO TYpES

061310
0806:H
100451

Z

ACK

MlCPC-MICPC+ 1
1 I  .
BR0
IDLE
MICPC"'MICPC+ 1
 1 
STATERKEl
MICPC:oMICPC+l
 I 
BR0
RK66
,IF SO, REITERATE 000 AND EXIT
MICPCI:MICPC+l
 1 
OUTPUT IBUS,RCVDATIOUTDA2
,OUTPUT A CHAR
I'IICPC"'MICPC+l

~IIR~'l'E NPR REGISTt;R
MICPC"'MICPC+l
 I < IDLt.-lN 1 'l'i.7 77/2»

PAGE:

*.

0193

O"Cll DDC,",P PROTOCOL IMPLEMENTATION
21-APR-71 10:16
DDCHGH.'o1lC
1096
111'97

017174

(I)

111'99

et71H
11111176

(1)
(1)

.,17776

(1)

II ,,4
(I)
(I)

'12'H"0"
'!2ii~02

(I)

It20",,2
,,2000"

(1)

(0

1'2.hHH

IU1

~20:.J"'6

(I)
(I)

I HI8
(1)
(1)

11"'9

020006
,,2""'HI
0201110
820012

(1)
(1)

11 U
(1)

&2<)1'112
&2"'014

(I)

~20014

1111
(1)

"21<1016

(ll

,,20"'16
fl2aw2tl

1112
(1)
(1)

1111

1;;2002>1
020022

(t)

(t>
1114
(1)

02"<122
0211024

(1)

~20024

1115

820026

(1)
(1)

1116

,,20ii26
1)2"'0130

(1)

(tl
1117
(1)

RCVKEI
11110625
'701>"''''
0011626
1i'72S1

~d(;l;I00

11105
(1)
1106

.201->]0
&20032

(I)

~2"'032

1119
(1)

B200H

(I)

1120

e2iHH4
02",<136

(I)
(1)

1!'2ii~3b

1121

.. 20,14",

uihlb21
623140
",1I;}630
01:>2066
.,110631
663164
,,00632
1115235
01101>33
;;1>3165
00"'0634
lrl5711

10$:
0110635
:."22202
0110636
11123140
ih'0637
01>21->66
0"'0640
115035
Oii0641
.63164
11100642
1k15245
\;.,0643
£b 3165
""0644
111772
t'00b45
!)2"b4i!
t'l80b46
1117215
1>1
1620062

(ll
(1)

112"'062

1141

.:7""64

(1)

1142

(0
(1)

&201:'06
0':20~70

ttl

(I)

12120A
iUl0654
1IJ22'51
fI"0655
0"",517
060656
"b1270
'.l4b31

a""b60
02320"
H62202

"110662
;tb0601
fl"0663

1"20<'7('1
1.'2illJ12
!'21!!;)72

PAGE 6-3b

12125

PAGE 6-37

111~76

" .. "664
11I4b41

PAGEl

0194

PAGEl

'!JI95

MICPC·MICPC+1
 I  II 1
9211064
rli2"0bb

1143
(t}
(t>

1144

"''''01152
1<14627

"'~0651

(1)

1138
1139
114ft'

(ll

RK4:
titi0651
1112<}51

Q",dbS3

1133

(Il

IHI01>5J
10f1450

12125

.58TTL RCVl(E--HANOLE EVEN BYTES
BRWRTI:. IBUS, NPR
; READ NPR CONTROL R~GlSTER
MICPC=MICPC+l
 I 
OUTPUT DP,
,WRITE INCREMENTW t!A
HICPCzMICPC+l
 1 < 108-1N ITli.777 12»
SP
BR,OECA,SP5
,0Vt:RFLOW - DECREMENT HIGH BnE
MICPC:oMICPC+1

~
RL3
,SHE COUNT ZERO
MICPC",MlCPC+I
 I 
,READ CHARACTER AND WRITE IT
MICPC",MICPC+1
l.:MOVEIIIROUT I IBUSI
OUTPUT OP,
,IIIRlTE IHCREMEfiTW bA
MICPCzMICPC+l
 I 
C
RK6
I NO OvERFLOW
IUCPCaMICPC+l
 I 
Z
RL4'
,BYTE COUNT ZERO
MICPC"'MICPC+l
! 47
iHliJtl15

1120.1150

(ll

1135

MACUI 30(1041»
II-JUL-77
RCVKE--HANDLE En.N 8YTES

SP
IBUS,NPR,5P0
,READ NPR REGISTER
iHCPC c IHCPC+l
'
BRe
IDLE
,NPR STILL IN PROGR~SS
MtCPCzMICPC+l
 I 
,TURN orr ALL BUT C"
MICPCaMIcpC+1
 I 
OUTPUT BR,
,SLND NONSENSE CHARACTER
MICPC=MICPC+1
!  I 
STATE.
RCVJ
1 NEXT STAlE IS J
MICpCo:MICPCH
 I 3310

,'23112
820112

1;110614
030&76

~2'H14

(1)

(I)

J23205
"''''tl671

iJ2iH04
1'!2"UiG

.121:1114

flCVJ--ROUTINE '1'0 HtiliOLE SUBTYPE FlE!,O,SELECT AND FINAL

RCVJ,
!~ltj0670

(1)
t tc,a

110"

MACY11 30(1046)
11-JUL-77
12125 PAGE 6-39
RCVJ--ROUTlNE TO HANDLE SUBTYPE FIELD, SELECT AND f'INAL

0,,"'&75
1 10 ,,45oi1

SP
lBUS, RCVDlT,SPS
:GET CHARACTER
HICPCzMICpC+1

&RWR-r.E
1~""i2"e
;COND!'l'rON~:"'LY SET SIT
MICPCIIMICPC+l

STATE
RCVR
; NEXT STATE IS N
MICPCaMICPC+l
,! 
~NEXT STATE IS RCVQ
STATE
RCVQ
MICPC·"'ICPC+1
CMOVEI WRTEbRI IMMICRCYQ-IIIITn77/2»
.
~***NOTE THIS INSTR DO~S NOT CLOCK ·C·
,Ir NOT IGNURE
C
RCVF1
MICPC=MICPC-tl
CJUMPICCONO I I I CRD2-INIT. 777/2»

MACYll 30(1046)
ll-oJUL-77
12:25 PAGE 6-41
RC VQ-_UNNUM8EREIJ MESS"GE--NUMBER FIELD
.SIITTL
,ENTER

,
W211130

(0
(t)

"198

,

"2<)11b

(I)
(1)

PAGE:

.senL RCVR--UNNUMBERED MESSAGE RESPONSE rll::LD
I ENTERW rROll IDLE LOOP'

(1)

(I)

MACYll 3U(104&)
ll-JUL-77
12'25 PAGE b-4"
RCVR--UNNtlllElERU) ME;SSAGE RESPONSE fIELD

RCWa:

0iH170.!
1t2u13fl

11 q0

0120132

(I)
(1)

U2id! 32

OJ~0525

a80704

1"4531

RCVQ--UNNUMBERED MESSAGE--NUMBER
rROfll tOLE

n~LD

STATE
RCVF
,NEXT STArE IS ADDIt~SS
MICpc·MICPC+l
 I cRCVYl-IIiI Tt,,777 12»

acvn

'"

D"'CII ODCMP PROTOCOL IMPLEMI':NTATlON
21 -APR-17 10:16
DDCHGH.MAC
1182
1183
118t

(ll
1186

E:?~HH
';2~1 )6

(1)
(j)

11 91

e20i36
£'2"140

(1)

(1)

1192

82"14a
il21H42

(1)
(1)

,,20142

1193
1194

1io201H

(ll
(1)

1195
(1)

.;20146
.J20150

(1)

(n

1197
1199

"'21:115kl

t:l"'0

0211i152

I
, HC V NPR IlI!ANCH
Ilfl4
RLI
"'ICPCcMICPC+l
' 
STATE
RCYM
MICPC=MICPCtl
 1 I ! 
12.07
1208
!2~9

(1)
(1)

121 "
(ll
(t)
1~1 1
(ll

.SSTTL RCyM--pROCESS CRC4--END OF DATA Mt;SSAGE
1 ENTERED FROM IDLE LOOpr
, IF CRe CORRECT -- QUEUE iNTERUP'l AND UPDATI!. RESPONSE
!;?!H56
~20156

",2",16.:1
iJ~"717

rt'2"'16;;)
n0162

(1)

~20162

1212

f:211i164

(1)
(1)

\t20164

1213

~2"166

(1)

CO
1214

'il211i166
820170

CD
(1)

121'5
(I)

021H72
r2"174

(1)

(ll
1217

'20114
.,20176

(1)

(I)
1218
(1)
(t)

H!6351
0",,720
ll23260
iHhH21
020640
1:)1'0722
116214
008723

£'20110
11;10172

(1)

1216

RCVM!

khlki716
120620

920176

0606.71
1,);'0724
1d7740
i100725
iHa151

e.,01l6
V't6402

~2"20'1l
i'!:'~727

1:2320"
£2"202

1)16702

tt20202
tl2c1204

0U*l14

1221'1
(1)
(I)

.!20~~ ~

1221
1222

"2021'16

1219
(!)
(1)

~~r,n3!!

(I)

(I)
1J21
(1)
(1)

1224
(t>

(Il

:- 202"'6
&21t121il
e201U
,,20212
~20212

,,"''''731
Il4"i52
I!CV"l~:

il,;0732
0h1117
t'00733
1101'1410
&,,07)4
Ill522

; If' CI!C WRONG SEND NAK
!BUS.!!BBR
:REAO UNIBUS BR R~G~ST!:~
MICPC=MICPC+ 1
 I 
BRIIRTE 18US, RCVCO.
: READ RECEl VER CONTROL REGISTER
MICPC .. MICPCH
 I  1 1 .3 77»
BRWRT/:; IMM,10
: MUNT MESSAGE ERROR
MICPC';''''lCPC+l
I! I 20

(I)
(I)

(1)
(1)

12125

PAGE 6-44

PAGEz

0202

PAGE:

0203

EI'I2--PROCESS IILD MESSAGE

J ENTERED rROM IDLE LOOP

,If

(1)
(I)

1232

MACYlI 311(104&)
Il-JUL-77
lM2--l"ROCESS RLO MESSaGE

D2i1l254

i)4)230

i.d" 155
114524

RLO PASSWORD CHECKS TRIGGER THE 800T HOM

BlliiRTl Ious, RCVDU
; RE;AD l'HE CHAR
MICPC-MICPC+ 1

Z
£.M3
MICPCcMICPC+1
.
I 1 <10$-INIT&o717/2»
ALWAYS FLUSH
IALREADY IN MAINT MODE
!! 
ALWAYS FLUSH
MICPCo:MICPC+1
 I 
l
EMTRIG
JTRIGGER AC LOW
MICPCaMICPC+l
 I  I &o377»
HEMINC
IMM,l
"ICPCaMICPC+l
<110VEI WRHEMI I"CMARI INN 1<1»
HEM
IMM,0
;NIH ERROR HIT
MICPCa"ICPC+l

ALilli AX 5 ~CEXX
HICPCo:MICPC+l
 I 6

"216266
1>216271l

(1)
(1)

t'2027~

D91d

1):;>"274'

(I)
(1)

V!2~212

1291

16216274

(1)
(1)

1292

(ll

(0
(1)

2284

0216276
1i2")i!!"
829300
a2r3Ej2

(1)

(1)

1295
(1)

0203164

1296
1297

.. 2163166

(1)

(0

1t2 11 Ji:l6
172"310

(t)

(1)

1291
(2)
(2)
(1)

(2)
( 2)
(1)

"'!

C·1!071>2
'",""142
lHHH63
0",0404
.,1.10164
.,/)3".,,,
llii1601
"11161(,6
"0,,,494
""0767
12322fd
""0770

il20302
1li20304

(1)

1299

!}I, 33

~H10165

li!20274
1.1216:;>7('

(1)

1293

""'0760
016"613
i'ii616761

(1)

(t)

IV-J742

.,2~262

1277
el)

1279

&60601
1J0~757

11216261<'

(0

1279

I)OOT:
""~756

(1)

(t)
1211>

0216310
,,:10312
920312
1')20314
1620314
020316

0)

~/)1"1l

1600771
114761
,,1t0772
0"0432
0163773
114663
(160774
6300110
£100775
"'016000
00i1776

{2i

i~103iu

(1)

('216320

(2)
( 2)

152163216

l1i0t'hj0i.'i

1000771
"(60~00

OMCI. DDC"IP PROTOCOL IMPLEMENTATION
21-APR-77 10:16
DDCHGH.MAC
In3
1294
1795
1296
1297

I1-JUL-l1
12125 PAGE b-46
EXlS'l'ANT ~EMOl'Y HUlOl.ER

PAGE:

, dRRXX-IN I T&771/2»
$ZERO
"'ICPC"MlCPC+l
000900
$ZERO
MICPC"'MICPCtI
1600000
$ZERO
MICPC=MICPC+1
00000"
$ZERO
MICPC=MICPC+l
1600000

MACYl1 30(1046)
l1-,JUL-71
12.125 PAGE b-47
NXMERR ---NON EXISTAHT MEMORY HAHDL~R

PAGE:

.=IHIT+20016
MICPCa717
.SBTTL TMTDA--TRANSMIT'l'ER DISPATCH ROUTINE

~2~322

":;>0324

(1)
(I)

~20324

1291

1):;>,,321>

(1)
~2i:1326

THTDA:
IHH1600
020020

oill "'0'
173202
I9IH002
1 ""'454

0204

F.RilRTt. BR,SELA1SPI
~SEE IF IN MAINT. MODE
MICPC"MICI?C+1
l ! 
ALWAYS THlX
MICPC=MICPC+1
 I 
UUT
BR , A'DDI08R
MICPC=MICI?C+l
 1 
JIF READY PROCEED
MICPCcMICPC+1
_

ALWAYS 11
-.
JELSE IDLE
MICPC"MICPC+1
 I <1 1-INI T6017 7/2»

0205

OMCll DOCI4P PROTOCOL IMPLEI4ENTATIO~
OOCH('H.14AC
21-APR-77 10;16

"'ACYl I 3~(1046)
11-JUL-77
12125
TMTA--FIRST CHAI

&20146
162035<'

.,2"'350
lit21c.J52
.. 2(/1352
fl20354

(ll

(I>
132:>

(42;1354
320356

(ll
(1)

J326

fl20356
,,20360

(1)

(1)
(11
(1)

13:11

.. 20360

112" 362
11/20164

(1)

(t>
131004
112007
il;l1~05

.121031
1!'20H6

(1)

1 JIe

36"61.1

,,20332

(1)

(1)

"20372

1120660

IHH01l
0., 1 623
801t!14
103054
,,"'015
31,;'1773

fl01016
bb3270
IH'lI'l7
'010 4 414
91110.10

663212
001021
Iih,0412
nt022
06)226
0!H023
1.",,454
0"U24
063166

OMCII DDC"F PROTOCOL IMPLEMENT AT ION
OOCHGH.I4AC
~1-APR-17 10:tb
IHI

..·20374

(1)

(0

,.2rl374

1332

~2037b

(ll
(I)
1333
(t)
(1)

IH4

'~2~nb

<:12<1400
162"402

(I)

2'204.",
IJ20406
1oi2.H06
1t20410

(t)

.;12"41 "
r.20412

(1)
(I)
(I)
(1)

13ta

,,201412
IJ2"'414
"20416

(Il
(I)

1341

\)20116
f'21H2n

(I>
(I)
(t)

IHJ

0'042111
020422

fU
(1)
(1)

~bi:l610

IiIH033
1 t2fd41
i'iJ1034
"It;} 45 1
01111."35
1-:63222
01111136
"b06"1
113447
"lIl~4'"

02ib422
"2k14H

(lJ

1344

Z62230
i'li!111Jl
111"454

111111037

1I)

lH2

1"11027
r,,101>26

t)011132

(I)

(ll
IH9
0)
1339

nl1026
I!! 1123 1 I

il.!U3"
::2"402
,,20404

(I)

1337

.hllf.'25
111432

~2040~

(I)
(1)

IHS

.. 20424
,·.11426

Ih1

1348

3i1li<145
1)",,,4115
~",q

(I)
(t)

0206

PAGEl

02S7

HEAD~R

TI4TA:

131/19

1310

TMTA--f'lRST CHARACTER OF

PAGE:

J

1303
(I)
(1)

PAGE 0-48

1120436
.i2IHHI

(0
(I)

il2~44i

114'1

P2 ..··12

046
1101441

\.Hlk147
?I 'f1b2J

IlRIIIRTt: BP,SELA1SPlff
lHEI! 
SPt
IDLE0
J IF START MOOE--EXll'
MICPCaMICPC+l
 I 
,READ LINt: STATUS WORO
MICPCo:MICPC+1
! 1 
BRt
11
;RTS SET? It sO wt: ARE--STA~L
HICPCaMICPCH
 I <11-INITIii 77712»
BRWRTE 1"'101,373
" ;MASK TO TURN OFFLINE 10l.t.
MICPCo:MICPC+1

TSTATE TMTA1
MICpcaMICPC+ 1

BPIiRTt: I"N.12
MICPCzMICPCH

ALWAYS 11
,SA~K TO IOLE LOOP
MICPCaMICPCH
I

MACYlt 30( 1"46)
Il-JUL-77
12125
TMTA--rJRST CHARACTER 0 .. HEADER

PAGE 6-49

TMTEXT
Z
MICPCaMICPC+l
1 
J WR~ TE 50M TO TMTR CONTRL
MICPCzMICPC+l
<"'OVEI WROUT IIMMI 
,SENO THE CHARACTER
MICPCaMICPC+l
 I <1 I-IN lTl. 77712»
TMTEXT: SRWRTE BR,
;UNr.UMB Mt.SSGE1
MICPC"MICPC+1
<"'OVEI WR'JEBRI BR1 I 
BRWRTI:. BR,SELA!SPl
JAR!:: lit: IN SOOT MOOt;
MICPCaMICPC+1

TMTA!):
I IN TMT SILO
MICPCII:MICPC+1
< .. OVE! III! 
ElRWRU
114"1,5
It;NQ TO SR
MICPC-MICPC+l
 I 20474
1120476

(t)

(tJ
1390

(ll
(ll
1191

IHHt)52
01640'3
~76&12

.,00476
TB0:

jJiHfl55
01>3222
001056
1Il56224
IhHi057
051>225
"",U60
:/'43227

",,1061
12320'8
\,.niH,2
!!'001:120
(;1l.,63
Ifb3260
~"'10'&4

(t)

1388

1 Hl9

"al"51
070'216

10 ,H 11154

(ll
(I)

THTB:

1101053

1)70452
'J20454

!}a3J0'6
".,111'65
054666
""U66

11120416
"'2,,50'"

(,42230

ilk/I 061
e2115""
e205e"2

VIHI:I20

,,2115"2
.12"504

1'1"11:120

1HZ
(I)
(ll
11'11

e20Sl!)4
ki2"5.c6

I"dll>U

~l!ln0

(t)
(II

(1)

~"HI1t

"'"I (172

PAGEl

0208

PAGE:

0209

MICPCaMIcpC+l
 1 ~~~:~!Ml~:~:~! INCIIIAR>,SEL81i'BAl

:GETPOINTER TO NEXT TMT LINK

:1oI!UTE M5G T!4T!:.1) TO

n.A~5

,PICK UP MSGNO

:AODRESS THTR STATE

,UPUATE IT
, ilRl TELOWBYTEOFAUUR~SS

,SEL8!I8A2
I_WRITE HIGH BYTE OF ADDRESS
MICPC=HICPCoIoi

,WA~'l' TO MASK on Mt;H UT. BITS
SP
IBUS, MpR, SPit
HICPCcMICPC+ 1

BRIIlRTE IHM,220
MICPCaMICPC+l
<"!OVEIWR'lEBRIIH M1<228»
SP
BR,AANDP.,SP0
~ICPCcMICPC+ t

SP
IMM.300.SP6
MICPcaMICPC~

bRWRTI!; ME"!X! INCMAR,AANDBISp6
: TURN Off' CC2
IoIICPC&MICPC .. 1

bRSHFT
141CPC=MICpCH
<"!OVE! SHFTi:lRI ioiRTEBR1SELB>
BRSHfl'
"lCpC&MICPC+l

i -- -

DMC 11 OOCllP PROTOCOL INPLEMf.NTATlON
OOCHGH.MAC
2!-A1'I,-17 I,HI&

(1)
1394

~'2"'5i1'6

(1)

1)2"510
112b~12

(I)
(1)

~blH0

I"lf1074

P20'51l
02;)514
e20514

PAGt:: 9-1

PAGt::1

0210

PAGE:

0211


OUT
SR, AORB I ONPP
MICPC"'MICPC+l

ALWUS
11
MICPC",MICPC+t
1 UT SECOND CHAR Of COUll!

,

14tH
14.,'5
141<'6
11)
(1)

14.,7

.SBTTL

1J2w:151OS
"21'1516
(20520

14,,8

"?0521:l
.. 21<.1522

(J)

(ll
14r9

t2"'522

14103

:~:'

cS 21-

"'2"520

1411 .

t;2"'~30

(I)
(1)

1112
(I)

I:'20'5H
62"''532

(1)

tl20532

112;>534

(t)

(ll
142~

162;0534
i20536
::216536

0)
(I)

r211'536

(ll
(1)

142t

n054a
20542

1423

,,70542
.. 21'1544

(ll
(1)

l:l054"

14/4

""1105
;ib 3016

\,;2;:-;511

,

5S:
1')"1106
300514
k .)1101
:.·f>3222
,MII10
100454
10$:
011&471

"~1l546

1o;1,'54b
1.2i:l5'50

(1)

(1)
1426

""IUI4
1Ji10406

k)01!l t

(1)

III
1425

hO.H76

"I"
lin
Ill'HI

~

(lJ

(ll

1;,,11&1
~ .:~S ~ 1

'irJI tel

1413

1414

I>J1100
klb2230

.210526

0)
III

'l'MTC--OUTPU'l' SECOND CHAR OF COUNT

BRWRTE
11414,77
,MASK TO CLEAR MXT lilTs
HICPC·MICPC+1

OUTPUT DP,
,W1UTE TO TMT SILO
MICPC-MICPC+l

l
10$
MICPCaMICPC+ 1
 1<11l$-INIU777/2»
BRwRTt; 11414,6
,onSET TO NEXT LINK
MICPC"MICPC+l


.,1

H3b67

Li20~24

(1)

...

""107b
",,,,,,477
~"'1317

(I)

It)

TMTC:

PAGE 9-2

\141112
1.03236
1i,",'11 )
IU5;t6

TSTATE TMTD
MICPCIIMICPC+l

ALWAYS
11
, •••• OCTOBER 29, 1916
MICPCaMICPC+1
 I 
ALWAYS 5$
MICPCaMICPC+l
1 <5$-IN 1 TIo 777/.l»

,

OMet 1 DDC"P PROTOCOL II4PLEMICNTATIO"

DDCHGH.MAC
1428
1429

,,20552

(0
(1)

H3"
III
(1)

1431

S7d552
112.,0;54
82lt554
1iJ20556

(1)

(0

~·2lt556

1412

"2~56"

(1)

HH

:62.,560
a2"562

(1)
(1)

6)20562

1434

~20564

(1)

(ll
(I)

~2"'564

1435
(1)

070566

(ll

f:t'0566
"2"5711

1436

(ll
(0

21-APP-11 10: 16

,:2"570

t'7,,572

144~1

1:2~572

(1)
14~1

(ll
(ll
1412

1o}201512

IHllii5
"b3166
1'11:11 116
111120

t•.,t \17
Mo3t61
001 t 20
0\0171
1:01121
1)42230

001122
t;63222
'''HI23
11111454

0161124
123b00
1}01125

(ll
(1)

lH3

MACYll 30('1046)· l1-JUL-77 12r25 PAGE 9-4
TMTE--NUMBEP FIt:LD--NUMBEREO MESSAGE

\;20576
l'2k160'"

(ll
(1)

Jt20600

H44

~2"'6"2

(1)

(ll

&'20602

lH5

d20!>04

(1)
(J)

r.i211604

TMTE--NUMBER 'JELO--~UM8ERED MESSAGe:

TMTEr

li.=2~51 ~

v2k1514
il20576

0212

.S8TTL T14TO--RESPONSE FIELD-NUMBERED MICSSAGE
STATE
TMTE
MItPC-MICPC" 1

C
TD2
I nO OVERfLOii
MICPC-M lC PC .. 1
! 
T02:
LOMA
IMM,ISP1t
JRESP FIELO AODR TO MAR
MJCPCaMICPC+l

ALiiAYS It
. MICPC-MICPC+1
! < I l-INITIio71112»

.SBT'IL

(1)

PAGE:

TI'10:

&111114
f."1:1524

DMCII DDCMP PROTOCOL IMPLEMENTATION
DDCHGH .... AC
21-APR-17 10: 16
1438
lH9

MACY1t 3",(1046)
l1-JUL-17
12125 PAGE 9-3
TMl D--RESPONSE n ELD-NUM8ERED MESSAGE

'''2~54

t"1l26
[,1>11612
il61LO
062230

0111130
U0532

e"'I131
110600

SPBR
IBUS, MPR, SP0
I'IlCPC-MICPC+1


: READ NPR CONTROL REGISTER

=R0

;

T t

BUSY ~ GEt OUT

MICPC=MICPC+1
I
:wRJ.TE IT TO THE Sl1.0
MICPC=M1CPC .. 1
 I\~N1ATIO'"
DDCIiGH ."'AC
21-Apr'-71 I~: 16
1447
1448
1449

.SBTTL
112it606

(1)

1t5"

112.1606
U2.,610

(1)
(1)

1'20610

1451

,2.0612

(1)

1J21!614

(I)

.. 2"614
"2"'616

(1)

(1)

kl63222
~illl34

~2.J612

1453
1454

1"11132
1i"0537

"d1lB

(1)
(I)

(1)

,,20616

''''0401
Tn:
lH7l 135
01>2230
Itfll136
11")454

DMCII DDCMP PROTOCOL I"PLEMENTATION
DDCHGH.MAC
21-APP-17 HlII6

t 41>0
1461

"2062"

(1)
(1)

t;2"1>2il

1462
(Il

~20622

(1)

1463

('20622
112"bH

(I)
(1)

~1"'624

1464

~ It ~'5

1466
(I)
(1)

1467
(I)
(1)

~62231

oat 141
062230

u21!626
1;20626

fl01142
172l'51110

PAG~

9-5

.,20630
.. 2H632

11111143
112162

"'H144
"2"632
9201>34

1t1f0546

iHIlUS
~2"'6H

110563

PAGE:

0214

PAGEl

"215

TMTF--NUMBERED MSG ADDRt:SS FlEL.O

STATE
'IF1
MICPC-MICPC+1

hRWRTE
114M, 1
:LOAD ADDRESS
MICPC-MICPCtt

MICPC-MICPC+1
.
ALWAYS 11
MICPC&MICPC+1

MICPC-M1CPC+l

MICPC-MICPC+1
'
, 20/1674

216115(1
102"'54

5$£
;;;'1151
v22iH0

"all 52

W23U0

~"I 153
I>b2064

IM1154
1'163166

I t 11M'
1'31156
0b3167
bU1S7
t 15407

'!111160
020620
i'!I!'1161
1 I 3165
TMTF1:
0"1162
0'!il!5,,5
XEXIT:
fl0tl63
tb3'222
viii 164
lil0454
T"'THO:
TH9:

~2"6"14

92:11614
1l21!!676

(tl
(t)

q;.Jt 147
j i liS:!

~'20672

(ll
(ll

123b00

~'ij1155

,,2db54
til?0656

(IJ

(1)
14114
Ha6

TMTH:
u~114&

"20b36
fl20b4i1

(I)
(tj

lH1

'."20676

&},,1165
£122030
"u116b
623100

OMCI I ODC"'P PROTOCOL IMPLEIoIENTATION
DDCHGH.MAC
21-APR-71 10: 16
15~4

\170700

(Il
(I)
15175
(I)

f,i207a0

(ll

l'2iD7162
1;2071<74

15<16
(ll

(ll
15~1

(I)

l'207ii14
'1>20706
tl2071H,
02111110

(ll
(11
15~9

!C207H'
11>20712

(1)

(tl

~20712

l'i\1l

&2111114

(I)

III
1 ~12
(1)
(1)

1514
(1)
(I)

:;20714
f,2~716

,,20716
1"'2371"1
e2"'720
0;2111722

(1)
(1)

~'20722

lSI!>

'"20724

(I)

(ll

;,n121
l10720

(I)

(ll
1518
11'
(1)

1519

n0726
:2073v

(ll

1'216730
ii.2167 J2
~2"7

32

,"'2,,734

(ll
(1)

12.J736

1522

\·2074\1

(1)
(t)

;;2"74,,

1524
1525

0111 I 12
111 175
lMII13
k'b3167
&"1174
1154i'J7
lHU175
1

Ht,,'"

112205

k:""'77
£11113546
l'\ilI216"
flo 3222

"'''1201
""o55&
~'''I
~163

2;62

260

l6UHil
!!'t'12
IlR4
5$
,1F RECV NPR --PROC~SS
MICPCI:IHCPC+1
i <5$aU;ITi.777/2»
UR0
It
,IF NPR IN PROGRESS --BRANCH
MICPC=MICPCH
.
 1 <11-IN I T6. 17 7/2»
OUTPUT XBUS,
OUTPUT BR,
,OUTPUT INCREMENTt:D BA
MICPCI:MICPC+l

C
TH6
,NO OVERFLOIi
IHCPCI:MICPC+l
 1
Z
HEHI
,BYTE COUNT ZERO
M1CPC-MICPC+1
 I  I ">·
STATE
TMTHO
..
MICPCI:KICPC+ 1

SP
8R,SELB,SP2
,STORE NEW TRANSM~T STATE
MICPCo:MICPCH

ALWAYS 11
MICpc .. MICPCH
 I
MICPC=MICPC+1.


,ODD CHAR TO SILO
,READ LOw BITE TO BA

MIICYll 30(1046)
11-JUL-77 12:25 PAGE 9-8
TI4TH--ROUTINE TO OUTPUT DATA ~HARACTERS
OUTPUT BR,
:OUTPUT THt. INCREMENTED SA
MICPC=MICPC+l
<"'OVEI Wf l
C
TH1
,NO OVERFLOW
MICPCI:MICPC+1
 I ">
SP
BR,OECA,SP7
,DECREM~NT HIGH 8n!;; OF
COUNT
MICPCo:MICPC+l

z.
HEHI
: ~¥"fE COUNT ZERO
MICPC=MICPC+1
1 
BR0
TH2
; IF NPR BUSY WAl! TO GO
MICPC=MICPC+l
I">
TH3:
SP
8R,SELS,SP2
:SAVE TSTATE
MICPCI:MICPC+l

TH3u
BRWRT~
1141'1.156
JCLt:AR C0 AND C1
MICPC"MICPC+1

OUT
SIl,
ii!iCPCa:::PiIC"PC+l
<,",OVE.! WROllTXl BR! l">
MICPCaMICPC+ 1

AI,WAYS
It
MICPC"MlCPC+1
1<1 1 -INI n.n 71 J»
; "*************tNO TIIlt. CRITICAL PATH".******,,********************

PAGE:

0217

DMC11 DliCMP PROTOCOL IMPLEMENTATION
ll.API'·71 1 (~: 16
DDCHGH."AC
1527
1528

,12074:.1

0)

(ll
15i9
(I)

(t)
1!>3'"

.20741
,,20744

TMTI:
1:1'1121<1
I!"hH51
;:,011211

02074'1

(143226

1;20746

(I)

(1)
1531

~'H212

k/2iH46
020753

(I)
(t)

1'2ir)750

1532
15H
1514

n2"75~

(1)
(1)

~20752

1535

,,2il751

SJZbt4
111,.213
110521
TMTJ~

,,"'1214

(1)

(t)
1536

1112075.
11)21'1756

(1)
(t)

1:)207S,;

bhU52
,,1,.215
0,,0617
b!l21b
110521

O"'Cll DOC"'P PROTOCOL IMPLEMENTATION
()OCHGH.'4AC
21 -APR-7 7 I~:lb
1538
1 ~ 39
IS4
TSTUE 1MTL
MICPCZMICPC+l
<'!OYEI WRrESRl IMMI 
C
HIl'LId
MICPCzMICPC+l
!  I 
BRIoiRTt. IMM,3
MICPCIIMICPC+ 1


021004

(1)

II)
IS;)6

TMTLI

""2,,774

(1)

I ~51

1105~"

01H225

(ll

IS49

0.H223
, 11232

0"1224
r.2a772

(ll

I;b3222

~2~772

(ll

1548

"~0b25
0~1222

.20766

1545
1540
1547

(t)

lIb <) 346
,HI1221

(1)

(()
(t)

301,,403
"'01122~

(1)

(t)
15H

TMTK2

tlt'12H
,,6213O
£'111234
1"0454

l
1MTLl
; YES
MICPC.MICPC+l
 1 
,SEHli IT OUT
"IICPCZMICPC+ 1
 I "

1:21"14

1 ~61

1f21~lb

(I)
(1)

~2Hlll"

1';1>2

T"1Ll :

"211'1 "

(I)
(t)

""1235
t'b3572
I:lIH6
111441

PAGEl

"218

:SBTTL TMTJ--SEND SUB-UPt; fIELD
LDMA
IMM,ST
IAOIJRESS or SUS·Ti:Pt; rIELD TO MAR
MICPC-MICPC+l
 I 
STATE
TMTJ
"4 ICPC"MICPC+ 1
I I 01241

1569

157'"

MACHI 30(1046)
ll-JUL-77
12125
T"TM--UNHUMB "SG--STATION ADDRESS

£-2i~52

~01!1402

0"1242
;;b2231
~) .. 1243
062230

1."01244
D"'0484
I!H'H245
iJ61710
'Hll24b
1)60530
",,1247
It 3653
0111250
0"'1It776
5$1
0111251
f763270
31'1252
110740
10$:
001253
000576
,"11254
'1,,651

DMCII DOC"'P PROTOCOL IMPLEME.NTATION
DDCHGH.MAC
21 -APk-77 10: 16

(I)

n1054
~211O~H

1)01255
;),10577

TIMSRV--TlMEOUT 'ROUTINE--SENDS

.ENABLE LSB
TIMSRV: BRWRTt:
IMM,177
MICPCzMICPC+1


ISA4
1585

(1)
(1)

15tl9

021"56
,,210)56
1<121060

(ll
(I)
159t1
(I)
(1)

1591

~211:lb0

(I)
(1)

.. 21\'164

15n

.211<166

(ll
",21066
"'210,70

(1)
(1)

e21"'7fl

1594

"~1072

rt)
(1)

10;95

"211<'72
821074

(0

(ll
1596

(ll
(I)

021",14
021"7b

10;97

\:211"76
!'21100

(1)
(1)

r'1' ~

",,,,,I

.,IH261
1;;3451

1i61175
0"1263
Illb7'"
1I~$1

0t11264
Itb0i>1t1
l!iH265
11b731
'HH2&6
t 16331
edl2b7
,,,.,451
TIME1:
211$:
blt0402
:lr'1211

.. 211,,4
f{211t16
u:?II1<'"
tj21110

,bn]';

1,,"11 2 72
",i:6b01

"",Iln
\'2111',)
1'21122

(1)

(t}

kilt1260
1 "2t151

I;: It 1 270

(1)

(Il

0"1257
1:'&06"1

~'61262

1')93

(1)

!f01256
i.'61271

~21"62

iJ21062
"21064

,,21112

PAGE:

0221

REP

: MAbK OFr

BR REQ

,RESET TIMEH---SJ.,lCK MOVE
;SINCE TIMER IS RESET BY WRITING
,A 1 AND TH" EXPIRATION
J.,OOKS
ILIKE I--VOILA
,AND THE 8IT ON
,.

l~ij6

15111
1588

0220

.SBTTL TMTM--UNNUMB MSG--STATION ADDRESS
STATE
TNEOM
IHCPCc'UCPC+l
<"'OVE! wRTEtlRIIM'" I I 
MICpCIIMICPC+l

,OUTPUT A GARBAGE CHARACTER
MICPC=HICpCH

BRwRtl!; 8R, AA I SPill
I SHIFT STAlUS LEfT
MICPe=MICPC+1
 I 
ALWAYS TEOM2
MICPCcMICPC+l
<.JU"P I ALCOND I  I I <5.-INI-rU77 n»

.SBTTL

(1)

PAGE!

MACYll 10(1046)
ll-JUL-77
12125 PAGE 9-12
TIMSRV--TItlEOUT ROUTINE--SENDS REP

1~8"

15!!1
158l
1503

PAGE 9-11

,;6311t'

Gill:l74
• <'I'>".)

OUT
BR,
MICPCIIMICPC+ 1
! ! 
Z
20$
,IF ALL ONES HAS t;XPIRED
MICPC=-MICPC+1
1 <208-INlT6.777/2>">
BRWRTf: BfI,SELA1SP10
;READ LINE STATUS
MICPCaMICpC+l
 I :!>
ALWAYS
IDLE
,I:.LSE BACK TO IDLE LOOP
MICpC-MICPC+1
1 
tlRIIRTE
IMM,2AI
HICPCZHICpCt1
<"'OVE I WRTEBR 1 IMM! <21"1>">
SPIlR
BR,AORB,SPtI!
HICPCaMIcpCtl
<"'OVEI SPBRX!S!!! AURB lSpl0>
bflSHf'T
",rCPC""'ICP(+l
<"lOVE! "HFTS£l ~ WRTi::BR1SELB>

:RESET THt: TIMER TICK COUNT
, SE I Oil TO SEND AND

: U/IINU"I "'SG PEh!)lNG

OM(l1 ODCIilP PRvTOCOL IMPLEMf.NTATIO"
DDCHGH. MAC
It -AP'-71 lkl: 16
16"'9

1121114
"'~U15

(1)

(I)
1"1~

<121114
tl21116

(ll
(1)

..,21116

1611

~'21120

(1)

(t)

Ib12
(I)
(1)

1613
(I)
(l)

1614

!i:?112rl
1121122
r.;21122
'.• 21124
';21124
r21126

(1)

(1)

161 ;

')21126
1'12113'"

(1)

0)
1616

11121133
"'21 t 32

It)

(0
1611

.:21132
1,21134

(1)
(t)

1618
(1)
(t)

1619

,,21134
ti21136
.l21 1 3'>
.,211HI

(1)

(Il
162",

lU21141'1
"21142

(1)

(I)
1621
(I)

621142
.. 21144

1I)

11121144
r.:211!6

1622

OJ

(ll

"'ACYl1 3'HlI!46)
l1-JnL-77
12125
PAGE 9-13
T I MSRV--T 1 MEOUT POUTI'lE--SENDS REP

10'3111
"'''1276
1'61:i512
01:1277
a6,']77
1"."1300
1 I 1733
TIME2:
tillt301
tH01S1
;;"U32
\il164<'13
~JI 303
I"671tj3

111"13"'4
,'hHHS
""'130S
M3220
1:1"1306
",,62460

v"'1307
01':003
ti,,1310
1640020

"it

1 3t 1
,661620

Ihl131 2
~21 t 16
.,.'2115.)

1623
(1)
(1)
1628

:-<211516
",'21152

(tl
0)

,,21152

1162620
001313
Ja6372
~iI13t4

hf0451

1629
163'"

D,"C 11 ODCMP PROTOCOL IMPLEMENTATION
21 -APR-71 1 -,: t 6
DDCHGH. "AC
1 6 32

f~13t5

(t)

;211541.l"'620

163J

IJ21156

(Il

(Il
1634
(ll
( 1)
1'>35

':121151;
l12tl6Q

""1311
,'21160
\.211&.2

(1)

(t)

~211fi2

11>36

t;211~4

(1)

(I)

1631
(1)
(ll
H39

1/i21161
,21166
.2tl66
kl2 11 7v.1

H39

'J21172
\121172
B21114

It)
(1)

1641

<;21114
!<.21176

(1)

(1)
IH~

l':?l 176
'i'l2tl .. ",

(1)

r t)
IHl

0212iHl
6:21202

(t)

(t)

1644

';"12~L

164')
(11
1646
1641
{II

:':'H2",1,

!II

1::i121",
('21212

(1)

1649
( 1)
(II
J "~,,

(,uI324
1:1>31112
TI::O"'I:

l;.J1325
CH216
.,1326
1:4,,620
11,,1327
11234"
TEOM3:

0t1IH0
£'0371')
t,6167~

".'1332
11234",
~~IDACIC:

_'71211:

"21212
1:21114

~J"tlH
~I"ISI

:" ,'I J 14

~ICPC=MICPC+l

"'1b4~t

, 
,I'RITE TMTR CONTROL
MICPC.MICPCt 1

: WRITE GARBAGE DATA
MICPCzMICPC+ 1
<"'OVEIIiIlOUT I BRI I <8TEOM-IN1 T"777/2»
SP
BR,INCA,SP12
• INCREMENT THE MESSAGE NUMBt:R
MICPCKMICPC+l
.

tDKA
BR,SELAISP16
,ADURESS LAST TMT LINK
MICPC=MICPC+l
 I RX IBRI AANDBI SPI0>
SR0
TEuM2
,IF UNNUMtI PI::NDING--~O AWAY
MICPCKMICPC+I
 1 \2-1N I 16.77 7/2»
.SbTTL S'4DACK--ROUTINE TO St:ND AN ACK
LDMA
l"III,T
MICPC=t"lCPC+1
<'lOVE! LIJMAR I IMM! 2230

IJ.,U23

C\)

1640

N'0492
~"1320
~62231

f,2117~

(1)
(1)
(t)

'01316
1"61S1

,n lJ5

:;.~'t)h'5

::iA2:

".'1 lj6
:.11>1""

:,A3:

0222

1l1l4
BSt
,IF' IN START MODE--I!RANCH
MICPCIIMICPCtl
1 
Z
- S'4DACK
,IF' EO --SEND ACK
IHCPC=MICPC + 1
 I 
MEM
SR, INCAI Sfe
,INCREMENT IT
MICpc.MICPC+1
.
"'EM
BR,SELB
MICPC=MICPC+l
?
BR0
RTHRES
MICPC=MICPC+1
!  I 

165~

1658
(1)
(1)
(1)
(1)

1659

021222
,,110403

0l21n4
021226

£'&3222

~ 21220
02123.1

1<:;:)454

,,~lHl

0<11342

(1)

II)

1661

(0
tt)

lc6l

"'2123£1
!tI21232

(I)

(ll
1&&3

1}21232
"21234
';21234
e21236

(I)

(1)

11121236
.21240

(lJ

0)

~'2124Q1

1606

.. 21242

(1)

III
1661
(t)

£'21244
021246

(Il
(t)

lbb9

9'2124"
!J2125H

(1)

(ll
lb70

(1)
(1)

1672
(1)
(I)

1:1~&04

""'134&
1,,3520
1"'1341
113b4160
~d6420

801351
"".Ha2
1J01352
I(Ib31<:1<14
f6t353

<;21250
.,21252

(ll
(1)

1671

J<)1!1344
'''2051

,Ha35'"
021142
'-'21244

(ll
l&b8

FUDGES
"0i ~43
t2e'b00

I!JIH345

(I)
(1)

1664

Ibt5

TEOM21
~"i~4a

(21222

OJ2125l
'.·21254

;;2310"
"61354
:}62<104
~iil1355

(2125<1,
1'121256

lb7)

)21256
,;21269

<1)
(I)

'JJ1260

16H

;.,21262

B231.20

",1l35b
1jo62t05
r,,,1351

ell

'232"~
~'lH36i91
I b9R

5$:

(Il
(1)

,.:'IH,<'

I b99

' .... IH2

(ll

tlRIliRTE IMII,3"74
MICPC=MICPC+1

SP
bR,St.LB,SP13
MICPCa.MICPC+l


J;ll1,:13
173e00

PAGE 9-16

J MASK FOR CuEAR MSG PENDlNG
,TURN THEM

orr

IN LINE STATUS WORD

i SO "RH3· iillLL EXIT BACK TO lOut; LOOP
LDMA
IMM, STC
l_ADDRESS START OF TMT CHAIN
MICPCaMICPC+l
<~OVEI LOMAR! IMM!
TSTATt. TMTA
iCHANGE XNH STATE TO LINE 15 IDLi:
MIcPCaMICPC+1

ALWAYS lOON2
;POST A DONt;
MICPC&MICPC+ 1
 I 
SP
IBUS,NPR,SP0
JREAD NPR CONTROL REGISTER
MICPCzMICPC+1

SPWRTI!: 1'4H,221
MICPC·MICPC+1
<"'OVEI WRTEBRI 1M"'! <221»
ALIliAYS RK1
MICPC=MICPC+l
,JU~P! ALCO:;Vi,R;c7=:i::Z~~~000E-:i: 1~ag.7""r~!!i. 77 l !2).~
HOINCH: SP
IBUS, IlSA2, sPe
MICPC=Ml( PC+1


(1)

11)

TSTATE TMTA
IHCPC=M!CPC+!

ALWA:iS 11
MICPC"MICPC+l
t<11-INIT&777 n»
SRWRTE ISUS,lIPR
, READ NPR CONTROL
IHCPC=MICPC+1
 I ! :>
SP
BR, ADD, SP4
i UPDATE NPR COUNTER
MICPC=HICPC+1

SP
IBUS, IlBAl, SP0
i UPDATE ADD)!ESS LOw
MICPC=HICPC+l

OUTPUT BR,ADDUSA1 '
.. ,
MICPC=MICPC+1

OUTPUT BR, AC I IBA2
i UPDATE HIGH
MICPC=MICPC+ 1

C
RESEXT
i IF CARRY---UpOATE HIT
MICPC:oM1CPC+1
 i  I  I <58 - I NI T& 177/2»
ALwUS THe
"'ICPC"HICPC+l
! <'IHB-INIT .. 77112»
; INCHEHt;NT MXT BUS
SP
ItlUS,NPR,SP0
;REAU NPk Rt;G lWTH CURRENT MXT BITS
Io1ICPCaHICPCtl
<"OVEI SPX! IBUS! Nf'RI SP0>
APWRTt.
IMM,4
: WRlTE 1111 ·ro /luu
I"lCPC:I'Il(PC+1

DMCI I OOC"'P PROTOCOL IJIIPLI:.MENTATlO!l
21- A PR-71 I'Hl0
ODCHGH."AC
(1)

17tH'

1,)21l.!2
,,21134

(1)

(1)
17k;1

-~213H

(11

.,21336

1702
11<)4

~'213h.l

171/15

l:j2134'"
1t21342

1'21342

""1406
lU571

t;1Ii17t5
l'ill4t0
110563

17"7

1-71344

(I)

1715
(11

(ll
171b
(1)
(1)

1717

~2t

344
,'21146

1721346
,,2135'"

(I)

(t)
III
1"119

012135::'

3.H 414
bl illSI

'~2lJ54

j)\}IH5
016402

"'n "S4

o!21356
~;21

356

172'"
(11

~2Ijb,~

(1)

flt211b0

1721
1122
1723

;;2062

It>
(J)

J 724

1;;/1 ~62
e21164
J21164
:.71166

III

(ll

1726
1727

.,21166

112d

",2137",
-121372

(J)

(1)

1729

:J71 J72
021 J74

III

(I>

173'"
II)
(t)

1131

10121 l74
.. 21376
112131 ..
,11.",·
)12 JIlt ,1
,,2141ll

(Il
III
1131
(t)

(Il

IIH

I. "1120
',babla

";'Hf>.l"
1111)1422
117d26
\.>iJl4.13
;;1<1177
!!IJ1424
,,""b"''''
}d1425
111522
10S:

:,,\1416
t 1 oj'!) 1
~lb4~7

~~143"

>:71t.,1
';7 p",

fUJHll

~

l d I 4J1
t.H4
MEN
DP,
,INeRENNT Rt;PS RECD
MICPC-MICPC+l
 1 

;:..,016

C~

(1)

PHi

REP:
"'~1411

II)

PA(';E:

STAtE
TEOM
HICPC-MICPC+l
<140 VE 1 WRTEBR I 114M I  I 
~TURN ON PROPER MXl BlTS
IHCPC-MICPC+1
<140VEI WJlOUTX I BRI I
JREAD LINE STAt OS 110110
MICPC-MICPCt1

SRt
108
; IF IN START MODE St:T STA~K
MICPCaMICPC+l
 l:'
IHCPC_MICPC+1
"377»
8RWRTE IMM,20"
MICPCaMICPC+l
I I 21421

(1)
(1)

102142~

1746

021426

(1)
(I)

1i214"

'12145l~

17t.1
171>2
(t)
(ll
171>J
IlJ
(II

1<14641

01t1442
!h'il404
~bI011

':HH444
t "4641
HAl<:

tltll140
f4H2d
t<"1447
~42 4616
~"145t!
~~ ~=:~ '1

""1451
!l43230
"''''1452
I"b"'471
IHIl453
1'63232
>. J1451

~2145

2

1) .. 0406

::71 154
1~:t1451

!]l

456

ll-JUL-77

12125

~:'HJVE;

'PAGE 9-20

i.D;:;A.Ri

.i.~;:;i,;;;aTCc.J

PAGE:

1t229

77;;;

SP
MEMX,SELB,SP16
MICPCzMICPC+l

8RWRT"flR, INCA! SP1 t
MICPCeMICPC+l

~RWRTt.
IjlM,6
MICPCo:IHCPC+l
311",


~P
BR,SEL8.SP15
MICPCZ'o!lCPC+l

;;<'1456
l'bJH5

9228

SP
ISUS, UBBR, SPIiI
MICPC=MICPC+1
.

BR\IiIRTt: IMM,4
.
MICPC-MICPC+1
<"'OVEI iiPTEBRl IMM1<4»
OUT
.
BR,
MICPCeMICPC+l
 !
MEM
MEMJC,INCAlSP0
: INC.REMENT l'Hf COUNTER
MICPCeM lCPC+ 1

OUTPUT
OP,
;OUTPUT THE 1NCREME.NTt.D COUNT
MICPC=MICPC+1
 I <5$-INI T& 777/2»
ALitUS RK)
MICPCaMICPC+1
 1
AlWAYS
THIEl
~Rf.Sf.T TIllER AM) rOLE
MICPCo:MICPC+1
 I 

;COPX SlAltT OF CHAIN TO LAST XMIT POINTI::R

: CoETLASTMESSAGE ACto.i:.U
:COPY TO CUR!!ENT NUMBEI(
:\IiIRlTE NUM~t.kED MSG PEhDING

: AND LJ Nt: HAS GONI:: IDLE
;SET IT IN LINf. STATUS WORD

;RESET TlMEt< COUNT

UMCt 1 OOCMP rROTOCOl IIIPL"lolfN1ATlON
DDCtlGtI."'AC
21-API<-71 111116
1164

112146i6

(1)

3160
OflHt63

0147t>
1.)'11472

(1)

(ll

ININT:

".114611

111>8

1769

MAO It jl;( 1040)
STACK HANDLE,H

JII0600

1)i'1464
171>1311

""1465
1231100

IhH46b
111;/1554

12125

PAGE 9-21

PAGEl

023!el

ALWAYS
TEOMI
MICPC"MICPC-tl
1 
SP
bR, AANDB, SP0
i MASK OFr V~CTOR TO X04
MICPCzMICPC+1

BRWRTE
IMM,200
,MASK FOR INTERRUPT
MICPCaMICPC-tl

ALwns NIDLE4
MICPCaMICPC+1
 I 21502
.,215 .. ,
",21504
fl21 '506

(1)

(!)

1,.215':6

I 7 till

t.215til

(1)

1713'J

... 21511i'
1,)21512

(11
(1)
179;>1

if21512
t.:ll5t4

(1)

~21S14

"21516

(1)

.:21S16
.. 21520

17'H
(I)
(t)

17H

;121'520
11021522

!l21S,n
821521

(I)
(1)

,,21524

"'2152b
1."21526
,.;21S30

(1)

(1)
lM",1
(I )

{,215311

(1)

11215)?
",215)4

n."

[154060

31".477
<>0,,365
1}l115"'"
115111

.,.,.'HH
115510
R1<2:
16:.1'6')40

&1'115"'3
110 lif6

~21532
~1I15i114

(1)

IJ}
I fill 3

t121s)4

111" •

.,'1'53b

Ih'066~

1"11 505
1:'/1.511

(I)

.;115)'j

(1)

"21541

»2154"

R "'1

I SP):! 6Rl

Il~CMAR;

1<(I,o"!!

ClOp
I'E.MX. SP4
T"ICPC=MICPC+l

IllI10;.,7
'''~45i'1

(! )

.~ i: 1')

J,'

PAGEl

gELS 1 Sik)

bTATE
RCVKOI
MICPC-M.lCPC+l
 I 
SRI
RH2
- .
,NO IWf'FER ASSIGNI!;D IN MUNT MODE
HICPCaMICPC+ 1
 1 
C
RCFUL
;IF CARRY--TOO BIG EIIROR
MICPCaMICPC-tl
 I I 1 D-IN.1 T'7 7 7/2»
STATE
"CVKE"
.
HICPC"MICPC+l
 I 

(I)

18""
(I)

It 6502

!ell" 502

(I)

1796

folllo:.!0

ll-JUL-77

:FUGITIVE IIECElYE ROU'l'INES-.-OON·T FIT IN PAGE
BRWRTI!;
IMM,77
MICPC"M.lCPC+l
<'40VU W~TEBRI 114M! <77>:>
SP
BR,AANDB, SP5
MICPCaMICPC+l

LOMA
BR,
iLOAO ADD HESS (If CURRENT COUNT
MICPCaMICPC+I
MAII! BR I :.
SP
BR!INCMAR,SItl.8,SP0
;SAVE MASK
MICPC"M.1CPC+l
,
<~~O~;E:

("'11473
04001

JII1411>

1195
(1)

~70"74

ij,H47:l
';i722Z

[~"1475

(1)
1791
(1'

(t)
(1)

';"1410
3205

"b

0111174

(1)

1192

l4
11121566
"21570

(1)

"21512
",21514

(U

(1)
(1)

1825

11101522
016400

"b2t>20

N'1524
l'1:I2212
003002

.,2i576
1'12160>1

IJi;1",0i

01:11526

92160.1
iC21b0l

(1)

(1)
11:124

'."1521
01<104020

01" 525

(1)

11 )
1823

""1520
0J656<1

021574
021576

(1)

1822

0J6540

001523
:)2157'"
.. 21572

(1)

11121

~"2111

JiH Sib
010175

ii21566

(1)

(1)
1819

e;i,;,4!ii2

fi'Elt511

(t)

1&18

Pi1151)
010151

.,",1515

(t)

(1)
11117

fP1512
114502

'·l'1514

(I)

1812
(1)
1813

elfl511
115113

,'21546

11121546
02155.,

ll)
(1)

0403b4

IJ21b02
tl21604
,,21604
t>2161116

6"1527
1 14&6&
('''153''
,,40751
\,>,11531
167562
\1111532

(J)

(1)

£'21606

182b

~21610

~10200

D"CI I DDCHP PROTOCOL IMPLEMENTATION
DDCtlGH.MAC
21-APR-77 10116
(1)
(1)

"216121
1121b12

tt)
(1)

.~21612

(t)
(1)

H29

0)
1830

1>21&16
.,21620

(1)
(1)
(1)

821b20

1831

··~21b22

(1)
(1)

221622

11132

~:?1624

(1)
(11

I1n3

11:11624
1;21626

(1)
(1)

1'I:?1626

1834

~21630

lij35

1)21630
"21b32

II)

lIjj~

021b32

11)

tt:?loH
u2H3b

(I)

p2164J
t21642

It}

(ll
1841

121b42
821&44

(I)
(1)

11'21644

1842

~21b4"

(1)
(1)

11143

(,t'1646
~,'21 t>5",

0)
(tJ
1~44

t12l6S"
'::llbS2

(ll
II)

11145
(1)

1101536
"'00543
"O1537
l'&il3b"
"O1540
115!'1B
t.61'541
:/fi)0406
Itb2400
TDON41
IHI15H
k'132H

r:>3123
31".545
1.'16600
1j"1546

021636
eo:?lb4"

(1)

11l4'"

0"1535
1,,'2471

021~H

(t)

III 39

::;.,1514
D1011b7

",,1544

(1)

1Y3b
1831
(t)
(ll

00H0~

1:<11542

(0
(t)

MACYll 30(1046)
STACK HANDLER

~21b14

021614
1721616

.,21b52
,,21654

~o2460

11 111547
41;6241
0iH55"
""'2b42
~,"1551
~t:"1I77b

lJifU52
I'bl"363
"'lI!'15 J
I 15S5b
""'1'554
J"t:"402
;'·H,,)!)';

ll-JuL-77

12:25

PAGE 9-23

PA"E:

0232


C
kCFATL
:CAKR:::--TOO 8IG
MICPC=MICPC + 1
,  I 
MEM
IMM,311
.
MICPCaMICPC+1
MARI IMM !«RTHRS+l>&377»
MEMINe
IBUS,IOBAI
MICPC=MlCPC+l

JFLUSH INPUT SILO
MICPCzMICPC+l

SP
IMM,I,SP1
,SEt UIT MODE IN PORT STATUS riORO
MICpcaMICPC+l
<"O,Ei SPXi li'i~i i! 51'1>
ALWAYS NTRSI
MICPCaMlCPC+l
 I ! I 
C'lP
BR,SPl
p.RAPAROUND1
11ICPC'"HICPC+l

Z
TDON40
,~ES---BRANCH
HICPC=!41CPC+1
! 
(I)
11147
(1)
(1)

11148
(ll
(1)

1849

t,21654
,121&56

0"'155&
1}2165&
"21660
i:l2166""
1121&62
1t21662
\'21661

(1)

(1)
I1lS0

021664
1121666
ti71666
"21670
f.1167,"
t12167:./

fl)

':21672

(1)
1855

ti216H
1:21676

(1)
(1)

~,21676

IIlS&
(ll

"21701i1

(1)

f217"""
1';21702

(lJ
(1)
(I J
11159
(ll

\)21702
,,21704
tl21704
<:21706

(1)

kl~1706

11l61'1
(ll
(1)
1861
\flo}

(:21710
1121710

18b3

TOONl:

IHtl566
a43237
0111567
01"067
C53b20
iJ01571
1;;541>20
&a1572
11(5)0
IhUSH
U4562

.,21714

flil0404
IHI1575
1t4663

1t21716

(1)
(1)

(1)
(1)

1117 a
(1)
(t)

1871

.21716
e21720
... 21720
1'121722
.. 21722
1i2t 724
~;21124

"71726

(1)

O'il1Jt>
,.;217316

(1)

(ll

1814

(ll
(1)

t875

u217N
"21732

"21734
'4217)6

(0
(I)

~21116

111'17
(1)

('"

"i11b02
115bll
10S1
val1>03
16000"1

""'1620
.,161605
, <'b7416
J1'IH I> Ito
:61:)10<1'"
;;"1007
1d61H
1:"'1610
1t4041
20$:
IIi'!bll
I6b 3164
.ilHbl2
1616",735
"111013
'''t:450

""JlbIS
•.'1'174",1
~':ll>lb

fll756

,; I J167

.11176,;
'~211bl:"

IBUS, LNOSW, SP13

l1-JUL-17

12:25

PAlO!:;:

0235

,READ PASSWIJ SWITCH

PAGE 9-21>

HICPCcMICPC+l

Z
10$
: IF ALL ONES NO RLO ENABLt.O
MICPCo:MICPC+I
 1 
20$
~ IF EQUAL
ENTER MOP
Z
'
nICPCo:M1CPC+1
 1<208-INll'i.777/2»
BRWRTE' BR,SELA!SPI
~REAO STATUS BYTE
MICPCI:MICPC+ 1

BRI
RHX
,MESSAGE WITH NO SUt'FER ASS1GNED
HICPC=MICPC+1
 I 
BRI
'RCYM0
JDL~ RECElyt;D IN NORMAL MUOE
MICPC1I:MICPC+1
!  I 
STATio;
EM2
MICPCo:M1CPC+l
 I 
LOMA 114M, STC
'
: 1>10;1' START OF TM1' CHAIN
HICPC=MICPC+l
 1 1 1 01

(1)
(1)

11172
(I)
11:113

PAGI:: 9-25

INPUTS I
8P0 c RECEIVE CHARACTER

0"'Cl1 DDC'4P PROTOCOL IMPLEMENTATION
21-APP-77 10:16
OUCHGH.HAC

1809

12125

r""

ell15b5
0;10153

".!lSH
1121712
.2171'

(1)

(1)
11164
IIIb5
18b6
I1lb7
11lbfl

C4036~1

ea1564
1055&2

01712

(I)
(1)

1"0"'61

11-JUL-77


LOMA
IMM,ETC
,ADIJRE.SS Nf.l.T EMPU PTR
MICPC=MICPCtl

LDMA 114M, STC
, GET NEXT DONE PTR
MICPCcMICPC+I

Z
RH3
:i"lNlSH PROCESSINI> I1EADt.R
MICPCcMICPC+I
 1 

;Pt.St:T NAKS SE"T
: ••
;AUUPt:SS UklGH,AL H!!.CY IHH. COUNT
;~oV<

tHll:. LOUIoT TO SP4

DDC~!P

OMCt 1

PROTOCOL

DDCHGH.MAC

188'1

1J217b2

!e9~

!.I217M

(I)

t!l9t

1021764
1C217b6

J

U21766

1621171cJ

(t)
{J}

1893
ttl
(1)

1994
(1)
(1)

11:195

(ll

iJU241
~·"lb23

1121772
~21774

0)
1891>

6,.,lb21
iib2571

.321170
01172

1121174
1f21176

lialb25
.,7;l1>14
6~1626

021776
1:121"'''0

(1)

16lb40'"
ei.l1627
01730111

11)
tll91
(I)

0)
11198
Ill9':1
19"'t'I

0220162

t;221.l04

l1j

,HHbli
"2210'04

~H21>6"

(1)

0221:""6

6567165

191<13

li22010

(1)

19"1
1 ':1"'2

0)

~1II1632

(1)

(t)
1904

:11221/)1.1

/jill'!12

(ll
U!
1915

""1034

022"'!2

!H~H!

,,22014

(1)

11)
1901>

022014
1122016

(1)
(1)

19,,1
(1)

(ll
IQ"B
011111>40

(1)
(t)

il22f!2}

19"'9
191111

:J22i124

11Sb51

BRIIIRTt:.

022"'24

D"ICII DOCMP PROTOCOL IMPLEMENTATION
DOCHGH.MAC
21-APR-17 10: 11)
(1)
(1)

1911

fln024
fo22"26

(1)

(1)

1912

0;22026
02:l IH 1:1

(I)
(1J

f!l221H!!l

1913

~22IH2

(t)
(1)
(1)

1915

\7221132
622034
~'22i13 i
ro:n<'3b

(I)

0)
t91b

1924
(I)

(ll

£'22"42
C;22~H

(I)

1 '127

.:.22041
.. 22"'46

(ll

1!':22iHb
•. 21050

1929

_n0S.1

,,22<152

1.,.3"

~22P1S4

(i}

<31.l1"54
10722J56

(ll
(1)

02:<056

19H
(I)

~22"'td

(1)

,>2206",
,,2201.2

(t)
tt)

"'2l·... b2
r;12"64

(t)

(ll
1 \136
(t)
(I)

",bBIn
&"105"
104415
40S:
3"1051
IH'2b42

114041
5"S:
~1I0424

I!1I1t054
Cb32)4
LIII"U~J

(JJ

1931
19J2

1935

30tH
~~,l42'"

',22"~2

(ll
(t)

11134

!:i43
0"0467

"'''1647

1926
(1)

kll1
117174

e"lb6l
".'l'I401

11=JU!.=77

12:25

PAGE 9;27

I ~NOEX TO Nt.XT BUHt:R

IlIM,5

ll-JUL-77

12125

PAGE 9-28

MICPC~IUCPC+ 1

IhH641
th'0405

&IH646
~21a31)

(I)
(1)

MACYll 31iH104b)
STACK HANDLER

i'l~lb44

(1)

l'i14

30{1'"4~)

SP
MEMXI JNCMAR,SELB,SP5
,AND SPS
HICPCzMICPC+l
<'40Yf;l SPII MEMX I INCMAR1S!!:J..BISP5>
MEl!
6R.oe:CJHSPl1
;COpy SPH ~~OM Mt:.IIURY
MICPC:MICPC+ 1
.
<~OVE.I WPMEMI8RI
: PREPAPE TO ADDRESS NEXT
SRWRTt.
IMMIINCMAR,2
MICPCo:IUCPC+l
IM! 
CMP
BR,SP3
: WRAP AROUND
MICPCzMICPC+l

; I f lES-- BRANCH
Z
40$
MICPCzMICPC+I
 I <405-1N IT6.717 12»

£,lIIlb21-1
.. ~7225

;)01b22

{2}

tll!!l

(1

M~CY11

STACK riANOLEFI

1:2176l

(l)
(1)

(1)

!MPLEMl:..:~TATIUN

21-APR-71 I":: 10


BRWRTt; 1I4M,STC
:ADORESS OF WRAp ARUUNO pOINT
MICPCzMICPC+l

Z
- 50S
: ~F YES---8RANCH
MICPCaMICPC+l
 I <50S-IN 1 Tio 7 7 7/2»
SRltRTt;
I"'M,20
.
.
,MASK FOR INTERUPT t'ENOIN!.o
MICPCzMICPC+1

ALWAYS
FLUSH
MICPCzMICPC+1
 1  I <20S-IN 1 H.17 1/2»
BRwRTt
IMM.RCl.l
IPOINT TO STAR1 O~· RI:;Cl:;lVt. UUt:Ut:
MICpciiHICPC+1
.

ALWAYS
30$

rilCPC-io11CPC"'i
 1 R
KE"'X, SELS, SP0
M1CPCzMICPC+l
<"'OYE I SPbRX I MEMX I SEMiS I SP0>
SRWRT£
BR,A[)D1SPI!
:SHlFT LEn
fIIICpczMICPC+l
<"10 V!:. I WR1 EaR 18R I  I 
"'22100
",:12101)
~ 221 "2
e22102
..,22104

(1)

(1)

.aU106
922110

tla241

"nil>!
rlint12

i:a2li42

ii.H~12

~01b7J

e22112
.'22114
win 114
e;72111>
~2ltl6

.,2212"

(lJ

,,7212,1
i!22122

(I)

(JJ
1932
1'153

'\22124
.,22126

(1)
(1)

~22126

1954

,;22131"

(ll
,n.2lll6
oIn132

(1)

1\15b

~nlH
~2:l1H

(tl
(1)

115701
"':'Ib77
fHl0402

~lb2400

NTRS2:
"IH 701
&010'142"
:,017i02
ab3101
&iH 7tH

(1)

1955
(1)

""1015
"oa360

11111700
<1;22122
1:122114

(1)

(1)

"'''t674
""'0776

.,01616

(1)
(t)

0)

."11070
Illb001
~01071

1\15'"
1 '151

16111661
053220

"62574

(1)

1949

Ih;1066
1;10241

t2.2104
1122106

(1)

194B

1iJ221 H

IlblH
SNAK:

""1 ],,4
iJUI71
01" 705
.,43231

OMCII ,)OC"P PROTOCOL IMPLEIIENTATION
OOCHGH.P'lAC
21-APP-11 11'1116
1957

1\158

~22116
~}221

411

(1)
(1)

1'159
(1)
(I)

fiJ1706
1)03011

.,22140
otnl42

19b"

,,22142
10122144

(1)
(1)

"22141

SNAK1:
itd1707
,.",,401
SNAK2:
"" I 7U1
tlb3310
khH7t1

'''4415

19b1

1':4b2
(I)

.. 22I-iu

(I)

1,2214fj

1963

~2.21

I'lb.

'.;1215.0
c;12152

(ll

~:.I2152

"22154

(1)

0)

"21154

19b6

':2<115b

(1)

1967
(I)
(1)

1968
It)
(1)

1 ~69

ti2216d
.,22162

.n21b4

197a

r.t22166
;022160
,,2l171'1

(ll

(t)

1912

.,22170
.,22112
;.022112
tc22114

19H

:122174
0121176

(I)

(ll
1975
(1)

Jofll166
0"1121
I;bl223
"""61
&.11 122
31111'21
1:';11123
,,01231
',lbl1311
EM1:
I:lJblll"
IHI1Jo

.. nI7"
l2J2"il

'" l.l1l

\52i7.o,·
t i 272"?

!'''242,'

(1)

1 14 7.,

lil<71717
.:"02222

{)1 1 1725

(1)

It)

fl211U

~"1124

(t)

III
1'113

""1115
0b2221

001720

,.;11162
U22tb4

(tJ

1\171

t)u~400

f:"111b

'022156
0;,.2216"

(1)

(1)
(I)

.; .. 1113
ilb2226

.H't 714

(I)

1'165

(1)

CI6",424

5"

OJ
(1)

,
'~IH'G:

.hH"112

"o\,317»
~:EMINC
IMM,0
MICPCiiMICPC+ 1
>>
LOMA
IMM, NXTSP
MICPCIEHlCPC+l
:>
bRwRTI!;
IMM, «MI4END-2»
MICPca"'ICPC+l
>>
CMP
bR,SP0
MICPC.MICPC+1

Z
NTRS2
: 1 TOlD WRAP AROUND
HICPC.MICPCU
 1 
bRk!
TABt
: FLAGGEU BY ERPOR 'l'YPE
HICPCzHICPCH
! 

"ACYl.1 30(1046)
STACK HANDLER

.,22136

(1)
(1)

MACYlI 311(104/)
STACK HANDLER

ll-JUL-77

12125

'AGE 9-311

SP'
BR,IHCA,SPll
, IH~REMt;"T MSG EXPl:.t.:TED
MICPC-MICPC+l
'

BRWRT£ INN, 1
, UHNUMB PENING BIT TO BR
MICPC.MICPC+ 1

ALWAYS .'LUSH
MICPC·HICPCH
 I 
MICPCaHICPC+ 1

MICPC·H.LCPC+l

OUTPut BR,SEL810U'lDA1
MICPC.M1CPCtl

fl4ICPC=MICPC+l

MICPCaM1CPC+1
 I 40

MACHI
StACK

BRWRT~

"2221/>6
'J222!I11
01H140
.,161:>12

(t)

(t)
1 '186

i:022224
",U226
~"1742

(1)

1987

922226
0n230

(1)
(1)

'1.2223.,

1988
1989

.;22232

(1)
(1)

822232
1122234

(1)
(1)

~n2H

1991

~;22236

Cll

'!Hh;46"

,,17236

(1)

( 2)

1'192

022236
"22'240

(ll
(ll
1993
1994
1995

i:i22242

\ &J

(1)

1990

.. 22242
.,22244

661750
01e0t 7
r.H11751

(1)

12125

PAGE 9-31

(1)

022244
tJ22246

BR,ADD~SP0

PAGE:

,.,4442
EC2:
iil'1152
\tlhH02

(1)

Il)

1918

Cll

1:111153

(ij

~2225~

199'1

0;22252

CI)

(ll
2\()"'~

('22252
k;2225 \

t"10 ;i!i0ci

KhH754
1123140

It)

(ll
:.1""'1

022254
';<12256

(1)

(lJ
2002
It)

1f1222St.
.'2221:>1:1

<1)

!a.22261l
1:122262

2"'~3

III
II)
2~"4
(t)

III
71:105

022202
.J22264
~22264

2'' '1>
(1)

iliH 76e
'b536&
ECX:
1).,1761
;)1>0b"l
116374

",2227"
~"1163

(1)

2v."d

I':IH757
"1:>2101

,)in 762

(1)

2"",,7

:):H 156
1;1231616

,,22266

(1)

fl2127J
,,22272

;,ll:1b04
",·,n704
I1B71

(1)
(1)

10$ :

2.M'I
(I)

2~'1 "

<;:22276

(lJ

(ll

:)22276

2~17

"?2J~",

(lJ
(1)

2"14

~01761

,'72311'0
1)223"2

123216"

(1)

.,223162

2"15

6223014

(1)

{tJ
2t-116

(ll

022304
.,223"6
1223"'6

0)
t 2J

.. 22 I""

:l~17

,,2Jlt"

(I]

I
SP
ISUS,IOBAl,Spe
,PO~NT TO NEXT ADDRI:.SS
MICPCaMICPC+1
.

OUTPUT SR,ADDIOBAI
MICPCaMICPC+ 1

OUTPUT BR,AC!OBA2
MIcpcaMICPCH
 t  1 <30a-IN I T& 717/2»
,
,OTHI:.RW1St: ONLY WRITE OUT I:.RROR COU"T~RS
BRlrIRT~
BR1LDMAR,SELlISP4
JREAO COUl'lrt.R
MICPC"MICPC+l
.
 I <20S-I N lT' 77'1 12»
OUTPUT MEMXlINCMAR, SELIH OUTDAI
r STORE COUNTS Ot' J:;RRORS
MICPCaMICPCH
~~Oi~: "FUU, ; ~E;';X i iiiCriAii ~ C:Si:i..S: QUjDAl '»
OUTPUT MEMX!l NCHAR; SELSI OUTDA2
MICPC=MICPC+t
.
<"'OVEI "'kOUT! MEMXI INCMAR! 
ALwA~S

(1)

;-;111771
",1,,210

.~.H

/73

0240

MICPC&MICPC+1
<"I0VEI NRTEBRI BR! I 
NICPC=MICPC+l
>>
SP
I14M,4,SP4
. .
~INlTIALUE COUNT
MICPC:oMICPCt1
.

;NOTE: -FIRST 6 RAM LOCATIONS ARt; NOT WRITTEN
; TO COkl:. TAbLE.
LDHA
114M, BASE
MICPC:o:MICPCtl
!OVEI LVMARIIMM! ! 

(1)

(ll
!9H

3~(104b)
HA.NDL~R

RK8

MICPCII'HCPC+1
 1 
AI.wAlCS
RMI
:HCPCo:MICPC+l

0241

OMCII UDCMP PROTOCOL IMPLl::MI:.NTAT ION
DDCHGH.MAC
~l-API<-71 1"'116
(1)

ZIU8

(;2231"
;,22312

(1)

(ll

11;22312

211' :I

1122314

(1)
(1)

"'22314

2.,2.,

~'22316

(ll
til

';;21316

21071
(Il
(lJ
2022
2,,23

:t22J21!

• AbS.

1022322

E.k~ORS

"2232~

MACYlI ]IHI040)
5TACK HANDLER

1 "442<1

ll-JI'L-17

12:25

PAGE 9-33

Ewll776
II41b5

 I  I <20S-1NIT" 771/2»
ALWAYS I"'S
,KEEP GOING
MICPC"'UCPC+l
 I <10S-INIT, 177/2»

ihH 177
'!ale", 00

MICPC=MICPC+l
00000'"

,,110001

.EkO

30$:
il1!1174
01:'Joi!l4
thl1175
111171

SZt.RO

PA(;E I

0242

PA(;E:

0243

"

.

iHU'

Dl::TECTED:

, DDCMp ICRf IDS :CRt _DMCHGH, HILOW, DUCHGH
RUN-TIME: 5 a 0 SECONDS
RUN-TIME RATIO: 08/1).4.9
COI93
1694

'n2342

(ll

l<12>/DZDMG-C SUPPORTS THE f'OLLUWIN(; CROM PART NUMBt:RSII
<371><12>/DMCl1-AR (M820i!!-XA)1
<31?>123-414A9/<15>< 12> 123-415A9/< 15><12> /23-41 bA91
<15><12>123-'" 7A9/<15><12>/:.!3-418A9/<12 S /23-U 9A9/
<15><12>/23-420 A91< 1 S><12>/23-421 A91
<377><12>/DMCll-AL (M82.,II-YB)1
<377>/23- 39219/<15>< 12>123- 39 3A9/< 15>< 12> 12j- 394A'I1
<15'><12>/:U-395A9/<15>/:.!3-396A9/< 1 S>/23-3\11 A~I

<15><12> 123-]98A91
<15><12>/23-]99A91

.EVEN

OJ
tb~5

1b96
1691
16911

; .**************.**-** •• ***. TEST 2 ************.**************
I*THlS IS A SPECIAL TEST WHICH WI1.L RUr. ON A KMC lOMC W!T"
!*WRITTABLE CONTROL STORE) to LOAU l'HE CRAM wlTH :tri~ DDCMP
,*MICRO-CUDE. fIRST BE SUIlE IUTI Uf STAT) IS S~T Up" As fOLLOWS
r*I=LOCAL HlGH SPEED CODE,
iII=REMUTI:. LOW SPEIo;D caUl:. THE STATUS
,.(It' STAT3 BITt DETERMINES WHlCH MICRO-COUI:. WILL
I lIBE LOADt:D IN THE KMC. LOOP ON THIs TI:.ST f OR A ft;W SECOhOS
l*fO LOAD THE KNC.
J 1***** ** ***.*.************.****** *** ************ **** ***.* *lI***

16'19

17160
11i11
17162
I1H

17".
1716<;

17,,6
IN7
11168

TEST 2

~~;-----;;;;;;;o

rH2H7
('112737

001,,)02

~012;.!b

,,2),,52

IlH116

HOY

.TST3,NI::XT

~"4737

"27~'12

17' 2

"n77~
'~2h} .. "

1)"1 i",b

JSR
lUI

III 3
1114
11\'5

"23",,,f)
,t", J"'lI'
1.13JU

","'12ft'

PIt,

r"{j",S

21\ I

11d'l
11111
17tl

\~n7oll
~j227b(,

'.nI37

I.'';.'''''''

TST21

("'''50''0
~'1
;.j!

HIl2

rH232'"
11"'1'\'0

IS:

BF."Q

PC, MAPCI(
fllIU5,STATl
28

CLI<

Hi!

MOV
MOV

IWro\"'AP,~2

'hU11I.

~IH'

Rl COhTAJ.NS BASE UMC 11 AllOilESS
CHl::CK fOH HJ 011 LO
tiE :;lll<~, UMC HAS CHAM
SIUP If NU CRAM
P"'.CRAM ADIJI
",231'132
023"36

0101161
012261
<152711
005200

if.23,,140

;:.221;'0

~2j1H4

?1I1164
r6051Hl
It'H0i!

1:123046
152305"

12: 11
PAGE 37
GENERAL IITILlln.s (TXP~OUT, ERROR, SCOPI:;, ETC)

0"~"''''4
1'\"'1"",06
11216000

MOY
MOy
BIS
lNC
CliP
BNE
CLR

2$ :

R0,4(Rl1
(R2J+,6(Rll
18IT13, (Rt)
R0
'201:10, RI:I
1$
(Rt)

SCOPE

: LOAD CHAM ADDRESS
;LOAD IOIORO 1'0 BE WRlTnN
: WRITE ITI
:N£JCT ADDHESS
;DONt YET?
iSR IF NO
;CLEAR SELl:!
;SCOPE TH~S tEST

1"125

1720
1121
1728
!129
17h!
11.31
1732
1733
1734
1735
1736
17H
1738
IH9
114<1
1141
1142

nIB
1144
1145
1746
1741
i 7 is
1749
175<1
1751
1752
1753
1154
1155
1156
1757
175B
1759
l1b.,
Pt.1
1762
1763
17b4
1765
17b6
l1b7
176b

I *************************** TEST 1 ***************************
: *TEST OF BR RluHT Sill FT
il!'iEIUFY 'lHA'l A vEST OF BR RSH (011) of A MICRO-INSTRUCTIUN
;*SHIFTS THt: RESULTING BR DATA RIGHT ONCE • .
; Z *************************************************************
1£.ST J

U12137
012137
r.'!2311l66
"'2 j10 710
.. 2H72
"'23"'76
3231".,
f'23104
1123110
0231 I:.!
023114
»23116
i:.2.ii 20
l'23122
1J2H24
':123126
.,23132
~:l3134

"23136
"'231 til
;}23140
'.'23142

.:,23144
"Ht46
"23150
"23152
.123156
,:23160
~23162

n3164

1:100003
023166

001:.!26
001216

TST3:

1 ~4414!
1114412
(J13101

Il, TSTNO
ITST4,Nt:XT

MSTCLR
MSTCLR
MOV
CLR
MOV
MOV
ROMCLK
120500
ROMCLK
061620
ROMCLK
061225
ROR
MOVB
CMpB
BEQ
RLT

i;;JS"'l1
~t27iJ5

",11:1561
1174414
U",Sa0
1 114414
0bl620
jij'i4414

,,1>1225
~"'6005

110104
121ol504
111514;)1
115'11112
1!:1440;l

000085

2$ :

ROMCLK
1:161620
ROHCLK
061225
ROR
MOVB
C"lPB
8EQ
HLT
SCOPE

R5
5CRO,R4
R5,R4
26
12,

,NEXT WORD IS INSTRUCTION, HOMeLK PC=5304
,SR RStI-Bl't, "SHFT BR RIGHT AGAIN
,NEXT WORD is INSTRUCTION, I{OMCLK PC=5304
:PORT5_BR
,R5 = "EXPECTED"
; R4 :II "FOUNU·
,DID BR SHIt! RIGHT?
,BR IF YES ..
JBR RIGHT SHIF'l' ERROR
; SCOPE THlS TEST

: .***...... *...... *.*.. ******~+**

TEST 4- ~.;.;.~.;r.;;. ............... ;r ..........
; *CROM READ 'fEST
I*THIS TEST READS EACH ROM LOCATION AND COMPARES
I*IT TO A SOFTIIARE DUPLICATE OF Tlit CROM. THIS TEST
:*ALSO TESTS THE JUlflp(Ij MICRO-PROC~SSOR UiSTRUCT~O~.

1769

171"
1711
1772

DZDMG
"'ACill 3C{l046)
11-JUL-77
DZOMG .PI t
22-APR-77 09: 29

12;11
PAGE 38
CRO,", READ TESTS

PAGE:

1773
1714
1775
177n
1777
1718
ili9

;*IF THIS TEST FAILS CHECK YOUR CROll PART NUMBERS.
I*DZD"lG-C SUPPORTS THE FOLL.OWING PAj(T fiUMSERS:

1180

:*

l11ll
11i!2
t7Bl
1784
l1B5
1786
1187
1188
1789
1191'1
1191
1792
1793
1'/94
1795
1796
1797
179g
1799
t':r"~

1 !1I11
! B"'2
lf1d3
la.,4
18115
II!il6

J*

;*
,*DMCll-AL

,*

1-------------TEST"

t,23166
ri2l114
,';>32"2
~2l'21 .. ~
1623212

~2322"

at 2137
I:lt2737
1012731

1 HIS
IRtf>

k

~11

"23261:)

~Il""''!>

11l11I
IIlH
Ill.?'
11121

.. 23270

11t61 114
<:7,,504

)23214

1 1127

k.23116
.. 23h,\,>
"'23M4
fl2JHb
a2331:.'
:')2311"
;'2 JJ2l
f.2H2"

1l'7!l

:n3331'

I'01:!004
"23362
02324"

001226
001216
001220

1I""!;}00

011136&

TST4:

'",4412
1>32137
<,.;1057
044731
11,,51'11
"137"'10
,.III 5 101 a 2
~502J7

'~24

23-39619

23-397A9
I.
23-3~8A9
i*
23-l99A9
J 1*************************************************************

\142131

1 ~25
I p 26

23-393A9
23-394A9
23-395U

;*

tl23246
,,23252
,~2 3256
162326,'
023262

I~H

23-392119

J*
1*

"'2324"

1~22

(M8200-I8)

;*

:*

!~!~

I

21-417U
23-418A9
23-419A9
23-420A9
23-421A9

:*

1'111
IHI4

(M820".U)
23-4i4A9
23-415A9
23-416A9

;*
;*
;*

161l
1813

18.,8
181:;9

0245

,*I *DMC11 ,,:,AR

,*
;*

"£3222
"23226
9232311
"23234
";232;E.

ls,n

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

027012
612320

"~r.'317

614377
0232611
0:H26f11

,,,4414
Il!IIol400
127\1

1"'~2000

023260

18:

2$ :
0"0"~6

0"1414

;:"t>~J7

J t-HROH
.
:1.OOP 10 1$ IF SW"9=\

DZDMG
MACHI H(U40}
II-JUL-77
DZDMG.Pll
22-APP-17 ~9:29
HLlll
1830
1831
tli)2

IdH

11114
1835
183b
Itl37
11138

!'I13Hl
"23114
"2H3"
.,23342
",23144
.,21346
1,'23352
.':13J56
0233&"

Itlll
PAGt. 39
C,{OM READ TE.::;TS

~1"5120

TS'J'
INC
CMp
BNt;
CLR
ADD
CMp
BNE
SCOPt.

!W5;'U2
1j"l27.o2
J"I33&

PA\iE; I

0010400

;;651102
C02703

1l2?114]
lli!ll33i!1

110410"

(R0J+
R2
1400, R2
18
R2
.4000, R3
12"'000,1\3
U

024b

;BUI"P son POIfoITt.R
; BUMP HOM AI.IORe.SS
JIS 1<2 TO MAX ~t;T?
~BR u- NO
;YES, R€St.l ~2 TO ~
; INC TO NEXT PAGI:: Of ROM
iDON€ YI::T?
; BR .1f NO
rSCOPE THIS TEST

lt139

1840
1'.141
Itl42
1843

; ***"""*"***""*".*.*"""*"""" rEST 5 """.,,""""""""""""""""""""""
~ "CROM TEST OF JUMP(l) NEVER MICRU-PROCESSUR IhSTHUt:TlON.
J "PERFORM TilE JUMP iNSTRUCTION
,"VERIFY THAT THE JUMP DID NOT OCCUH B~ REAUING
; *THe. CONTENTS OF THE NEw ROM PC (iT SHOULU UiCHI::Mt.N'l- BY ONE).
; ; * .. *"""***" ••• "**".* .... " ... " ..... "*"**""""."*"""""""**,, .. ,,,, .. """""""

11144
11-145

11140
1 H41
11148
Ib49

1115",
1!l51
1852
1853
1854
1855
185t>
IllS1

IIlSCI

TEST 5
itl733b2
oi:.:33N
1113316

"'01:.!t&

0"1220

IBIT1S, ST"11
68+2

027~12

1('26656

JSR
ROMCLK
100409
J\OMCr.K

1126750

J8R

~23'H

114317
ifi!l.n37

1866

',23146
~12345.1

IBb8
11169
1I1la
Illl1

fV23452
112H501

11'4401
b12137

11112
I!lB
I !I 14
1815
11116
11177

J2H66
t'23470
"23472

623462
1ri23462

\,23414

k./23416

IllS'"
1891
Illl1l
I1l8)

£'73502
1;'23504
!J23506
1'2351'>
IH512
\\2351 ,
623522

11'<14

.~23522

0)114737
10'4414
lihHi

2$&
023462

001220

02675",

rv3~t0

48:
1123522

00122",

02&656

1;23526
L2353\1
;j235J2
..)23534
;,23536
.413542

"''''01l1&

~23544

"2~504

1>2354t.

'''1401

~2355"

Iwl4",,&
I\tUti'll
1"440'"

&2355 ,

h!4411

1014125

026750

oSI

19"1
19",2

ROMCLK
101:1406
kOMCLI(
1 til 41 25 I 
JSR
PC,ROHDAT
16
CMP
R5,R4
BEQ
6.
HLT
b
SCOPI
SCOPE

*-'23550
.,23'5&4
,,23572

~12137

000006

00124!b

.,;12737
'j127 J7

t~23736

IIl31>16

.,0121b
0"'lntl!

TST6:

1':114
1915

I'H6
1917

11236","

1"4112

(J236i112

~J2131

"'2361"
",2]612
1i:ll616
.23616

,,\iUSI

~'21t:.!f1!

II1'H0~

1123622

HOV
MOV

UST7,NEXT
U.,LOCk

,",STCLR
bIT
SNe.
JSf<

WBlT15, STATt
OS+2
PC,MAPCI(

lS:
1 ,,4414

\':119

')23&24

1919

\'23626
:J23b32
i~23bH

ylJIDS01

1':122

,,:13636

01'14"1

InJ

,,231.1\)
,,23&42
\):13644
"2 If,5 2

1924
1 ':115
19o1b
1'I:n

1928
19H
1'1j~

\,23b52
1:23b,) 1
f;:nb~!)

" .. 31)6"

1"31
1932
1'13J

~23b7.~

1':131
1 ~ 3.,
I YJb

1,11672
,,23614
~2Jb If>

"23bt-2
,123"6&

1931

.:HI,,;)

I yjp

',23701)

1 0 3'1

..,1 !'/I1f>

194'£'

',. j

71.'

~"13&0

:!'."nH

11<14414
114711
t\H 71 7
flIJ776

Ink!
1921

CONDITIONS

;NEXT IIORO IS INSTRUCTION, KOMCLJ( PC=53kl4
,START AT ROM PC=O
,
,NEU IIORu is INSTRUCTION, ROMCLK PC=53,,4
;JUMP TO ~OM pC O~' 52!!
;RsaEXPECTEIJ ROM DA'i'A,R4:ACTUAL ROM DATA
; INDEX
,ARt NEW ROM PC CONTENTS CORRECT?
,BR IF US
; ERROR, CROM PC IS WRONG
,LOOP TO 5& IF SW59"1
,SCOPE THIS TEST

~~;-----;;;;;;;O

h\i9

191'"
1911
1'112
1913

ALlt

TEST I>

':I~5

I':1YJ1

~CLEAR

PA(j~:

19;'4

1909

PC,~LRALL

~ """11""." •• " ••• """"11""*"""." Tt;ST f> ***""""*""" .. ""*" .. ,,"*"",,.,,""
; "CROM TEST OF .JUNP(I) ALWAYS MICRO-PROCESSOR INSTROCTIOfoi.
,*PEI

R5,R4
2S
6

;CLEAR ALL COIiDlTIONS
JSR
PC,~LRALL'
, kOMCLK
;NJ::XT WORO is INSTRUCtION, t::t0MCI.K PC=5304
~START AT' RUM PC:3 '
10"'403
I ,JUMP TO ROM PC Ot iii
JSI<
PC,1I0MDAT
,R5=t;xPEcrt.O ROM UATA,R4=ACTUAL ROM DATA
10
.
,INDEX
CMP
R5,R4
; AR~ Nt;1; PC CONTENTS CORRt;CT?
BEQ
4.
;BR If YES
'
HLT
b
,ERROR, CROM pC IS WRONG
SCOP1
,LOOP TO 3$ IF SW09=1
MOV
'5$,LOCK
JNE.W SCOPI
JSR

1 "IH1I&
1"4414

i:047J1

PC, ROMDA!

CMP
BEQ
HLT
SCOPI
MOV

;CLEAR ALI. CONDITIONS
;NEXT WORU IS INSTRUCTION, ROMCLI( PCa5304
;START AT ROM PC=kl
,NE.XT WORO lS IHSTRUCTlOfol, KOMCLI( PC=S304
;JUMP TO KOM PC Ot· 1711
~R5=I::XPt;CtEO ROM DATA,R4=ACTUAL ROM DATA
, lfoIUEX
"
,APt; NEW PC CONTENTS CORR~CT?
,SR IF YES
- J ERROF, CROM pC IS WRONG
;LOOP TO 1$ IF S1I09=1
;NJ::W SCOPl

3&:
02&656

l)lll5,,4
"1H401
164036
1,,4461
~t2137

PC,CLRALL

2

lJZOMv
MACHI leI U46)
ll-JlIL-77
DZDMG.PII
22-APR-71 09:29

<123552

PC,MApC~

, ; Rl CONTAlkS BASE OMC 11 AUOHESS
;MASTt:R CLEAR DMCll
;IS IT CJ\AMl
; SKIP ,TEST IF YES
;CH~CK FOH HI OR LO

lS:

I til> 1

11195
189b
It9

~~~-----;~;;;;;O

11:14412

~23426

HIllS
18ijb
IblH

l'ST5:

,U2131
e.H"'51

023430
li23432
1''2H34
.,23436
023442

11'19

001226

~2Hi
112&7S0

JSR
3776
CMP
~t::Q

1 J4~1!I&

1 ,,44(H

,'12'131

2S:
023652

PC, ROMDAT
RS,R4
26

HLT
SCOPI

b

MOv

136, LOCI(

,Rl CONTUN:) BASE OMCll AIJDKESS
:MASTER CLEAR DMCll
: IS 1'r CRAWl
~ sKIp TEST If" H.S
~CHtCK FO~ HI OR LO
~ NEXT IiORU is INSTRUCT!ON, HOMCLK Pc=S3.,4
rSTART AT ROM PCa",
~NEXI IIORu 1S INSTf
;JUHP TU ROM PC Or .,
JSR
PC,AOMDAT
,RS",e.XPJ::CTELI ROM UATA, R4=AC'rUAL IwM DAlA
; INIJI:.X,
o
C',P
;AR~ NI::W PC CO"TENIS CORRtCT?
BEQ
;ijR lY ~e.~
,
liLT
l~:RAOk, CROM PC IS wPOiliG
SCOPI
;LOOP TU .IS 11" SW"9"1
110V
; NtW SCOPI

!:IS:
;NEXT ,;UPu lS l~SrPL'CTlUN, i'UMCLI'. P('=!:Ij~~
;SlA11.l' Al PU)'! PC.:6

0247

OW"G
MACUI 3;;Ui//46J
ll-JUL-77
DZD,.;G.Pll
22·i\PR·n 09: 29

l'Hl
19·12
19B

,)23712
'}23714

1~44

»23722
... 23724
",21726
142373"

i 945
1946
1947
!'HI!
t'H~

~,'23116

~'''3732

,,23134

12:11
PAGe 41
CROM JUMP TESTS
~OMCLK

h4414
1,,4525
i}i!l4H7
,10:11252
1}2ii584
(I~1401

t~40"6

b! :

! !!!44tH
11'44160

195'"
1951
1952

1'174

1975
1976
1977
1918
1979
19iH'
1961
19<12
1983
1964
t 985
1996
1987
1988
1999
l'N"
1991
1992
1993
1914
1995
1996

024H

NEXT "ORU J.S INSTRUCTION, I
JSR
PC, ROMDAT
1252
CMP
R5.R4
bEQ
6$
HL'r
o
SCOPI
SCOPE

IHD~X

ARt; NEW 1<0'" PC CONTENTS
eR IF YES
ERPOR, CROM pC IS WRONG
LOOP TO 5$ .IF SW59=1
SCOPE THIs TEST

COI

"1:14731
6~n776

()20S04
Od14"'1
104006
I ~440l
012737

2$ :
0241636

001221!l

JSR
3176
CMp
BEQ
Hr.T
SCOP1
MOV

PC, ROMDAT
'.
R5,R4 "
2$
6
n.,LOCI<.

THE C BIT'
. ;NEXT WORD J.S INSTRUCTION, HOMCLK PC=5304
: START AT' ROM PC:"
:NEXT WORO IS INSTRuCTION, KOMCLK PC=53"4
:JUMP TO ROM PC Ot' 1717
;R5=E;XPECtU> ROM DATA,R4=ACTUAL ROM DATA
JINOE;X
; ARE NEw PC CONTENTS CORRt;Cl'1
;Bk IF YES
,;ERROR, CROM pC IS WRONG
: LOOP TO 1$ IF SW09= 1
:NEW SCOPi

3S1
ti.14737

026724

H, .. 414
1.,0403
HJ4414
lI:Hil30
""4737
&"0~0"
iJ205"4
0"1401
1 64006
104401
&12737

026750

4$:

024076

0~1221!1

JSR
PC,SETC : SET THE C BIT'
ROMeL(\'
:NEXT WORD L5 INSTRUCTlON, I
,JUMP TO ROM PC ot' 0
JSP
PC, ROMDAT
rRS=EXPt:C'tEO ROM OATA,R4=ACl'UAL ROM DATA
:INlJEX
.
o
CMP
;Akt: NElli PC CONTENTS CORRt;CT?
RS,R4
JBR IF n;s
. . 8EQ
4S
HLT
6
JERROR, CHOM PC IS WRONG
SCOP1
; LOOP TO l$ IF S1II09= 1
MOV
15t,LOCI<.
:HEW SCOpi

5$ :

l:/il4737
IiH414

026724

JSR
ROMCLK

OZOMG
~~CUI 3tHUI4o)
l1·JUL·77
DZD"IG.P11
U·APR-77 09:29
>'241 ~4
"24hJ6
,;'2411<'
0124112
',,'24116
12412'6

'i:HH06
104414
105125
,,"4737
:;')1252
1:\20504

n4122

~tIJ14"l

:;24124
1124126
"'24130

1 ,,4t106
,.,4401
Iki440l:!

PC,ISETC ,SET TH!:: C BlT'
;NtXT iiORlJ ~S INSTRUCTION, NOMCLK PC .. S304

12:11
PAGE 42
CFlOM JUMP TESTS

026750

bS:

PAliE:
100406
ROMCL/{
1041251 < '08*2>
JSR
PC,ROMDAT
1252
C"IP
R5.R4
BEQ
6$
HLT
6
SCOP1
SCOPE

iSTART AT ROM PC=6
jNEXT WORD is rNSTRuCTIO~, I
JSR
PC,ROMDAT
; R5:EXPECTEO FlOM DATA, R4:AC'l'UAL RUM DATA
3776
; 11110EX
CMp
: ARt; NEW PC CONTENTS COR~"'C1'?
RS.R4
TBR U" YES ..
. - _ ...- - - - •

~,2,,~"4

6"14"1
1.,40(116
1 ,,44.H
:;12131

2$ :

e~Q

2$

HLT
SCOPI

6

MOV

;EkROR, CROM PC IS wRONG
; LOOP TO 1$ IF 510"9"1
IN!!:W SCOPI

35 :
,,"4737
t"44H

"'26742

JSR
PC,SETZ ;SET IHt;
kOMCJ.,K
1004"3
IiOHCLK
~JUMP IlJ
10001110l<41!10*3>
JSll
PC, ROMDAT

'''il4~3

1,,4414
1,,140"

",,,4137

1/,,"0r.t"

{}2b751'1

"

~2~5iJ4

II .. , ~"'1
1.·4:.10&
1;;41-'1
"127}7

~:74271

1.'11272

BIt
IS:

~24244

~:14l64

iTST1 i, Nf:n
#i.,LOCK

I1STCLR

C~4737

~,24246

624252
;,,24254
Ie 24:t5r.
.. ]426<1
1Il24.l62

~~~-----;;;;;;;NO
MOV
MOV

0111 Jo6

024172
"24172

TSTl":

CMP
beY

R5,R4
4S

HLT
45 :

Z BIT'
NEU WOIIO 15 INSTFlUCTI0N, IR-77 1'19:;.19
DZD"G.Pl t
2(1)53

~124:t7b

2(1)51

.,243110

2V.,';';

~H302

:/(1)56

1124 1111 1
'7243"6
t.':.!4J12

:n~1

21158
:1I1S9
711".,
2"'1> 1

"'14H4
,.2431f'
~2432"

2"6~

>124322

21163
21<)t4

e243H

1114414
1 kI(I)401>
"14414
I"S!l2S
"'114137
1;'111252
"20504
O.,t 401
1 (114!!1"&
''''4401
t '444"'0

PAGi::; 43
12 :11
CROM JUMP JES'l'S

"26750

6S1

PAt;l:::
ROMCLK
101'406
ROMCLoK
11'41251<400*3>
PC, ROMDAT
JSR
1252
CMp
RS,R4
8EQ
6$
HLT
6 ",
SCOPI
SCOPE

0:.lS\j

NI:;XT wORD IS iNSTIWCTIUN, HOMCLK PC=!)3"4,
STAR'! AT RUM PC=6
NEXT WORD is INSTRUCT ION, ROMCLK PCe!)3.,.
JUMP TO ttOM pC OF 525
R5ee;XPECTED ROM DAtA,R4:ACTUAL ROM DATA
INDEX
APE NEW KOM PC CUNTENTS COKRl::CT1
SR IF YES
ERROR, CROM PC IS WRUNG
LOOP TO S$ It" SW59=1
SCOPE THIS TEST

2~65

2"'1>6
:101>7
2061!
2V,,,9
2"'10
2071
2072
2013
2014
20:115
207&
211171
2",18
:1f1J79
2,,8"
2~j81

20a2
2,iJij
2<1d4
2085
:l\jil6
21cl87
2088
2\!l89
2"9,,

: .... *** .. ********************* TEST 11 ***************************
,*CROM TEST OF JUMP (1) ON BR0 SET MiCRO·PROCESSOR INSTRUCTION.
:*SET THE 8R0 BIT, PERFORM 'Hi! JUMP INSTRUCTION,
J*VERIFY THE JUMP 81 PI::ADIHG THE CONTEhTS OF THE tIEW ROM PC
, : . ******** ************************ ****** .. ******************* ** *

H6
ti24334
£124342
0'243':10
.,24352
e24 J60
*,243&2
.,24366
1124J66
1174372
(·24314
,,24311>
02440~l
~,24402

IJ24h,6
;624410

li'91

~24412

2,,92
2.''13
2f11H
2095
2096

2"':11

1!'24U4
oi2441 b
",24420
11124426
",2H26
1)24432

2<'198

~j244H

2v.J9
21'"''
7 1 .. 1
2UJ
2 t.~ 3

.,24130
024440
l"H 442
t'H146
674

02&750

2$:
0:;>4426

001220

:llH

:1142
2143
2144
2145
214&
2147
2148
2149
21 !I'"
2151
2152
2153
2154
2t 55
2156
2157
21513
215)
:110"

MSTCLR
8IT
BHE
JS!l

,8ITlS,STATl
6$+2
PC,MAPCK

IRI CONTAlNS BASE DMCl1 AODRESS
JMASTEJ"( C1-EAR DMCll
I IS 1 T CRAM?
:Si'.lP TEST IF YES
,CHtCK FOk HI OR LO

JSR
PC,SETBR0
ROMCLK
100400
ROMCLK
1143771 <480*4>
JSR
PC, ROMDA'l'
3776
CMp
!l5,R4
BEQ
2$
HLT
6
SCOP1
MOV
Us,LOCK

ISET THE tiRO BIT"
JNEXT WOR!) IS INSTRUCTION, I
Pc,itOMDAT
,RS_EXPECTELl ROM DATA, R4eACTUAX. ROM DATA
JSR
; INDEX
0
CMP
R5,R4
: ARE NEW PC CONTENTS CORRt;C~'1
8EQ
JBR IF n.s
tiLT
;ERROR, CROM PC IS WRONG
6
SCOPI
;LOOP 10 ,36 IF SW09=1
MY
;NEW SCOPi
'5$,LOC~
ROMCL~

02&750

..

U:
0244&&

01'1122"
5U

.. 11407 3'1
'''4414
11II1!'406
11'4414
!itt> 125

026674

~'H731

021>750

12111
PAGE 44
CROfoi JUMP TESTS

10111252
n0SI'!4
""1401
1,,40il6
11114401
1<14480

6$ :

PAuE:
PC,SETBR0
JSR
ROMCLK
1"0406
ROMCLK
1041:Z51<400·4>
JSR
PC, ROMDAT
1252
CMP
RS,R4
BEQ
66
HLT
6
SCOPI
SCOPE

:SET THI:; ~RII) 8Il'
,NEXT wORD is INSTRUCTION, ROMCLK PC=5304
I START AT RUM PC=6
;NEXT iIIORO IS INSTRUCTlON, ttOMCLK PC-S3"4
; JUMP TO HOii PC OF 525
~ R5:EXPECTEO ROM OATA, R4=ACTUAL ROM DATA
,INDEX
"
J ARE NEW HOM PC CONTENTS ~0t:tRECT?
;SR IF YES
I ERROR, CROM PC IS WRONG
I LOOP TO 5$ IF SW59= 1
; SCOPE. THiS TEST

,*****************.********* TEST 1:/ ****** .. ********************
,*CROM TEST or IlUMP(l) ON 8Rl sET MiCRO·PROCESSOR IMSTRUCT ION.
,*SET THE BRI 8,tT, PERFORM Ttll:; JUMP""INSTRUCTION,
,*VERIn THE JUMP 8Y RI:;ADING THE CONTENTS Of ThE NEW ROM PC
J : * * **. *** ************************* ** ***** * ** **** ** ********** ***
TEST 12

.. 24512
':2453;1
L 24536
"24544

t

24~46

~24554

01'4556
0H56l
"1''162
r>:?4566
Fi2457J
~24572

21td

IItHS14
t24516
1.12 ~602
1I'746e4
"24606
",24611'
.,24612
\;2.614
l)H622
IJHI>2:i'
tJ24626
0241>3"
;)24632
':24634
1::14630
t24t.42
1.1;14644
",741> t6

~

1':l465~

161
21 b]
211>1>

111, TSTNO
UST12,NEXT
'U,LOCK

3S:

212~

2 t j,j
213t
2132
21H
2131
2135
2136
21H
2138
2139
2141i1

MOV
MOV
MOY

1$1
('04737
1 "'4414
1.,0400
1.1441 4
116377
t:04737
.,;,3776
t;20501
1;1.11401
1.14006
1,,4401
b12737

DWMG
MACYIt 31.1(1(')46)
ll·JUL-77
DZ[)MG.Ptl
22-APR-77 1:'19:29
212''1

,.._...-.......TEST 11

~24

1):14"52
,;.>46')1

~12737

IH2717
tH2737
11114412
llJ2731
""U57
0"4737

""''''012
024716
024562

1:101126
0.H21&
001220

100000

0013&6

TSTt2~

027012

,----.----.---• 12iTSTrtO

MOY
MOY
MOY

nST13, NEXT
'U,LOCK

"STCLR
BIT
BNE
JSR

IBITIS,STATI
6$+2
PC,MAPCK

~ Rl CONTAlNS BASE DP-ICll AllDI
JSH
PC,ROMDAT
377&
CMP
R!5,R4

1 "04.,,,

1It4414
111>717
" .. 4137
1'1103776
02l'504

1}"'14,H
Ivl4006
11114401
1012737

2$ :
ll24622

BEQ

28

HLT
SCOPI
MOY

6
13$,LOCI(

JSET THE SRI BIT'
;NEXT ilORO LS INSTRUCTION, ROMCX.K i'C8!)l04
• START AT RUM PCE0
:NEXT WORO is INSTRUCTION, ROMCLK PCa!)311)4
, JUMP TO ROM PC OF 1771
J RS-EXPECtEO ROM DATA, R4:ACTUAL ROM DATA
,INDI::X
; ARt. N!W PC COhTENTS CORRt;CT1
,BR IF YES
JI:RROR, CRO" PC 1S "'RONG
,LOOP TO U It' 5W09-1
JNEW SCOPI

3$ :
';k;4"137

JSR
ROMCLK
1"11403
ROMCLK

lil4414
111)0403
1<'4414
lil24J~
~:q737

•~!l"~""
;.>,,504
.;" 141111
1114"'''1>

t<:Hodl
i,12737

10000~!
1!21>75~

JS~

fO

CMP
BEQ
tiLl
SCOPl
1oI0ii

SET TH!:; I!IU SU'
NEXT WOkU is INSTRUCTION, ROMCL~ PCII~304
START AT RUM PCe3
NEXT IiORU IS INSTRUCTIOM, ROMCLI< PC=5304
<400*5>
;JUP-IP TO ROM PC O~ ia
PC,ROMDAT
RS"'!:;XPI:;CTEU ROM DATA, 1<411AC'rUAL ~OM DATA
INDI:;X
"
R5, R4
ARt. NEW i'C CONTi::;NTS CORI113

2174
2175
2176
:4177

ll-JUL-77

12:11

22=APR=77 09:29

1,24662
024662
f24666
f24670
b24672
"24674
1124676
i>2171l2
tl2470'
l741a6
1;217111
t>24712
92 "14

PAGE 45

2189
219'<'
2191
2192
2193
2194
2195
~i9b

2197
2198
2199

n"vl

~26702

JSI'I
P~,5ETBRl
ROMCLK
100406
RCMCLl<
104125 £<.80*5>
JSR
PC, ROMDAT

02b750

1252

:Il2050~

eMp

~"14'lt

BEQ
HLT
SCOPl

1.,41<106
U44"'1

6$1

024716
(.)24724
t 24732
<.)24140
~24742

';24750
1'24752
1124;56
b2475b
,,24762
1>24764
1024766

n.,9

221J
2211
2712
2 .. 13
22H
2:?15
221b
22i 7
2218
2l1~

2226

~'12737

012737
1t14412
1432737
0';1057
CiH737

000013
025112
024756

001226
001216
01'11220

1.-10000

001366

i:.HH7

"'2b710

1-;2~022

,,25<}24
025026
t:l25a30
b25032
11)25036
f>:l51:14iO
&25(,42
"25044
11125046

2233

l'2S"50
1J25056
1t2S.l5b
~,2506 2
1,,25064
f2S'59
2260
2Jbl

2$1
025016

001220

0;,;4'137

026750

:.',,.,.,00
0:10504
~~1401

1 ~4i:li:l6
1"'4401

;>12137

4$:

025056

001220

1.14414
'''~4'''6

1 .,4414
IIHI25
0"4137

1:126750

~~1252

l;l"<;04

k),H401
11'!4"'06
, IHol0t
h'H0<'

; SET THE 81'14 BIT"
:NEXT WORD 1S INSTRUCTION, ':tOMCLK PC=S304
:START AT-RUM PC=0
,NElT WORD Is INSTRUCTIOfol, HOMCI..K PC=~304
:JUMP TO ROM PC Ot' i777
,R5=EXPECTEi.l ROM DATA,1'I4.ACtliAL ROM DATA
:INDEX
,ARE NEw PC CONTENTS CORRt:CT?
:BR- IF YES
-,ERROR, CROM PC IS WRONG
:Loa? 10 i& IF S,,09=i
:NEW SCOPl

.JSR
PC,SETBR4
~SET ThE ~R4 BIT"
ROMCLK
:NEXT WORU IS INSTRUCTION, HOMCLK PCo:S3"'4
~ START AT ROM PC=3
1004"'3
ROMCLK
~NEXT WORU 1S INStRUCT.LON, HOMCLK PC=S3"'4
'
;JUMP TO ROM PC of" ici
10000"11 <400*b>
.JSI'I
PC,ROHDAT
;R5,",EXPECTEI) ROM DATA, R4=ACTUAL ROM DATA
0
:INOEX
CMP
R5,H4
;ARE NEW PC CONTENTS CORR!,C'r?
BEQ
;BR II'" lES
4$
HLT
: ERROR, CHOM PC IS WRONG
6
SCOPI
;LOOP TO 35 IF SW1!9=1

PAGEl
I'OV

;NEW SCOPl

JSR
PC,SETBR4
ROMCLK
100406
ROHCLK
1041 25' <4""'*6>
JSR
PC,ROMOAT
1252
CMP
RS,F4
BEQ
6$
HLT
6
SCOPl
SCOPE

,St:T TltE 5R4 en"
,NEXT liORD 15 INSTRUCTION, i(OMCLK PCa:S3.,t
:START AT-ROM PC=6
;NEXT WORD 1S INSTRUCTION, i(QMCLK PC=530.
:JUMP TO HOM PC OF 525
: R5=EXPEC'i:EU ROM DATA, R4=ACTUAL ROM DATA
:INVEX
rARE NEW HOM PC CONTENTS COI!Rt:CT?
:BI'I IF YES
; ERROR, CROM PC IS lIIRONG
;LOOP TO S$ IF SW59"'1
; SCOPE TltiS TEST

I ** .... *********************** TEST 14 ********** .. ****************
r*CROM TEST OF JUMpt 1) ON BR7 SET MiCRO-PROCESSOR INSTRUCTION.
:"SET THE B~7 BIT, PERfORM THE JUMP-INSTRUCTION,
:*VERIfY THt: JUMp 81 READING THE CONTENTS Of' THE NE-Ii ROM PC
, 1 **************.*.******************************* .. *************
TEST 14
,,2511 "
1'.2512"
r25126
f25134
('25136
1:125144
025146
.,25152
l'25t52
";2'>156
r112SI6,.

~12731

~253"'6

i:12731

['25152

001226
ilil1216
,,"1221:1

'4137

027"12

'0,,4137

026716

r12737

TST14 1

, ;;441

~.lS166

i::i'5l02

h'lhll

nS201

rt2737

nST15,NEXT
US,LOCK

MSTCLR

SIT
SNe.
JSH

~

~;.25176

k~;-----;;;;;;;NO
MOV
MOV

1 %14414

~25162

11125172
11125174

0""1iI14

loa"",,,

"'252"'''

2:,,1>

JSR
PC,SETBR.
ROIolCLK
100400
ROMCLK
1143771<400*6>
JSR
PC,ROMD~T
3776
eMp
1'15,Rt
BEQ
2$
HLT
6
seOPl
MOV
13',LOC~

5$1

2263
2lb1
2265
1266
2,,, 7
2 2

2lH
:/275

IBITl5, STATl

3$:
1<14414
J ,'0433
1.;4414
1;13000

0114737
0'13176
1;:1,,0;"4
gil14JI
, "'4kl06

n72

TEST 13
J .-----•• - - - - MOV
1l3,TSTNO
MOV
USTl,t,NEXT
MOV
HS,L~K
MSTCLR
BIT
SHE
.JSR

026750

DZD"'G
MACYlI 3!rilU46J
U-JUL-77
OZDMG.Pl1
22-APR-77 11'9:29
2:<21

TH~S TEST

18:

i:L5010

625006

TSTUI

027012

1025016
~'2S0t 6

~2477"

n.,ij

IH2H1

026710

li24772
{'24776
(125000
02S0"'2
025.,.,4

2Z
JSR
PC,ROMDAT
3776
eMp
BEQ
HLT
SCOPI
MOV

I'll CONTA.LNS BASE DMCll AI.lDHI:.SS
MASTt:f< CLEAR DMC 11
IS IT CHAM?
SKIP TEST U XES
CHECK FOH iiI OR LO

SET THE BRI BlT'
NEXT 1001'10 15 INS lRUCTION, ROMCLK PC=S3,,4
START AT ROM PC,",,,
NEXT IiORLI 1s INSTRUCTIOr., KOMCLK PC"!il!!l4
uUMP TO ROfol PC Ot' 1777
RS .. EXPECTEU ROM DATA,R4=ACTUAL POfol DATA
INUt:X
ARE NEW PC COhTEN1S CORkt.Cn
BR IF YES
ERkOR, CRO/ol pC 15 WIRI SIT'
ROf04CLK
NEXT 1001<0 is INSTRUCTION, HOMCLK PC=~3114
START AT 1<;)1'; PC::3
1110403
ROMCLIi'
NEXl' WORU IS INSTJ
;JUMP TO ROM PC O~ '"
JSk
PC,I!OMDAT
RS=EXP!;.CTEu ROM DATA, ~4=ACl'UAI.. RUM DATA

"

INU~X

('II'

kS,R4

Bl:.y

48

hLT

ARt: ~I:.W PC CONTENTS CORkt.C'J:?
1)1'1 IF YI:.l>
Ek~O~"
C!lor2527&

221:l9
229<1
2291
2792
2293
:l291
n95
7H&
2297

1)2530')
I'25HIl
025304

2l8~

22IH
2:182
21i1J

2:l84
22IlS

2:.>8&

lrlHidl
t:12737

12: 11
PAGE 47
CI'OM JUMP TESTS

4$:
1:12525:7

"<14737
1'H414
1 ""'4i'J(:
I "441i
1111525

I'2b716

0"4731

026159

2J04
23105
23'''"
'2347

1:'25314
l'2532l

2308
23\j9
2311<1

2312
'2313

\:·25.132
tl25340
t:25342
225346
1.25346
ft!25352

2314

~75354

2315

(25356
d253611
.,25 Jb2

7n1

2332

'J01:'>52
1'}205.,i
f"1401
lif4i'!\j6
h14401
104411'"

6$:

.':1533"

~25366

fj12737
1111137
1-12H7
144412
032731
"IU057
"IH731

".,,,,,15
025502
025346

16IH4I2b
fl!0121b
001221<1

100000

01'11366

2337
23313

7H9
234'"

2311
H12
2343
2344
2345
.U4~

2347

2Hft
2H'l
235'"
2351
:7352

~

l .. OEX

~ ARE NEW ROM
~BR Lf' Yt:S

PC CONTENTS COJ{Rt:CT?

~

ERROR, CJ{OM pC IS WRONG
~LOOp TO 5$ IF SW59a1
,SCOPE TH1& TEST

,--------------

~"4737

J'14414
JI:liH09
1114414
115377
0tH737
0Ih,004!
~2"504

.25372
,·15314
.:25376
0254.",)
,,25'0&
"'25405
825'12
:'25414
"25416
t 25420
1'25 ~22
u25426
,,25 ~ 3"

0il1401
104006
1"4401
t}12131
fv4131
''''4414
100403

026656

~Sk

pC,~LRA~L

~CLEAI<

02b750

ROMCLK
100409
ROMCLJ(
114377 &<409*2>
JSR
PC, ROHDAT

k):?5406

Clip
BEQ
HLT
SCOpl·
MOV

:l

2$1
001:.!20

1l"'1401
104"36

'''4401

n'5H4
.,2547b
1!o2550~

.

R5, R4
2S'
6
t)8,LQCK

ALL CONDITIONS
,NEXT WORD 1S INSTRUCTION, ROMCL .... PC"S304
~START AT RUM PCa"
~NEXT WORD 1S INSTRUCTION, ROMC1.K PCaS3164
~JUMP TO HOM PC OF 1717
~R5=t;XPe:CTED ROM OATA,R4=ACTUAL ROM DATA
JINDEX
.
;.RE NEW PC CONTENTS CORRt;CT?
;BR- IF YES
,ERROR, CROM pC IS WRONG
,LOOP TO U If 5"'1019=1
JNEW SCopi

,CI.EAR ALj, CONDITIOtiS
JSR
PC, ~LRALL
ROMCLK
,NEXT WORD 1S INSTRUCTION, J:lOMCLK PCa5304
~ START AT RUM PC .. 3
.
1004"'3
ROMCLK
iNEXI WORD 15 INSTRUCTIOIll, HOMCLK PC .. 5304
1999001<4""*2>
,JUMP TO ROM PC OF j,j
JSR
PC,ROMDAT
~ R5=EXPECTEU ROM DATA, R4=ACTUAL ROM DATA
10
.
iItiOEX
CMP
R5,R4
i ARE NEW PC CONTENTS COHREC1?

026656

104414

11111)0"
1"'4737
0if00'"
i.2iJ504

t2543~

~'254111
.. <'>~7L

U5,TSTNO
ITST16,NEXT
'U,LOCK

3$ :

n'5B~

t'25H
JSR
PC, ROMDAT
16
CMP
R5,R4
DEw
6$
HLT
6
SCOpl
SCOPE

iCLEAR ALL CONDITIONS
;NEXT WORLl 1S INSTRUCTION, HOMCLK PC=53f64
~ START AT ROM pCatl
~ NEXT wORU 1S INSTRUCTION, HOMC1.K PC:S3f64
;JUMP TO HOM PC Ot- 525
,R5,.,EXPECTELl ROM DATA, R4=ACTUAL RUM DATA
iUDEX
.
; !:t: .. ~E~E~O~ pC CONTt-NTS ~OJ{Rt:CT?
~ ERROR, CROM pC IS WRONG
,LOOP TO 5$ IF S,"59al
; SCOPE THis TEST

,******************.******** TEST 1 b ***************************
,*CROII TEST OF JUMp(l) ON Z BIT St.T MICRO-PROCt.SSOR INSTRUCTION.
,*CLEAR IHE Z' BlT, PERFORM THE JUMP INSTRUCTION,
,*VERIFY THAT THE JUMP DID. NOT OCCUR BY Rt:ADING
:*THE CONTENTS
THE NEW ROM pC(lTSHOULD INCREMENl S~ O,NEl.
, 1 *************"************************************************

or

2357

:o!Jsa
1359

,

:.1 3b16

237"
2311

HOMCLK PC"!)304

,R1 CONTUNS BASE DMCll ADDHESS
,MASTER CLEAR DfoICll
,IS I l CRAM?
,SKIP TEST 1f' YES
,CHECK FOR lil OR 1.0

2355

23&7
2Jbl!
:23b9

BlT'

,BIT15, STAn
68+2
PC,MAPCI'.

2356

Bb4
2 Jb5
2Jb6

I
JSR
pC,ROHDAT
1252
CMP
R5,R4
BEQ
6S
HLT
6
SCOP1
SCOPE

BIT

2J~4

23b2
23&1

~R1

~START AT RU"" I'C;:6
~NEXT wORD :..S INSTRUCTION, J{OMCLK PCa53ftl4
~JUMP TO j{Oiii pC Of' !!>25
~ R5aEXpECTEU ROM DATA, R4:AC'1'UAL "OM DATA

1 ..

f2537~'

t2'5H2

TST15~

23:>3

:2361

,SET THt;

I NEXT WORU 1S INSTRUCTION,

MSTCLR

UZU'4G
MACHI ]';(11146)
Il·JUL-77
DZO"G.P 11
2l-APR-71 09: 29
HI1
:U34
:1335
2336

TO JS If' Sw169= 1
NEW SCOPI

TEST 15

1':2530'"

23J\l

pC,SETBR?

1016406

2l~'.2

7329

~

J *************************** TEST 15 ***************************
,*CROI4 TEST OF JUMP(l) UN C BIT St;T MICRO-pROCi:.SSuR INSTRUCTION.
,*CLEAR THE C BIT, PERFORM TH!!: JUMP INSTIWCTION, ..
.
,*VERIFY THAT THE JUMP DID NOT OCCUR B¥ READING
,*THE CONTENTS OF THE NEW ROM PC (1 T SHOULD 1NCftEMt;NT BY ONE).
, : **************************************************************

23"'3

1l.l6
2327
:lJ 28

~ LOOP

SCOpl
MOV
JSR
ROMCLK

229t1

2316
2J11
2.318
2.H9
2H0
2Hl
2322
2323
232\
7325

0254

5$1

2299
2 JIM
2].11

2Bl

PAG~I

'J2551i2
I.255U
('25516

,11 2137

~2,)524

J014412
"32137
"1'11'157

f'25526
1,;2553\
i-25S36
.,25542
Li75S42
('·7'5546
-.:25'5'5:1
iJ25552

2312
2J7J
;/.174
2315
H7b
2177

l2555&
1125562
\:·25561

2378

"2'5~66

2J79
2181l

~

foI255'j1

012137
l'1 17

n

000016
925676
025542

0111226
0"'1216
O,,1220

TST161

MSTCLR
BIT
BNE
JSR

001366

Ji"4737

021012

i1',,41 31
1"4414
16"400
1 n4414
115111
\:44137
iI·IZ002

02bb56

TEST 16

J -------------MOV
t161TSTNO
MOV
nSTl1, NEXT
MOV
.u,LOCII.

'BITU,STATl
6h2
pC,MAPCI'.

; Rl CONTAUIS BASt. OMC 11 ALlDKESS
:MASTER CLiEAR DMCl1
~ IS IT CRAM?
~ SKIP TES'! 1F YES
:CHtCI'. FOI< iiI OR LO

lS:

026750

JSR
PC,~LRALL
ROMCLK
19041610
ROMCLK
1143171 <400*3>
JSR
PC, RUMCAT

2.

tJ12737

~25602

CMp
BEQ
hLT
['COPI
MOV

r2bb5&

JSR
In

1111\737

t.,Stlll>

:n~5

..·2S61lt

23db
.. j~ 1
; H:19

.:lSt.j l

"','>bl'

1,'411 $
1 ",HIIJ
IH414
1"1411<1

-a:5fd 6

r~" 1111

2$ 1

R5,F4

6

JCLt:AR ALl. CONDITIONS
,NEXT WORD 1S INSTRUCT ION, HOMCLK pCa5304
: START AT ROM PCa"
~ NEXT WORD 15 INSTRUCTION, I
;JUIIP 1 U RO'" PC O~ ii
J5k
PC, P.QNlIJAT
;P5!t'h.~.tJt:.Cll~__ U RO'" U'&.'lA,tf4'£!\CIUAl. FH)~ t'A"'"\

k!255

DZD"G
MACYlt 3Jlli146)
ll-JUL-77
DZDMG, PI!
'U-AI-'R-n ~9: 29
2389
2.39"
2391
2392
2.393
2394
2395
2390

()25622
r,256H
'.25626
f 2563111
t 25632
~,25634

,,25642
a5642

;/J.97

~"5646

2398
2399

",0/5650

12:11

PAGE 49

b"''''H'''

J20504
:0-"'1401
1"41'106
1d4401
012137

U:
.,25642

PAIOEz

025et

CPUI', JUIIP TESTS

1"1'1;.120

HI
CMP
SEQ
HLT
SCOPl
MOV

R5,R4
46
6

~~:CLK

PC. ~LRAI.I.

IhV~X

ARt:; N~W PC CONTE-N1S CORRt:;C'r?
Sf< IF lES
ERROR, CROM PC 1S WRONG
LOOP 1'0 "' H< SW09z1
NEw SCOP1

fl58,LOCK

5S:
~'''47l1

241J~

1,25652
"'25651

24"1
241/12
241H
24k14
24"5
24<16
24107

~ ~56S6

!.'44H:
'304"'6
liH414
165525
c.;114737

.,25602
025661
.,256b6
r;2567"
,,25672
.25674

1)2951'14
1i"14al
1"41'106
1"4401
1"'4400

1126656

100406
ROMCLK
1641251<400*3>
JSR

~0""'16

6$:

PC. ROIolOAT

16
C'IP
SEQ
HLT
SCOPI
SCOPE

R5,R4
6.
6

ZCLEAR ALL CONDI'!'IOHS
~ NEXT WORI> lS lNSTRUCTION, I 1S lNSTRUCTlON, I
JSP
pc,/lOM[}AT

~"00"2

2

£;216504
,;.,1401
'64006
1.,4401
012737

"25776

CMP
BEQ
HLT
SCOPl
MOV

tl26656

'~,H00

1<14414
, lb377
684737

2$ :
00122'"

;R1 COt.lTAlNS BASE DMC11
;MASTI!:R CLEAR DMCll
i IS IT CRAW;
J SKiP" TEST IF ¥ES
;CHECK f'01< iiI OR 1..0

A~Di!ESS

UI,LOCK

;CLt:AR ALL COt.lOITIONS
; NEXT WORD IS INSTRUCTION, HOMCLK PC=5304
; START AT ROM PC"'" "
.nEXT KORU Is INSTRUCTION, 1{0MCLi< PCa~3"'4
i JUMP TO )
026750

kI"141'11
11141'106
jl/l4401

(.12137

PC,~LRALL

12: 11 PAGE 50
CROM JUMP TESTS

48:
021>336

01!122'"

~2603b

826036
026"42
,,26044
026046
,,266511
026052
1r/26il56
1'26"6"
.,26062
il26064
1)26066
Li261170

UlT15, STATl
61+2
PC,MAPC:K

1$1

0"'4"137
11:14414

DW,..G
MAC HI HH 1"40)
I1-JUL-77
DZOMG.Pll
22-APR-77 09:29
2445
2446
2H1
2448
2449
2450
:(45i
2452
2453
2154
2455
2456
2451
2458
2459

TEST 17
J ----.----.---MOV
'17, TSTNO
MOV
ITST20, NEXT
MOV
HI,LOCK
MSTCLR
SIT
SNE
JSR

027012

~25136

£25136
;)25742
02574-1
ti25H6
r.-257S0
b25752
1625156
t·25160
il257b2
,,25764
&25766
.,25771<1
1>25716
.25776
;;261'102
[.26004
t)26fb06

TST17 ;

JSR
10
eMp
SEQ
HLT
SCOPI
MOV

JJUMP TO ROM PC OF 0
PC, RONDA!
"
; RS=EXPECTEU POM DATA, R4=AC'l'UAL ROM DATA
;INDEX
R5,R4
, ARE NEW PC CONTENTS CORRt:C"r?
,BR If ¥ES
.""
U
:ERROR, CROM PC IS WRONG
6
LOOP TO 36 If' SW09=1
;NEw SCOPi
'5$,LOC~

i

56:

Ih14731
'1'4414
16::14,,6
1 "4414
"'6125
1;)014737

,,26656

"2el150

500016
\:205iH
a014ill
104"06
1114401

6S:

'''440~

JSR
PC,~LRALL
ROMCLf(
100406
RONCLK
1041251 <4e0*4>
JSR
PC,ROMDAT
16
"
"
CMP
R5,R4
SEQ
6$
HLT
6
SCOPI
SCOPE

iCLEAR ALL CONDITIONS
~NEXT WORl> lS INSTIHICTIOt.l, HOMCL/( PC=5304
, START AT RUM PC:6
~Ne;xT WORD IS INSTIWCTION, HOMCL!'. PC=53,,4
iJUMP TO HOM PC O~" 525
: R5=EXpECTEV POM DATA, R4-ACTUAL ROM DATA
,INI>E.X
"
,ARE Nj,;W ROM PC CONTENTS ~ORRECT?
; BR" If' YES
; ERROR, CROM PC IS WRONG
~ LOOP TO 58 IF 51/59=1
;SCOPE TH1S TEST

2466
H67
24613

,**************.************ TI::ST 21:1 ***************************
; *CROM TEST OF .JUMP ( I ) ON SRI SET M1CRO-PROCESSOP INSTRUCTION.
;*CLEAR THE BRl SlT~ PERrORf'. THE .JUMP INSTROCT10t.l,
,*VERIFY THAT THE JUMP DID NOT OCCUI< B¥ RI!:ADING
,*THE CONTENT:> OF THE NEW flO+! PC (iT" SHOULD INCHI!:Mt:t.lT B¥ ONE).
J: **************************************************************

2~b9

2410
2411
2472
2473
2414
2475
2416
2477
2418
2479
2490
24at

TEST 2"
~<61i7

2
021>1""
C26106
1i:l6114

,,21012

026132
\"26131;

141)4/31

026&56

~)2614~

lil~4"'"

~26142

1114414
lIb 177
IHHH7
9i1""il2

,\71>126
.,2bl32

TST201

24~9

;(26144

24'-11
2492

~26146

0:10152

~493

~26154

;020504

2H4
24'i5
2496
2491

~261

1)161401
'[-IU:,,6
, "44.11
"12737

56
'"'26161'
.,26162
e20lb4
'<:.>t>172
t261 72
.:2el 176

H14131
, "441 ~

!~;-----;;;;;;;NO
MOV
MOV

tTST21,NEU
'U,LOCK

MSTCLR
illj
BNI::
JSI<

f!!lT15,STATl
6$+2
PC, MAPCK

uSR
PC,CLRALI.
ROMCLK
1""400
ROMCLK
1143771 <4"0*5>
JSF
PC,ROMDAT

1 "4414

2490

2499
l5""

001:t;.!b
IHU21 b
011122"

1"4412

r"')1057
1"'4731

.,2012\

24~4

248S
2486
2491
24£18

2498

1)"'16020
1'126266
026132

r 327 37

2~~2

:t483

i:12731
.12737
1:12737

2

2$:
"..!6172
021:>656

CMP
SEQ
liLT
SCOPI
MOV

RS,R4
26
6

JSR
kOMCLIC

Pc,CLRALL

BS,LOCK

; Rl CONTUhS BASE DNC 11 AI>DHESS
:MASTI::f< CLEAR OMCn
~IS IT CRAM?
,SUP T£ST IF H,S
:CHECK rOI< iiI OR LO
ICLt:AR ALL CONDITIONS
;Nt::n WORD lS INSTRUCTION, I49
2!> 5 III
2551
2!>S2
:l55 ]
2S!>4
2555
2556

102b200
kl2b202
,;2b204
326200
,,2b212
.',2b214
ki2b216
e:2622~

[26222
';21>224
11126232
!l26232
["26236
.,2b24"
... 2b242
026244
026246
1>26252

1,,11401
1 "4414
1"2400
lJil4H7
IUI0!!!0
1.'20504
ii,11431
I;,IUI06
1"4431
~12137

4$;

021>232

PAtiEt

0\/1ln"
58 :

~26254

""4737
li!14414
1"",401)
1014414
106525
f/llt4137
60"016
020504

1!20256
1i26260
626262
("26264

1 ~4006
104481
IiH488

021>1>56

.lSI<
PC,CLRALL
ROfo!CLK
1016406
ROMCLK
1041251<400*5>
JSR
PC,ROMOU
16
CMp
R5,R4
SEQ
!II
HLT
6
sCOPl
SCOPE

~"6750

~"1401

6S;

;CLI!:Afl ALl. CO/WITIONS
;NEXT wORIi 105 INSTRUCT LON, ROMCl.K PC"5304
; START AT ROM PC-6
; NEXT WORU IS INSTRUCTIOfol, ~OMCloK PC-5304
i JUMp TO NOM PC Of 525
; N5=i:..(PI:.CtEU ROM DATA, R4=AC'IUAL RUM OUA
;INO£X
;ARI:. NEW KOM PC CONtENTS CORRECT?
,SR- H' YES
;ERROk, CROll PC 15 WRONG
; LOOP 1'0 5$ IF S1I59=1
i SCOPE TH1s TEST

~****************.********** TEST 21 ***************************
,*CRO'l TEST or .JUMPU) ON SI<4 SEt MiCRO-PROCESSOR INSTRUCTION.
;*CLEAR THE 8R4-8IT; PERFORM THE "UMP INSTRUCTION,
,*VERIFY THAT THE JUMP DID NOT OCCUR BY READING
; *THE CONTENTS OF THE NI:.W ROM PC (; T SHOULD ~NCREM~N,!, In ONE).
, : **************************************************************

,-------------TEST 21

:126266
.. 26274
"26302

t:121l7
IH2737
012137

,,00821
026462
"'26326

1101226
001216
001<120

k':lf.3tlll

UH412
IH2737

100000

011t j66

1:126312
-,,2632'"
026312
026326
.,26326
1f.26332

8271H2

0"4737
U4414

026656

1~"401'1

1l'26H6
n6H0

liH414
117377

~2bH2

:1"4137

a2t>Ho
",2b350
re2t>3S2
020]54
k:;26356
il2b36"
tJ26366

8&0"'''2
3211504

~76416

iC26420
1126426
""bqLb
"2b 432
,,'6434
1.126436
e2644~

"26442
"'26416
~12b '50
l!i26152
"2b 154
1126456
C261b(l

~

~IHi!l57

.,04737

~2b3H

':'2636b
026372
"2b374
1:26376
('2640'"
.. 264i

2$1

026361>

.21,TSTHO
fTST22,NEXT
H.,LOCK

MSTCLR
SIT
8NE
JSR

.BITU,STAT1
6$+2
PC,MAPCK

; Rl CONTA,lNS BASE OMC 11 AUDREsS
;MASTER cLEAR OMCll
;IS IT CRAMi
,SKIP TtS'i: IF YI:.S
~CHECK fOR ~I OR 100

lSI

",,.4,,1

1,,4401
312737

MOV
MOY
MOV

001220

JSR
PC,CLRALL
ROMCLK
10i!1400
ROMCLK
1143171<408*6>
.JSR
PC,ROMDAT
2
CMp
R5.R4
SEQ
28
HLT
6
SCOpl
MOV
U$,LOC~

;CLEAR ALL CONDITIONS
; ifIEXT wORD .is INSTRUCTIOfol, ':!OMCJ"K PCO:S304
;START AT "RUM PC"0
; NEXT WORU lS lIISTRUCTlON, ~OI'lCJ;K PC=53\!4
;JOIIp TO ROM PC O~' i 777
; R5al'.xpECTEil ROM DATA, R4-AC~UAL ROM DATA
;lNDEX
i ARE NEW PC COhTENTS CORR~CT?
;BR IF 'LES
;ERROP. CROM PC IS WRONG
; LOOP TO 1$ If SW090:1
;NEW SCopi

3$:

t;1tI4137

12:11
PAGE 52
-CROM JUMP TESTS

026656

1104414
1"~401

hl4414
I H000
1104737
"0"'111"

1<126751'1

1'12~S"4

rat.01
Il41'0b
l\/1Hal
j12737

1126426

3i

.. ~oo5o

pAc.iE:
.JSR
PC.CLRALL
;CLEAR ALlo CONUITIONS
ROMCLI(
; NEXT WORb IS INSTRUCTION, ROMCLK pC-S304
100403
,START AT RUM Pca3
ROMC!.K
:NEXT ",ORI) 105 INSTRUCTION, KOMCLl\.pC=5304
11'11'1000: <400*6>
J JUMP TO ROM PC OF i6
JSR
PC,RONDAT
i R5:oEXPt:CTEU ROM DATA, R4=ACTUAL ROM DATA
,INDEX
10
CMP
R5,R4
; ARE NEW PC CONTENTS CORFt!!;C'!?
BEQ
;BR IF YES
" ,
4$
HLT
,ERROR, CROM PC IS WRUNG
SCOPI
,LOOP TO 18 IF S1oI09-1
MOV
.58,LOCK
;NEW SCOP~

v

48:

58:
lCITJ'i'

ROMCLK
190406
ROMCLK
1941251<409*6>
.lSI<'
PC, ROMDAT
16
CMp
8EQ
HLT
SCOpl
SCOPE

"'1414
1 ~71 l5
11.14137
0"0016
1)'26'504
"'ttl 401
164006
10)4401
1104430

FC,~l,R.~L

JS"

U4414
1<111)400

"'2b750

,C~LAR

r..~~

~v;~~l:~U:.S

; NE-XT flORIJ 105 INSTRUCTION, ~OMCLK PC1I:53"'4
is'lART AT RUM PC .. t>
; NEXT WOfU! i.S lfoISTI ROM DAtA, R4=ACTUA" ROM DATA
; INDEX
i ARE Nt:W ROM PC CONTENTS COHRt:CT?
;BR IF YES
i ERROR, CROM PC IS WI96
2S'H
2598
2599
26"",
2Mbl

26"2
16103
7",,4
21>.;5
it>tl6

2"""

2bKia

2/:,.,9
lb 1 ..
2bl1

11258

10111403
; START Al ROM PC-3
ROMCLK
;NEXT WORD 105 INSTRUCTION, KOMCLK PCo:531114
iJUHp TO ROM PC Of i!i
10011001 <41110*5>
JSR
i R5_EXPECTEU ROM DATA, R40:ACTUAL ROM DATA
PC, ROMDAT
; INDEX
10
CMP
R5,1<4
; ARt.: NEW PC CONUNTS CORR~C~1
SEQ
JBR IF YES
U
HLT
,t:RROR, CROM pC IS WRONG
6
SCOpl
; LOOP TO l. IF' S~09:01
MOV
.5$,LOCK
iNEW SCOPi

0:11>750

DZD"G
MACHI 111'CI1D4b)
I1-JUL-77
DZDMG. PI 1
22 -APR-71 09: 29
2!>57
2559
2559
2561<1
2561
25b2
2563
25b4
2565
2561>
25E>7
2508
2569
"'>It!
2511
2572
2573
2514
2575
2576
2577
2578
2579
258"
2581

12: 11
PAGE 51
CRO., JU"'P TES1S

TEST 22
1'26462
1'2b17'<1
r21>476

k-121l7
012137
tl2137

1l205,,"
P26S"6
il1651 "
t'2651b
,,2b522
1:26522
»2652"
\126530
tl26532
1':2b534
",26536
"2"'>42
1'265H
t"16546
126';591

1W4412
".12137

<126';5;'

1116"'~122

,,,'331>4
1121>522

~~;-----;;;;;;;NO

1I1l1121>
101l1116

MOV
MOV

0!'11n0 '

MSTCLR
811
BNE
JSk

~"11157

",,4131

",27012

6174737

""IB1
1010"",,,2

U+2
PC,MApCK

~

I:Jl;.~1)"4

CMp
Bt:\)

t 401

1 "411"'6
1 i. 4 Q.11

,dU15,STATl

Jsk
PC,CLRAloL
ROMCLK
U040'"
ROMCLK
1143771 <41110*7>
JSR
I'C,ROMI)/\7

1.;4414
1 kl0490
1"441\
111777

~,,~

II .EOp, Nt:XT
1 . . ,LOCk

~'$ :

HL'I
SCOPI

H5,1I4

2.
6

R1 CONTAINS IIASE DMC 11 AUi)ld:,SS
MAS'i'ER CLEAR OMC 11
Is l1' CHAM?
SKIP it:S'f H ~ I:.S
CHt:CI\. fOI< HI ON L.O
CLI'.AR ALL. COhDITlUNS
NEXT WOlll) 105 INSTRUCTION, I!'G.PII
261l
2614
21-15
2616
2617
2618
261 'I

2021.."
2621
2622
2623
21>24
2&25
2&2&
2627
2628
2629
2630
2631
2612
2633
26H
21>35
2636
2637
2&38
26]9
2&4'"
2641
26H
260
2bH
2645
2646
21>41
2648
2649
265~

2651
2652
2653
26'S4
2655
2&56
2&57
2658
2659
2f>b'"
26&1
2t.&2
2663

~;t6o;S4

IH2737

1:)26562

kilt,4H7
1114414

~26656

1'1 :11
PAG~ 53
CROM JU"P TESTS

0"12211

11126562
~26S62

1)26566
,,21>511;
921>572
,,26574
026576
1,,26602
C266eo4
0266<:6
~2661"

11:14414
1<134"'0
;;"4737
IH'0010

"2bbS4

,,26750

!H'1401
104'''!Jo

104401

~26652

4$:
021>622

001220

0114737
1il44!4
!i7?l406
1I!4414
1 d7525
.)114737
!'II'''016
1/20504

026750

~"'1401

1"4006
1I04401
11J4400

un

27"''
2'''1
21"'2
2703
2704
21<15

:.17101>
211/,7
27"a
2 l'v9
:U10
2/11
2712
2713
.o!714
2715
2716
2717
2718
21H
2121'
2121
2722

27'B
2124

'5S,LOCK

5.09~1

iNEW SCOPI

661

JSR
PC,~LR1~L
ROMCLK
100406
ROMCI"K
104125!<408*7>
JSR
PC, ROMDAT
16
CMP
R5,R4
BEQ
6.
HLT
6
SCOPI
SCOPI::

;CLt.AR ALL
CONDITIONS
iNEXT wORD is INSTRllCTION, RONCI.K PC=S304
;START AT RUM PCs6
:NEXT WORD IS INSTRUCTION, HOlleLK PC"~304
iJUMP TO HOM PC OF 525
i R5::EXPEC'fEU ROM DATA, R4:11ACTUAI. ROM DATA
;INDEX
:ARE Nt:1i ROM PC CONTENTS ~ORRI::CT1
iBR IF YES
iERROR, CROM pC IS WROI'lG
;LOOP TO :is IF'SW59:1
;SCOPE THLS TEST

~030'"

00400
09500
00600
0f2!70f2!
00890
00900
91000

e26656

t'26656
,,2666 ..
v;l6662
626f64
tJ26666
\;26670
026b72

10>4414
1i,,"!40"
1 d4414
51>3220
!Iot4414
060400
0"'0207

01600
01700
01800
01900
02000
02100
02200

"'4414
1:/110401

02400
1!2501!J
102600
02700
02800
02900
1!3000

'HI~207

e261t32

026102

fi26704
4*2b7<16

02&112
~2&114

:NEXT WORI) :l: S INSTRUCTION, ROMCLK PC=5304
iBR-0
;NEXT WORD is INSTRUCTION, HOMC .. K Pcs!) 3 iii 4
iSPUl)_BR
;NEXT li.iORD 1S INSTRUCTION, ROMCLK PCsS304
i BR.:-SP(0) +B~
PC

SETBR0:
: THIS SUBROUTlltE SE.TS BR0 BIT
ROMCI.K
000401
RTS

:NEXT WORD ~S INSTRUCTION, t(OMCLK Pcs~304
iB~001

PC

SEIBR1:
I THIS SUBROUTJ;1I£ SETS BRl BIT
;NEXT WORD 1.S lNSTRUCTION, ROMCI,,!\. PC:!)304

ROMCLK

12111
PAGE 54
SUBROUTINES
1032100
03300
03400
03500
03600
kln0"
03800

?"a492
iI~0:'!07

1104414
l'Jil0420
,,0Z207

0401!0
04100
"'4200
04300
04400
"4500
04600

~26710

"26716
82b72 ..
&26722

nHIS SUBROUTINE CL~ARS THE C"Z BITS AND TIiE BR
ROMCLK
000400
ROMCLK
063220
ROMCLK
060400
RTS

1;,14414

b267U

~2671v

CLRALI,,:

01400

1)26614

kl21>1>74
112&675
6l67i11l

-----------

: SUBROUTINES

;

01200

21>14
2b 15
2676
2677
2618
2679
268;)
2691
2682
2653
2684
2685
2686
2t-87
2688
2&<19
269;0
2691
21>92
2693
2694
2695
2b96
2697
2698
21;99

;LOOP TO 3$ IF

SCOPl
MOV

02665&

MACYlI 3'H t 1!4b)
OZO"'G
l1-JUL-77
22-APR-71 09129
DZD"'G.Pll
2069
267"
2611
2&72

iNEw SCOPI-

5Sl

261:>4
20b5
2666
2667
2608

PC,~LRALL

i00.01

"':l~504

312737

~2&650

.3$,LOCK

JSR
ROMCLK

iCLEAR ALI.. CONDll'IONS
i Nt.ltT WOF
uS!'
PC,ROMDAT
: RSsEXPt:CTEU ROM DATA, R4-AC!UAL ROM DATA
10
ilNl>EX
CMP
R5,R4
i ARE NEW PC CONTENTS CORRt.C,!1
BEQ
48
i~R IF YES
HLT
iERROR, CROM PC 15 IiIRONG
6

1 "i,..03

1;)2&614
1)26622
.,26622
1126626
.:.26632
!'2&63\
&26636
ti26642
,f26644
02&646

MOV

0260

3S-'

i12tb12

~26630

PA(;E:

H144!4
fllabl!0

04&010
04900
05000
05100
0520'-1

~d0207

';26721

PAGE:

030402
RTS

iB~002

PC

SETBR4:
!THIS SUBROUTlIlE SETS BR4 BIT
ROMCLK
01!0420
RTS

:NEXT WORI) IS INSTRUCTlON,
iBR.o:-020

ROMCt.K PC:5304

PC

SETBR7:
;THIS SUBROUTIN£ SETS ElR7 BIT
ROMCLK
000600
RTS

INEXT ilDRU 1S INSTRUCTION, ROMCI"K PCsS3lf4
iB~200
PC

SETC:

053~0

i THIS SUllP.OUTINE SETS THE C BIT

05400
1:126724
.'2&726
...,2673J
'126137
1.126734
.J26736
1It2674~

hJ4414
fJlj)~777

",5600

1 .. 4414
•• 632216
'''4414
J60400
lOiI"207

0581'",
,.,6000
,.,6/100
0620;!
1>16300
,.,6400
06500
06&1'10

!e26142

",2&742
e26144
826746

f,OMCLK
000777
ROMCLK
063220
ROMCLK
060400
RTS

11::-1414
&.0.,777
?I""207

~7200

PC

SETZI
;THIS SUflROuTINt: sETS THE Z BU
ROMCLK
800777
RTS

,,&800
06900
,.,71>00
"71110

.. 2b7'50

iNEXT WORO :l: S INSTRUCTIOr., ROMCI.K PC=5304
:BR..377
;NEltT WORO 15 INSTRUCTION, ROMCI"K PCsS304
;SP(0)..sR
i NEXT WORD 1S INSTRUCTION, ROMCLK PC:5304
i BR":,,SP(0)+BIl

iNEXT IiORU
~ BR.o:-177

:l: S

INSTRUCT lOt.,

ROMCt.K PC"!)304

PC

ROtlOAT:

07300
"'7400

i THIS SUBROUTINE LOADS R5 WITH t:XPEI.:TEO flOM CONTENTb
; AND LOADS Rt -WITH ACTUAL ROM CONTENTs

075~0

1;2675'"
;:26751
~2676"

i,'2b 164
,,2677'tl
1426776
(."27000
(,2101114
(D27!'lt;l
"27"12

il176il0

0,,~e00

"b2110

::'11''''''02
0112000
H2322

tJ12111
(,1&005
l:32737
'.:014112
111".,,,5
.. 11>104
".,;,2,,7

"'''''~i1:2
1,'11>322
0""'006

01'1117;'

,.,7&00
.,7700
1:1181'10
11790;1
klIl0"'''
lIe 1"",
118:.!;JC>!
"'831"0
0B4':\;)
ft."5"",
.,1160>1
"R71'11J

MOV

~IT

i\(SP),R0
'2,(SP)
,BITt0, lRl)
I"OMAP(R0),R5
HHT!; STAT3

I'EI.l
' MOV
MOV
1<1'5

HIMAP(R0),RS
6(R1),1<4
PC

Ano
IAQV

MOV

1 $:

1$

; INL>~X FOR COM PARt;
i ADJUST s'rA(;/i.
;St;T ROMO
; PUT l>XPEC Tt.D IN R5 ( LOSPt;ELI)
; I"Ow Ok H1Gh SPM.L>1
:8R Lt- 1.011 bPEW
; PUT t;XPECTt.1l iN R5 ( HlbPI:.t;U)
iPUT "FOUND" 'IN 1<4
il1,,002

1~50130

t)50130
{l5H40

012320
0"'1372
012

~44522

11142503
042505
05211&
041505
041505
046105

004
"'04

Oi"270
0"4
Ioid1260

002

~i:l0"03

00&
,,161212
00&
11111270
ttl04
""'1264
;'00003
006
.. "t272
006
0"1270
004
t)IJ1252
IIId0002
003
0'" 272
003
1)161270
."'0002
006
2'lfI272
"06

004
004
002
004
004
"02
ale7
002
004
"'''2

OZO~G
MACYl I )f,l h146)
11-Jl'L-77
DZOMG.PI I
22-APR-77 09:29

;,;0532
.,27534
..'27536
.. 27540
(27542
927544
(l2754f>
!.-27550
1'127551
v27551
",7755&
IJn561l
1127562
1'27564

*,"1210
fU""003

1703
ui'l1272
003
.'1:11270
004
0"ll64
lI'00003
093
,,."272
003
006

~27566

V01252

0<1",,)02
il06
8111252
006
tJ\11254

~27604

000000
0001:100
""0000
1:271'140
027342

1'27606
IJ27610
1J27612
.27614
"27616
('27620
0127622
027&24
"27626
,,:17630
"'27&32
027631
!!2763b
0"'640
11127f>42
11276H
:)27646
,,27651:1
1/27652
.,27651
':27656
027&63

027d61
t1J77342
!}JH36
077040
017142
(!2H54
021115
1527342
1127472
0<'713&
627374
'/In510
;-;;t7136
"27374
e21'522
1"27152
107174
,:::.!751iil

",27602

IHillll''''

.,27664

111110"0;,)
0110110'"
(:/1204
1'27 342

~27b66

P2767"
'-27672
.:21&74
\;27676
·,277.n

004
002
007
004

il"127~

n27570
"27572
027574
"2757&
0:n&00
1027602
tJ21602

010

~27436

~-n5J4

;'172l2
~:njH

~.277"2

1·;n~Hl

~27n~

~t7217

1/102

004

002

~2"

020115
04&501
"46517
020120
04244.,
04644"

f/lJ;~"03

!d06
01111264
006

1llll
PAGE 55
SUBROUTINES

1<19801<1
1>891:10
"9000
"9101<1
092013
093t1J0
"9400
09511'0
1<19600
1<1"'300
0041')0
"1<151"''1
00600
00700
"o800
"'''900
01"00
011""
"1200
01300
"'1400
"151'10
"'1690
01700
111800
"1900
02000
02100
02200
02301'1
"'H0/,;
1<12500
02&00
02700
"'28C"0
112900
03000
'H100
03200
03300
"3400
. 03500
03600
03700
03800
03900
04000
04100
04200
04300
04400
04500
04&00
04700
04800
04900

1010 V
hIT
BEQ
MOV
RTS

'HIMAP, ROMMAP
PC

E142:
EMH
EM4:
EM5:
EM7:
Er.l10:
Ef4111
EMI2:
EM13i

.ASCIl
.ASCll
.ASCIl
.ASCIl
.ASCIl
.Ascn
.Asell
.ASCIl
.ASCll
.ASCI!

<377>/CRAM DATA ERRORI
<371>/CRAM DUAL AOORESSllHi t:RRORI
<377)/CROM DATA ERROl'll
<371>/JOMP ERROR I
<377>/OOT EIIROR IN ~BUS* RE~101
<371>/IOP MAR TI!:STI
<371>/8R RIGHT SHlF'T TESTI
<371>/RECEIYE DAlA E:RRORI
<37'1>/FREE RUNH lNG ~kRORI
<371>ICONTROL OUT ERROl'll

DHl:
DH2:
DHl:
.EVEN

.ASCIl
.ASCIl
.ASCIi!

<371>/ SEL4

IS:
EMU

'LOHAP, ROMMAP
'BIT1, STAT3
1$

<377>/EXPECTEO
/EXPtCTEO

PAGEl

0263

ILOAD POIN'II:.R TO LOW SPEEu
ICHt.CK STATUS TlIBLE
I BR- I F LOw SPEED
ILOAD POINT~R TO HIGH SPt.t.O
,RETURN

fOUND AO,!Rt.SSI
FOUNDI
SEL61

DTll

OT2:

flT3s

DT41

DT51

UT7:

DTte:

"'63"'''
06400
06500
0660"
06700
06800
06900
1<17000
07100
07200
1<17380
07490
"7500
07600
07709
/07800
"7900
08000
1'8100
08200
08300
08400
1<18500
08600
118700
0B1l0"
118900
"'91:100
1191011
11921\'0
09300
tl9400
09500
0961'10
1<197110
il9B00
09\10<)
1"\100
11-'11"'111
1"21'111
ld"'"
1040'"
1,''500

02&2

ITHE ROMMAP POINTER TO POINT TO EllHt.R TI1t. HIGH OR
;LOW SPEED MICRO-CODE.

.BYTE
SAVR2
.BYTE
SAVR4
.BYTE
SAVR/,;
3
.BYTE
SAVR5
.BYTE
SAVR4
.BYTE
SAVR2
3
.BYTE
SAVR5
.BYTE
SAVR4
.BYTE
tEMP3
2
.BYTE
SlIVR5
.BITE
SAVR4
2
.BITE
SAVR5
.BYTE

6,4
6,4
4,2
6,.
0,4
4,2 6,4
6,4

4,2
3,7
3,2
6,4
0,2

12:! 1 PAGE 56
SUBROUTINES
O5000
"510*,
"5200
05301:1
05400
05500
05600
05700
05800
05900
0&e00
06100
1'&200

PAIOEI

OTll :

SAVR4
3
.BYTE
SAVR5
.BYTE
SAVR4
.BYTE
SAVR2
3
.BYTE
SAVR5
.BXTE
SAVR4
.!!'!TE
TEMP]
2
.BYTE
tEMP3
.BYTE
TEMP4

3,10
3,4
4,2
3,7
3,4

6,Z
6,4
6,2

.ERRTAB:
0
0
0
EMt
DHI
OTI
E"'2
OHI
OTt
EM1,
OHI
012
EM)
DHt
DT3

IHLT
IHLT
,HLT
;tfLT

t..M4

OH2
DT4
E"'4
DH2
DT5
EII5
DM2
OT4

,HLT
PILT

;HLT

"0
II

t.r.l1
OHI
liT7

;HLT

11

:%1

II

1:.'~10

[)H.l
DT4

LMll

MACUI 3,;( \114&)
DZD'IG
I1-JUL-77
2l-APH-77 ~9:29
DZDMG.Pll
fJ71706

,,17342

~277H'

"77~52

1/127712
.,27714
l!:t77i6
"'277211

,127273
111'10000
0""ID00
£'27273
v27174
1027522
627117
0:.!7415
ti2757;!

~71722
~27724

tl27716
11'27 730

.,27732

1l:11
PAGI' 57
bUtlROllTINES

6;27734
3ID00iH

MACHI 3~!I U41:»
ll-JUL-77
DZO"'G
DZDMG.PII
22-APR-17 09:29
AORCNT:
AUOONE.
AUSTf71\H
CIISwf<4 88771"
CIIS"R'5 IH 0101 14
CLKX
»111242
CI,F
1 "44111
1>27734
~066"t.
L~1320

''''6510'
IU.I') 14
utlt'la6J
".,~ 216
I ~4415
""5204
liH4t 3
1~"137'"

01:. VTAt'

\~"'31110

DHJ

t'27H1

879*
569
568.
526
965*
95.
94.
85.
841
831
82.

BU
80#
2022
93.
92.
911
90.
B9.
88.
871
llG'

11871
1617
718
719
963*
512
\225.
1228.
1230.
12311
1213

1"1:>00
10700
10800
10900
1111'00
11100
11200

DHI
(Ill 0
E.M12

JHLT

13

0
E1412
DH2

"

JHLT

14

113""

D'i'S

11400
11500
1160O
11700
11800
1..1900
12400

E1413
OH3
0111

IHLT

15

IHLT

16

9241
613
969
115b
1149
1524

14b4
14b7
781
485
2079
5J1
1549
1139
1661
1144
1145
1523
1521
\492
Ib27
B0U
8"5'
9&6
719
1237

1543
1516
1478
572
2136
712
1556
1162

1239
1220

1246
1255.

1871
251;.!
11871
3b41
b23
11l1H
14('9

0264

PAGEl

0265

CORMAltI
.END

12111
PAGE 59
CROSS REFEREN~E TABLE -- USER SYMBOLS

915*
608
6&3
13&8.
9&8*
1155
531
1513

PAGE:

659'
1006t
15~2

1545

:.!717

2.729

1558
599
2308

1451
2366

1519
2424

1712
24112

1804
2540

2598

1553
15;;1

lS55
1564

1Sbi
1620

15b4
1622

Ib;'!2

:.!441

1155
1716

1156
181b

1449
2715

1547
1480
575
2193
1156

1719
1547
596
2250

18~4

1911

19b5

2454

2486

1164

1145
1265
1538
1523

1551
1661
1540
1535

lb35

1647'

970
811

986*
1026

10041
1212.

1005

1884
2544

2312
2557

2325
2570

2338
2682

2370
2615

23113
2628

239('
2645.

2428

1293
744

11160

1062

11:./2

1228

1711
1858
2499
b26
196
233'
6:<\
11871
630
l3t1
2734.
1187.
1951
1187.
137"'.
720
lIH9*
2411
1<)48*
237 f
fl77.
583
iHH

484

48b

738

74",

488
742

1>29

1076

1391

121l~*

1290

1292*

('43t

513
1430
~ij3·

1345
71>1
11<'52

71>2

Ll80'

11074

1"'771

1 "7,,

110731

912
64\j1

':#22'

1296

OZDMG
MACHt 3H 1046)
l1-JUL-77
OZO"'I>.Ptl
22-AF~-77 09:19
OH:l
OH3
OISPLA
OISPRF.
OMACTV
OMCM
OMCH.,0
OHCIl"1
OMCFi02
OfolCR03
OMCRI<)4
OHCR.,5
OMCP06
OMCR"'7
OMCR10
O"'Clllt
OMCP12
OMCP1]
OMC"14
OMCRI5
OMCRt6
0fo'CR17
OHCSR
OMCSRH
OMC1L
OMI'oUM
OMP04
OMPOb
OMRLVL

llJ7lH
"2HI~
tI"I~<1l'

tl0.:H 74

i)"'U"to
IM7320

vAtS"''''

:HIlS H)
""15211
£~I'H0

"01540
"015513
BlcH 561l
00157:3
001600

.-IU610
*'O1620
1)01630
';011>40
""lbS0
velo60
6016H'
1:10\404
","14Iilb
(11;;1410
1'101313
()In

412

"01B4
eal376

O~RVlC

~.H374

OM510"
OMSHH
OMSli!2
DMSl"3
O"SHH
0fo'S105
OMS106
01'5107
OMSlh'
OMS) 11
OMS112
OMS113
OMS114
OMS1l5
01'15116
01'15111
OMSU)-16
OMS207
O"S:tlil

IoJIH502
".'1512
001522
IohH532
ItlHS42
001552
1t01562
~"1572

00161il2
iU1I612
0011022
"'011032
IWI642
£;i'1652
1<)"1 .. 62
U,H672
ij01504
0"151 Il
I,HI1524
fdl534
~;'1544

Ihll554
";'15104
8;H574
""1604

27]H
273H
1421
128,
lR9'
1034
279.
2841
299.

4'18*

504*

735*

5114
521
111171

676*

677

OMTL~L

OMTVE.C
O".lNO
OM.MAP
OONt
OTt
OTt ~
0111
DT2

uTj

OT4
OT5
OT7
EMI
E~I"

EMll
EMI2
EMil
EM2
EM3
EM4

00161'

3261
33&'
3411
3461
3511
356J
282'
2871
292.

~1J1664

CiH6H
.01506
801516
031526
001536
""1546
""1556
.,015&6
B01576
r.f!H606
"01616
.,01626
6S"1f>36
"01646
001&56
""'1666
tliil1676
1'01402
1>"'140'"
""1700
"01500

rufII1234
"-2 7 012
l!'iH244
006J 42
1'05b72
fi1l6072
"~7544

IhH304
1J£15733
1:4b217
t;661 1 7
(';;,5760
rdb~05

0111322
f1ll6041
~06144

1062

96,
1082
585.
5941
1033
876.
1670.
1591
846
1231
20U
22lt
2211
853
1414
637
892
11871
,8l8*
158'
1980*
2221*
2479*
203.
875*
16671
160.
1641

1711
2484
172'
1058
831
737
984
198.
736
1061
743
11871
673
196.
714
668

618.

;4;
tal·

1065
640.

1<1116704

MTlTLE
MTSTN
MTSTPC
MVECX
NEXT

lol,,}0i1

NOACf
NOD"'V
NUM
OK
ONE
PACT"'"
PACT"l
PACTIl2
PACT;»
PACN4
PACT\lS
PACH:!>
PACT .. 7
PACTl'"
PACTII
PACT12
PACH3
PACTH
PAC'I15
PACT16
PACTI7
PARAr-' :
~;'Rft~i

PARtlU:
PAR"'HR
PASCtlT
PERt'OP=
Pf'TAtI
POPI'.' =
POf'tSP:
POP2SP:
P"IO
PS
PUSHR""
PUSHIS"
PUSH2S"
UV.tLG
RL5H,-G
R"'~1AH

REST"T
R"'StJS =
Rt,TUl:4H2
."'613;1
CdM)31
£61)103
IHII21b
1t'''7154
~"2b74
[;"'645~
~'''2b4b
~:H31V2

f<;1'1702
1,('17>'6
~dl712

£;,1171&

"""1722
.,,,1726
I."IHH2
r;jlH&
~"1742

1o?0174e.
~il1752

"01756
..... 1762
IlI176G
8"t772
~"177&

,,,4 ;O5
..

.,.,~,.,~

11871
741
1121
861
723
96.
235.
2307
1361
1059
118H
739
15H
2189*
523
577
11871
603
19"
365.
31)8'

905
2716
792*
490*
1806
2542

11871
954
1187'
994
700*
118,.
118,.
118,.
1590
11871
484*
11871
11871

(iil~71b

7ill

',,22t2&

74.
11871

r',~5H6

t 24/,11>

U8B
7119
2246*
118H
b16'
t 382
610'

B!;fS

t:1?I)N'

177716
I. 11'l046

1126
236'5
511
l1t1H

13Jl

884
162'
96'
1122
72'

,,(,b,) 0

1453
1187#
llYH
118711
11871

861i

~.:)431"

,'as'll!

i:iii

iiiB'i795*

138i.
103,.

18~e'

1482

,

b09

o!,"

0":'.:

~'~4.

~123-

615

9211
2731'
798,
12011
527

534-

1381

1394

1403

1441

1454

1478

16S~t

923.
814
2819.
22 6 5*
2SU'-

92.
816
2837*

1881·
2076.

2537*

1056
205"*
2305*
2555·

'796*
1034
1913

1.t~1

']

920.
2728
793
732*
1856
263;
1054

1869*

2568*

lUl*
2894*
233~*
.i 25~.

' 2363*
2613*

1036*
1967

1124.
2824

20 8 1

21"~8

1855

1063

1187.

1328

13~0

1288*

1293*

12~7

227.1~

23:23!

2ull.

18112*
2133.
2381*
2626-

1908*
2151·
23~4it

19252164*
2421*

1937*
21902439*

1962*
2208*
2452*

2195

22~2

2310

2368

242b

212l'

12041

745

PAIiEI
US~R

S¥!,80LS

1352
1346

1427

1437

1447

1462

1476

1738
2423

1739
2481

1803
2539

1853
2597

1910

1964

204!1

2078

21J5

2192

2249

168b*
2362*

1709*
2428,*

1736*
2478.

li802536*

185"·
2594*

19",7*

1961*

2~18*

2075*

2132*

139b

14 iii 5

141:14

1493

11IJ'i:.!*

111"5

1171

134~*

13' ''',

ll«;7

1330
1092
2304*
1282
b39

bH
711
b9.
731

Bllb

7i4*

1383
888
735

8971
746

904

711*

1b17"

Ib27*

790

771

9",6
1304*

908

"11j9*

803

112~1
1~~6

1j161
1413
41b"

t""H

".,IJ;l7

~,'4'

4Hl"

75"*

1:<1522>1

1<175
IH.B
749
2;>9.
1501

I",'a'
11141
753

"lbU

IIb5 J~,'
I'J3534
1 "41;07
: ,il "I ~

i'/"iE!

3711
3741

964

,:0111",

774
733"
1068.

12:1 1 PAGE 61
. CROSS JlEFERENCE TABLE _.

37H
380.
3831
386.
389.
3921
395.
39i1.
4"11
4041
4071
410.
225.

1.410:000

v-iH537

622

1"97=
108711
591
60S
1019.
983'
2719
793
882
1259'
507
897
1329 '
865'
lUI
11871
9011
1483
901
797*
t993*
2247*
2497*

MAC ¥t 1 3"( U46) 11-JUL-71
22-APR-77 09:29
DZDMG.Pl1

DZD~G

MODU
MPASSX
MPfAlL
MOM
MR
MRESE,T:
MSTCLRz

PAGE 62
CROSS REFERENCE TABLE -- USER S~MBO~S

396,
399.
402.

ERCH6
ERCT17
ERR
EI6
TST22 • li,2&462
__ .* •• 1I
TST:11
ISH
ell\c'Sl
IST4
• :tHou
TST5
",213/)2
IS16
823556
IST7
",:l3731>
ITS1
~"3"1 ~

1137
1 ~85

PAGE:
USt.k SYMBOLS

1712
2482

13"12424

DZDMG
MAC HI 31:1 ( 1 ~46)
11-JUL-77
DlD"'G.Pll
22-"PR-77 09:29

SWRt.G
SW01'
S"""'1
SIoIaJ
SIoI03
S",.,4
SW05
SW,,&
SIoII<)7
SW"'11
SW09
SIoIl"
SW11
SW12
SW13
SW14
S"15
Tt.MP
Tt.AlPI
n:MF2
TE.MP3

U: 11
PAGE 04
CPUSS FEt ERENCE TABLt:

I3n

1961
2018
2",75
2132
2189
2246
231'14
2362
16116
2420
2478
'2530
2594
1709
1136
1800
185"
19:'17
710;·
qb.

9/1
537*
538*
540*
27H
541542*

848
850
264tH

en

834*
4'11*
J0t 71355
20171
410141
713n
21R8.
2245'
231131
23bH
24191
17;)8 ~
24771
~~35'

25'131
IH5_
17'19'
11149 •
19"'0'
1'16""
716*

2640

71 B.

1343
23113*

1906*

0j/71

11-JUL-77
!lACY 11 )G( 11446)
DZD"G
2l-APk-77 09:29
DZlJocG.PI I
rYPDAT
TYPE

IId52116

= IdHfi\2
,,"'5106
.. 66526

TYPM~G

VI:;C
VF.C"AP
WHICH
WRDCNT
WRKO.f·

~12010

('121002

00471"
005114

xex

~105000

XCSR
XEPI'
XHI::.AD
XLOC
HASS
XSTAIQ
XTS1111
XYEC
ZI::RO
SCOo ,.
SCfiAP

SE/'UAO
SN

SS
Sy

I)d3546
""357,,,
~06224

."3022
803562
ilJ7454
'"<15330
(''''3554
rt"'13010
•• *.*_ U
177717

IhH'52:l

= "'16~022

,. pi:J.M21

= f010017
027734

.CNvYT
.CONvR

903152
\:'04472
1)04466

.DArAe

i>i05552

.UELAY
.EOP
.ERI1>1

1739.
1904

1910

2064
21 9 2
2357
2482'

2010
21\1)'
2359
2524
1086
1965'
231>2
2,.,7#
239.
109
277.
2 9 41
310'
326.
342'
515

11

11
1961
2308.
11
2311
108.
272'
292'
309.
325.
3411
3571
1378
690.
234
232
242
238
7311

1046
115

~d4151

e04050
"04070
,,,)4072
005466

• PARAM

411417 ..

.PfAIL
.I14

645

1676
1845.
21211
2353
2589,
7551
1681
1795
1911!
2072
2235
2365
2531
1688.
2018
2366.
215
2411
112'
279.
295.
311'
32H
344.
525
1542

16811
1896'
2124
2351f

16941
1899
21211
2408.

1697
19102'
21781
2411

1079
1683
1797

1688.
1803

1694

!95!l1

!95~

2078
2241
2366#
2533
1709
2022'
2420
211'
2431
119'
280'
296'
312'
329#
345'
651f
1546

2079,
2243
2408
2539
1711'
2075
24241
219.
245.
1241
28tt
2971
31U
330.
346.
675
1593

1958
2121
22 4 9
2U5
2540'
1736
2079.
2478 •
2211

6581

18164~

1211
282'
2 9 9.
315 •.
3l1i
347~
1110
1624

196.
2127
2250'
2417
2582
1739.
2132
2482'
223'

1ll'

~t8u

2466#

18010

2136'
2536
225.
135.
285'

2&.4'
300'
316.

3171

31,2'

334'

349.
112O
1656

3101'

350'
1168.
1659

20';'7

2135
2299

:.!42U
2591
181i1U
21119
2540'
2:l71

Ij7#
2&6.
3*'2.
319,
3"35'
3511
12~3'

28'11
3841
320'
336.
3'521
1205'

171>6.

21010-

~118

231i7

2473
2598.
18!)"
224&
25981
231'

3371

354.
1260

1733
1896
2021
2184
2308.
2475
2640'
1907
2250'

1738
19102

2022'
2186
~3S0

2481
1.91U
2304

2331

235.

191'
290'
306'
322'
339.
355.
1263

192'
2911
310;'
3241
34 lit
356'
1284

955#
9541
1159::

1132.
2594
273U
1026#

DZDMG
MACHt 31H 1046)
l1-JUL-77
22-APR-71 09:29
DZD"(,.P11
.INSTE
• INSfR
.INSll
.MSG
• MSTCL

PAGE 06
CROSS RE~ EkENCE TABLI:;

12: 11

12111 PAGE 67
. CROSS RErEREN~1:: TABLE -- USER SYMBOLS

8611
840 •
8&4
845#
1143 •

224
222
8441
842236
22t;
113
230
24'"
228
216
218
132
244

478
943t
1148#
929'
779'
11111
476#
1110.

117

hllU

214.
220

1~19

g12#

822'

11071

1115

492

1247

PAGEl

0273

OZ[)M(,
MACYlI HHltl41>J
11-JUL-77
OZ[)MG.Pl1
U-AI'R-77 09: 29
OMt:NO
OMfRl-IT
HLT

SAUTO
SI:lIlllS11
$I!UHE
SCOMP
SCRAM
SCYCLt:
St:OF
Sf'INl
$GETPA
$HEAOE.
SJUMP
SMARHI
SMOCK
SMSG
SPfAlL
SQUEST
SRAMCL
SRCLK

11

PAGE. 09
12: 11
CkOSS REfERENt: E: TABLE -- MACRO NAMES

PAGE:

725

11

75 ,
2,,61
2347
2637
11
11

111>4
2105
2392

11127
2119
2405

2149
2437

t 880
:H62
2450

1893
2175
2463

1923
2206
2495

1935
2219
2508

1947
2232
2521

19'18
22/)3
2553

1991
2276
:.!566

22119
25/9

2035
2321
2611

:l0t8
2334
2624

1838

1896

1950

21o!~7

2064

2121

2118

2235

2292

23~0

2408

241>6

2524

25112

11
11

1187
1103
1381

1394

1 4~3

1492

1491

1t

1131

11

1134
1887
2040
711>9
2326
H57
7616

1137
1915
21o!42
2199
2328
2487
2618

1114
1917

1179
1927
2"55
2211
2341
2500
2&31

1744
1929
2084
2213
2371
2502
2648

1746
1939
20862224
2373
2513
2650

1748
1941
2097
2226
2fU
2515
2652

1755
1970
2999
2255
2386
2545

1758
1972
2110
2257
2397
2547
26&8

1814
i 993
21 i2
2268

1859
1985
2141
2270
2429
2560
2684

18u
19!16
2143
22111

1972
1999
2154
2283
2442
2573
2694

1974
2027
2156
:2313
2444
2603
2696

H
Ii

11
11
H
11

17';4
2092
2319

1~67

:.!~~4

547
172S
tl99
11>91
1211
725
21>40

11
11

11
11
If

t-

t 985
2~29

2167
2315
2455
21>IlS

2~53

22';0
2JJ9
2499
2/)29

266~

23~9

2558
2616

24Jt

2571
2692

27~4

$RO'lNU
$HOMRO
$SCoPI:.
SSI'IBC
SSOfTC
$TRPOE

11
11
11

11>73
t71>6
775

11

l'

1207
215

217

219

221

223

225

227

229

231

233

2~5

2~7

239

241

11
2411

1683
2475

1700
2533

1733
2591

1797

t847

1904

1958

2015

2072

2129

2186

22~3

2301

2359

1681
2064
2413

11>94
2070
25..!4

171'.14
2121
2531

1725

1731

1795
2235

1845

22~1

22~2

1896
2299

19k12

2178
2589

1766
2184

1838

2127

1950
2357

1956
24118

11

20
$T5TH
SVARIA

$lI.z

• A1!5.

II

134

l'
2007
HIS

1&73
2013
24bb

~'21734

"""

ERRORS OlTECTt:OI
OZUMG.llZOMG/SOL/CRf_lPLUTL.OZDMG
PUN-TIME: h' 13 I SECONDS
HUN-T IME kA TIO: 1&1124"'1>.9
COPE U5(:;1):
( 41 PAGES)
2lK

2582

23~0

0274



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : No
XMP Toolkit                     : Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:56:37
Create Date                     : 2013:11:26 17:43:58-08:00
Modify Date                     : 2013:11:26 17:48:01-08:00
Metadata Date                   : 2013:11:26 17:48:01-08:00
Producer                        : Adobe Acrobat 9.55 Paper Capture Plug-in
Format                          : application/pdf
Document ID                     : uuid:c6339ed9-a02e-451c-9313-b20e643f6cbb
Instance ID                     : uuid:43e25ab4-40fc-43b1-937d-24f2acc8cdcf
Page Layout                     : SinglePage
Page Mode                       : UseNone
Page Count                      : 146
EXIF Metadata provided by EXIF.tools

Navigation menu