Digital PDFs
Documents
Guest
Register
Log In
EK-DMCMP-MM-001
2000
200 pages
Original
10MB
view
download
OCR Version
9.0MB
view
download
Document:
DMC11 IPL Microprocessor Maintenance Manual
Order Number:
EK-DMCMP-MM
Revision:
001
Pages:
200
Original Filename:
OCR Text
DMC11 IPL microprocessor maintenance manual dlifgliltiall EK-DMCMP-MM-001 DMC11 IPL microprocessor maintenance manual digital equipment corporation ¢ maynard, massachusetts e A A ——_ e ———————————— Preliminary Printing, May 1976 Copyright © 1976 by Digital Equipment Corporation The material in this manual is for informational purposes and is subject to change without notice. Digital Equipment Corporation assumes no responsibility for any errors which may appear in this manual. Printed in US.A. The following are trademarks of Digital Equipment Corporation, Maynard, Massachusetts: DEC DECtape DECCOMM DECUS DECsystem-10 RSTS DIGITAL TYPESET-8 DECSYSTEM-20 MASSBUS PDP TYPESET-11 UNIBUS CONTENTS Page CHAPTER 1 INTRODUCTION 1.1 MICROPROCESSOR GENERAL DESCRIPTION CHAPTER 2 INSTALLATION 2.1 SCOPE UNPACKING AND INSPECTION 2-1 2.2 OPTION DESIGNATIONS 2-2 2.3 MECHANICAL PACKAGING 2=2 2.4 2.5 PREINSTALLATION PROCEDURES 2-5 General Information 2-5 Preinstallation Checkout Procedures 2-6 2.5. 1 2.5. 2 2-1 2-9 2.6 INSTALLATION 2.7 DEVICE ADDRESSES 2.7. 1 2.7. 2 2.7. 3 2.8 2.8. 1 2.8. 2 2.8. 3 Introduction 2-12 Device Address Selection 2-15 VECTOR ADDRESSES Introduction 2-18 2-18 vector Address Selection 2-19 CHAPTER 3 PROGRAMMING INFORMATION 3.1 INTRODUCTION 3.2 INTERRUPT VECTORS 3.3 PRIORITY SELECTION 3.4. 2-18 Floating Vector Address Assignment INSTALLATION CHECKLIST 3.4. 2-12 Floating Device Address Assignments 2.9 3.4 2—-12 2-20 3-1 3-2 3-2 PDP-11 PROGRAMMING INFORMATION Introduction Unibus Control and Status Registers Input Transfers Output Transfers Initialization DDCMP Start Up Data Transmission 0.‘ ¢ 3-3 3-3 3-20 3-22 3-24 3-26 3-26 CONTENTS (Cont) Page 3. 4.8 Data Reception 3. 4.9 Control Out Transfers Maintenance Messages -4.11 Remote .4.12 Power Fall .4.13 Data wwwwwwwwwwwwwwwww .4.10 Set Load Recovery 3-35 REGISTERS N w NPR Control b Microprocessor Miscellaneou s Register N NPR Bus Registers 0-7 Register Address and Data Registers G OV B Control 3-46 Register Modem Control Sync 3-50 Register 3=-53 Register 3-55 Switch Selectable Registers Maintenance DETAILED 3-56 Register 3-56 DESCRIPTION SCOPE 4-1 MICROPROCESSOR DESCRIPTION 4-1 Introduction N W CROM, D Main Memory U CROM and the O DMUX SROM N 4-1 Microinstruction Word Formats ALU 0O 3-45 3-46 Register Y N In 3-43 3-46 In/Out Data Silo Registers Control 3=37 3=-37 UNIT REGISTERS Out 3-36 3-36 OUT BUS*/IN BUS* LINE 3-33 3-35 Control Introduction O U O O SR SR - S -N R T 3=-32 MICROPROCESSOR CONTROL AND STATUS CHAPTER 4 NNN!\)NNNNNN}—' 3-29 Load Detect and Down Line i S ©) B O mo\mmmmmmmmmmm .5 i 3-28 MAR, and BR, PC BRANCH 4-1 MUX 4-14 4-17 Maintenance and Associated Scratch and Pad Memory Multiport RAM Y cy REG 4-20 4-21 Logic 4-22 4-27 4-28 CONTENTS (Cont) Page 4.2.10 Maintenance CSR 4-34 4.2.11 Microprocessor Clock 4-37 4.2.12 Address Selection Logic 4-41 4.2.13 NPR Control Logic 4-41 4.2.14 Interrupt Control Logic 4-44 4.2.15 Line Unit Interface 4-46 4.2.16 Typical System Timing 4-49 CHAPTER 5 MAINTENANCE 5.1 SCOPE 5.2 MAINTENANCE PHILOSOPHY 5.3 PREVENTIVE MAINTENANCE 5.4 TEST EQUIPMENT REQUIRED 5.5 CORRECTIVE MAINTENANCE 5.5.1 APPENDIX A Diagnostic Modes PDP-11 MEMORY ORGANIZATION AND ADDRESSING CONVENTIONS 7 CHAPTER 1 INTRODUCTION 1.1 MICROPROCESSOR GENERAL DESCRIPTION operate, This manual provides the information necessary to install, covers and maintain the DMC11 Microprocessor. Specifically, it to the DMC11-AD Microprocessor which has its ROMs configured operate under the discipline of the DDCMP protocol. It is organized into five chapters and two appendices as follows. Chapter 1 - Introduction Chapter 2 - Installation Chapter 3 - Device Registers and Programming Information Chapter 4 - Detailed Description Chapter 5 - Maintence Appendix A - PDP-11 Memory Organization and Addressing Conventions Appendix B - Integrated Circuit Descriptions In this manual, the term DMC11 denotes the DMC11 Network Link which consists of a microprocessor module and a line unit module. Explicit references to these modules may Or may not be prefixed by the term DMC11. The DMC11-AD Microprocessor module 1is designated M8200. Where the carrier computers facilities, synchronous The DMC11 DDCMP line the systems are number of interfaces to transmission by using speed Extensive in firmware detects a 16-bit are a protocol. offered with instructions result throughput is speeds and delayed PDP-11 by or by is the of interconnecting Check (CRC-16). retransmissions. messages DMC11 over hardware is greatly no longer and software simplified. required time implementing the protocol. As the DMC11 the processor are conventional processor when L duplications. and because the microprocessor. memory enhanced to implementing automatic omissions common 209. channel that combination expertise wasted DMC11. no high ensure Programming the tasks. with and Redundancy headers programming priority Cyclic message order a the necessary, require not on when communications is errors 208 via interface data advantates a to reliable proper implement configured connected models in which be and Bell corrected, in can remotely as using numbers delivered A such protocol by located DMC11s protocol DDCMP Sequence modems ensures The Errors are has operates to when are a not direct at high perform high ad There are two versions of the line unit. The M8202 high speed line unit is intended for local network applications using coaxial cables. at 1M bps The M8201 or The M8202 contains an integral modem that operates 56K bps. low speed line unit has no integral modem but contains level conversion logic to interface with EIA/CCITT V24 or CCITT V35 compatible modems at speeds up to 19.2K bps and 56K bps, respectively. 2 The M8201 Stuff and M8202 line units can operate with DDCMP and Bit protocols. The line unit is not a stand alone device. a DMC11 Microprocessor. A separate manual line It must be used with (EK-DMCLU-MM-001) covers the M8201 and M8202 units. The Microprocessor is a general purpose control unit providing a full duplex parallel data interface between any PDP-11 central processor and a given DMC11 Line Unit. processor/line unit combination, family With the micro- computers can be configured in many different network applications. Where the computers are located at the same facility, DMC11s can be configured for high speed operation (56,000 or 1,000,000 bits-per-second) inexpensive coaxial cable. over The necessary modems are built-in. —— o e, A+ Other DMC11 ® Down-line ® Ability loading to computer (M8200) features of system by include: satellite initialize an o— S 53 s computer incorrectly command over the systems. functioning link satellite (Remote Load remote, full Detect). ® ® Same PDP-11 software half duplex configurations. Recovery link ® A the DMC11-DA binary NPR serial speed modem The other line system case interfaces M8201 failures of is unit directly interface the is because to used or both Figure 1-1. a for with as a ends or of a data the the from data the Electronic used Shown by 1is commun- DMC11 to Industries nearly all standard. with identical local synchronous specification, M8202 of in converts compatible function however, either illustrated interface is or data. manufacturers unit at local transfers. line format RS-232C low this losss (DMA) (M8201) The Association overall power configuration ications. a without 16-bit typical from supporting an to integral that built-in coaxial of the modem, cable. modem. The M8201. the M8202 In w7075 (1028W) T DT < ~QDV This configuration operation (Figure Figure tween two two 1-2 the coaxial tain full defines bit an output dQuplex addressed by The unit for cable for half duplex full duplex operation. the general interface contains bits. The most unit register is being unit register to be INPUT line buses; unit. First, is input one separate In eight the an buses line are unit, using the there bus used the beare and to data the sus- source INPUT/OUTPUT the bits Simultaneous During microprocessor bit read. read. The registers. the significant bits. three any Two bus, register, addressing data detail bus. the into. coaxial microprocessor uses OUTPUT and operation. which other greater bus. the address line in parallel register the single cables microprocessor eight is the a 1-2). other is or uses is The During held other a write select significant the addressing line on the operation, uses four addressing show bits that bit four is an and line the which 1line uses different enabling register INPUT a select operation, uses unit read to three microprocessor most low a to OUTPUT be bit and written buses 1is possible. The remaining and control data strobe bus, the information signals. control to the signal 1line interface, unit such as delivers clock timing sync and L/IM A.TAYOWTW | (0026W) WIGOW WOS04 O0Y v ! | 4 —~ @Q D W 1-7 Data transfers the form bus cycle, of writing UNIBUS and are device 0-7 the three common the the interrupt (DATO) The between of CSR's composed accessed by addresses addresses are indicating consists word BSEL2 and handshaking CSR's which port. data This the port program (through BSELO) the READY BSEL4-7 1IN. RQI. completes setting 4-7. should The the Similarly, the READY The data is etc...). sets of and addresses These Select (BSEL) SEL 0, of BSELO and BSEL1, BSELO and BSEL2 are 2, 4, through 6 for a common BSEL4-7 (SEL 4,6). to transfer data to the DMC11, a REQUEST (RQI) and a up the The by DMC11 the data IN responds PDP-11 and drops NPR (CSR's). device Byte in the (DATI) 76XXX7. as are through loaded takes to transfers passed. then are Registers through and They reading bytes consists accessed be DMC11 bytes, wishes processor by program, RDYI SEL2 data the function setting and which exchange. DMC11 OUT PDP-11 then to eight interlock is PDP-11 describing clears BSEL3, the referred (SELO PDP-11 Status 76XXX0 individual transfers and and of henceforth of program Control the transactions. sequence, DMC11 indicating and bus are for When DMC11 clear transfers (RDYO) with program, RDYO, data a after to the function reading releasing the PDP-11 after the port program having required for by loaded BSEL registers, further use. g mrn” R The DMC11-AD (M8200) is referenced as a microprocessor throughout this manual as well as in other related documentation. nts. This is due to the fact that ROMs are used as controlling eleme The ROMs act as compact logic arrays that replace a large amount of distributive logic. For example, a 2048 bit ROM is organized as 512 words of 4-bits each. 512 words of 16-bits each. and in unalterable. same the produces Combining four of these ROMs produces Fach word in the ROM is pre-programmed When addressed, a specific word always output. The information stored in the ROMs at the word level can be called / / microsteps. Executing an appropriate series of microsteps 1is — called a microroutine. It can represent a particular instruction The combination of microroutines is called a or function. ! 5 i § microprogram. —— S o As the microroutine is being executed, the ROM output signals are sent to the appropriate circuits 1in the microprocessor to perform the instruction or function that is represented by the microroutine. 5 @ MWEEFAT . o WIS o pen B PR it St 1 - As illustrated in Figure 1-3, the DMC11 essentially connects the UNIBUS to the line unit interface through internal registers. This allows the data to be processed by the microprocessor as it passes between the two buses. The processing is dependent on the microprogram residing 1in the microprocessor. Currently, a microprogram is available to accommodate the DDCMP line protocol. 1-9 \ | \ PROGRAM COUNTER T CAOM g g FUNCTION SOURCE ROM - ROM UN/BUS INTERFACE Figure 1-3 ALY AND DATA REG! S TERS 1l OESTINATION | ROM - LINE UNMIT INTERFACE Microprocessor Simplified Block Diagram | The block hence the diagram in Figure the microprogram microinstruction is microinstruction then which perform on control the registers in The and DMC11 more by microprocessor are available: 19.2K bps, up to The 56K local The DMC11-MA feet The in 18,000 one as flow in address and 1K of ROM. Certain bits for determine 4 a processor, a program counter word. Chapter consist foot version of covers and with two cable. (PC) Each bits three of the additional what operation these internal at to 1is modules ordered synchronous 1M bps, EIA/CCITT operation separate Each four operation remote microprocessor pad line local with V24 line local V35 unit versions operation compatible CCITT separately. modems compatible at 56K up to modems module (hex SPC) a ROM implementing memory, and a unit module operation at UNIBUS (notched 1M bps includes the DDCMP a 300 nsec protocol, interface. hex) over includes coaxial a cable built-in up to 6,000 length. DMC11-MD modem a microprocessor, for bit resembles bps. scratch modem unit operation DMC11-AD bipolar residing serve local and It has sixteen data much detail. line One remote a operands. interconnected bps, very term microprocessor. addressing ROM's 1-3 for line local feet in unit module operation at (notched hex) 56K bps length. 1-11 over includes coaxial a built-in cable up to Coaxial cables BCO3N-AO0 are coaxial One 1s for full-duplex required . e not included cable for is two versions use the same conversion cable that of logic V35 is LS DMC11-DA is EIA/CCITT V24 modems their or DMC11-FA V35 interface. is e < e g s 100 operation ft and unit. Optional lengths only. two required are Wttt 4 mtmr i o . remote line Both interface. to O A 9 AW v ——— e shipped The match it SR W TP with to SR a unit, DMC11-DA versions accommodates interface The o s (M8201). supplied A S WISV et the that O European in line operation. module CCITT [IRRPE—— The either —— The the available half-duplex EER— and with contain EIA/CCITT V24 only difference is specified DMC11-FA, level the the T and \ interface the modem interface. / / ] 25 foot accommodate BCO5C cable for the or 209 synchronous cable for the is used in Digital Data Service Bell 208 equivalent. shipped This networks and with a 25 synchronous in the foot BC05Z interface domestic 1-12 CCITT certain (DDS). CHAPTER 2 INSTALLATION 2.1 SCOPE This chapter provides all necessary information for a successful installation and subsequent checkout of the DMC11 micro-processor subsystem. 2.2 AND UNPACKING INSPECTION The microprocessor/line unit system combination arrives at the customer site in one of two ways, either as a part of a complete computer system or as an add-on option. When it arrives as an add-on option, the microprocessor module, line unit module, and associated mounting hardware and cables arrive packaged in a Inspect the carton visually for any signs of single carton. Included in the contents of the carton are the physical damage. following. 1. M8200-YA Microprocessor 2. M8201 3. BCO08S-1 M8202 or Cable Line Unit Module Module (Interconnects microprocessor and line unit) . 4. BCO5C-25 Cable (M8201 EIA/CCITT V24 interface only) 5. BCO5Z-25 Cable (M8201 6. H325 Test 7. 12-12528 Coaxial Cable Test Connector 8. MAINDEC-11 Connector CCITT V35 interface only) (M8201 only) (M8202 only) DZDMC Microprocessor Basic W/R and Up Test 9. MAINDEC-11 DZDME Line Unit DDCMP 10. MAINDEC-11 DZDMF Line Unit Bit 11. MAINDEC-11 DZDMG Jump and Free 12. --=-- DEC/XII 13. ==-- ITEP 14. EK-DMCUP-MM-001 Microprocessor 15. EK-DMCLU-MM-001 Line 2.3 OPTION There is only one and protocol only. various its line ROMs 2.4 MECHANICAL unit E The microprocessor or 3 in later, the installed be into slot 1 Test Test Unit Manual Manual in or available. configured and a cables to are It is implement listed any a 4. microprocessor hex). DD11-C, DD11-B into installed of (notched Rev or Running in designated the Table DDCMP 2-1 and PACKAGING consists module are units respectively. DMC11 Line Test Test microprocessor 2-2, The One Stuff DESIGNATIONS DMC11-AD The System Test These DD11-D module must or DD11-C. of the single modules or The remaining plug line then the and a into any DD11-B SPC into unit slots. (hex) plug equivalent always DD11-B, module system either module Should line unit may two line unit. slot 2 be DMC11's module plugs Table 2-1 Line Unit Option Designations Option Description DMC11-DA M8201 Line Unit Module with cable for EIA/CCITT v24 interface DMC11-FA M8201 Line Unit Module with cable for CCITT V35 interface /"\ DMC11-MA M8202-YA Line Unit Module with 1 Mbps integral modem and DMC11-MD no cable M8202-YD Line Unit Module with 56 Kbps integral modem and no cable Table Line 2-2 Unit Cables Option BCO3N-AO Description 100 ft. M8202 BC05C-25 25 BC05z-25 25 Line ft. Line Unit EIA/CCITT cable with connectors. Used for use DMC11-DA use with with Module. V24 cable with Unit. ft. Unit. coaxial CCITT V35 cable for DMC11-FA Line The the slots of vicinity DD11-B, the of C, and D System C, D, E,and module plugs into Unibus cable connector and short that are installed Unibus terminator and B. The two modules and a 2.5 one-foot are BC(08S-1 General Installation done in installed this manner apart from the line also of both (approximately slot the in.) 2-1/2 connectors A and connector 40-pin provides is Next, with an third checked the line additional and combination final is as a unit and DZDMC. module DZDME and confidence is 1In installed MAINDEC-11 factor for the involves installation phase the be stand-alone module DZDMG which verifies microprocessor should physically MAINDEC-11 with MAINDEC-11 MAINDEC-11 the unit microprocessor verified unit. The execution of status v, and the microprocessor microprocessor. the over PROCEDURES operationally verified DZDMR which fits cable. First checked the the and a BERG microprocessor/line phases. then F in end by The Interfacing Units. Information of three length interconnected PRE-INSTALLATION 2.5.1 and connectors in the installed be to and M8202 been has connectors B and A the the M8201 allows This removed. end the in module the corner of a result, As not required. B are connectors A and edge so module interface with the Unibus not line unit does the operational line unit as a free running test. Additionally, this test checks the contents of the — ROMs A (microcode) minimum MAINDEC Check of 8K and of BRANCH memory is instructions. necessary for execution of the diagnostics. the power supply microprocessor/line +5 the volt supply is to unit insure total against current approximately 8 overloading. requirements Amperes. The for the Additionally, the ; — line unit logic and requires the Installation integral requires can be are 2-1/2 in. hex slot while either backplane. Rev an E or *15V the or two less. silos line adjacent input DD11-C, backplane or The DMC11 unit fits microprocessor higher, equivalent the and the level conversion modem. UNIBUS the The for is that SPC slots, terminator slot microprocessor into can DD11-D Hex or be any of if the which modules requires a in the DD11 installed in the DD11-B in the backplanes. PDP-11/04 or Such PDP-11/34 Computers. 2.5.2 Preinstallation Before must be installing performed. the Checkout Procedures microprocessor module, the — full slot equivalent used one following functions - 1. Verify that not removed be factory The in The the is installed. field. automated the with Verify with It module device paragraph a BRS5 priority that switch numbers jumper removed testing clock address to only should at inhibit the the logic. must be selected in must be selected in 2.7. address paragraph that This is microprocessor microprocessor vector accordance 4. W1 microprocessor accordance 3. in during oscillator 2. jumper 2.8. card is installed in position E75,. 5. Verify package located package, and Switch 7 is switches switches the in Run 8 and Inhibit 7 position and E76 9 are 1-6 are used 10 are not used. (RI) in for the both OFF. the switch which vector is ground and the CLEAR input of the RUN flip-flop. OFF and normal sets the RUN flip-flop conditions, the RUN immediately. malicious cannot be initialization of flip-flop Because directly an internal microcode during power up, switch 1In this address connected between Normally, cleared. it 1is Under the microprocessor directly which allows the microcode of DIP to be executed malfunction or execution it for is possible the of microprocessor load the Inhibit Switch the Switch 9 program line all is line in the to the the Byte in a loaded. in the loading to maintenance be 1 When the the Processor via is not possible Placing the RUN the flip-flop to Run and loaded. (BS1) application set, it fault. clears Lockout closet" operation Now, position Sel PDP-11 Unibus. determine ON diagnostics "computer down hang diagnostics allows the to the BS1 switch. where switch from all link. is related programs prevents preventing DMC11 It a This a are runaway boot or switch down inhibits functions. NOTE The M8200 M8201 and to | \ Before installing the microprocessor remove the NPR Grant pins CA1 and CB1 that is going to on the wire for accept the line unit M8202 Line power requirements. The local DMC11 or DMC11-MD Line that M8200. slot that or the Do is | slot not going to M8202). one load to the Unibus and no load to the Unibus except (DMC11-AD bus j between for the (M8201 requires runs backplane present configuration Unit) the presents Units for the accept remove Microprocessbr wire (M8200) , Microprocessor placement nearest and to the DMC11-MA the NPR transactions of te ra gh hi e th to e du is is Th r. so es oc PDP-11 Pr it (1 Mbps) Un ne Li -MA 3%1 DMC e th e, pl am ex r Fo . ed ir qu re that are ery 8us . requires an average of one NPR ev INSTALLATION edures in ut proc After completing the pre—installation checko 2.6 ion paragraph 2.5.2, proceed with the installat as follows. per backplane pro 1. Insert the microprocessor module in the slot. ion of the operat 2. Run MAINDEC-11 DZDMC to verify correct microprocessor. DIAGNOSTIC NOTE ng a 1f the installation is in a system usi t does PDP-11/04 or other PDP-11 Processor tha switch not have a switch register, a software r the same register 1is used to allow the use er is switch options. If a switch regist 7), the available but contains all 1s (17777 Refer to software switch register 1is used. nt for the appropriate diagnostic docume further details. Check all appropriate the line in Chapter unit 2 module switch in settings accordance INSTALLATION of the and with line jumpers the unit on recommendations manual (EK-DMC11LU-MM-001) . Insert the line Interconnect BC08S-1 cable mating an the which with unit line is H856 a male connector is unit in on the and one-foot female connector H854 module long 40 On the M8202 On the M8201, install On the other end of the this the and M8201 Line BCO5C-25 cable, end. mylar The this J1. on flat cable microprocessor, designated and each using unit the J2 on slot. line On designated conductor microprocessor connector. is backplane microprocessor connectors the proper Unit cable connect Line it to Unit, is H325 it J1. connector the is J1. test connector. On the which two On M8202, ties 3-foot the within the install two cables M8202, the 12-12528 coaxial are check pigtails soldered that specifications. the Refer 2-10 coaxial to together. the integral to the test connector These M8202. modem line clock unit is manual. ly voltages are pp Oon the backplane, check that the su s. within the following tolerance Backplane Voltage Min +4.75 -14.25 +14.25 Pin C1A2 C1B2 C1U1 Max +5.25 -15.75 +15.75 Nominal +5.0 -15.0 +15.0 /""\A 9. rect line Run MAINDEC-11 DZDME and DZDMF to verify cor unit operation. —~ 10. e unit/ Run MAINDEC-11 DZDMG to verify correct lin also tests microprocessor operation. This diagnostic . the microcode and BRANCH instructions 11. Remove the test connector. 25 cable For the M8201, connect the BCO05C-25 or BC05Zto the customer supplied modem. CAUTION The maximum allowable length for the BC05C and BCO052 cables is 50 feet. 2-11 For the M8202, connect coaxial cables or the the pigtails optional 100 to the foot customer BCO3N-AD0 cable. 2.7 DEVICE 2.7 .1 ADDRESSES Introduction Starting with assigned floating devices are used a in 2.7.2 Floating 1. 2. the to be DJ11, new communications addresses. The devices addresses for are to current be production retained. system. Floating Device device addresses The floating extends to The devices are DuU11, introduced Same type are address and DQ11, Address must assigned Space location in DMC11, be assigned follows: at location (octal order and production. as starts 764000 assigned DUP11, into Assignments then by designations). type: the Multiple contiguous 760010 next DJ11, DH11, device devices of addresses. the The first modulo address 108 be a modulo A of left the be 10 left that No any left type contains on device a 10_ of one list that the last The device of the DH11 type the has must gap not and must used, equivalent assigned a DH11 device A is on bus- boundary, 8 device. used. four the type is start address next on it to because modulo address must one starting boundary the after device to of if a gap indicate follows. devices can be inserted ahead of a device on list. additional system, they original devices must devices type devices make room The of type The last following nothing new the If for be it 208 the address device should if starting 8’ between first the 2 on registers. be new registers. eight gap a boundary, addressable must of of already for following assignments be the on list assigned are to be contiguously the same type. in the system added after Reassignment may be to show typical of required communications 2-13 floating devices in a a the additions. examples for the device system. other to Example 1: No DJ11s, 2 DH11s, 2 DQ11s, 1 DUP11, and 1DMC1. j “M—— 760010 DJ11 gap 760020 DH1 1 #0 first address 760040 DH11 #1 first address 760060 DH1 1 gap 760070 DQO11 #0 first address 760100 DO11 #1 first address 760110 DO11 gap 760120 DU1 1 gap 760130 DUP1 1 #0 760140 DUP11 gap 760150 DMC11 #0 760160 Indicates first address first address no more DMC11s and no other 2 DUP11s, devices follow. Example 2: 760010 DJ11 #0 760020 DJ11 gap 760040 DH11 #0 760060 DH11 gap 760070 DQO11 760100 1 DJ11, 1 DH11, 2 first address first address #0 first address DQO11 #1 first address 760110 DQ11 gap 760120 DU11 gap 760130 DUP11 #0 first address 2-14 DQ11s, and 2 DMC11s Example 2 (Cont.) 760140 DUP11 #1 760150 DUP11 gap 760160 DMC11 760170 DMC11 760200 Indicates first address #0 first address #1 first address no more DMC11s and no other devices following. 2.7.3 In Device the floating always 1s PDP-11 memory are With the The 1 device switch 8 address located are used. address bit numbers are (Figure 2-1). in the the address bits 13-17 Appendix addressing line. selection package switches processor). and (closed), address and PDP-11 switches on (760010-764000), A shows conventions. decoding logic decoder looks for a Bits 1 2 0, and are are 0 the Bits 3-12 (Table on 2-3). the decoded to registers. package positions - by Unibus of of space organization switch associated Selection address (function selected select Address the The is in position correlation shown switch rocker switches type in are E113. contained All between 10 numbers and switch The ON numbers are marked on the and pushed the DIP in 2-3. to one switches Table are in and OFF package. desired the The position *oemiceBenimB $1/9B7-£74-* -- L S ) am— * L e - 11 - E TS0 L1 R TM | - - oL)47 | 3 [ 1 4 R 51 8£tG/~ SCOtdwNFI NGSQIYITY= T--y———v—- 41 LAG7N3SmYIl(LFI=SGQfI)HL=NNIA(ONLIO)T7— = dISNT 1| 2-16 SL 5 |[e9z3 e 11 1 — W Sp9JSUIDOuIJ3PTOeMSYA Table Guide Switch Bit No. No. 10 9 12 11 2-3 for Setting Switches Select Device Address 10 to 7 6 5 4 1 Device 9 8 7 6 3 Address X 760010 760020 X 760030 X 760040 Vg X X 760050 X 760060 X X 760070 760100 X 760200 X ' X 760300 X 760400 X X 760500 X X X X X 760600 760700 X 761000 X 762000 X X 763000 X 764000 X NOTES : N 1. X means 2. Switch switch off (open) numbers are physical to respond positions 2-17 to in logical switch 1 on the package Unibus. 1. 2.8 VECTOR 2.8.1 ADDRESSES Introduction Communications This for devices eliminates the the maximum are assigned necessity number of of each floating assigning device vector address that can be addresses. absolutely used in the system, 2.8.2 Floating 1. Floating Vector vector addresses The floating proceeds Address are assigned address upward to Assignment space 777. as follows: starts at Addresses location 500-534 300 and are reserved. 2. The devices DL11-A, 3. B; are assigned DP11; DM11-A; PA611 Reader; DJ11; DH11; GT40; DUP11; DV11; If type any If must move be by type: DM11-BB; DT11; VT20; DX11; DQ11; DC11; DR11-A; DL11-C, KW11-W; KL11/ DR11-C; D, E; DU11; DMC11. additional they order DN11; Punch; LPS11; device assignments 4. PA611 in up is not to devices devices of devices already the same in fill are assigned used in the to be the added address to the systenm, after the original Reassignment system 2-18 system, vacancies. contiguously type. a may be of other required. type 2.8.3 Vector Each drive (two words) Address interrupt which is The address octal number end in 0 and bit vector seven or 2 that using 4, (2-8) only is specified Unibus 1 or to addresses data and 0 as least 4). The a bits are the the four address even-numbered vector determines (0 requires all bits address bits vector implies constraint vector Selection 0-8. not end octal to 0 the (they control processor a A further or 4. binary-coded, Because specified interrupt in digit, significant PDP-11 addresses. must three locations vector are digit logic represent must always of 0) the send only the vector address. The in DMC11 the is shipped interrupt addresses: RDY form XX0, and XX4. For this by the digits 3-8 on a 1 The logic of (Table the control I RDY O not by 2-4). of a vector generated on address in the This generate the The are associated selection position vector addresses of two line; E76 vector state most are (Figure 2 is the by in switches a 0 is switch data 2-1). lines generated ON (closed), in one line. contained Only 6 of form selected octal switches in the package are used for the vector address. 2-19 of significant the Unibus bit vector the addresses of (open), with switches installed two the OFF card generates determined switch data selection logic generate operation, address Unibus priority logic. switch. With is located BRS5 interrupts method associated package a interrupts the vector with DIP the The 10 correlation between Table 2-4. The marked on the package. pushed to the desired 2.9 The ON and INSTALLATION following features 1. of Power 3. numbers the switches are rocker The is switch type shown in numbers are and are the important position. a concise checklist of installation. Requirements +5V @ 4.0 A M8201 +5V @ 3.0 A +15v @ 0.03 A -15v @ 0.31 A +5v @ 3.0 +15Vv @ 0.18 A -15vVv @ 0.46 A Unibus A Loading M8200 presents one Unibus loads. present no Special Installation a. bit and M8200 The and positions represent DMC11 M8202 2. OFF numbers CHECKLIST items the switch Unibus Microprocessor Before installing, that runs The M8301 and M8202 Requirements M8200 wire load. remove between the pins NPR CA1 Grant and CB1 continuity on the backplane -— f Guide Switch Bit for Switch Setting No. No. Table 2-4 Switches to Select Vector Address 6 5 4 3 2 1 Vector 8 7 6 5 4 3 Address X X X X X X X X X X X 300 310 X 320 330 X X X X X 340 350 X X X 360 370 X X X X X X X 400 X X X 500 X X X 600 X X X 700 Notes: 1. X means switch off (open) numbers are physical to produce a logical 0 on the Unibus. 2. Switch positions in switch package 2. for If the a system wire b. must M8200 or slot that is change be going to requires accept removal the of M8200. the M8200, replaced. Microprocessor configuration closest with Local Line Units (DMC11-MA to the must PDP-11 be placed Processor on the because Unibus of the rate of NPR transactions that are required. 4. M8200 a. the DMC11-MD) This be _ placed before Microprocessor Address Switch a DB11-A Switch Selection Bus Repeater if high It must alsuu/ one is used. Settings (E113) No. Address 1 3 2 4 3 5 4 6 5 7 Bit -/ j _ 6 8 7 9 8 10 9 11 10 12 Switch OFF (open) Switch ON (closed) to to respond respond to to logical logical 1 on 0 on Unibus. Unibus. b. c. Vector Selection Switch No. Vector 1 3 2 4_ 3 5 4 6 5 7 6 8 OFF (open) Switch ON (closed) to produce Remaining Switches in E76 Switch 7 is RUN Switch 9 is BYTE Unit Shipped a. Switch (2) and Switch as (1) 8 to Bit Switch Switches Line (E76) produce INHIBIT 10 SEL 1 (RI) a logical 0 on a logical 1 and should be LOCKOUT (BS1) are not used and Settings and Jumper and should the on the Pack M8202) - Switch Pack M8202) - All All No. 2 (E87 switches No. 3 (E88 switches on should be should on be M8201 should be and E90 on E91 on OFF. and OFF. be OFF. Configuration M8201 Unibus. OFF. Settings Switch Unibus. OFF. (3) b. The 2-2. Switch Pack M8202) - shown in jumpers No. The (E26 switches Figure should 1 be on M8201 should be and E29 on positioned as 2-2. configured as shown in Figure 7 * Switch DMC11-DA DMC11-MA/MD M8201 M8201 M8202 1 OFF OFF OFF 2 OFF OFF OFF 3 OFF OFF OFF 4 OFF ON OFF 5 OFF OFF OFF (3 OFF OFF OFF 7 ON ON OFF 8 ON ON OFF 1 IN IN IN 2 IN IN ourT 3 ourT ouT ouT 4 IN IN ouT 5 ouT ouT ourT Jumper No. DMC11-FA No. 6 Not Present Not Present OUT (FD) IN (HD) and E29 NOTES : * Switch pack no. 1 located at E26 on M8201 M8202. FD Full Duplex HD Half Duplex Figure 2-2 Switch Configuration of Pack Line No. 2-25 1 on Jumpers Unit and on \.,./ -~ CHAPTER 3 PROGRAMMING 3.1 INFORMATION INTRODUCTION This chapter programming is contains of presented the by DMC11 transfers, Unibus control status registers, etc. and information in categories Also status and line this information Microprocessor. operational output The general included registers, unit chapter In such are as input and status as follows. Para. Vectors 3.2 Priority Selection 3.3 Information 3.4 Introduction 3.4.1 Unibus Control Input Transfers and Status Transfers Registers 3.4.2 3.4.3 3.4.4 Initialization 3.4.5 DDCMP 3.4.6 Start Up Data Transmission 3.4.7 Data Reception 3.4.8 Control Out Transfers the and registers. Interrupt Output of control 3.1 Programming information transfers, Introduction PDP-11 PDP-11 the descriptions arranged Description for general, microprocessor control is necessary 3.4.9 No. Description Maintenance Messages Remote Detect Power Load Fail Microprocessor Line Unit 3.2 The Para. 3.4.10 and Down DMC11 and Status generates two vector addresses: (microprocessor output addresses the interrupts XX0 - port and 3.3 priority via a plug-in PDP-11) XX4. The address XX0 occurs and the SEL6) In at (RDYI) address data, Interrupt PRIORITY to vector form or Ready with The that at (SEL4 interrupt port the generate input (BDP-11 addresses of interrupts conditions to the form generate that initiate are: asserting An of interrupt the - 3.5 VECTORS XX0; XX4 Registers 3.6 interrupts An 3.4.11 3.4.12 microprocessor) vector Load Registers INTERRUPT and Line Recovery Cnontrol No. the and XX4 Out the PDP-11 microprocessor Interrupt occurs microprocessor Enable when when, Enable after asserts requests responds In. (IEI). charging Ready by Out the (RDYO) (IEO). SELECTION for the interrupts priority establishes BR5 as selection the is selectable card. priority It level. is on the shipped microprocessor with a card 3.4 PDP-11 3.4.1 PROGRAMMING Introduction Programming the DMC11 describes how registers together and status a PDP-11 In order to be familiar are handled with by is to the protocol of of the communicate implementation of implementation should a DDCMP, for and transfer of describes details of these formats, details and program of unusual the DDCMP useful error different the the is in not protocol necessary some provided computers. which programming the protocol to These familiarity interpreting two DDCMP and DMC11 operation. However, interface, person consult it protocol counters the device control cases. DMC11, microprogram. is of level status level connecting with system control first the various circuit DMC11 The and operation the the levels. program details DMC11 the interrupt transfer the two PDP-11 second data at uses between successfully significance quality the including initialization, described program with The transactions, the is information microprogram. with INFORMATION the to assess If a uses the DMC11 a software software standard document. 3.4.2 Unibus Control Communication of and uses the (CSR's). 76XXX4, DMC11 These 76XXX5, and control are eight Status and status bytes addressed 76XXX6, and Registers of as information control 76XXX0, 76XXX7. and between status 76XXX1, These device the PDP-11 registers 76XXX2, 76XXX3, addresses are subsequently for referred indicating SEL6 for to as individual indicating Byte bytes Select and as 0 to SELO, 7 (BSELO SEL2, - BSEL7) SEL4, and — words. NOTE The Control and implemented (RAM) . up in Status with Thus, random at Registers Random power states. Access on, As Memory the part CSR's of microprocessor initialization, (SEL0-6) of bit lower 15 cleared of order cleared the are SELO 8 (RUN) bits first, of Due microprocessor, cleared before with the to the the come the the CSR's is set. (BSELO) high The are speed registers of are access by data port that and the PDP-11. to the microprocessor the -) exception which SELO are PDP-11 is possible. BSEL4-7 comprise between the information Input Output to be which from from Transfer, confused are reception. 32 bit microprocessor Transfer, information a the often abbreviated the microprocessor often with called PDP-11 abbreviated sending sending or and IN or is used The to The to the PDP-11 OUT OR receiving transmission, data and informationuwj transfer 1I. O. pass is of called transfer is These on of called terms the or an are serial receiving an not line BSELO controls input BSEL1 contains bits concern which is to can not PDP-11 the be A program functions in from BSEL1 initialize an As reference for each are register 3.4.2.1 This CSRs to on controls output maintenance purposes which the clearing which the also shown RUN or PDP-11 Input comprises 3-1. A are MASTER module of CLEAR prevents other no bit BSEL?2 the maintenance microprocessor's computer bit transfers. microprocessor. the the tabular the performing disable Figure in DMC11 microprocessor would in contains the programmer, shown - BSEL2 It unattended is BSELO register for and initialize switch to Unibus used programmer. used used. transfers ability system. assignments detailed for the description of form. Register the low byte of address 76XXX0 (Figure 3-1). Bit 0, 1 Name TYPE (TYPE INPUT I) Description These bits transfer Bit 0 1 define as Bit 0 the type of input follows. 0 Buffer Address/ Character (BA/CC In I) 0 1 Control 1 0 Reserved 1 1 Base In Count In (CNTL (BASE 1I) I) o69y9/|1/°2/B)o\e|7DQ058|iAt0g|W/‘iItmS|He2T77o5N08e|VTL1TINT|D0|S8LTYW)FNOESV/)).|Tk|2O42 \|&A99gswm9_1rq%\i9w//emH5\E-\],/\\A.,0\\\Nw//\\&.\>S\@iQ&\xSg\k9nAg\mN_SVSWi\ITsa&Y.Y0\qRoaY¢\\y0A\1S|Y\\I\NmY0\2/7\7wS\Smb7Ij\>Y\~Oi\H\%:\\Lo\z\aSd\N|@R|N292* N\ — N el SN/EIN/DTIOyLNIODNTONYDSNdLVOLSSLSUHW¥YIOFSLS/OTY A1R AAR7 A, es-e ATNAN 9 w's i 3-6 JJ a— o 77777777 Ro 0 P Q /C SE, AND CNTL F E———— DDDDDDDDD 1111111 Figure 3 -1 ©Unibus Cont andr Stao tus l Reg isters 3.4.2.4 BSEL3 - Reserved ." f«";‘ 4 3.4.2.5 »."’" & f Data gd}t Message Formats - The dagx'port is representeé/fl by addressi§/76xxx4 and 76XXX6. The firnghalf of the port is 76XXX4"}KECh includes BSEL4 and BSEL?X” The second half of/the port isx76XXXG, which includes BSE%K/and BSEL7. ,’ The port is loaded by the Pbgf{i/on input transfersg‘nd by the / V4 type (TYPE I or TYPE 0). s / In discussing/éhe data port messagelfibrmats, it is sometimes more i convenient/yé use word designatii?‘ (SEL4 and SEL6) than byzé ! designatigns (BSEL4-7). / ;r. / / / K / / yf | / g ' .J ) A fi 4 There¢ are four formats: /’ / s /// y / _, - Buffer Address/cgflgacter Count Input and O&tput (BA/CC I and BA/CC O) Formapf; The formatsalgr BA/CC I and BA/CC O are the same (Figure 3-1). SEL4 contains 18-bit of this buffer the least address. address are significant The two ccntaiqéd in 16 most bits bits (0-15) significant 14 and 15 of the bits (16 of SEL6. and 17) The remaining 14 bits (0-13);5f SEL6 contain the character count in / ppsitive notation, not 4'8 complement notation. Lo A4 Bit 0, Name 1 TYPE (Cont.) (TYPE Description INPUT 1I) Each (Cont.) of these in detail. 00 = Buffer Utilized is a the with PDP11 to use 18-bit for bus character The the the to 01 = Control (BSEL the 4-7) the protocol In - use from purpose and/or This transferring a 14-bit microprocessor. be used the the by expressed number. When of of must of In port and the binary positive Count (RQI). data address count requests explained microprocessor character a IN purposes count as for REQUEST to 4-7) is Address/Character request (BSEL an transfers with data RQOI, port microprocessor transferring process control information. 10 Reserved 11 Base I - Base address which, requests from the In when the provides used with a ROTI, microprocessor use of data purpose of transferring 18-Bit Base Address (power fail) bit. port (BSEL and up 4-7) to RESUME base an the for the Bit 02 Name IN Description I/0 Defines Input the Flags (receive) For example, new BA/CC, need to be etc.) Output BSEL 4-7 of buffer for a Set the PDP-11 message be a would this out, to R contained whether transferred for (transmit). microprocessor knowledge block or if the (BA/CC was or a a received. RESERV ED REQUES T (RQI) IN by transfer. the data serves Cleared has as an used to port (BSEL up been request by interlock request 4-7) use in order of data program. The RQI bit of transfer of to from is as an input PDP-11 bit the bits type the loaded. 40 by to to when This bit which is the data transfer the PDP11 accompanied defined by bits 2:0. INTERRUPT ENABLE When set, allows the microprocessor L] INPUT (IEI) vector RDY I. interrupts to XX0 having set to Bit Name 7 READY IN Description (RDY 1I) This is RQI. the a microprocessor When PDP11 loading This asserted, program the bit is data to indicates to to proceed with port (BSEL 4-7). cleared microprocessor it response at by the the end of an input MASTER CLEAR transfer. 3.4.2.2 This and CSR is PDP-11 all BSEL only and control MASTER CLEAR for normal user All functional the functions high byte These bits if MICRO- are BSEL of 1 between functions LOCK OUT 76XXX0 is the override however, set. This (Figure 3-1). Description This bit when set PROCESSOR processor (STEP cycle, composed pulses. The cleared before MP) than read/write; address Name STEP other communications microprocessor. functions. is Register maintenance the comprises Bit 8 all intended program register Maintenance contains not other 1 function. steps through one of RUN the micro- instruction five 60 flip-flop executing nsec clock should this be control Bit 9 Name ROM INPUT Description (ROM I) When set, BSEL 6-7 to 10 ROM (ROM OUTPUT 0) be directs as the executed next by STEP MP When Set, modifies is for BSEL the addressed 4-7 MP LINE (LU UNIT LOOP) LOOP is This out to back done is at be is at LU LU its source the contents er paths next executed when LOOP of STEP N and shifted approximately RUN is the a 10 Kbps the EIA LU LOOP 10 before level UNIT LOOP the clock : L data out or in. RUN is set data rate. connector free This cleared, only line in. LINE and in a the set of serial level, is back not by TTL asserted line shifting at end serial is for when units When clock loop the set the the line and clocked H325 microprocessor )& CROM the set available When microinstruction function conversion. STEP - asserted. to control the bit of asserted. connects is contents the when microinstruction 11 the is cable mode, running If the installed with RUN data clock 1is of Kbps. ; N 3-10 I Bit Name 11 LINE (Cont.) (LU UNIT LOOP) Description LOOP The (Cont.) require 1 cables STEP LINE (STEP UNIT LU) unit the This to 13 RESERVED 14 MASTER CLEAR the the loop back. operates at the set, both the this case. function is used in RUN the MASTER to enter This CLEAR bit is is the controls bit also CLEAR is set is and shifts. and the line cleaning. is enabled asserted. temporarily allowing idle the shifts, initializes self clock flip-flop PC When receiver microprocessor by RUN LOOP. tranmistter microprocessor 15 LU MASTER This rate in the When clock The modem with negated, CROM's adapter provide when RUN coaxial units pig-tail conjunction the line unit control unit. Kbps line integral asserted, o 56 12-12528 at of 12 a and installed line — Mbps the The and The cleared microcode state. microprocessor by BUS clock. initialization Bit 15 Name (Cont.)RUN Description (Cont.) or (Cont.) MASTER CLEAR microprocessor cleared for switch (BS1) RUN from which enables clock. RUN maintenance is being program processor malfunctions. Chapter INSTALLATION 2 information when concerning which by microcode can be states. provided cleared the a the A prevents runaway micro- Refer for more the BS1 to switch. 3.4.2.3 This BSEL register transfers register 2 contains from 1 the comprises Bit 0, Output Register control information microprocessor the low byte to of the TYPE (TYPE OUTPUT O) PDP11 address Name relative to output program. 76XXX2 J This (Figure 3-1). Description These bits are of data to the 00 = Bus 01 = Control 10 = Reserved 11 = Reserved 3-12 encoded transfer PDP11 from for the the type —’ microprocessor program. Address and Output Character Count Out Bit Name ouT I/0 Description OUT I/O for Input For example, BA/CC, to defines (receive) the know if on received. bit Flags or BSEL4-7 contained would was a block a Input is indicated and an output this bit indicated when When the a want or set etc.) (transmit,. output An is this (BA/CC Output PDP111program whether completed this the message is when is cleared. RESERVED INTERRUPT OUTPUT ENABLE (IEO) asserting to READY (RDYO) OUTPUT set, RDYO, vectors when asserted, bit, that BSEL4-7 bits cleared the an upon interrupt XX4. This by microprocessor, port contain 0-2. by the data This bit PDP11 has data indicates as must program been defined be after sampled. 3.4.2.4 If BSEL3 the DMC11 is used data Line Number/Priority is used as to designate a multiple Register line controllerfffhis line numbers register, and to assign,fifiority for bldéck transfers. _, / This register comprises the high byte of address 76XXX2/1Figure 3-1). S ffi.f Bit Name 8-13 ,f LINE NUMBER pa _// {/ | ’ ’ / A’ ‘fi P e g \V/ pA afe designated for line during ' format transfers. N used as a line controller. _J = | - These = bits of data {i/// o assign priority to blocks for transfer via the DMC11 microprocessor when it is used as a \ multiple line controller. - The . smultiple PRIORITY -i | . o . \ , DMG11 microprocessor is /./ 15 | line number bits are required when the pd 14, PR ] gfieficziption Thege bits numbédrs /f'" ) especially ‘ useful when This 1is lines fivj of different speed are used. /, 3.4.2.5 The data first The Data port half second of Port 1i1s represented the half Message of port the is Formats by addresses 76XXX4 port is which 76XXX6 BSEL7. 76XXX4 includes which and BSEL4 includes 76XXX6. The and BSELS. BSEL6 and ._/j 3-14 1.4.2.4 BSEL3 1.4.2.5 Dhata - nfiserved Port Message Formats Ly addresses 75xxx§ and 76XXX6. - The data port is represented The first half of the port {is 715XXX4, which incl&dén BSEL4 and BSELS; The lecon@ half of the port is 76XXX6, which includes BSEL6 and BSEL7. The port is loaded by the microporcessor on The format contents tyope (TYPE In and I or discussing convenient to designations There 1. are BA/CC The of the data the port depend on the transfer ’ port use word designations message formats, (SEL4 it and is sometimes SEL6) than more byte formats: Count Input and Output (BA/CC I and Format for contains buffer 14 BA/CC the I and least are bits notation, BA/CC The two contained (0-13) not O significant address. address remaining positive by (BSEL4-7). O) this and O). Address/Character 18-bit transfers transfers. data formats SEL4 of TYPE on' input the four Buffer éutput PDP-11 ‘ of 2's in SEL6 are the 16 bits most bits (Figure (0-15) significant of the bits (16 14 and 15 contain the character complement A4 same notation. of SEL6. 3-1). andl?) The éount in stack a maximum of seven BA/CCs each for The microprocessor can This number is based on the size of the core tables and output. (BASE) For in the input input PDP-11 which memory, BA/CC operations, I to limited is supplies 256 bytes. new message buffers the to to the microprocessor. For output that were 2. operations, successfully BA/CC returns transferred to buffers the PDP-11 the microprocessor. Base Input (BASE I) Format SEL4 and bits 14 and 15 of SEL6 provide reserved block of addresses block size is 256 within the Bit of 12 PDP-1l1 assigned block. SEL6 microprocessor the of called the base I functions shown If base the address of (Figure 3-1). BASE address not modify any bit is table and protocol. as to cleared, specified by The the locations this operation a the the If set, contents table. Input CNTL resumes first PDP-11 memory program must the the assigning RESUME. initializes microprocessor Control The is in the Upon bytes. the mioroprocessor, 3. O (CNTL format (Figure I) Format provides 3-1). a The means of control implementing bits are located below. Name Description Reserved AS certain in control SEL6 as DDCMP Maintenance (DDCMP MAINT) With this sor enters the DDCMP mode where it remains bit subsequently set, the microproces- maintenance until it is initialized. Reserved 10 DDCMP Half (DDCMP Duplex With HD) DDCMP Secondary (DDCMP SEC) cleared, DDCMP with bit With this DDCMP selected. selected. full half With duplex This bit set, DDCMP duplex this bit operation must be used 1l1. bit half secondary station operation selected. With bit DDCMP duplex full 13 set, is half operation 12, bit operation is 11 this is this is cleared, primary selected. duplex station Not used for duplex. Reserved Control The Output CNTL program PDP-11 SEL4 (CNTL Format O format provides of error conditions program, and O) bits format. The (Figure 3-1). 14 a means involving communications and control 15 of bits of SEL6 are A6 informing the the hardware, DMC1ll channel, or contain the located in the remote address SEL6 PDP-11 as of shown station. this below — Description Name —Bit Data g When Check (DATA this bit set, that has been indicates that threshold retransmission CK) indicates a exceeded. 1l Time when Out bit this set, received microprocessor has PaammaN 2 Overrun (OCRUN) for When set, remote no end of the seconds. 24 link message the from response the this was bit indicates received but receive 1it. available to When this no that a buffer is S~ DDCMP 3 Maintenance Received MAINT (DDCMP RECD) set, message in the format has been device must be the Lost Data Wnen this set, received supplied and 5 Reserved A7 the and that reinitialized state. to be bit message buffer. device that The messacge indicates that be longer is a the enter lost. 1is set to is This must a maintenance received bit this indicates DDCMP maintenance caused 4 bit than fatal that the the error reinitialized. Disconnect When set, this on-to-off Data 2 DDCMP Start Received START (DDCMP Set indicates transition the an modem lead has been detected has been started. the data link When set, this bit the of that Ready after DDCMP RECD) bit Start indicates messacge protocol was in This is a must be initialized fatal that a was received when the running state. error and the device following its occurence. Nonexistent Memory (NON When EX set, Unibus MEM) this bit address indicates timeout This is a must be initialized When set, fatal error has and that a occurred. the device 7 PROCEDURE (PROC ERROR ERR) PDP-11 bit indicates that progoram has verformed a This fatal the Input Whenever by the the PDP-1ll1 the port its must be is a occurence. the error initialized occurence. Transfers data port microprocessor the error. device following 3.4.3 its this procedural and following — program before is not in use, for use in an must request proceeding with AR the an it is output subject transfer. microprocessor input to transfer. being seized Therefore, to It assign it must also specify the type of input transfer (a transmit buffer, a receive buffer, control information, etc.) so the microprocessor can make appropriate preparations. The PDP-11 program should set bits fg-2 of BSELF to indicate the the port. (RDYI), when the Ready In When RDYI has been port has been assigned to the PDP-1l1l program. the PDP-1l1 program should load the desired data into the data port (BSEL4-7); which completes the transfer. microprocessor has program to have The microprocessor cannot immediately. 1In If program The PDP-11l these interrupts service cases, finds by should ensure the setting of set it. While the PDP-11l it must be prepared to accept an output the microprocessor may have enable PDP-1ll for the is most efficient the microprocessor has program is waiting, PDP-1l1 when the interrupts disabled and simply scan RDYI one or more times until the It set RDYI. controls whether the (to Vector XXf) PDP-11 program receives an interrupt because (IEI), Interrupt Enable Input Bit 6 of BSEL@, The microproOcessor then it should clear RQI. takes the data and clears RDYI, can The These bits may be set by a single instruction. microprocessor responds by setting bit 7, set, to regquest (RQI), type of transfer and then set bit 5, Request In it RDYI setting that seized the port certain types of is convenient clear IEI IEI was IEI while waiting successful, it should try again. A9 after with a to in several BIS the meanwhile. input use transfer transfers interrupts. scans, or MOV it instruction. successfully set following for RDYI. If the PDP-11 WwWas un-= The DMCll interrupts the PDP-11 (to Vector program XXf@) gets when the already can bypass any The PDP-11 program awaiting microprocessor interrupt had set the RDYI at scanning may in the if all time IEI clear cases, the is IEI has even program set at set when any RDYI. if the sets the time The microprocessor_ _- IEI. The progr-m sets other PDP-11 than program RQI. when RDYI. NOTE The PDP-11 input has program transfer been program to a wishes it begin should check new transfer by If new a the PDP-11 transfer that RDYI This can has be done Output wishes PDP-1ll1l more on RDYI until not attempt it program than as must seven data buffers integrity for may to transmission be or lost. Transfers error to scanning F// cleared. microprocessor or by e the has been cleared before settinag ROI. reception, buffer indicated RDYI. queue it as begin previous clearing The status the not microprocessor been The until completed, immediately, 3.4.4 should initiates information return a full transmission. an to output transfer buffer The on transfer to the reception microprocessor can when PDP-11 or an it has program or empty initiate an output g - AlO transfer PEP-1ll I 2 k4 any time program the data an input for 't transfer. Kowever, port if is free; transfer the that and not PDP-11 has is, in not use assigned for a to the previous out- initialized the DMC1l1 by setting MASTER CLEAR or generating the INIT signal on the Unibus, the microprocessor does not the PDP-11 The microprocessor generate (BSEL4-7) any outrut and loads sets bits the data. It to the PDP-1l1 programs in PDP-11 then program f#-2 of program has sampled the PDP-11 by setting the DMCll has set ’/Qutput -n BSEL2 RDYO. of it frees Since transfer will PDP-11 error has been to information indicate 7 of BSEL2, data is available. read the or BSEL2 note the the the type it data it Ready of data data, wishes, BSEL2, RDYO. of bit that all interruprts efficient sets program 6 fg-2 and This bit status should bits clearing until initialized by progran. of 1e transfer in must port (RDYO), to response transfer port. the can enable interrupts Interrupt Enable Output (to the PDP-11 Program usually example, when (for Vector ordinarily XX4) enables a does on the not message PDP-1ll Peing RDYO. port set progranm by reading Failure from must being to do respond the data this freed. If to and prevents the All RDYO clearing the PDP-11 data port significance indicate RDYO setting, specified the PDP-11 transfer by transaction. output If transfers IEO is set, microprocessor know will interrupts NOTE The as output (IEO). after to When subsequent PDP-11 progran Out data the occur and 1In a data format complete for the the output the into on when be an received), cutput transfers program has8 requested setting RQI, to an output RDYI. If respond PDP-11 loop to the level 3.4.5 powerup The PDP-11l MASTER state, not on output not also DMCll a respond being given to gets RDYI. spin on test at to fails interrupt in a unless are lower The RDYI RDYO transfers executes the sequence program CLEAR in the to The PDP-1ll program perform l128-word PDP-1l1l enabled, priority level. 1In achieve Each INIT the of generate should same these beginning does signal effect by procecures of its not send output initialize DMC1l. setting restarts microprogram. or the receive In the this messages on transfers. not access wishes the the CSRs for 2 us CLEAR. program input table PDP-1l1l 11. or MASTER an Unibus microprocessor line the can the serial following and BSELl. the to should does than microprocessor The never to by 1Initialization The When program it transfer prepared PDP-1l1l RDYO, loop be prior program that must input transfer the interrupts and it an transfer that PDP-11 memory, in program response requests to RDYI, specifies the the Al2 DMCll which BASEI is to the function, base called transfer program loads it addresé the by the base setting must of a table. TYPEI low-order 16 If the DDCMP protocol address into bits 15 and 14 of SEL6. must be (bit 12 of SEL®6) the RESUME bit operation is to be initialized, the 2 bits of and the high-order SEL4 into bits of the address clear. the 1l28-word base Once the PDP-11 has specified a base address, table belongs to the microprocessor until the DMCll is master The PDP-ll program may examine cleared by INIT or MASTER CLEAR. the contents of the base (for example, table error counters but must not alter its contents. relating to protocol operation) ..y supplying a base address with the RESUME bit clear, conditioned to enter the DDCMP start-up state. is microprocessor The PDP-11 program must perform an input transfer, Control if In format by setting the Half Duplex bit the channel is whether the station (long by A setting half is half duplex or by DMCll or duplex is to operate timer) or a clearing link secondary station. length of time duplex operation to accommodate channel. The spent may The switching DMC1ll only before be a Secondary have one half to options bit duplex half at any Al3 (bit start the by backup 10) the specify (short SEL6 (bit and one station time duplex containing in between retransmitting a in SEL6 secondary station (SEC) primary difference specified (HD) the program must half duplex primary the should as using the leaving this bit clear if addition, 1In duplex. full channel the the two is timer) 11). in sequences. a Control the Half In transfer communications integral modem must be specifically strapped for operation in addition to 3.4.6 DDCMP Start-Up Before data start-up messages sequence of the link in the running within The one be state. may property local DMCll has entered as error the fact an Sequence. transfer the As with PDP-11 begin again. 3.4.7 Data the clears ter SEL6 The Count 1 In and requests an input it SEL4 and 7 PDP-11 that program make certain both ends to place the protocol will be initiated assignment of the is of end it has program should start sequence. detects‘and receives set. end BASE. Once initiated RECD) other the significant. state, START the DDCMP details other (DDCMP knows # of transfer this 15 bit program that bits the the PDP-11 specify loads that the the running transfer. received, and sequence In cable of If the initialize flags the a start Control this link the the Out happens, has DMCll and Transmission PDP-1ll1l bits the result, program restarted. When a the the single or procedure following ignore of to start-up using Control transmitted initialized The when the completed interval program one be correctly timer PDP-11l However, are duplex requiring may must half 14 is wishes BSELf and a the of SEL6 to full bit buffer by 2 to setting low-order with transmit indicate clears transfer with to the 16 a of be Buffer of of data, it Address/Charac- (IN I/0) transmitted. RQI. bits buffer BSELZ high-order Al4 a to It then In response the buffer address, of address, bits the to RDYI, Buffers and bits 13-0 of SEL6 with the 14-bit character count. For from 1 to 16,383 bytes long may be used for local operation. remote operation, buffers should be limited to a practical maximum depending on the error rate of the communications of about 512 bytes, Each buffer corresponds to a single DDCMP data message. facilites. When the messace has been successfully transmitted and an the microprocessor initiates an output acknowledgement received, transfer with bits 1 and 2 of Address/Character Count is clear been to indicate returned The PDP-11 by supplying to the program Out that BRSEL2 clear to (BA/CC O) a indicate the Buffer Bit (OoUT 1I/0) format. successfully 2 transmitted buffer has progranm. may buffers gueue to the up to seven buffers microprocessor for faster transmission than it returns to fill them. NOTE The PDP-11 transfer seven that are integrity 3.4.8 Data the with received BA/CC that an PDP-11 I supplies already may must be not a regquest transmit outstanding, an input buffer as if data lost. Reception When a program rrogram data, it transfer and has an clears empty bits sets bit empty buffer has 2 been made AlS 1 of buffer and it # of BSELZ (IN available wishes BSELf# to indicate I/0) to specify for reception. It then requests an RDYI, it loads count in the input SEL4 same and SEL6 format as must be large enough When a message has buffer, the 1l of and # BSEL2 I/0) is SEL4 and SEL6 If a of contain is informed 2 of of program The PDP-1ll may them the to buffer 1In the initiates that The longest received an the BA/CC buffer of O and when the and up the format. Bit been the buffer and no receive buffer is PDP-11 set. by The means other automatically suprly to seven a that if are integrity the bits 2 received, the actual empty of a end of available, Control the retransmits buffer microprocessor program transfer seven in with has count expected. transfer as soon buffers the as for may must supplies already be not a it request an input outstanding, lost. Al6 or — message. returns reception data transfer 1is reception than for the possible. faster buffer Out link NOTE PDP~-11 character stored buffers. The to character message and output a response address transmission. address should queue RQI. received. error PDP-11 the indicate (ORUN) The supplying to informs the for setting successfully received SEL6 with indicate characters message bit to by accommodate been clear set microprocessor with to microprocessor (OUT number transfer by 3.4.9 Control Out Transfers or error The microprocessor informs the PDP-11 program of unusual end of conditions involving the communications channel, remote output the link, DMCll hardware, OTr PDP-11 program by means of an ng a transfer with bit 1 of BSEL2 clear and bit # set, indicati Control Out (CNTL ©O) transfer. SEL6 contains bits that indicate l the error condition. Some errors are advisory in nature and norma operation may continue. Others are fatal and require the PDP~-11 program to initialize the DMC1ll. Bit # (DATA CK) indicates that a retransmission threshold has been exceeded (more than eight consecutive retransmissions have occurred for transmission or reception). This indicates a defective communications channel or that the other end of the link has failed to supply a buffer for reception. The PDP-11 can examine error counters in the base table for more details of the error. This is a non-fatal error. When the cause of the error is corrected, normal operation continues with no messages lost in either direction. This error may appear repeatedly until the condition is corrected or until the DMCll is initialized. Transient errors corrected before eight retransmissions are not reported to the PDP-11 program but are counted in the base table. Bit 1 (TIME OUT) indicates that the microprocessor has received no response from the remote end of the link for a specified period (24 seconds). This indicates a broken communications channel or a failure at the other end of the link Like DATA CK, (possibly a power failure). this is a non-fatal error which can occur repeatedly. Al? Bit 2 (ORUN) indicates was available. can prevent This this that is error a a message non-fatal from was received error. The recurring but no PDP-1l1l repeatedly by buffer program supplyingc a buffer. Bit 3 (DDCMP maintenance was lost, MAINT RECD) format and the was indicates received. PDP-1l1l that The a message message must reinitialize is fatal maintenance state. This Bit (LOST DATA) indicates than the a in the causina DDCMP the the DMCll to was received contition enter the error. 14 4 longer a fatal Bit 6 Data is program a Set must the Bit 7 was received (DDCMP DMCll Bit 8 (NON occurred. if lead message by when is if EX a it the wishes been For PDP-1l1l program. on-to-off detected dial-up required by indicates protocol that is This is error. to have was that been a a the new p ———® by operation caller has only). connected considerations. Start program complete address the the PDP-11 running Unibus of the initialized and caused AlS8 a DDCMP PDP-1l1 over (remote security has The start that in transition operation, that computer indicates could an possibility remote fatal MEM) This RECD) the the the is that has error. this START that This the Ready consider DMCll, indicates indicates non-fatal to link. supplied a error. (DISCONNECT) modem This buffer that message state. This its of end should the initialize start-up timeout PDP-1ll1l the has program sequence. specifying an invalid base address, buffer address, or count that 1 was stored illegally in the base table or that by a defective PDP-1 This memory. is fatal a error. Bit 9 (PROC ERR) indicates a procedure error on the part of the PDP-11 program. The requested input transfer cannot be honored This error can be caused by requesting due to a programming error. a BA/CC before supplying a base address, requesting a base address a second time, or specifying an invalid code in BSELZ bits 1 and #. This is a fatal error. The PDP-11 program may create this condition as a means of shutting down the DMCll in an orderly manner (see Data Terminal Ready will be cleared as a result Paragraph 3.4.13). of this 3.4.10 error condition. Maintenance Messages A special DDCMP message format, the maintenance message, is used for down-line loading, restarting, or otherwise maintaining satellite Messages in this format are subject to error computer systems. checking but are unsequenced, unacknowledged, and not retransmitted automatically by the DMCll1l. Maintenance messages processor is in the can the microprocessor bit of If a SEL6 (DDCMP maintenance microprocessor only be sent DDCMP maintenance cause 8 Transmission is always half duplex. to MAINT) message performs is a enter this and received while state. state The by the micro- PDP-1l1l program may a CNTL I transfer with set. received while CNTL O in transfer with AlC the running DDCMP MAINT state, RECD the set in SEL6. The PDP-1ll maintenance Once and in state DDCMP received portion program to must transfer maintenance similarly then initialize messages mode, to data messages. the message is taken from generating the header and CRCs. On placed in or having incorrect The data is Operation a the line In of to Whenever be Remote Load MOP MODE base line for be the the sent the data DMC11 data portion maintenance format the contain data Digital operating single in btuffered transmitted. computer described mode, may any that Maintenance conformance manner, When system, with causing a host it must s send below. the PDP-11 with the program RESUME must bit initialize clear. l e Detect a field. depends a address microprocessor data received a to satellite as only, DDCMP message nessage maintenance supply serial a with the discarded. When in buffer in conforms each messages and the it operated restart MOP simply formats. after to leave the are not can transmission, reception maintenance (MOP) must wishes DMCll 3.4.11 the Messages ordinarily turn-around order CRCs Protocol appropriate the is but DMCll computer the buffer. portion desired, MOP, the to format. messages On the device maintenance maintenance of is in the DDCMP unit. Depending will either trigger running, maintenance What happens when the setting of on line is on the the setting PDP-11 to of is constantly message this two begin A20 it containing particular switch these scanning packs switches, executing a an ENTER message on the the program DMC11 DMC1ll in a readwa / only memory (ROM) bootstrap (DM873, M93¢1l, etc.) or simply pass the data to the PDP-11 as an ordinary maintenance message. In case a ROM bootstrap is triggered, switches on the line unit specify an 8-bit the to offset word bootstrap address space. The data portion of the ENTER MOP MODE message is 5 bytes 1long. The remaining 4 The first byte contains the decimal number 6. This value is specified by bytes contain the same 8-bit value. a rack switch on DMCll the line and unit serves protect against inadvertent recognition of a password to as the ENTER MOP MODE ENTER MOP MODE messages with an invalid password are message. discarded if the switch settings specify remote load defect. ; /" e Recovery Fail Power 3.4.12 The DMCll keeps all data necessary to attempt recovery from a power failure in its base table. it should cease failure, Wwhen the PDP-1l1l program detects requesting input transfers a power 1 and 2. procedure error by specifying an invalid code in BSELf@ bits At this point, already sent code appears the DMCll will and acknowledged or in a CNTL O transfer. PDP-11 power recovery recover the RESUME from bit contents was If lost; the of to set. The program can the base table 1is original table the tell be MOS the a BASE address the program must within and receive messages until the procedure error When power has been restored, base must send received, error by performing otherwise, base cease a and create same start DMCll I transfer with must be as over were (RESUME to the specified they or bipolar memory A2l microprocessor the and the when power bit clear). (without battery backup), been lost. 11/58, by recovery the not PDP-~1l1l 11/55, or 11/78, loss, and the data the If will DMCll using 3.4.13 Shutdown of by program may specifying an acknowledged CNTL O a it Set be of a if 3.4.15 of Data the DMC1ll Cumulative order invalid output be table 11/48, recovery may designed to information the code DMC1l1 in the by BSEL@ transfers until to help be will have 11/45, accompanied reinitialize about transmit for creating bits 1 error a and messages procedure Ready Error encounters. the base and procedure #. The already code PDP-11 sent appears and in a these is provides a component Eight counters. transition (PROC given Ready of ERR). continuously, Data Data cleared. a O base Ready, Terminal master CNTL Set An transfer or Ready on-to-off as described address. Counts provides table. Terminal device been localize DMC11 error Set has Data on-to-off the error it an when the Table down maintains channel, provide shut procedure reasserted transition within PDP-11/35, fail should base Control following result above, a the DMC1l1 received microprocessor will In process or Data dropping as power since transfer. 3.4.14 The the program should is software-maintained pending. error processor software messages PDP-11 successful DMC1ll1 receive The be The The a record failures of each bit counters base table format of 3-1, A22 is for in the recoverable these updated these communications errors communications are periodically counters is provided to detailed in 3.4.16 The Optimizing DMCll overhead implements of ten synchronization performance maximum vided Performance that with the of sequence on each whenever will be approached mray be transmitted bidirectional. link efficiency. poor link numbers of Applications Table 3-1 as a the which line the buffers, using result of Cumulative has error, and line Error the error Recd No BASE+4 NAKS Recd Bad Header BASE+5 NAKS Recd Bad Data BASE+6 NAKS Sent No Buffer BASE+7 NAKS Sent Bad Header BASE+10 NAKS Sent Bad Data BASE+11 REPS Sent BASE+12 REPS Recd A23 Buffer Available RCC ECC Available BCC BCC is yield messages Condition NAKS Optimal transfer rates. a approach DMCll Counters BASE+3 fixed idle. messages large a requires sizes message small very and gone message very using imposes message without Location T data when Applications efficiency DMCll DDCMP protocol, characters maximal the may the pro- is poor yield Once this message the PDP-11 has been at the program successfully specified received, transfer e DMC11 add@ress. starts The DMC11 y must a be 1initialized subsequent 3.4.12 ENTER . before MOP it MODE . does anything maintenance Power Fail Recovery se except /. regLognize mefSsage. /// in its base table. When the sz/y Xééram detects a power The DMC11 keeps all data necessary/ to recover frpm a power failure failure, it should cease requestlng 1n§ut’t ansfers and not respond to output transfers. Wh@n power PDP-11 power recovery pp@gram:‘n tell AAas been restored, the £he DMC11 microprocessor to recover from the eféor by perSormyng a BASE I transfer with the RESUME bit set:fijThe original PYase address must be specified y and the contentsgfi% the%bas? tab)e must be the same as they were when power was (RESUME bit program mus ?»ear). / IEFO 'ost; othe?%ise As paiylof as ‘ desired.j ’ 13A~~Qata Sethontrol The If’thé\SW1 ches’on the DMC11 microprocessor Ready the PDP-11 It must set repeats an uncompleted line unit specify bootstrap ROM or/down line loading, 1 recovery, ¢ 3.4 Termin power . and Data the repeat an uiyémpleted input transfer. IET /trlggerfig the program must start over. continuously, the microprocessor maintains dropping it for a one second period fofiowing an on to off transition of Data Set Ready. Otherwifii, the DMC11 does not turn Data Terminal Ready on until ¢ it has;received a base address. It drops Data Terminal Ready ' when initialized by INI AST?§;CLEAand R 1t‘g;ops”T€¢g:;fl:;e secoEg,fie&ISWI;% an o?éto of{ tgflns&tion of Data Set Ready. e An on tigakfliiransafl;gawfifflData Set Ready provides a CNTL O transfer et as »»»»»»» described above, if the DMC11 has been s 3.5 MICROPROCESSOR 3.5.1 The CONTROL AND A ok e given i a base address. . STATUS REGISTERS REgisters described Introduction Unibus 3.4.2 are Control and physically Status located in the multiport in RAM. paragraph The RAM capacity is 128 bits arranged as 16 8-bit bytes, which is equivalent — to two 8 16-bit words. sources. One microprocessor. are viewed Control as The OUTBUS*/INBUS* contains called the can be source is the Unibus when these the Status remaining RAM Therefore, from and The microprocessor, Registers. registers multiport NPR Data Microprocessor and CSRs registers 0-7 (octal). There are two additional listed in the OUT Register (108) and BUS*/IN the the Unibus they are which registers. and byte BUS* other CSRS the (BSEL1-BSEL7) called they is from Microprocessor are identified (octal). capacity, BA and simultaneously Specifically, 0-7 RAM accessed These are specified sized hardware category. Microprocessor is as 8 8-bit registers OUT are Miscellaneous are BUS/IN registers They bytes, the BUS that NPR also are Control Register (118). ~— The microprocessor registers. assigned and OUT (octal) not As a BUS/IN are have been listed As each a under has result, the located two in line six line the unit unit line and there are nine registers The detailed the that the of the use Out Line to is, OUT These registers, the 108 same the line unit. Unit is is do registers is write shown CSRs 12-17 listed address. is BUS* 108-—178 These Silo CSRs 16 registers Address sized BUS*/IN Data in byte registers category. Microprocessor discussion show device register only of decided unit. read arrangement 32 undefined BUS is The been addressing OUT BUS*/IN BUS*. OUT BUS/IN to of category; added Therefore, in The only. Figure contained 3-2. 1in 3.6. 3.5.2 OUT These eight BUS*/IN BUS* registers 3.4.2.1 through 3.5.3 NPR Control Bit 0 it The Silo paragraph capability physically. because Data under BUS. are physically In the convention, addresses exist twice has are Registers 0-7 identical to (NPR described in paragraphs 3.4.2.5. Register (OUT BUS*/IN Name NPR those REQUEST RQ) BUS* 10) Description This bit can automatically be set only. cleared by It the 1is hardware MU R 4 1l L TIPORT P i) INT LRNAL . REE TS TELS $,3,2,/ ¢ . ? N / =\ Unibvs CSRs 3| as viewed fom 4 p Microprocessor. S g _ g % \ '?gaie|ég T 15 || M Unassigned. Addressadb /e > bUE nofMysically prcsen /6 Regrsters Assigned Lo ourbus¥iméusTMcategory Figure 3-2 Microprocessor Registers — 7 ] Z JA¢Y'J fi;‘l e?’],é? d / | 9’ INOATA LB ¢ /N OATA HEB / oOUT DATA LB 2 OUT DATA HEB J INBA 7:¢ 4 IN BA /5:8 5 OUT BA 7.0 7, ouT BA /5.8 7 IN DATA S/L0 | /¢ SR\ BEF I SWILET Ay Nreomrsom Y.| /1 OUT CoNT OUT DATA S/LO ) /@ e |ot Loor| ABy 1 A/AB J/% 2 /N CONT Lne Inik rNG |DTR | RS |HD VI €S lesw /3 MO0EM(UA/7> Hcy/SEers SYNC CHAK SECONGBR Y AORS SWITCH SELECTABLE SWITCH SELECTABLE @0 |61 | ST |ocoR|1ciR /) &5 |2 16 Registers Assigncd Lo OUTBQS//A/EU.S (ategory Figure 3-2 Microprocessor Registers Bit 0 (Cont.) Name NPR REQUEST Description (Cont.) when the When set, via the NPR has this bit Unibus If OUT is transferred NPR memory. the 4) is NPR is to Bit XFER) (BYTE the NPR memory. cleared, the OUT an PDP-11 from transferred 7 completed. requests to (bit If been data PDP-11 set, PDP-11 data is memory. controls word/byte selection. For an IN address NPR, is the in OUT PDP-11 BUS/IN memory BUS registers 4 and 5. For an QOUT NPR, is in OUT BUS/IN BUS registers the address 6 and S 7. The data that is associated.with the transaction comes from registers and for from OUT 2 3 BUS/IN BUS Unibus Control (bit is (bit 4) line C1 and BYTE XFER line CO. state cant bit (0) byte. The When of is truth the used and is NPR the DATA BUS 0 OUT set, OUT BUS/IN registers for Control OUT BYTE BA to table 7) XFER least select for and the 1 Unibus is signifi- the type of Bit 0 (Cont.) Description Name NPR REQUEST (NPR RQ) transaction, (Cont.) bits, OUT is NPR as shown BYTE selected by these below. XFER UNIBUS (c1) (CO) BAO TRANSACTION 0 0 0 DATI 0 0 1 DATI 0 1 0 Illegal 0 1 1 Illegal 1 0 0 DATO 1 0 1 DATO 1 1 0 DATOB (Low Byte) 1 1 1 DATOB (High Byte) 1 READ/WRITE (R/W) This read/write function and microcode as may a bit provides be treated flag or no in the state indicator. 2, 3 IN BA 16 IN BA 17 and These are bits used the PDP-11 during transaction. an memory IN NPR extension (C1 = 0) Bit Name OUT NPR Description This NPR bit RQ is (bit used in 0). The association details of inter-relationship between are covered in description NPR RQ 0). (bit the with the these bits of RESERVED BYTE XFER This OUT bit NPR is to used the PDP-11 is set, the A0 for byte of DATA the DATA byte of If BYTE the PDP-11 byte uses is 7-0 stored memory. is stored If bit bit A0 is in the low If A0 in the PDP-11 memory. is cleared during PDP-11 this address the OUT with transfer When selection. 7-0 operation, to a memory. PDP-11 OUT association indicate to OUT in DATA 15-0 memory as an is a is a O, byte a 1, high OUT NPR transferred word. 5.4 Microprocessor Bit Miscellaneous Register Name BUS*/IN BUS* 11) Description NON-EXISTENT (NON-EX (OUT MEM) MEMORY During an mately ZO/us memory location NPR, this after NPR logic This bit a is microprocessor. bit is set non-existent addressed At releases approxi- this the by time, the the Unibus. —~ AC LOW it is a set triggers a 1-shot duration to the fail of only 0.5s. Unibus recovery bit. with This and When a pulse pulse initiates procedure in set, goes a power the PDP-11 Processor. 3 OUT BA 16 ouT BA 17 PROGRAM (PGM and CLOCK CLK) These are bits used This bit the PDP-11 during acts as an OUT a timer microprocessor. It determine time lapse flag testing, This bit is triggerable memory can NPR extension transfer. for be for the read to time out, of re- etc. the 0 1-shot output with a 1s a pulse Bit 4 (Cont.) Name PROGRAM (PGM Description duration. CLOCK CLK) (Cont.) pulses As come intervals, and this 1-shot long along the bit times read out, a If this bit is set, vector If it at the triggering less 1-shot is as as than remains as this a 1 second asserted 0. If the bit is read BR RQ (bit XX4 is generated. 1. RESERVED VECTOR AT XX4 is vector REQUEST (BR RQ) XX0 and address When set, Request 4, 5, shipped is this 7. with a installed. when XX0 is cleared the BR has been is RQ is bit initiates Unibus BR5 at BR RDYI with a priority the can be level B s«ij is card set hardware completed. RDY). Bus microprocessor bit by set, with associated The 7) generated. is This and BR associated the or when address XX4 via 6, set cleared address Address BR is only after 3.5. 5 NPR Bus Register 0, 1 Address and Data Registers Name IN DATA OUT DATA Low byte (register from the Low byte 1) to IN BA the of PDP-11 3) of PDP-11 Contains during BUS an memory. BUS 0-7) and to high be byte transferred memory. 2) data and to high be byte transferred memory. Address NPR Bit 0) data (register (register 5 BUS/IN Description (register 3 (OUT (BA) transfer 0 of bits from register 0-16 the 4 PDP-11 is BA bit 0 ahd bit 7 of register 5 is BA bit 7 OUT BA 16. Contains during an memory. bit 0 BA bit Bus Address NPR Bit and 16. bit (BA) transfer 0 of 7 of to bits 0-16 the PDP-11 register register 6 is 7 is BA 3.6 LINE 3.6.1 The UNIT In/Out In Data Data operation on Physically, The Data Silo Receiver silo. REGISTERS is Silo Registers loaded Register. this the When register, In other with Data four bits bits the the Silo 8 is (10) of received microprocessor data in is the considered to be of from performs presented form data to the a 64 word part of the a the read IBUS. by In 12 bit Control Register. When the Silo, data to The microprocessor nothing to the be to transmitted input other happens of four performs this is a write operation on However, the OBUS and is which is a 64 word by to part of the Out register. taken from the Out Data bits are considered Silo, the be the 8 In bits Data of presented 12 bit silo. Control Register. 3.6.2 Out Bit 0 Control Register (11) Name Description TSOM (Transmit Start of This bit is of new message. a used to initiate the start Message) DDCMP be Mode: loaded with TSOM The into bit. transmitted as Sync the Out This the character Data Silo character Sync must along is character until Bit 0 (Cont.) Name Description TSOM TSOM (Transmit Start Message) (Cont.) of is cleared. Until the characters CRC accumulation. the present are Sync not All included is is accumulation, if TSOM set, has cannot been be unit is Bit Stuff flag Mode: with is the of data All Out to and Data cleared, is by data. is enabled. CRC unless the CRC Once accumulation the 1line character TSOM long be data flag transmission information in function the is TSOM is set, a automatically Silo. current included CRC The as is cleared actual is the the characters are the in in When is the transmitted When CRC cleared, initialized. transmitted. Flag followed inhibited character loaded TSOM character and is included When transmitted data it to CRC bit is that is lost. automatically as TSOM is set. transmitted, is loaded At the be data into completion character, of TSOM the begins. transmitted is accumulation, if enabled. the Bit 0 (Cont.) 1 Name Description TSOM This (Transmit Start Message) (Cont.) TEOM (Transmit Message) End of of bit cleared and by is program by the the fact write only. initialization that data loaded into the Out Data Silo. It is into the Silo and passed to the through the This used terminate bit message is in progress transmission the CRC DDCMP to of the function Mode: character is messages are When Silo. and control CRC character, if enabled. TEOM is set, the CRC cleared), Stuff is (TSOM shut When TEOM loaded with it character is more messages are is pending, is shut down second in the silo. closing is or more set, lost. transmitted. transmitter no down. Mode: CRC single the pending Bit a the If transmitter TEOM loaded transmitted. the character is is logic was transmitter It the The If no the by having This a generates intermessage flag. Description Name Bit (cont.) of (Transmit End Message) (Cont.) by 2 Reserved Data Silo. These bits are and are cleared by 3 and by set whenever through is must bits 10 4 OUT (Out RDY Ready) is initialization logic loaded These bits the to to sent, be register into. asserted, this bit informs microprocessor that the transmitter to ready accept the indicates It data. 10 these written When 0 the if before written the register therefore, is into transmitter into; be is and bits everytime format IN They silo the CONTROL only. is data passed written write flip-flop which Silo. are 1 the TSIP the Out Data and program Out the into loaded is data whenever set is flip-flop which TSIP the and logic initialization by the cleared 1is It only. is program write bit This TEOM 1 is that space is available in the Out Data Silo. microprocessor The Silo and of the to be then reads loads the OUT RDY. microprocessor read and allows interpreted as Out Data speed The OUT RDY true Bit 4 (Cont.) Name OUT RDY (Out Description (Cont.) Ready) before the Therefore, loading Reserved silo has loaded the one cycle must elapse the silo and is read only. This bit Read only. reading Physically, this data. between OUT RDY. bit is a switch. OUT ACTIVE OUT ACTIVE of the it is This informs status set, bit hardware of the is and (OUT This CLEAR) bit transmitted write In Control is Register Check Character only. cleared by When is active. is set all the. It by the the logic. used to clear functions. OCLRP is program (12) Description MATCH (Block transmitter. only. Name BBC the microprocessor transmitter read initialization OCLRP the Match) BBC MATCH is CRC error logic contents of the the output of the that monitors CRC register. receiver the With Bit 0 (Cont.) Description Name BBC MATCH (Block (Cont.) Check Character Match) the CRC function asserted at message. In been Register This BLOCK END the bit is read register BLOCK is END used microprocessor, terminating This flag flag may be 10 to in next is loaded with read. mode, leading that a received. flag for bit The BLOCK END high byte of the CRC BLOCK END bit the BCC updated the the the indicate is been along to Receiver is has therefore, used the inform character; with SDLC and SDLC message. the message 016417, only everytime of the Register CRC the contents is errorless protocol, In equal MATCH errorless an when BBC an DDCMP received. protocol, CRC of Receiver the zero equals end the of contents has the enabled, the MATCH bit reception of should a be good message. This in bit the time is read only DDCMP mode. register 10 is It and is read. is not updated used every- Name T e e et v, st ——— e 5= oo S oma— ee RR Description T " Reserved When this bit microprocessor that received ready for that data the This LU LOOP (Alternate Unit Loop) In bit During Line i asserted, of ALT s g informs the data is processing. It indicates is at the available Data is output Silo. read only. maintenance, loop the receiver with no connection this on bit the to is set to transmitter the modem control lines. IN ACTIVE This bit When asserted, this bit informs the microprocessor that the receiver is the is data is program reception receiving DDCMP Mode: mode; or CRC IN ACTIVE of the first Mode: IN ACTIVE is the first data receipt SDLC data read/write. receipt of is that is, in it characters. asserted non-sync upon character. asserted upon character. Bit Description Name (In Clear) Modem bit This ICLRP Control Register receiver functions. ICLRP program is Description SECURE SW CS to only. (13) Name (Clear write the all clear to used is Send) The function for future of use. by asserted when The function for future of a switch of the line. must bit read reserved only (open). OFF bit is reserved This read SW only is bit is asserted if OFF (open). informs the microprocessor of the modem Clear This bit and MODEM RDY asserted generate SEND enabling signal. This is bit 1is is state be bit 1is SECURE switch. when is switch this use. by CS This the selected The bit switch. a selected the this read (bit simulteneously which is only, the to Send 3) to transmitter A 1 e A 2 A R o b Bit Name MODEM Description RDY (Modem The Ready) MODEM RDY bit microprocessor informs of the Ready line. On the this signal can be through jumper. the On signal is turned on. M8201 of the Line Modem Unit, asserted the M8202 asserted state held permanently the use Line when of a Unit, power this 1is [ Nu-—/j This HDX (Half The Duplex) in bit HDX the is read bit is only. used half-duplex and the the receiver Request to clock blinds the in half-duplex the to put mode. Send is receiver the line unit When this bit bit are asserted, inhibited during which operation mode. S—_ This be is program read/write directly cleared by from RS (Request to Send) bit the The RS of the Send the informs state line. line the and clear can signal microprocessor. bit of This unit e the the bit logic microprocessor modem is and Request controlled not by the to by + 7’ Bit Name 5 RS (Cont.) Description microprocessor. (Cont.) (Request to Send) absence of It data or is by cleared the by initialization logic. This 6 'z DTR The (Data Terminal Data Ready) bit DTR is read bit enables Terminal program only. the Ready line. read/write. set by the can be cleared into it. The RING modem It only by This is initialization via the bit is directly logic writing but a it 0 //“\ 7 RING of the RING bit state is informs of the inhibited on the microprocessor modem Ring line. the M8202 Line Unit. This 3.6.5 The Sync DDCMP — Sync Register Register Mode: character. The is bit is read only. (14) an 8-bit register is program loaded read/write with a register. program selectable sync Bit Stuff: secondary flag in 3.6.6 Both The In station the these program 3.6.7 secondary address. message registers determines mode, This 8 this register bit character is loaded follows with the initial format. Selectable Maintenance Bit 0 SDLC Switch of the Registers are the DIPs (15 containing function Register and of both 16) eight switches each. registers. (17) Name Description MODE The MODE bit or Bit is selected; selects Stuff the families). when protocol (DDCMP When DDCMP cleared, set Bit Stuff is selected. During from 1 ECS (Internal the DDCMP. (SDLC selected) into it. This bit is clock is 1is the This only bit by CLEAR sets can signal this be bit cleared writing a 0 read/write. output of (approximately read the microprocessor select ECS Clock) initialization, only. the 10 internal KHz). This RC bit to Bit Description Name 2 Reserved Read only. 3 ICIR When asserted, (In Composite Input the In Data this bit Silo is read only, indicates ready to that accept data. Ready) 4 OCOR (Out Composite Output 5 Ready) bit When asserted, data 1is Out Data This bit SI SI (Serial This Input) is (Quotient 7 QI oI In) (Quotient Out) the at the bit indicates output of that the Silo. is read only. serial input bit is the is CRC This is bit is CRC This 3-57 the read least Receiver Q0O Q0 ready this data from the modem. This 6 is only. significant read least is of the bit of the Register. only. significant Register. bit bit read only. CHAPTER 4 DETAILED DESCRIPTION 4.1 SCOPE This chapter Included word in a general MICROPROCESSOR 4.2.1 The register and internal diagram in relative it a includes logic general paths. all to shows 4.2.2 the DMC11 this different registers relationship These Only-Memory enough defined storage as as the DMC11 logic. microinstruction microinstruction know the can as Figure and all this flow. contents of registers timing. the be and executed BRANCH Figure master clock. by DMC11 permanent microcode ROM store microprogram a sixteen (CROM) . bits the microinstructions. Control is registers reference as machine to each Formats reside word data of microprocessor. chapter, respect MOVE to description showing to well the the capacity DMC11 the with Word are microinstructions the to microinstructions They detailed relevant important Microinstruction a diagram Throughout becomes other in block discussion microprocessor. Each of of DESCRIPTION associated data times, Two description description discussion illustrates 4-2 detailed Introduction following 4-1 a formats. 4.2 At provides long. The of in CROM 1024 a Read- has words. (39), SociLsanbtgIo)-bdI0Ss30Jx—dOIOTHYOTdwexberd mG3NrODNNa_HINVQXu0hi.4*Gnwn-weIN04d)om|m S 2 9%J M0@1)25 2vivo W} v2i¥00 SIN in0 " LQ oK1 Q ¢ i 9N | 0N + XNq (A g .lL WX OVAN+—@aK1) ION0 3 4(S) S—mAgI dhg|H2YSmNiQvI0QoNaAO 21W¢Qgt4—sCAN sUSaXwI5ndiN| IllLwOlfNSlaliA1). oTixg(1Ivu@O40m) JN3 1 AMNYD SQ‘'sa 1/50 TR BALU TP 7759 TR0 TP LAST INST RESULT OPERAND PC (PCHY)OR LAST /MST RESULT OPER CROM QA MAR LAST INST RESULT OPERAND BRG LAST INST RESULT OPERAND SCRATCH PAD ACURRENT INSTA"OPERAND MULTIPORT RANM 7| CURRENT INST'8" OPERANO AL CURRENT INSTRUCTION CURRENT INST RESULT OPERAND boh-cm LI T T Figure 4-2 Microprocessor Register Timing S Y Figure 4-3 illustrates microinstruction. the is Bits microinstruction further the source developed. The microinstruction, The condition bits 8-10. word 13-15 as a are the branch. from branch address the which resultant W 5 L the BRANCH operation which code operation the being the is to address be defines branch address of address the next satisfied. occur is defining code partial condition branch branch ottt of The branch the 3 format operand should under The the A is defined partially by defined p—— by bits with 0-7 of microinstruction. microinstruction branch address within the Three BRANCH branch address. 4.2.2.1 08 / - from which Branch 14 /3 v of 11 and 12 addressing microinstructions operand /15 capable bits These eight to form any of the the bits are complete 1024 combined ten bit locations CROM. source The the 0 0 microprogram microinstruction /12 to exist, develop Immediate /10 A 9 each defining the low 6 S eight a different bits of the (I) &8 7 T ¥ \J | if the condition ¥ I3 1 2 A| [/ T O \ |B8A8 CONOITION| [MMEDIATE kfifllfifgji branches bits 8-10 is met. The ten specified bit by branch address s ] 5 3 wuie 8lz g 0P COVE T ———— — ~— DEFINED SOURCF OPERAND ‘ /| @ /| | @ |aEss / [ Y BRANCH @ oot srancy coworrow| /75 [/ — |9,8 A ADDRESS ALY SCRATCH PAD FUNCTION | ADORESS W-—J\—V—-«\-—T——/ 9 @@ — Rescrved @ @1 — Uncondilional Branch | @ /@ —Branch 1€bit1sset | d// — Brawh tFZbiZ I1ssct /QB-Branch I FBRGHIE@ISSCL /@] —Branch |FBRGHIL | /1S SCT /1@ = Branch (¥ BRGbiT415 €T /11— \J Branch ¥ BRG b1t 7 /SscCt These twa brls Comb/nm’ with the ay/)z‘ / Awauz‘ Ut form the /np/e Z adoress. Y 180- Immegiale: Bils $-7 oF the microword combined with b1Zs J/and /12 fomm the branch adiress. /1@ — MEM:7770 MEM contain /1] — &‘hc’ SAIce opcrand mmor erand as gerine BRG. The dfié conzons Lhe 500/66 ALY L24 mlccmém A/7 ¢ &‘55/’ AU %/m Dits. j e Aremor, e/afgf:s* oy Oi Figure 4-3 0/) Branch Microninstruction Word Format 4-5 Figure ALU 4-3 Function Code SUB 2's (Cont. ) COMP SUB ADD (A-B) 1110 (A-B-1) 1111 (A,B) 0000 ADD W/C (A,B,C) 0001 SUB W/C (A-B-C) 0010 INC A (A+1) 0011 (A,C) 0100 (A,RA) 0101 (A,A,C) 0110 A PLUS C 2A 2A W/C DEC A (A=1) 0111 SEL A (A) 1000 SEL B (B) 1001 (A+B) 1010 (AB) 1011 (A+B) 1100 (A (® B) 1101 A and A or B A X or B B Notes: C = W/C C Carry = and With Z are Carry set/cleared with MOVE instructions. address the is the Branch 4.2.2.2 result Address 68 - of Bits BRANCH combining (BAB) Memory (bits This / 0 BA 5 Unit (ALU) 4-7). The result bits is 11 and from Pad a by MEM (SP). Scratch the The desired of produces with 12). 5 432/ when a operands the ALU combined branch location and the MEM the the branch Figure 4-3 defines than is is 0 bits is from the the Address Register the BRANCH under by CONDITION FUNCTION CODES operand the location into ALU One Scratch operand loaded the (bits microinstruction been defined the Arithmetic address. other from the FUNCTION address Memory have other for 0-3 operand of would bits in with bit contents address 6 ten the instruction condition 8-10. control operand storage current 7 two under while 8 combines Microinstruction Pad, previous this 12, and 0-7 ccwomam AL u FUA/(T/OA/ SP AI)/?.S'T microinstruction Logic 11 bits (MEM) IS 1415 I 109 2 / microinstruction the MAR in the addressed (MAR). by a execution. CODE, possible The bits with microinstruction. 4.2.2.3 78 - BRANCH (5 14 13 12 /! / Register /109 5/}5 (BRG) 8 7 ¢ 5432/ COA{D/)’?ON 441./{ FUACTa% | 50 4 0:/?5' 0 With this Pad memory branch and microinstruction, location address. bits 4-7 are Bits define the contents operated 0-3 the on specify ALU to the FUNCTION of the BRG and generate the partial Scratch to Pad perform a memory on the Scratch location two operands. The other microinstruction, versatile microinstruction. microprogram, high the versatility microinstruction the operand. Figure 4-4 the When combination and power. exist, The illustrates is the like combined produces In each source MOVE, all, a with the a defined the 11 and from the 12, the operand of the ALU define four the the is to can ALU defined perform remain (BALU). by input the Field operation plus Function is addresses, Function the The ALU to (FROM). be function, 4-4), performed code bit The FROM 14 a word of MOVE for code. format. to bits incremented, or loaded bits of the 8-10. The dependent and output the serve the source two as microword result low addresses. bits operands. the byte further microinstruction on in According destination code highly Bits 11 and 12 MAR. unmodified, operation (Figure operation ROM on of operation microinstruction microinstruction microinstruction bits inputs. MAR Buffered defining The function a microprocessor different The operation code is defined by bits 13-15. specify is BRANCH variations specifying MOVE BRANCH DMC-11 five by the address controls the 4-7, These input ALU to MOVE /fl 1/3 /2?// o o @@ oy A 8|7 T ) DESTINA- L Lfl IMMEDIATE OPERAND 9 @ / k| TIom INPUT ADORS \OUTPY T AORS / Cb 4/ T]0ON f7£5£19 INPUT ADRS \OUTPUT AORS \ouTPUTADARS G/ O |FEL ALUFUNCT @ / ALU FUNCT \OUTPUT AORS / PP P —Noaperar/on d@ 1 — BRG G/ B - ovTBIS¥(SPP>R) G/ | —BRG rightshifted onebrt —OvTBUS (SPP—»R) /@@ @ /@] — MEM )/ @ — SCRRTCH PAD /|| — SCRATCH FPAO arnd BRG Y _ @ @ —Mo effect @ I - Reserved /| @ — [oad MAR Y /| = Incvement MAR @ @ ¢ —-Immcdiate cperand in bits -7 of INICKOINSEruCt/on. | @ @/ - IBUS /< operand Sovrce aefined Y micro11STCTIEN LILS 47 and acstinat ion gerined gy H1L5 B-14. | @1 - TBUS¥ 15 dperand souvrce deFincd by MICKoInSTIUCTIon bITs 4-7 and destination derined by brts 8-14. B/ @~ MEM /s opcrand sovrce ?oeraleo’ on as 0cFined by AL Function (bits 4-7). B11 = BAG 15 Gperand spurce opera ted on as defined by ALY Funct1on (bils 4-7) Figure 4-4 Move Microinstruction Word Format o e Figure MOV ALU ALU Function s (Cont.) Functions Code SUB 2 4-4 M COMP SUB AD D (A-B) 1110 (A-B-1) 1111 (A,B) 0000 MOV AD D wW/C (A,B,C) 0001 INST SU B W/C (A-B-C) 0010 CLOCK INC A (A+1) 0011 (A,C) 0100 (A,R) 0101 CLOCK (A,A,C) 0100 Z (Note PLUS A C 2A 2A W/C DE C A (A-1) 0111 SE L A (A) 1000 SE L B (B) 1001 (A+B) 1010 (AB) 1011 (A+B) 1100 (A (@ B) 1101 A or B A and A or B X or B B If ADD function, C is set If SUB function, C is cleared to MOV (Note indicate to 1) carry indicate or is when Carry W/C = il Arithmetic Logic o C = il ALU > set with out is all 1s. Carry or or DMUX scratch pad side ALU. of (SP) side of overflow. borrow change. Z INST ALU. or sign 2) Common to all five FIELD and the DESTINATION the up previous the The MEM MOVE paragraph. operand DESTINATION for of destination references MEM, and definition. previous still BUS, The 0-3) of When address PAD, of within these are 0 is the two source bit right Bit 7 0 and OUT 16 ALU functions of the data bit in PAD/BRG. as a ALU input ALU (SP0 MOVE type the returned SP to the BUS* and was the eight possible registers, further references low a sets necessary. predefined include per function where no OUT Pad a require OUT* four specific i.e., address with BUS, order Scratch are A. bits destination memory when the MEM ALU microprogrammed, Thus, performs BRG the need The functions through load as destination. to destination with or FUNCTION modified discrete provide OUT passed a BUS MAR specifies of MEM These and 16 and destination BUS all be consequently Four operands shift during Three location OUT* can implies, microprocessor SCRATCH BUS, used, is name definition. presented on BRG are the microinstruction operand. referenced is 0. next MAR are increment microinstruction OUT BRG to and the or BRG result The MAR the specific MEM The as shifted destinations address The microinstruction. SCRATCH address any BRG further (bits the FIELD. the FIELD, destination BRG, microinstructions B are if be used or BRG). a right side BRG bit 7. 4-11 for instruction available shift before instruction. to MOVE the This SP to operate on bits returning allows possible 7 to all alteration Instruction also bit be types used with 0 is a which is similar selected a function by 4.2.2.4 MOV to the 16 - MOVE 08 I, right of sources ALU BRG, as specified With the limited MOVE 1) is 10 references are useable, and However, and MOV in IBUS* function of MEM these while MEM and may cases MOV SP ALU MEM, as (I) 9 8 7 6 PEST IMMEDIATE, BRG, IBUS* IBUS a bits 0-7, bits is destination and the MAR. however, they same data is used 18 MOVE IN BUS both as moved to the destination 8-10. the MEM, 5 432/ 0 /A/MED/A TF OA/:'/?A/VD microinstruction the the I, Immediate to since shift. microinstruction by MOV functions. 0 0 0 [MFF operand, IBUS, BRG MOV /514 152 The MOV reference The other require an is normally possible special operand and destination consideration destination address. 4.2.2.5 (I BUS) IS 14 131201 10 9 @ 0 The - O /| MFF operation However, code because additional address 011-‘57' specifies the 7 IBUS is information £ 4 3 2 J O //vpar /40/?5 aum/mms the a 6 I BUS block must 4-12 of be as the source sixteen provided operand. 8-bit by the words INPUT S ADDRESS where OUT* portion the BUS of the DESTINATION or the microinstruction FIELD Scratch specifies Pad memory, (bits data 4-7). blocks, 1In cases i.e., OUT microinstruction bits BUS, 0-3 A Y specify the byte In addition the so indicated 11 and position within operand can by the MAR FUNCTION - MOVE IN also the block be clocked FIELD, as the into destination. the MAR when microinstruction word bits 12. 4.2.2.6 58 BUS* (I BUS*¥*) /f/4’5/2///0987éf432/0 { / 0 / MFF This microinstruction with the block of 4.2.2.7 01155 7: A exception is that the 28 - MOVE Memory N logical result the I BUS* MOVE I BUS addresses microinstruction the * I BUS MEM operand two Pad memory. /)/‘;5( microinstruction operation the (MEM) 1098 o / 0 MFF MOVE MOVE to OUTPUTAflfij words. 7 IH 1512 The similar //VPUT/MD/‘L on into operands The is two the T designated from specific MEM while location 4-13 5 4352 ) 0 Awfwcr/a/v 007,007,4,9/?5 performs specified 6 either operands destination the second within the an and arithmetic deposits address. is or the One of from the Scratch SCRATCH PAD memory is defined by the microinstruction OUTPUT ADDRESS field (bits 0-3). The result the DESTINATION operand is field, When the Scratch then the respective result operand. 4.2.2.8 38 - moved Pad MOVE to the microinstruction memory or The / / operation designated source operand is destroyed BRANCH REGISTER MOVE MEM with 055 T the BRG one microinstruction memory. Pad If memory source the or operand MOVE eXception. are the is BRG as destroyed by the destination, delivery of / O microinstruction is similar The of this two of operands the BRGC specifies the and the either then delivery of to the Scratch Pad the Scratch the respective the resultant operand. e~ et v s i, e 4.2.3 CROM, The basic bit Program MAR, BR, microprogram Counter PC and stored (PC). See the (BRG) destination, by as 7@5432 contents the by /}L(/FU/V(770/V OI/TPUTAD/‘?S microinstruction the specified 8-10. is /WFF of bits as MEM /5/4/3/2///098 0 destination sl Mt A W L. BRANCH MUX in CROM the Figure 4-14 4-5. is addressed The PC by a operates ten in 2LVZUEx | gyouobigHShom/ty.WO \,# (1)2 H | _C y0/))(5L d 6-% —> pE2L 7(1) WO OYH/-HD | werwy | ¥ 2 0 / D ) ( L é AovyLSN/H 7AYIHYLNINIYoPY)lSDEDF2HY1\58_2wnanawbwTfgl_!G-wYF.H/oa\L0rH-1O4H/Pw-eLHaNbOeOtd|JoYure,xAb_oirdYS,IU2D3NBun7I|oW)vXV|OeMYNOT7tOeH-H-H(1E)DLH / TTTITTL, DD |~ 4-15 DN [N OISV I~ ~ |~ NISIERERES + o two modes. It the BALU. The A low branch. T240. Eight high (bits CROM bits by the 12 selection BRANCH The PC of two 8-10 MUX the and BRANCH either on bits order word be BRANCH condition i.e., the can output BRANCH on the branch address come bits come directly MUX. The which truth controlling the it would enabled BRG, the appropriate the right BRGO one from bit BALU function the PC to trailing from the through in the the ALU eight in executing position 0 of MUX. for microprocessor microinstruction with passes be one table Conversely data the loaded the from occurs. load edge BALU of while microinstruction 11). when of causes altered disabled byte output which always is the parallel determines MUX MUX Using or is determine codes incremented to is the Note in any MOVE BRANCH the right, is BALU 4-5 Figure selected the 4-5 the microinstruction. microinstructions. each Data 0 is lists abi1lity executed. loop. and Figure all has inputs gates subsequently to shift time the is to rotated BRG7 clocked a to while into BALUO. Control With or of the BRG these two control recirculate is determined by the two inputs signals, the BRG can load data. 4-16 SO data, and SI. shift data, See the what truth function determines trailing Main bit table to when edge memory Memory in Figure perform, to of do T240 (MEM) executing a 256 locations is (MAR). Like loaded trailing edge of the clock occurs on the trailing MOVE and As MAR determine INC EN previously the BRG. into and the microinstruction. microword It MEM, the address shown in BALU Two the BRG bits of of function to SI CLOCK determine MAR, BR occurs L, on the microinstruction. addressed the or PC, by the eight the MAR can incremented MAR, T240 the and always MOV CLOCK edge SO clock outputs signal BRG L. during on the Clocking execution DESTINATION perform on the be ROM MAR of a (DROM) (MAR LD L L). discussed, the DROM also has four Scratch Pad memory, *OUT BUS. which in DESTINATION signal, when parallel always clock This Register from While it. with Address the 4-6. additional Scratch Microinstruction the field Figure microword MOVE and 4-7 MAR and bits Pad bits controls to control memory 8-12 the the microinstruction represents FUNCTION The the DROM FIELD. map is shown DROM in and writing address form MAR register, DROM the is sheet D20 of the set. 4.2.4 Eight Main integrated memory. in the Memory Each memory protocol (MEM) circuit chip are chips stores items one such comprise bit as of an message messages. 4-17 the 256 location eight-bit headers byte. and main Stored commonly used print ~ ]u[%}u‘ N 03 R31) V- ABRALLEL INPU rs{ vDe R2() %’} OUTPUTS RIG) 0 — Rl 15 = = = = =z SHIFT RIGHT SERIAL /N £_ 05; 754 /vorusm777- DS/ ——CLK Sl 10 MODE m/\/flm{ S¢ |9 74194 TRUTH TABLE [/ [s6]_FUNCTION 4/5 |1 foralle/ Load I\Spi it Righe .?{ NoT Ysed @ O | Hokd (nhibit Cock) 7he BRG /s compased of two 74/94 4-pit Brarcctional Unwersal ShyFE REQISTEFS. Figure 4-6 Configuration of 4-18 the B Register S6/d/633/ D ROM 08*—2--- BRG S@ H . CROMBH 1] DT\ =——BRG 5/ H RS Z il CROM // H CRom 2 0612—OUT *L /2 | CARM |@H / DS \—— WRITE 00T H ——A2 17 5 D —=— MAR LD EN H . A3 2 a4 03'—;—/‘4/9/9 IMCEN L VEIS—WAITE SP 4 DI VY= WRITE MEM H —OQCE JE WORDOS X 8 BITS see prnl set sheetl D24 For DROM Map. Figure 4-7 Configura tion of DROM 4-19 Memory data addressing 1s gated is directly controlled through DROM. memory The accomplished from the contents and two Operation can only The of MEM 28 output for output 6_ a 8 feeds MOVE during or BALU function microinstructions code the the 68 can of read for execution be a of MEM three MEM MAR, L, sourced while Write write timing originating with BRANCH the at is the MOVE microinstructions. contents. input and BRANCH. the the outputs. WRITE the DMUX using MOVE is The MEM selected DMUX or with selects BRANCH a code the MEM MEM microinstruction. 4.2.5 The CROM CROM is and the the Maintenance heart of the REG microprocessor comblete system control is exercised. is the unique protocol. microprogram This stored microinstructions A total of 1024 microprogram, Each chip locations. through second level four Addressing Microinstructions microprogram discussed memory stores necessary read microword at the storage use of bits of the is with from for the contained which execution of the DDCMP utilizes the two powerful beginning of this chapter. eight are available integrated microinstruction the through Stored within the CROM locations the system ten CROM bit become within Program the three for circuit in 512 the chips. storage Counter. address additional for a ROMs. In addition, gating Each and ROM certain timing chip asserted low are tri-state (Z) output memory forming a selected to ORed on The output input enable the wiring 1024 feature ROM Z 1is feeds of have directly the (pin chip presents their locations. which Because outputs, a thus two must these high be chips impedance expanding memory outputs The control microprocessor. 13) chip. microprocessor, words) of the the CROM the The CROM total chips wired (each together appropriate microprocessor outputs output output. enabled, receivers DMUX DMUX enable microinstruction. (high 4.2.6 of PDP-11. unless CROM bit throughout disabled the Register data the In bits chip is PCO9. with system the Register. Maintenance from a simulate Maintenance UNIBUS devices, memory maintenance the to four with software chip order capacity. 512 wire a allowing storing A operations has in microinstruction I when in BSEL 1 the the the use Maintenance the CROM contents of the The register is loaded 6 (SEL 6) maintenance asserted. of PDP-11 of the Register disabled the the is through With Select However, of allows and register the register also from is the become the CSRs is loaded is not gated ROM I deselects one multiplexer, the outputs). and an SROM eight the B bit input wide, of the eight to Arithmetic Logic Unit whose (ALU). Input selection SOURCE ROM Figure 4-8. The SROM a is microword. by in the the SROM sheet D20 (bits is of ALU the execute is its built accommodating feed the are eight function ALU the type of FROM D20 of is the and B three and 4 be final operation is shown print set. set. 7). at truth are containing 4-9 The Note and table an the eight SROM the shown bit map SROM is addressed three of these is directly bits are code. Logic Unit (ALU), six logical or one-half others A input is perform by Figure Figure byte. input, the 4-11 five on control the FUNCTION and the in, of ~’ FROM each inputs of the is a carry inputs microprocessor. bus operands ROM chips Two the function two data functional it. carry bit any circuit Four from on can 4-10. integrated under a microprocessor operations output third inserted the See 74S181 defined in ROM two to originating associated inputs. operands. bits Figure and and around can in print Logic while operation The A three and operation bits which fourth the four bit The shown arithmetic to by location Associated Arithmetic presented ALU and ten DMUX 13-15, microinstruction With This The thirty-two The CROM 4.2.7 The controlled (SROM). in shown is defining and carry in. (FROM) microword. map shown is in sheet 578 74 /57/ _1§;1177v 5 ‘73"‘% COMPLEMENTAR Y oUTPUTS INPUTS { L p3 2 142 7 D/ 6 £ o— ——0¢ 2 s S/ S¥ 9 {0 |/ INPUT SELECT 2 74/87 TRUTH TABLE SELECT| CERITAR: INPUT |47 | H HD7-uP MISC REG \# H L |0e-MPRNTL REG 2 |7 L | A ;05’-5%7'000 BWE | |4 1L (L \D4-BRORT EVEN GYTE | [ |# 1H 03-8R6 41; L (L H Qlfl AE?~V&Z£?&1 |L L \# \0/-L0 Z8US |L R |Oo@-cCRMF-T7 | | 7H€ OMUX /S C0/)7/0615‘00’ 0f CIGht 74/5/ MU/Z‘;D/E’X(?/‘S‘_ Figure 4-8 Configuration of DMUX 4-23 J6/P/633/ l SRKROM pg2 #M CROM 15 H fi _{.5_'_.,93 CROM 14 /{ H 2] CROM 1T 07-—-——2—-} OMUY SAC 06? D52— MOV INST H ¥ 4 MoV INST L CROM TH L. o 032 ZBUS¥H i l&g__éin C:‘Q2‘4 ‘1’/7 ~————w9¢5 # 01 L TBUS | -[_——OCE J2WORDS X 88/7S5 See print et sheet D@ Ffor SRoM Map. Figure 4-9 Configuration 4-24 of SROM YLt Wbl NOHA XNWKAoHNnL4—LHPHL~-HONTY IS-HOHL> D(1)H )WO 4-25 7t/4 7 @anbtag OT-¥ NIV pue pP93eTIO S Y ODTDOT gNID bo2 XIWa 2N dSw2 Z H{)z— HIONT LJ’&M/&&Z/ FROM / D/ o py R 9] ooy ul? 02 F— crom 74 3] Choom 1an 05 1—SPL * CROM 6 # 1245 1412 -_—{'44 031252 L \ ALV Inputs % M?""S/L 066 FoRCEC H 07...?_.. ENC H p8l2—cHc H ‘-[:—-43 CE F2WORDS X 8 B/ 7S Seeprint set sheet V2@ for FROM Map. Figure 4-11 Configuration of FROM 4-26 The result of any asynchronously edge of T240 Another logical at is output the ALU's clocked Z or becomes and final output and the = output are of the FROM Insertion by the of 4.2.8 as a carry A a only the Scratch way carry Pad Pad memory. integrated circuits of complete two of the can the an into and ALU the carry C one be on the leading REGISTER (BALU). ALU bit. output Both storage of two forced flip-flop operand The addressable is the flops, all 1s. carry bit under control conditions with with defined FORCE C H ENABLE C H. input is through contains sixteen or Scratch by chips, to CROM each the Pad bits storing ALU A memory 0-3. Two one-half type byte, 3101 comprise memory. is controlled possible inputs Selection is hardwired input address CROM 0-3. This bits bus appears Memory present all Addressing when under insert to locations, the data BUFFERED clocked occurs function Scratch The is operation microword. FROM. inserted the asserted third B output into The A arithmetic by DI by as WRITE a 74157 multiplexer, a four bit address OUT H, which when of signal all is to supplying the asserted zeroes. The default a the DROM bit in S PAD one memory. selects input is microword. a The DROM also Data is written 4.2.9 controls from Multiport MULTIPORT RAM the capability of word is the BALU an eight is being sixteen the multiport four wide storage chips follows. Refer Two independent read the A (pins PORT 13, (pins 14, the SCRATCH PAD memory. output. &8, 15, word in ram length. with to Figure outputs and 10, total chip memory from of functional two four containing having sources. chips eight description of referenced as the 4-12. are and 16). A access accessed A each locations. 9, random simultaneously bits comprise bit into RAM The Each writing available, 11) Note and each one another read bus as the B is four PORT data bits J — wide. Associated with appears the A port memory by A read port port output address input 1is simultaneously that presenting (pins The at each 18, read asserted 19, this and (pins second 20). an address for the location 5, and 4). another address The enable input (pin low order to in 6, is to contents 7 read for A data A input. addressed unique location the B appear and from pin can port at 17 either Valid feature be for B B), port. the of this addressed address the by data input port must output. be __/ WRITE CLOCK / 23 | ""dD 82S//P v 8 MP RAM 4/ -/%- 3 TR, AE 77 ”““”Zhfi A3 A PORT WRITE | £/ B0 H2- AEB PORT AV B/ /5 [77C ENABLE //v,aur5_J__““"0 = 83 = | A2 AA] AKB BAZ BAI BAS l@ ]5 l4 I/e [/9 |2¢ "n o n ' N N d A PORT ' "B PORT READIWRITE — READ ADORESS ADDRESS Figure 4-12 Multiport RAM 4-29 DATA OUT — DARTA INPUT 4 22{p- 2003 7 4" PORT BEAD "B PORT READ OATA OUT Although only the data through desired presenting 21). The The one the words data to in the addresses These RAM the of PORT. This the A PORT ADDRESS A PORT the as data RAM is WRITE assignments into two OUT/IBUS NPR memory the it is DATA supplied OUT/IBUS for Additionally, ports, A divided with both the address is the from timing memory MULTIPORT cycles. to necessary memory read port, associated Stored be address MULTIPORT Note can done INPUT INPUT are and addresses transfers OUT*/IBUS* pins in 1 with both and of and 23. 4-13. four data memory. are NPR the Unibus CSRs as addressed from either the microprocessor or the Unibus. The of block the Shown MULTIPORT are and the The B fed the Figure 4-14 illustrates RAM within the microprocessor three output and wide to in addressing PORT drivers bits diagram the the and on relative position architecture. loads, the two data input feeds both the UNIBUS sources schemes. data DMUX. the DMUX output the RAM two bus However, output is separate because the sixteen bits, inputs. DMUX the address bus is eight only RAM _J and during shown 22, OUT*/IBUS. PDP-11 applicable addresses 2, Figure other the simultaneously 3, block are / presenting one with are by written while shown the be (pins through blocks, locations can output is -/ H/IGH OR LOW OR ov0 BYTE ( EVEN BYTE / 3 & IN DATA 2 OUTDATA | NPR ou T/Z/V BUS < s \ 7 Z ouT BA / @ SEL @ 3 Pt SELE | UMIBUS R 4 SEL4)| 7 7, SEL & f f 00771/\/*“5Us \ MICROFPROCESSOR DEV/ICE AOORESSES } 4- * TN BA B/)/DA TA CSR — MP RAM ADRS PINS o |3 |4 |WrRITE (61/9 20| READ AR @|P |/ @ /[ / |/ / |/ |@ |@ @ /{1 é=0uT/IN 505} / 4-13 |@ 17717 T / =ouT/IN*BUS Figure |/ [WORD SELECTION 192,46 Multiport RAM Addresses 4-31 SYIA/TD 1b10uErynotpyYNA*UoMLV&L&odAWSVYML 4 7IIIIIJ L/ SN WY dW g Y¥SD S UPPY | 4-32 When the microprocessor executes NPR cycles, the bus address will be fetched from the RAM through the B PORT and clocked into the The two RAM locations where the bus bus drivers by NPR MASTER. address is stored is defined by the B PORT address multiplexer with MP READ CYCLE low. This results 1in addressing either location two or three, as determined by OUT NPR. The remaining input to the B port address multiplexer becomes active during a particular MOVE microinstruction (X01) and in turn gates the addressed data either to the high byte or to the low byte input on the DMUX. Bits 5, 6, and 15 determine the RAM Bit 15 determines which group is to be addressed, the IBUS or *IBUS. The location within the selected group is addressed by bits 5 and 6. The appropriate byte is selected by the DMUX. address. !/"\ With the A PORT, both reading and writing must be considered. The A PORT output bus feeds a 2:1 multiplexer which feeds the UNIBUS data bus drivers. Data is written into the RAM through another 2:1 multiplexer which selects either the UNIBUS data receivers or the ALU output as the data to be written. There are three conditions under which data 1is written into the (1) an output NPR cycle, (2) loading a CSR by the MULTIPORT RAM: PDP-11, and (3) writing by the microprocessor. MP WRITE CYCLE is asserted when the microprocessor executes a write cycle. This condition then selects the ALU output to be written into the RAM as data illustrated receivers cycles and CSR A word or full MULTIPORT writing either are the one ALU or full control condition A PORT addressing writes into output of 0 or with the the RAM. of a the the the RAM time other input hand the UNIBUS for both NPR data C0 LBWL. bit byte can be position. Bit zero eight and Figure UNIBUS reference the high four 4.2.10 Maintenance A of CSR maintenance 4-14. second of the one of Which address two CROM into the During RAM. When the the to this control two write fixed and NPR is and 2 determine multiplexer During is addressing A0O2, and always for the DMC-11 addresses. (BSEL 1) features are available an (location addressed CSR is MASTER. locations direction. AO0O1 1 of microprocessor of location bits levels bits when input under transfer RAM written determines through multiplexer addressed. the When position. into instruction in by byte written determined data the the AO. multiplexer desired into and always cycles, written HBWL 1is The be by PDP-11 first NPR can determines are determined number On controlled the shown always of 4-14. as byte with another is function CSR, as execution 1) low addressing multiplexing the is words into a at (CROMO) writing The byte output, high cycles selected This microinstruction NPR Figure loading. RAM. the in a is through the use address is 76xxx1 transfer. read the of With the and this contents REGISTER step either or loop transmitted both microprocessor The logic shown on CSR each executed. D09-D12 a the on SEL 01 all diagnostic LOCK prevents must two be the off remaining instruction The referenced the CROM, via PDP-11 write MAINTENANCE a word or diagnostic CSR byte program into the MAINTENANCE substituting the CROM microprocessor through byte the D17. time are format line and the unit back can microword, line is flop enable D14 execution. from the and illustrated of the MAINTENANCE stored edge is Five the features. bits CSR. unit, to and the verification. switch RUN to the leading OUT be thereby drawing microprocessor 74S74 the data for MAINTENANCE can feature, of INSTRUCTION MAINTENANCE of off. in a LD 74174 BSEL This Another pulse are instruction is D15 must the is be the BYTE off to this enter the stored INHIBIT, Obviously, to the in provided RUN with stored while switch microprocessor D08 CSR 01L switch, setting. bits above RUN when in enable on switch mode. microprocessor at The 4.2.10.1 Step This signal, unit set, it a LU H function of bit 12, interface controlling the stepping it the line unit the line unit receiver. LU Loop H clocks clocks 4.2.10.2 This signal, a unit enabling function the of loopback feeds bit 11, feature. transmit then back the microprocessor program then data determine to 4.2.10.3 Under performs CROM control contents of comparison any errors bit 10, the CROM in order to CROM OUT OUT of the if a known cycling. The microword through had line unit. When is cleared directly to the line this feature, which the received transmitted the line data. data unit The and received occurred. H functions a on line the it data as to when With can the and feeds program to of transmitter diagnostic sends directly diagnostic multiplexer program can determine the H select and then A2H drive read validity the the of the CROM UNIBUS data machine lines. What this meéns is that a second instruction, a DATI with an address of xxxxx48 instruction on print UNIBUS D11 data which to must be executed set CROM OUT select the CROM lines. H. following This the enables microword and MAINTENANCE the feed CSR multiplexer it to the 4.2.11 The as basic a clock shift time to Microprocessor unique overall consists register interval is asserted four period T60 throughout system A Mhz 33.33 shift of flop register, CLOCK). WAIT accessed SYNC and RAM becomes WAIT SYNC CLOCK Both outputs of These microprocessor See intervals. nsec. the to Each However, resulting in expected 360 Note clock the the the reset with of SYSTEM being D14 clock the clock due an nsec. overlap signals used are registers applied output and to to and in the print when the multiport This clock hold state is But with WAIT SYNC to CLOCK continue Low (Q only transition and 5) first set. are when on used in its as flop control is the being multiport effect set, inputs passes The RAM the clock a divide—by;two to Hi clock the (CK) clock state. each timing oscillator drawing stops the (WAIT SYNC) available. toggles 60 sequencing. T210. before the flop allows in time overlap instead generates Hofiever, through a control (SYSTEM the oscillator shift with interconnected timing. register. the T240 of intervals clock with discrete period the of provide a time flip-flops six nsec illustrates and for JK 300 4-15 distributed six of Figure T90 of generating clocking, clock Clock with SYSTEM clock shift input. register clocks. Refer to drawing flip-flops TO D14 through for the T240 following are wired as logic a analysis. right shifting Note the shift opeL [#oc-p2] o000/¢69.2r/L1Lv2-¢][0z1-_0P26]P[/~0_/2-ps/|z-¢/2|¢|p2-2]| L2anbtgGT-p yoTDaouanbag s o0fL 0% e06lOoTu0O9N08A1eOl0O621OLA2LO0FAEL09l - 4-38 register with T240's inputs are TO's JK T60, T90, the shift T150, positions. SYSTEM T90, CLOCK, CLOCK's Q to toggle T210 are all does T150, while output. dropping wired and register output not and TO, The off and the the shift both the The next is initial four flip-flops reset and RUN SYNC is same T210 are clocked T240 aforementioned J register and time input input to to TO occurring point, reaches The as clock a flop reset, STEP complete 0". See later, is functions new clock bit RUN each is cycling done clock MODE, T60 by SYNC are STEP MC (T0O a can - the pulse T240) to 4-39 a all output of intervals SYNC Hi the toggle With TO on the resets. register. at the by RUN the sets occur. next time the SYSTEM CLOCK this the to bit TO. the SYSTEM the register SYNC on toggle From When in set, the stopping shift RUN TO0 When flop. set, mode. point inputs shift both condition This 4-16. clock with Note SYSTEM time WAIT set. halted the for "Q" by simultaneously and be of in in will shift stop L and TO regenerated allows and cycle as the set. 180O out of phase. Therefore, sets by overlap Figure while source clocked results TO resetting cycle clock SYNC placing sets, asserted. This In TO remains nsec RUN zeroes, qualified T240, current of is CLOCK. the to CLOCK "time microprocessor is all inputs T60 60 the K SYSTEM referenced set conditions bucket. the the and bit when use T60, the TO is generated by using these two clocks Given into RUN to register allowing complete cleared. one | _ _ __ _ .| ] | otcl 4-40 Q6L 02L XD SAS 7 (1) w07 q 4.2.12 Address Drawing D16 Selection illustrates the microprocéssor address. recognition. switches, The each Address bits allowing an logic address associated through addressing used to recognize a DMC-11 The JK flop OSSYN sets upon address assigned switch A3 Logic A12 are range of is configured with a unique available four for words with ten address bit. configuration, within the DMC-11 microprocessor. The logic bits compares using two connected. outputs all of condition sets. the high. which the BOSSYN be are remaining true inputs is code chips inputs The must on switch comparator When go the are to asserted with the respective whose outputs are wire equal bit bit, the hi-order ANDed OSSYN. with On 130 nsec cycle is under initiate an NPR for address "OR" comparator address bits, MSYN produce the to next later, clock A13-A17, a (CK) acknowledging set OSSYN bus master. 4.2.13 NPR Initiation Control of an microprogram. referencing address NPR ROQ. of Logic NPR To the OUT*BUS 108. This Once asynchronously NPR RQ with is complete cycle, executed the respect to logic the MOVE specifying microinstruction sets, a control along then of the microinstruction a unique with executes microprogram. output BALUO(1) the NPR sets cycle Figure 4-17 illustrates cycle. The requirements (2) data and (4) gated address logic. and the to The bus, and generates the responds with DATA the microprocessor queued all is sets central point, the it further processor monitors for resets selection current BUS simply by the master busy to L of The NPGC of when of no a The take The turn is device the arrive of to grant signal. bus The situation, acknowledging next master at 70 the ns. other signal to the At this as soon microprocessor control. by processor delay the discussion. other signal grant data in the the the which a the the place. does grant contains data such H c1, gating priority IN and its central In address, recognizes following control. to D15 NPR takes provided its CO following RQ (1) (SACK), becomes relinquishes determine the microprocessor. reception microprocessor H, BUS then receipt L. until NPR acknowledge the NPR UNIBUS via After mastership. When a control NPR IN stalls BUS for bus BUS NPG bus lines. of propagation prevented the DATA requesters. microprocessor, addition, up for (1) output Drawing (slave) D15 an defined acknowledges assertion signal already of the DATO unit for are: (MSYNC). drawing handshake bus was also slave 4-17 with a control Figure begins devices the standard (3) addressed the sequence execution sync (SSYN). timing In master sync the highest for slave First, then of timing UNIBUS, interprets data asserting Refer the assertion relevant from to the as 43 vH(DINOF VASSH NVASHWO 7 cMI M[ @anbtg LT-¥ A ((__ [ WL¥6LslSL SYWH 5| YIN Indano butwry wexbetd YsOsSnndeNgNNgV7XS4HYno5(gaS9)NN9O7/7YHS[~ J)T\r o The actual the microprocessor NPR relinquishes up to by asserting be MASTER The CO0 under C1. or is bus BUS is and BBSY gated to control of on the the the the begins. UNIBUS with other DATA —> BUS hand, L. OUTPUT NPR of NPR a A50 nsec delay is of which INPUT NPR most part MSYN cycle is the and BUS multiport terminating 4.2.14 The then the RAM and NPR bus is three to queued reset as the triggered, the at control and well data conditions On master takes MASTER gated is NPR as bus occur leading the time edge conclusion OUTPUT the NPR addressed microprocessor acknowledges in Figure cycle. 4-18 In slave to then loads receipt by and this case respond the dropping for the the with data into BUS MSYN cycle. Control an operation. actual SACK cycle, illustrated the for The Interrupt of is to waits the execution two-phase timing SSYN. then the asserted. similar microprocessor data is previous NPR is These an during microprocessor now during BUS the Simultaneously, cycle place microprocessor simultaneously MASTER, takes Once provided L. NPR transfer master. H], The Data, data bus [SACK(1) set. address and the next 1is cycle Logic interrupt First, INTERRUPT cycle bus cycle is accomplished mastership execution. must be through a gained and SnEYN7@«\ NASWO 7 /N YNINOT(1)H SMOlcLYWty) J— NYNA@7SSLH7LYoT =2anbtyg8T-P Y4N3Indurlbutwt]wexbetq . j — SsnnggXA0S96857 i7 5 P LSYNNSOOFd(N1)NHIH/-||ITLIL(f M ) ”/if/\\\:'~ 4-45 i~ oy Figure an 4-19 illustrates INTERRUPT assertion of cycle. The BR RQ. A with bit address of sets BR RQ. With both BR MASTER satisfied to generate Card to the At the grant this again When in turn central awaiting bus 058, which point, this cycle. the until INTR L 4.2.15 Line Interconnection done via signal the the lines LINE UNIT IN), asserted L interrupt from is the it (1) equal to a condition feeds the bus logic PDP-11 and resets becomes the next bus H sets while begins simultaneously interrupt vector operation is concluded when the interrupt BUS bus the BR L. and control."“j INTERRUPT the address the When master relinquishes which \j/ stalls, SACK master signal Processor. the of Priority request then one, is sets bus the output places onto central with BUS SSYN. microprocessor and the processor Interface UNIT between and The BR with Y, an the appropriate current between LINE reset, of having operand the MASTER receipt Unit the execution initiated BUS BR The is for L. signal the the acknowledges BR BG of microprocessor logic bus. process still generates microprocessor data SACK B sequence microinstruction seven BUS (BUS happens, BUS MOVE and grant arrives timing entire processor. bus stalls the the the interface. the two units, remaining 25 The of in interface which the line cable eight unit is carries originate microprocessor. in 33 | BR RQ # B BUS BR L 1L A | R 8G IN H ._____{ )| I BUS SACK / BUS BSSY L /| " BRMASTER () H BUS INTR , a L = SSYNV H NN, BUS VECTOR AOKS OR DONVE Figure 4-19 Interrupt 4-47 Timing Diagram 4.2.15.1 These in LU IBUS eight lines line unit the and addressed 4.2.15.2 BALUOL eight goes to line unit. the 4.2.15.3 This is signal asserted 4.2.15.4 BT240 is IBUS Line delivers the 7 H unit data input to microword bus. the This bus originates microprocessor (CROM 0 - CROM from the 2). BALU7L are buffered the ALU microprocessor register then output to the bus. The interface data on to the L/IBR*H acknowledges during used to to OBW signal signal LU to the line unit receipt of data, and T240. BT240 4.2.15.4 This - the by - lines IBR H are register These 0 synchronize the line unit with the microprocessor. L is the output data strobe. clock or strobe the output asserted low indicates The data line into unit an uses this internal register. 4.2.15.5 This the signal output OUT * when data L to the *OUT BUS instead to the line of the OUT unit BUS. to direct 4.2.15.6 CROM 0 These bits are CROM to address by CROM - 0-3 and CROM the internal 4.2.15.7 This LL 7 L input/output registers. the input The address output registers with used by the line registers are addressed bits CROM unit 4-7. Clear signal initializes the line unit placing it in a reset state. 4.2.15.8 With LU this diagnostic transmitter 4.2.15.9 This to its Step LU signal 4.2.16 Loop Typical Figure system timing shows with typical line from T90 valid strobed of OBW through from an line unit loops data advance one cycle. from its line is T300 to illustrated applicable unit unit Timing while internal in signals logic. approximately into L. the System 4-20 the receiver. commands Typical function, Note the T270 used in an 4-20 the address for the cycle through with the the next low and output that data register Figures T240. to cycle is in high 4-21. along wvalid question 1is The 1is data transition @ OUT AORS (CROM @-3) GONS — J2ONS | 18ONS 240NS 300NS | | | | W% OUT ADRS VALID DATA VALID oUT DATA (BALY @-7) )% __,W" 0ATA vhirp —4 2| T3 fe— OUT DATA y- E- 76 —-*—L) STROBE(0EW) DATA STROBED ON LOW TO HIGH TRANS! TION Figure 7 4-20 GONS | Typical Output Bus Timing JEONS | /BONS P40NS FOONS | | | IN ADRS (CROM 4-7) . /N DATA (IBUS @-7) 7Y 77////////F-W/#mfifb W,,7/‘/% IN DATA ACCEPTED(TER) Figure 4-21 Typical 4-50 Input Bus Timing _/”\ Input bus address (T90 bus T160 - timing is valid for is T300). during - T240 illustrated the same The line unit its T5 time, which in the in Figure period then as places 4-21. in data approximately microprocessor. the Again, output on to cycle the coincides the input with — CHAPTER 5 MAINTENANCE 5.1 SCOPE This chapter lists required description of maintenance procedures. 5.2 Maintenance Basically, and DMC11 corrective maintenance performed to DMC11 aging The regularly conditions or procedures, in an damage attempt caused to by handling of corrective maintenance isolate the failure the failure primarily maintenance for future 5.3 intervals log component reference is a complete corrective the a to of programs, procedures any in preventive deterioration the procedures are performed module isolation due environmental and level and Only and interconnect correct under to the unusual component corrective maintenance procedure. record maintenance activities all analysis. ensure consists proper of tasks equipment performed operation a are module replacement. and Maintenance maintenance to as used and detect microprocessor module considered Preventive Preventive through should The to diagnostic extremes The be and consists maintenance cable. replacement provides preventive maintenance preventive improper circumstances and Philosophy maintenance any equipment microprocessor microprocessor log. and test and at periodic minimum unscheduled down-time. operational checks The preventive and operating Under normal every 3 and conditions conditions of visual on the inspection, diagnostics. depends exist preventive and consist schedule that However, humidity tasks running maintenance months. temperature These at the installation maintenance relatively mechanical extreme shock environmental should site. be conditions may demand performed of more frequent maintenance. 5.4 Test Maintenance standard Equipment Required procedures test for equipment the and DMC11 microprocessor diagnostic programs regquire listed in the Table 5-1. 5.5 The Corrective corrective service Maintenance maintenance technician in DMC11 microprocessor module replacement. microprocessor determining module For those situations the basic microprocessor into 140g to and where and that this designed to aid failure is in the through involves running the any 1level test the failure error repalr MAINDEC-11-DZDMC sequentially the the observing component test are correcting Essentially diagnostics subtest procedures each messages. is has section required, been of divided logic. The free-running corrective functions 5.5.1 The test maintenance correctly Diagnostic DMC11 during MAINDEC-11-DZDMG to using can These Maintenance Mode 2. System (free Test Maintenance Maintenance mode current bit 15), CROM current can step location CROM that the microprocessor control ROM (CROM), at full that be the instruction). be tested invoked using two basic using selected bits in the microprocessor (assert bit 10 with a (assert (set is OFF that to bits in With this B SEL1 allow the and to setting bit upper 8), examine examine CSR 6), different bits LOCK access 8 and 9 and load to OUT (switch the 9, E76) maintenance ON, however, it is clear the microprocessor 14 the first in 5-3 CSR. still by the override instruction CSR. switch possible the bit NOTE sure modes These can be used to halt the microprocessor instruction Be speed. running) instruction execute new after Mode byte of the first CSR. (clear used are: 1. 5.5.1.1 the its be Modes microprocessor servicing. ensure should CSR and 6 with T T 5.5.1.2 System This tests at mode full speed T N TR T RN TR R A ERTNAEENTEC W s . RS Test the and functionality utilizing the of the control microprocessor running ROM. NOTE Be sure is OFF the to operating RUN INHIBIT utilize this switch mode and (switch for 7 E76) normal conditions. s | N Table Test Equipment 5-1 Equipment Required Manufacturer Designation Multimeter Triplett Oscilloscope Tektronix Type X10 Tektronix P6008 DEC W984 (Double) W987 (Quad) Probes Module (2) Extenders or Simpson Model 630-NA or 260 453 NOTE For a Diagnostic Tapes DEC a hex double DZDMC, board and DZDMG a us guad. APPENDIX PDP-11 A MEMORY ORGANIZATION AND ADDRESSING The PDP-11 8-bit memory bytes. location; low numbered. and the is a organized Each byte bytes are Words high provide CONVENTIONS are (odd) 16-bit is of word. addresses. even location to Eighteen bits locations select address each 128K 16-bit 1024 so word provide of 256K A an byte an In this high own bytes words are of two address are odd locations automatically only included therefore addresses to found an odd in or byte. 18 bits 8-bit of identified addressing byte. discussion, represents its numbered is capability is and consisting has operation contains the words and even word 8-bit which words. that the at Consecutive numbered Unibus numbered addressed byte 16-bit addressable even even The in 262,144 This the as A(17:00). 256K memory also represents multipler locations K equals and 238K represents be used only f/-\ 131,072 PDP-11 18 locations. processor address bits. The with a maximum memory Without this memory size management unit, the can unit that processor by utilizes provides a all 16 address bits which iimits the maximum memory size to 64K (65,536) bytes or Figure 32K A-1 256K bytes. 262,144 (32,768) shows the words. organization for the maximum memory size of In the binary system, 18 bits can specify 218 or (256K) locations. The octal A-1 numbering system is used to designate the the address shown The address. to the 8K address binary provides system convenience that the highest general physical memory reserved. As for result, this area; words program. PDP-11 these a in to locations registers assigned processor processor and (760000-77777) peripheral addresses; only programmable therefore, without the the memory the memory (32K) A(17:16) master with only to to maximum converting uses as words. 1s if bits allow 16-bit Logic processor A(15:13) generation of are all 1s There is no cannot be (64K) forces addresses in or 124K provides locations 65,536 when are bytes unit (64K) in the 248 management is for numbers has size reserved locations user memory address the the bytes or bits processor reserved area control. 17|16 |1511¢]13102]11 /0|9 |8 QS 32,768 The Q| A-2). NN (Figure are devices. 16 address bits that specify 216 or 65,536 is in below. internal A This 4|3 (2|l |O|AVLRESS BIT 01010|/ 0| O / B/INARY JCTAL hs 08|07 09 le— 16 BIT DATA WORD —| HIGH BYTE LOW BYTE 000001 000000 000003 000002 USER ADDRESS SPACE AVAILABLE USING 18 ADDRESS BITS ON e g___./ POP-11 PROCESSOR WITH MEMORY MANAGEMENT OPTION, INCLUDES 248K (253,952) BYTES OR 124K (126,976) WORDS. 757777 757776 760001 760000 g HIGHEST 8K (8192) BYTES OR 4K (4096) WORDS RESERVED FOR DEVICE REGISTER o ADDRESSES. | *217777 . 777776 LAST ADDRESS IS BYTE NUMBER 262.14310 MAXIMUM SIZE WITH 18 ADDRESS BITS IS 256K(262,144) BYTES OR 128K (131,072) WORDS. 11-1690 Figure A-1 Memory Organization 18 Address A-3 for Bits Maximum Size Using 1s oslo7 00 le— 16 BIT DATA WORD — HIGH BYTE LOW BYTE 000001 000000 000003 000002 USER ADDRESS SPACE o AVAILABLE —T USING 16 ADDRESS BITS ON POP-11 PROCESSOR WITHOUT MEMORY MANAGEMENT OPTION. INCLUDES 56K (57,344) BYTES OR 28K (28,672) WORDS. 187777 187776 160000 160001 w ADDRESSES 160000177777 ARE CONVERTED TO 760000-777777 BY " ——/fl’—fi THE PROCESSOR. THUS, THEY BECOME THE HIGHEST 8K (8192) BYTES OR 4K(4096) WORDS 177776 *177777 LLAST ADDRESS 1S BYTE NUMBER 65,535, MAXIMUM SIZE WITH 16 ADDRESS BITS IS J RESERVED FOR DEVICE REGISTER ADDRESSES. -/ 64K (65,536) BYTES OR 32K(32.768) WORDS. I1-1689 Figure A-2 Memory Organization 16 Address A-4 for Bits Maximum Size Bit 13 becomes (56K) . byte This a is memory. highest locations bytes or Memory the are 28,672 problem of less No are addresses memory locations PDP-11 core highest location words 56K than to interfering Memory K-Words (28K Size K-Bytes 8K bytes last 8K the bus. the 64K 160000-177777 bytes (4K These general the of 57,344 user are to the register has to words) and 57,344 words) or under do the reserved area, because not have there with the available various decimal (56K) progranm. do and is locations internal with 160000 are by which last therefore, bytes converted of these for addresses; memories the accessible reserved of 160000 converts interference designations of relocates (28K) capacities octal processor locations device at beginning which that peripheral first the The 760000-777777 the 1 size in core is a no binary 1 not in possibility bit of space. 4K increments. 8K memories Highest are shown Location (Octal) 4 8 017777 8 16 037777 057777 12 24 16 32 077777 20 40 117777 24 48 137777 28 56 157777 A13. physical reserved or have The below. ADDENDUM DMC11 IPL MICROPROCESSOR TO MAINTENANCE (EK-DMCMP~-MM~001) October 1976 MANUAL Changing the Option Designations ’g/"“w . This manual that is refers to with all used the DMC11-AD versions of Microprocessor the local and (M8200-YA remote module) DMC11 line units. The DMC11-AD (M8200~-YA other is unit. The option module), DMC11-AL line has been which is replaced used (M8200-Y@), unit option by only which two with is the used designations options. have remote One line is DMC11-AR unit. only with the not been changed. local The 1line o The following table describes the mircoprocessor and line unit options. Option Module Description DMC11-AR M8200~YA Microprocessor ; /-\*. microcode Prerequisite for applications with DDCMP PDP-11 remote (M8201 Line Unit) I/\ DMC11-AL M8200-YB Microprocessor microcode for applications with DDCMP PDP-11 local (M8202 Line Unit) DMC11-DA M8201 Line for unit EIA /""“*-:, A1l with cable interface for DMC11-AR DMC 11-FA M8201 Line unit V35/DDS DMCl1l-MA M8202-YA Line M8202-Y0O Line unit Sections and the with for DMCl1l-AR 1M bps DMCll-AL modem unit integral Programming cable interface integral DMC11-MD with with 56K bps DMCll-AL modem Sections 3.4.2.1 through corrected version Replace page 3-6 Retain pages 3-7 3.4.2.15 is have been substantially revised attached: through 3-13 S \—/ Replace Retain pages the 3-14 rest of through the 3-37 chapter. A2 The port is loaded by the microprocessor on The format contents type (TYPE and I or output TYPE PDP-11 on input transfers and by the transfers. of the data port Qépend on the transfer O0). In discussing the data port me;égg; formats, it is segmetimes more convenient to use word desighations (SEL4 and SEW6) rather than / byte designations (BSEL4/{). There are /7 four foryéts. &4 1. Buffi!fi address/character /count input and output (BA/CC I / %?fi BA/CC 0). 2.//%ase input (BASE I)// / /7( Control input (CN%L 1I) 4. Control output ALCONL O0) / 1. BA/CC I andfé;/cc O Format The formafi; for BA/CC I and BA/CC O are the same (Figure / 3-1). /g£L4 contains the least significant 16 bits (0-15) of the bits 14 18 (16 and 15 bit and of buffer 17) of SEL6. SEL6 contain 2's complement the address. The two this address are The remaining 14 character notation. 3-15 count in most significant contained bits in (0-13) positive bits of notation not The microprocessor each for size of which For to input the is the For core stack output. a (BASE) to bytes. 256 maximum This tables operations, BA/CC I of number in the seven is BA/CCs based PDP-11 on the memory supplies new message buffers returns the buffers to microprocessor. output PDP-11 and limited input can operations, that were BA/CC O successfully transferred to the the microprocessor. BASE I SEL4 and of reserved a Format (Figure the bits and of of The block address must 15 block 3-1). BASE program 14 to not SEL6é provide addresses the size is in the 256 any locations first PDP-11 bytes. microprocessor, modify the address memory Upon assigning the PDP-11 within the assigned is cleared, block. Bit 13 the microprocessor If set, by the of SEL6 the is called RESUME. initializes microprocessor contents of the base the resumes table. 3-16 If this base bit table operation and as protocol. specified T i . - ’ . I-S - » .R WS«.t x- . - . 12 - . r“ f 3. CNTL I The CNTL Format control shown e format functions (Figure a means of implementing certain 3-1). Name SECONDARY ADDRESS (SEC ADRS) 8 provides below. Bit 0-7 I DDCMP ’// M%ZNTENANCE / (DDCMg/MAINT) | / /With this ‘fl / / set, the microprocessor enters the DDCMP maintenance mode where it quently S bit / remains until it is subse- initialized. / 9 RESERVED 10 DDCMP!AALF (DqgéP HD) DUPLEX With this bit set, DDCMP half duplex operation is selected. cleared, is DDCMP selected. with bit — 3-17 11. full This With this bit duplex bit must operation be used Bit Name 11 Description DDCMP (SECONDARY With DDCMP SEC) secondary station operation selected. With bit DDCMP duplex this half operation full 12, 13 4 is set, DDCMP this half is cleared, primary selected. duplex station Not used for duplex. RESERVED CNTL O The CNTL PDP-11 Format O format program hardware, of PDP-11 provides error remote station. SEL4 and 14 this format. The shown below (Figure bits and 15 a means conditions program, the Bit 0 bit of control (DATA CHECK CK) informing involving communications SEL6 bits contain are the the DMC11 channel, the located or address in SEL6 of as 3-1). Name DATA of Description When set, this retransmission bit indicates threshold that has been that a exceeded. 1 TIME OUT When this bit indicates microprocessor has received 3-18 set, no the Bit 1 (Cont.) Name TIME OUT OVERRUN Description (Cont.) (ORUN) response from link for 21 When set, message the end of the seconds. this was availabl remote to bj indicates xeceived but receive 1it. no that a buffer is e d DDCMP MAINTENANCE RECEIVED MAINT Whén (DDCMP RECD) 7/ 2 / e set, // message in format has protocol this bit the DDC inddcates maintenange a maintenance been/received opeyation that has and that entered the the state. / LOST,bATA Whegfiset, / this bit indicates that the 4 r?éeived message is longer than the Jéupplied buffer. RESERVED DISOONNECT When set, this bit indicates off to Set Ready lead has been DDCMP START When set, this bit indicates RECEIVED DDCMP START (DDCMP RECD) the on transition Start protocol Maintenance 3-19 message was in state. of the that an modem Data detected. that was received the Running a when or Bit Name 8 NON Description EXISTANT MEMORY (NON When EX set, Unibus this address bit indicates time out has that a occurred. MEM) 9 PROCESSOR (PROC 3.4.3 Input Whenever seized the by assign must a it ERR) data port is the PDP-11 port before specify the receive buffer, control The PDP-11 appropriate type of the port. program transfer These microprocessor the port has this bit indicates that program has performed a procedural error. in use, is for use not program also make set, PDP-11 microprocessor the can When the Transfers the Therefore, ERROR of set bits bit bits may be responds data port (BSEL4-7). takes the and by output the an transfer to program Then, clears set 0-2 5 etc.) the a to being transfer. microprocessor input to transfer. (a transmit so the RDYI BSELO single bit 7, PDP-11 should it of Request by setting assigned PDP-11 input with subject It buffer, microprocessor preparations. set the an request information, then set, data type should been in proceeding and been must it load should which In to (RQI) In program. clear to (RDYI) When desired RQI. completes the The the request instruction. Ready the indicate The when RDY1 data has into the microprocessor transfer. Bit 6 the PDP-11 the microprocessor RQI immediately below of 1 BSELO, to have program megabit receiver Interrupt is Enable receives has set (within 10 or idle. interrupts an Input interrupt RDYI. The is at 1 megabit It is most disabled waiting it must (to when be Vector when either efficient and controls fogr simply/scan Set it. prepared to whether XX0) microprocessor microseconds) times until the microprocessor has program (IEI), responds operating e when at speeds transmitter or the PDP-11 program RDYI one more or to While the PD€f11 accept an oufput transfer because the microprogessor may have seizig/{;e port in the meanwhile. The / microprocessor immediately. For / canhot exXample, / service the certain PDP-11 / / P§pes padbram , //' of may input transfers attempt to queue S more than 7 buffers convenient to use for transmission.//In interrupts. these 1If Eyé PDP-11 cases, it is program finds RDYI clear afteré;veral scans, it caq/énable interrupts by setti ng IEI with (to a BI%/or Vec%%r MOV XX0) 1nstruct10n.l/The when the DMC11 mlcgfiprocessor interrupts has set the RDYI. PDP-11 The PDP-11 program/gets the interrupt ih all cases, even if the microprocessor had already set RDYI at tpé time the program sets IEI. The program can bypass any scanning if IEI is set when the program y NOTE The PDP-11 input program transfer should until the not begin previous a new transfer sets RQI. until as the indicated RDYI. The or PDP-11 transfer has been This can be has been the the data initiates a until full The time format and before scanning the it an this within has cleared to 10 begin should check setting RQI. RDYI output transfer buffer to until a that it on the data port an input for CLEAR microprocessor has (BSEL4-7) been loads and significance sets of or bits the PDP-11 program can is transfer if or the not by error data. an that and an has or not has BSEL2 to It then sets use for a initialized any information of assigned INIT PDP-11 it buffer not in the status output is, generate the it empty PDP-11 generating does 0-2 or initiate free; initialized status when reception However, MASTER transfer the microprocessor transfer. microprocessor port to setting UNIBUS, transfer The by by clearing wishes it completed, cleared. program output DMC11 the any PDP-11 program program cleared done been Transfers return at the does immediately, RDYI transmission. previous on the information to transfer to If has microprocessor microprocessor ROI. microprocessor error the after Output wishes on The by transfer microseconds new 3.4.4 previous signal output progranm. into the indicate bit 7 of the BSEL2, Ready Out (RDYO) available. 1In to response note the type of and read the data sampled all clearing indicate the RDYO. output in to to the RDYO PDP-11 setting, transfer as data port. data, it must complete This frees data the When port II/ the PDP-11 transfers by program wishes, setting bit usually does not know whip/an output ¢tr a messagy/will be interrupts program ordinarily g / . The sef / on Output an will occur efficient interrupfs on output transfers. # ! / reading NoTE gfle data and 7 clearing RDYO. Fdilure to do}%is prevents the data port from being freed.//If the PDP-11 program has requested ?5 input transfer by setting RQI, it must be transfer PDP-11 never prepared prior program gets (for PDP-11 PDP-11 prografl/hust respond to RDYO being by output / %Aables I to to respond to being given RDYI. fails RDYI. The to respond PDP-11 by (IEO). (to Vector XX4) sfer receiy'ed) p has Sipce the PDP-11 program / when transfer BSEL?2 subsequent If TEO is set, the DMC11 interffi;ts the PDP-1 example, of program Interrupt Efléble after the microprocessor has/get RDYO. should / canfenable 6 of Bssyé, 0-2 1is yd / it PDP-11 a data program bits output for transaction. If in the the that PDP-11 specified the the programs to an output If the RDYO, it program should not spin test are on RDYO in unless enabled, priority 3.4.5 RDYI loop that interrupts and level a the than loop the on doesn't output executes DMC-11 also transfers at a lower interrupts level. Initialization The power The PDP-11 MASTER up sequence program CLEAR in and can UNIBUS INIT accomplish BSEL1. Each of the signal same these initialize effect procedures by the DMC11. setting restart the — microprocessor state, the the serial When the perform The PDP-11 11. bits of address be Once the table beginning program its not send output that PDP-11 memory, requests response the address into into bits and to 15 14 DMC11 which BASEI the SEL4 or specifies the RDYI, microprogram. of the to the is this messages loads high If RESUME initialized, the has specified base base called SEL6. be function, transfer program and receive In on transfers. the transfer in to of whiches In is does generate program the the of Base the 2 a TYPEI low order bits of 16 the protocol (bit 13 PDP-11 by to INIT the or a microprocessor MASTER CLEAR. address, until The the PDP-11 the 128 DMC11 program is of SEL6) word base master may ) Table. setting DDCMP bit must address by order it clear. belongs cleared or input table operation must line an word the microprocessor PDP-11 128 to to examine - the contents relating By to of base protocol supplying a microprocessor sequence the base is received microprocessor table operation) address from the not but with conditioned does (for example, error counters must alter its the to not RESUME respond remote initiate to system.f the bit clear, the DDCMP However, start-up contents. the start-up the sequerce microproce on its P accord unless the PDP-11 own program sugpiies a buffér of data to be transmitted. //! If the DMC11 is connected Bdfa half-du Y channel, the PDP-11 program must now performxén input trdAnsfer using the Control 1In A//.‘\ format and set the Ha}f Duplex bi (HD) in SEL6 (bit 10). In addition, the proggd; must speglify whether the DMC11 is to operate as a hélf duple%/éécondary aflgtion (3 second timer) or a half duplex the primary/station Secondarxf bit (1 (SECb,in ASecond timer) SEL6 (bit by 11). setting A half or clearing duplex link must have %he primar;/gtation and one secondary station. The only difference between/éhe two is in the length of time spent before retransmitting i)/gase of errors. Half duplex operation may be specified at ap§ time by a Control In transfer to accomodate switching DMC-11 a options strapped Control to for In half duplex containing half duplex back the up integral operation transfer. AR — communications in modem must addition to channel. be The specifically requiring the 3.4.6 DDCMP Before data Start Up messages may be transmitted start-up sequence the link are the running state. both ends do so simultaneously. data to be a buffer start The completed initialized Either end to and may received, the DDCMP make certain both ends to place initiate If transmitted, the the the the start PDP-11 local protocol in sequence program DMC11 of or supplies initiates the sequence. PDP-11 program may However, one Once the local and flags as the start sequence. Control Out has begin Data the Character a PDP-11 The the that result, with the SEL6 the sequence running the the bit of 7 (DDCMP program knows PDP-11 program is end that it has program START the should sequence. significant. state, other PDP-11 start detects initiated receives REC'D) other a set. end initialize of If the the again. Transmission PDP-11 bits fact details of entered the As restarted. and clears the the property has error transfer link 3.4.7 DMC11 an happens, DMC11 ignore important this When be correctly may of must or 1 program and Count In specify that this requests an input 0 of wishes BSELO transfer is a full transfer to to and indicate clears buffer by transmit to setting a bit be a buffer Buffer 2 of of data, Address/ BSELO (INI/O) transmitted. RQI. In it response It to to then RDYI, it loads SEL4 with the low order 16 SEL6 with the high bits 15 and 14 of and bits 13 to 0 from 1 to remote of 16,383 operation about of SEL6 bytes with long buffers the bits of order 14 bit the bits buffer address, of address, character may be used should be 1limité€d for local to a the count. operation. practical ~ 512 bytes, facilities, Each depending buffer on the error correspopds to a rate Buffers of For maximum -~ e communications single/DDCMP data message. / / When the message has beep/;uccessfull transmitted and an rocessor initiates an output clear indicate the Buffer Bit (OoUT I/0) g / acknowledgement rece%yéa, the micr / transfer with bits/4 Address/CharacteX and Count 0 of Out BSEL2 g?%/CC O) to format. 2 / is clear to ipgdicate that ?/successfully transmitted buffer has been returngd to the prog{;m. / The by PDPA11 program supplying them. An m@y buffeys attemp queue to the queue up to more than /to delay granting until has been returned. buffegr buffers microprocessor microprocessor a seven the for faster seven than buffers request for transmission it forces the input NOTE The PDP-11 transfer are program that already should supplies a outstanding, not request transmit unless it an buffer is input if 7 certain returns the transfer that the enough buffers if two PDP-11's to queue buffers and 3.4.8 Data When the with received a BA/CC up an then requests an loads count in the and SEL4 same a message has BSEL2 is SEL4 and SEL6 If a of set DMC11's no is microprocessor made attempt receive deadlocked BSELO setting the indicate the to indicate (IN I/0O) to specify for ROI. full address buffer of the It In to The response O has and character character message and output BA/CC reception. address received the fill BSELO longest an to of buffer the initiates a wishes transmission. successfully to 0 it available by for and of with indicate contains characters message particular, buffer 1 accommodate been to 2 transfer to clear bits been microprocessor I/0) In supply DMC11's. empty bit as When number sets format enough (OUT can become their clears SEL6 large of by while they an and be 0 connected has has input must and link reception. queued, it buffer it 1 the buffers, program data, RDYI, the for of Reception empty buffer, end initialize transfer that 8 are must PDP-11 I other stored expected, in transfer with format. Bit been buffer count the bits 2 received, and the actual received. received informs when the no PDP-11 receive by buffer means of a is available, Control Out the transfer " with bit 2 informed of of SEL6 the error The PDP-11 program The PDP-11 may supplying them buffers. An (O'RUN and up the attempt set, The automatically should queue to ERR) supply to a seven other as queue morf£ than soon buffers microprocessor/faster to of retransmits buffer empty end than seven the as for the link message, possible, reception it is by returns buffers forces the / microprocessor to delay grantiyé the reques$t for input transfer until a full buffer has beep/returned. 4 ) / NO The PDP-11/$rogram shiould not request an input , transfey'than sup?{ies a buffer for reception / if re cepytain already that upplying e outstanding, unless other the buffers for end of it link is 1is transmission. i Control Ou Transfers icroprocessoy conditions the link, transfer Control the Out to the hardware with/bit operation program involfing DMC1 error informs (CNTL 1 of )) condition. may PDP-11 PDP-11 BSEL2 clear transfer. Some the program communications or continue. initialize the errors Others DMC11. by and 0 bit set advisory fatal and unusual or remote end means contains are are channel, program SEL6 of of an that in nature require of output indicating bits error a indicate the and normal PDP-11 Bit 0 been (DATA CK) exceeded. occurred for (More supply counters a a the non-fatal normal is This corrected corrected program Bit 1 or are (TIME from failure Like at DATA CK, consecutive or reception.) that the other reception. The Should the cause continues with no error appear may the DMC11 counted in indicates remote this is a of detalls lost are not the link of the condition to the errors PDP-11 table. broken link non-fatal either the reported is corrected, Transient microprocessor failed This until the a has error. be that of link defective error in initialized. a examine the error repeatedly is can of the the base end end end has have indicates the indicates other This PDP-11 of threshold retransmissions messages retransmissions This the 7 more the seconds). retransmission for 7 OUT) a table until before but response (21 base operation or for error. direction. than channel buffer in that transmission communications to indicates for a has specified communications (possibly error which received a can period channel power no or a failure). occur repeatedly. Bit 2 (O'RUN) indicates was available. This can prevent this is error that a a message non-fatal from was received error. recurring The repeatedly but PDP-11 by no buffer program supplying a buffer. Bit 3 (DDCMP MAINT Maintenance format has the entered REC'D) was indicates received Maintenance and state. 3-30 that a message that the in protocol the DDCMP operation “'\.../ Bit 4 (LOST longer a than fatal Bit 6 DATA) the indicates buffer that supplied a message by the was PDP-11 received program. that is This is error. (DISCONNECT) indicates that an on to off transitiog of the V. modem Data Set only). This PDP-11 program has Ready is connected a has non-fatal must to lead detegted error. consider the been the DMC11, if considerations. or (remote dial-up ssibility X£his is op€ration opgeration, thAt requiXed a by new the caller security , / Bit 7 (DDCMP START REC'P) indicates £Ahat a DDCMP Start message was received when téy/;rotocol wag in the Running or Maintenance states. its / This end of ind}éates ink. the may initializé the start- Bit 8 (NON that thé remote computer has This fi7/a fatal error. the DMC11 initialized The PDP-11 program ifl/it wishes to start over and complete sequence. EX MEM) indicates that a UNIBUS address time out occurred. This co;i; have been caused by the PDP-11 program specifying an was illegmlly stored inva&lid base in the defective. Thys is Bit ERR) indicates 9 (PROC PDP-11 program. due a to The programming a address, base fatal table or address, the or PDP-11 count, memory that 1is error. a procedure requested error. buffer has input This error on transfer error can be the can part of the not be honored caused by requesting a BA/CC before a second time, 0. This is 3.4.10 A down line error computer half an requesting invalid code in a base address BSELO bits 1 and format, restarting, systems. but the are Maintenance or otherwise Messages in unsequenced, automatically by the message, this used maintaining format are unacknowledged, DMC11. is subject and Transmission is not always duplex. Maintenance messages microprocessor program CNTL I may transfer message CNTL is O state Once in in can only the DDCMP the with bit the received. change DDCMP and received data portion 1In with and generating the sent of to and SEL6é to case, MAINT mode, data message is header and set in On taken the from On PDP-11 by a The maintenance SEL6 performs to indicate message. messages messages. data portion is'placed in the buffer. set. maintenance maintenance CRC's. a the state microprocessor REC'D a if while The this MAINT) state the of state. enter (DDCMP Maintenance this received maintenance availability similarly the 8 DDCMP maintenance of be microprocessor enters transfer the DMC11 is cause microprocessor a address, Messages loading, retransmitted base error. message checking a specifying fatal DDCMP satellite to or Maintenance special for a supplying can be transmission, buffer reception with only, sent the the the Messages not in DDCMP maintenance format or having incorrect CRC's are simply discarded. The data portion of that is desired, the maintenance message may contain any data but ordinarily it conforms to,{he Digital Maintenance Operation Protocol (MOP) forma;si When a host ///’ computer wishes to restart a satellite gofiputer system}/{é/;ust send the appropriate MOP messages as/déscribed belo /i 4 In order to initialize bit leave Maintenance mgée, the DMC11 and supel& a clear. 3.4.11 Remote Whenever the Load . v} ’ DEtect f/}v micropyocessor 4 base program must address with the and L] is Dgwn Line L fLunning, / MOP MODE data @&;ld. i 1 RESUME .-V' ’ the serial 1line gfi} a DDCMP P e N PDP- / v ! the / [ it Load ] is L] constantly scanning intenance message containing an ENTER What/Aappens when this particular message is received ?épends on th vsetting of two switch packs on the DMC11 line fnit. Depending on the setting of these switches, the DMC11/will either ¢ommence down line loading in MOP mode, trigger/the PDP-11 tf6 begin executing a program in a read only memory (ROM) bOOti%&ap (BM873, M9301, etc.) or simply pass the data to the PDP-1/ as an ordinary maintenance message. In case a ROM specify an 8 bootstrap bit word is triggered, offset to the switches bootstrap on the address line unit space. The data portion The first byte bytes a contain switch protect of ENTER contains the pack the on against same the the 8 message is 5 bytes long. number 6. The remaining 4 value. This value is specified by and serves as a line inadvertant MODE decimal bit DMC11 MOP unit recognition of the ENTER recognized and the password MOP to MODE message. If an ENTER MOP MODE to commence down line over are PDP-11 a tight program In MODE The next followed address. down a data ENTER This was end it the and remains until MOP MODE the on the processor control message, message three in bytes informs is system is placed transferred to the the DDCMP long sends maintenance that remote DMC11 contains a format the end that the LOAD WITH TRANSFER decimal ENTER MOP received. should now send DDCMP maintenance 4 bytes are a specify micropr&cessor takes periperals sequence in by All switches line. MODE field the DMC11 system. INIT where the 8.12,1. remote an SECONDARY message message the to MOP containing numbers loop loaded response REQUEST by is loading, computer initialized into a the message memory an 18 image MEMORY format. bit to a memory be The first address loaded and two right four bytes ADDRESS are zero, justified, bytes of transfer dlifgliltiall digital equipment corporation Printed in U.S.A.
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies