Skip to main content

Full text of "xerox :: alto :: AltoEIA"

See other formats


XEROX 



Internal Memo 

To EIA Board Users From RickTiberi 

The following notes document specifics of which the user should be aware when 

developing software to deal with the EIA interface board. 

Subject NotesDateDecember 5, 1977 

1) SIT instruction. This is the Alto emulator instruction used to enable polling of 
the EIA interrupt status. If it is necessary to disable interrupts from the EIA 
interface alone, it may be tempting to try an SIT with ACO = 0. However, note 
that since (see Alto Hardware Manual) the instruction OR's its state from ACO, 
this will not work. The following sequence should produce better results: 

DisablelnterruptsO 
letoldBits = ©ITIBITS 
©ITIBITS = 
EnablelnterruptsO 

//no EIA interrupts here 

©ITIBITS = oldBits 

SIT(3) 

Note that the final SIT(3) is necessary because the interval timer may have 
received an interrupt while in the disabled state and turned itself off. 



2) Status. Reading the status word causes the board to begin setup for reading the 
Data register. This makes it impossible to read the status more than once per 
interrupt; if a second attempt is made, the input data will appear instead. This 
condition is reset by the control command to acknowledge the interrupt 
(resetlnterrupt). 



XEROX 



Internal Memo 

To EIA board users From RickTiberi 

The streams package provided to drive the EIA interface boards provides the following 

interface to programmers: 

Subject EIA Streams 

package Date December 9, 1977 

Files. The package is divided into two files, EIAStream.br and InitEIAStream.br. 

This division is to allow the initialization code to be overlayed. InitEIAStream.br 

contains only the Open routine, and thus may be thrown out after all opens have been 

accomplished. The file EIAStream.d contains definitions of the EIAStream structure, 

control and status word formats, and various other useful definitions. 

Procedures. 

OpenEIAStream(inBufferLength[0], outBufferLength[0], async[false], baudRate[300], 
dataSet[falsel, halfDuplex[false], noParity[false], evenParity[false], dataBits[8], 
stopBits[2], syncChar[SYN], fillChar[NULL], line[0], interruptMask[#400], 
stackLength[1001,zone[sysZone], errorRoutine[CallSwat]) = a stream. Buffer 
lengths are in words. Baud rate is in actual baud (300, 600, 2400, etc.). If 1.5 stop 
bits are desired at 5 data bits, 2 stop bits should be specified. Line is [0..7J, 
indicating the switch setting on the board to be used. Stack length is for the 
interrupt process; the default should be sufficient for normal use, but more space 
may be required if elaborate error routines are used. 

Gets(EIAStream) = the next available character, or -1 if the buffer is empty. 

Puts(EIAStream, char) = true or false, indicating whether or not there was room in 
the buffer for the character. 

Endofs(EIAStream, out[false]) = true or false. If out is false, indicates whether the 
input buffer is empty; if out is true, indicates whether the output buffer is full. 

Stateofs(EIAStream) = the last status word returned on the line associated with the 
EIAStream. 

Resets(EIAStream) = a null operation. 



Revisions 



LAL 



Rev 



Description 



Date 



Approved 



B 



B 



Added Note to sheet 2 paragraph A section 1 .1 



10-17-78 



Corrected Add List Sheet 2 was J06-115 and J 15-1 15 



10-30-78 



Deleted WireWrap sheet 2 -Clarified addressing sheet 5 



06-12-79 



FILE:[OLY]<REYES>SCCM-EIA-KIT.PRESS 



Dist Code 



These drawings and specifications 
and the data contained therein, 
are the exclusive property of 
Xerox Corporation and/or Rank 
Xerox,Ltd. issued in strict confi- 
dence and s'all not,wlthout the 
prior written permission of Xerox 
Corporation or Rank Xerox,t. be 
reproduced,copied or used for 
any purpose whatsoever except 
the manufacture of articles for 
Xerox Corporation or Rank Xerox. 



Notes Unless Specified 



1. Tolerances 
.XX 4.03 
.xxx' + .OlO 



Angular 
♦ 1/2° 



2. Break All Sharp Edges 

.OlOApprox — 

3. Mach. Surfaces 
4.AII Dim. in Inches 



Drawn 



R.REYES 



Check 



Appr. 



Material 



Xerox Corporation 
El Segundo, California 



XEROX 



Assy, Kit-EIA Serial 
Communication Control 
Interface 

(CHARTED) 



Model No. 
Fi rst Use 



Next Assy. 

First Use 



Ninish 



Code Ident 
18338 



Scale 



Size 
A 



Dwg. No. 

217406 -Charted 



Change Letter 
D 



Do Not Scale Drav,ing 



I 



Sheet 



Notes: Unless Otherwise Specified 



A. The Serial Communication Control Module Kit configuration consists of two (2) 
kits identified by a dash number. 

1.0 Kit Assembly No. 217406-001 is the basic configuration consisting of: 

1-SERiALCOMMUNtCATtON CONTROL MODULE ASSY 217328 

1-SERIAL COMMUNICATION CONTROL RIBBON CABLE _ ASSY 217405 

1-DATA SET CABLE ASSY 217049 

1-PLATE, CONNECTOR ASSY 217335 
2-SETS CONNECTOR MOUNTING HARDWARE 
1-NAMEPLATE 



1.1 Modify Alton backplane per Add/Delete list. Typewrite nameplate as follows 
and adhere to top surface of the processor chassis. ASSY, KIT EIA SERIAL 
COMMUNICATION CONTROL INTERFACE DWG. 217406.Charted 



Delete: 



ADD: 



From 



To 



J05-1 
J06-1 

J05-1 
J06-2 
J06-1 
.JOe-62 
JOe-53 


J06-1 
J07-1 

J06-2 
J07-1 
J15-1 
J 15-62 
J06-54 


joe-116 

J15-116 
J10-13 


J15-54 
J16-54 
J11-109 



Note: 

GATEWAY MICROCODE SOFTWARE REQUIRES AN ALTOII 
WITH EXTENDED MEMORY OPTION (THOUGH ONLY 
~64K OF MEMORY IS REQUIRED) 

ALTO'S NOT USING THE GATEWAY MICROCODE SOFTWARE 
AND DO NOT HAVE THE EXTENDED MEMORY OPTION 
INSTALLED— DELETE WIRE J10-13 TO J1 1-109 FROM 
ADD LIST. 



1 .2 Install Serial Communication Control module (SCCM) in processor J06 (line 0). 

1 .3 Remove connectors J1 thru J7, power cable and pov^er cable strain relief from 
connector plate P/N 216418. Remove existing connector plate and return to 
stock, replace v^lth connector plate P/N 21 7335. 

1 .4 Install Serial Communication Control ribbon cable Assy. 21 7405 on J03 of 
Serial Communication Control module (even numbers up). Install 25 pin and 
socket connectors on rear connector plate. 

2.0 Kit Assembly 21 7406-002 additional Serial Communication Control module(s). 

1 -SERIAL COMMUNICATION CONTROL MODULE ASSY 217328 

l-SERIAL COMMUNICATION CONTROL RIBBON CABLE (INTERNAL) ASSY 21 7405 

1-DATA SET CABLE ASSY 217049 

1-SERIAL COMMUNICATION CONTROL MODULE INTERCONNECTION CABLE (INTERNAL) ASSY 21 7404 
2-SETS CONNECTOR MOUNTING HARDWARE 
1-NAMEPLATE 

2.1 Install additional SCCM(s) in processor J15, (line 1) and J16 (line 2). 

2.2 Install Serial Communication Control ribbon cable Assy. 21 7405 on J03 of 
Serial Communication Control module (even numbers up). Install 25 pin and 
socket connectors on rear connector plate. 

2.3 Install Serial Communication interconnection cable Assy. 217404 on J02 of SCCM 
line 0, SCCM line 1 and SCCM line 2 odd numbers up. 

B. Connector 25 pin presents the Serial Communication Control module as a Data 
Terminal Equipment (DTE). 

Connector 25 socket presents the Serial Communication Control module as a Data 
Communication Equipment (DCE) 



These drawings and specif ications^and the data 
contained therein, are the exclusive property 
of Xerox Corporation and or Ranlc Xerox^Ltd. 
issued in strict confidence and shall not, without 
the prior written permission of Xerox Corpora- 
tion Ranl( Xerox,Ltd., be reproduced, copied or 
used lor any purpose whatsoever, except the 
manufacture of articles lor Xerox Corporation 
or Rank Xerox. Ltd. 



Title 
Assy, Kit-EIA Serial 

Communication Control 
Interface 



Xerox Corporation 
El Segundo, California 



XEROX 



217406 -Charted 



Sheet 



Ot 



C. Control Word Format 

1. Initialize Interface Circuits (INITIF) 

BO B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15 







LINE 



DS HD S 5TD X BAUD RATE 



LINE: ADDRESSES CONTROL WORD TO SELECT LINE CONTROL: UP TO (3) FULLY PROGRAMMABLE, FULL DUPLEX LINE 
CONTROLS MAYBE ACCOMMODATED IN ONE ALTOII PROCESSOR. 

DS: WHEN SET, SELECTED CONTROL WILL COMMUNICATE WITH A DATA SET; DEFAULTTO DATA TERMINAL. 

HD: WHEN SET, SELECTED CONTROL WILL OPERATE HALF-DUPLEX; DEFAULT FULL DUPLEX. 

S: INDICATES ALTO SENDING WHEN SET(1) IN HALF-DUPLEX. 

STD: SETS SECONDARY REQUEST TO SEND (2SCA) TO ON WHEN SET AND INTERFACE IS TO DATA SET. SETS SECONDARY 
CARRIER DETECT TO ON WHEN SET AND INTERFACE IS TO DATA TERMINAL. 

BAUD RATE: SELECTS BAUD RATE AT WHICH LINE WILL OPERATE. 

BITS- 12 13 14 15 12 13 14 15 12 13 14 15 



1 

1 



1 



50 

1 75 

134.5 

1 200 
600 



1 







1 2400 

9600 

1 4800 

1800 

1 1200 



1 2400 

1 1 300 

1 1 150 

1 1 1 110 



2. Initialize Receiver/Transmitter (INITRT) 

BO B1 B2 B3 B4 B5 B6 B7 B8 B9B10B11B12 B13 B14 B15 



LINE 



NDB 



^PBI^/SPOE^SB 



NDB: SELECTS NUMBER OF DATA BITS PER CHARACTER. 
BITS- 7 8 DATA BITS 





1 

1 
1 1 



5 
6 

7 
8 



NPB: NO PARITY BIT WHEN SET. 

A/S: SELECTS ASYNCHRONOUS (UART) OPERATION WHEN SET ; DEFAULTTO SYNCHRONOUS OPERATION (USRT). 

POE: SELECTS EVEN PARITY WHEN SET, ODD PARITY WHEN NOT SET. 

NSB: SELECTS NUMBER OF STOP BITS PER CHARACTER WHEN ASYNCHRONOUS OPERATION IS SELECTED. SELECTS 
2 STOP BITS WHEN SET; 1 STOP BIT WHEN NOT SET (EXCEPTION: SELECTS 1 .5 STOP BITS WHEN NOT SET AND 
5 DATA BITS ARE SELECTED). 



3. Initialize Registers (INITRG) 

BO B1 B2 B3 B4 B5 B6 B7 B8 



LINE 



B15 



^/S DATA FIELD 



F/S: WHEN SET CAUSES DATA FIELD TO BE LOADED INTO USRT TRANSMITTER FILL CHARACTER REGISTER. WHEN 
NOT SET DATA FIELD WILL BE LOADED INTO USRT RECEIVER SYNC CHARACTER REGISTER. 



These drawings and specif ications,and the data 
contained therein, are the exclusive property 
of Xerox Corporation and or Rank Xerox,Ltd. 
issued in strict confidence and shall not, without 
the prior written permission of Xerox Corpora- 
tion Ranic Xerox,Ltd., be reproduced, copied or 
used for any purpose whatsoever, except the 
manufacture of articles for Xerox Corporation 
or Rank Xerox. Ltd. 



Title 

Assy, Kit Serial 
CommunicationCont rol 
Interface 



Xerox Corporation 
El Segundo, California 



XEROX 



217406-Charted 



Sheet 



Of 



C. Control Word Formats continued. 



4. Generate Controller Resets (Reset) 



BO 


B1 82 83 


84 85 86 


87 


88 


B9 


810 








815 


1 


1 1 


LINE 


D 


RRT 


RR 


X X 


X 


X 


X 


«l 



D: GENERATES A LINE DISCONNECT/ MASTER CLEAR OF THE SELECTED LINE WHEN SET. 

RRT: CLEARS THE RECEIVER/TRANSMITTER (UART/USRT) WHEN SET. 

RR: RESETS SYNCHRONOUS RECEIVER, CLEARS STATUS REGISTER, RESTARTS SYNCHRONOUS RECEIVER 
IN THE SIT TRANSPARENT MODE FOR SYNC SEARCH. 

5. Force the Deselected Control to Request an Interrupt (SWI) 

Bo 81 82 83 84 85 86 87 815 



LINE 



Z! 



6. interrupt Acknov^ledge to the Selected Line (INTA) 

80 81 82 83 84 85 86 87 815 



LINE 



D. Status Word Format 



80 81 82 83 84 85 86 87 88 89 810 811812 813 814 815 



CD 



Rl 



SI 



LINE 



SRDRDA 



T8 
MT 



SCR FCT 



r^PE[^OR^FE 



1 . Interface Status (High Order Byte) 

D: DISCONNECT FLAG: WHEN SET, THIS SIT INDICATES LOSS OF RS.232 LINE; DATA SET READY IF DATA SET 
INTERFACE IS SELECTED. DATA TERMINAL READY IF DATA TERMINAL INTERFACE IS SELECTED. 

CD: CARRIER DETECT FLAG 

Rl: RING INDICATOR FLAG 

SI: SEND INDICATOR FLAG: WHEN SIT IS SET, INDICATES PRESENCE OF CLEAR TO SEND IF DATA SET INTERFACE 
IS SELECTED. REQUEST TO SEND IF DATA TERMINAL INTERFACE IS SELECTED. 

SRD: REMOTE HALF-DUPLEX 8REAK: IN HALF-DUPLEX THIS SIT GOING TO A ZERO SIGNALS A BREAK BY THE 
REMOTE RECEIVING STATION. 

2. Receiver/Transmitter Status (low Order Byte) 

RDA: RECEIVE DATA AVAILABLE. 

TBMT: TRAKjSMIT BUFFER EMPTY. 

SCR: SYNC CHARACTER RECEIVED (USRT) 

FCT: FILL CHARACTER TRANSMITTED (USRT) 

RPE: RECEIVE PARITY ERROR 

ROR: RECEIVE OVERFLOW ERROR 

RFE: RECEIVE FRAMING ERROR (UART) 

INTP: INTERRUPT FLAG: INTP' s D' ♦ CD» ♦ Rl ♦ SI* ♦ RDA ♦ TBMT ♦ SCR ♦ (SRD' SEND HDUP) 



These drawings and specif ications,and the data 
contained therein, are the exclusive property 
of Xerox Corporation and or Rank Xerox.Ltd. 
issued in strict confidence and shall not, without 
the prior written permission of Xerox Corpora- 
tion Rank Xerox, Ltd., be reproduced, copied or 
used for any purpose whatsoever, except the 
manufacture of articles for Xerox Corporation 



Title 

Assy, Kit Serial 
Communication Control 
Interface 



Xerox Corporation 
El Segundo, California 



XEROX 



217406-Charted 



Sheet 



Of 



E. Data Word Format (Receive or Transmit) 



BO B1 B2 B3 B4 B5 B6 B7 B8 



B15 



X X X LINE 



DATA FIELD 



F. Serial Communication Control Module Addressing 

THREE DIP TYPE SWITCHES HAVE BEEN PROVIDED ON THE PRINTED CIRCUIT BOARD 





lol h 




> 
^ 


Id l2 




N |3 



LSB 



MSB 



SWITCHES ARE SHOWN IN THE OPEN POSITION (000) SCCM LINE POSITION ZERO. 



These drawings and specif icatlons,and the data 
contained therein, are the exclusive property 
of Xerox Corporation and or Rank Xerox,Ltd. 
issued in strict confidence and shall not, without 
the prior written permission of Xerox Corpora- 
tion Ranl( Xerox,Ltd., be reproduced, copied or 
used for any purpose whatsoever, except the 
manufacture ot articles tor Xerox Corporation 



Title 

Assy, Kit Serial 
Communication Control 
Interface 



Xerox Corporation 
El Segundo, California 



XEROX 



217406-Charted 



Sheet