Digital PDFs
Documents
Guest
Register
Log In
EK-KY1LB-MM-001
January 1977
105 pages
Original
5.1MB
view
download
OCR Version
3.7MB
view
download
Document:
KY11-LB Programmer's Console/Interface Module Operation and Maintenance Manual
Order Number:
EK-KY1LB-MM
Revision:
001
Pages:
105
Original Filename:
KY11-LB_MaintMan.pdf
OCR Text
EK-KY1LB-MM-001 KY11-LB programmer’s console/interface module operation and maintenance manual digital equipment corporation - maynard, massachusetts st Edition, January 1977 Copyright © 1977 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 U.S.A. This document was set on DIGITAL’s DECset-8000 computerized typesetting system. The following are trademarks of Digital Equipment Corporation, Maynard, Massachusetts: DEC DECtape DECCOMM DECUS PDP RSTS DECsystem-10 DIGITAL TYPESET-8 ‘DECSYSTEM-20 MASSBUS TYPESET-11 UNIBUS CONTENTS W= DA e e e e B e I e B CHAPTER 1 CHAPTER 2 OPERATING CHARACTERISTICS INTRODUCTION . ... ... GENERAL DESCRIPTION ... ... ... ... e . . . . . . . . . . FUNCTIONAL DESCRIPTION SPECIFICATIONS e s . . . . . . . . . . . . . . . . . e e e Electrical Specifications . . . . . Mechanical Specifications . Environmental Specifications . . . ... .. ..o ... oL .0, e e e e e e e e e e e e e e e e e e e FUNCTIONAL DESCRIPTION . . . . Console Mode . . . . . . . . . . i i . . . . . . . . . . MICROPROCESSOR INSTRUCTIONSET CHAPTER 3 INTERFACE MODULE MICROPROCESSOR . . . . . . State Control . e e e ... . 2.4 General Organization o e e e e e e e e e e e e e . . . . . . . . . . . . . . . . .. .. .. e Transition State Diagram . . . . .. ... e . . . . . . . . . . . Address Register Bus Address Register e 3.2.3 Switch Register 3.2.4 Data BusControl 3.2.5 UnibusControl e ee e e e e . . . . . . . . . e . . @ .. .. e e e e e e e e e e .. ... .. .. .. e . . . . . . e e e e e e e e . . e . . . . . . . . .« . . . e e e e e e e e e e e e e e e e e e . . . . . . . . . . . . . . . . . . . e e e e e i v v v vt v e INTERFACE MODULE REGISTERS AND CONTROLS 3.2.2 e e e . . . .. .. ... ... ..... Microprocessor Timing 3.2.1 e e e e e e e e e e e e e . . . . . . . . . . . . . System Start-Up s e e e e e e e e e e e e e . . HARDWARE ORGANIZATION W W W wwww Maintenance Mode . . . . . . . . . @ i 2.3 AWk~ e .. .. ... ... CONTROLS AND INDICATORS et et ek el ek v e e e e . . . . INTRODUCTION DD e e e i . . PROGRAMMER’S CONSOLE KEYPAD FUNCTIONS/ CHAPTER 4 e e e . . . .. . .. .. . . .. ... 2.2 2.2.2 e e e . . . . . . . . . . . . . e e e e . M7859 Interface Module Performance Specifications 2.1 2.2.1 e e e e e e e e e e e e e e e e e i v ittt . . . . . . . . .« . 0 i i i e e e e e e e e MICROPROCESSOR INSTRUCTION DESCRIPTION 4.1 DATA AND INSTRUCTION FORMATS 4.2 MICROPROCESSOR INSTRUCTIONS 4.2.1 Index Register Instructions 4.2.2 Accumulator Group Instructions 4.2.3 Program Counter and Stack Control Instructions 4.2.4 Input/Output Instructions 4.2.5 Machine Instruction . . . . . . . ... ... .. ... ...... . . . . .. ... .. ... . . .. . . . . .. ... ... 0000, . . . . . .. .. ... ... ... . . . . .. .. .. .. . . . . . . . . .. .. .. 000, . . . . . . .. .00 0000 o0 oo CONTENTS (Cont) Page CHAPTER 5 INTERFACE MODULE DETAILED LOGIC DESCRIPTION 5.1 e e e e e e e e e e e INTRODUCTION . . . . o et e e e e e e PROGRAMMER’S CONSOLE KEYPAD FUNCTION SEQUENCES . . . .. 5-3 Console Mode Key Functions . . Maintenance Mode Key Functions DETAILED LOGIC DESCRIPTION . Clock CirCuitry . . . .+ o v o o e Power-Up Logic/Interrupt . . . . MiICTOPIOCESSOT . . v v v v e e e e Timing State Decoder . . . . . . Address Register . . . . . . . . . 5-3 5-5 5-5 5-5 5-5 5-6 5-6 5-6 5.2.1 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 e . . . e . e . . . . . . .. .. ... .. .. ... . . . . . . .. .. ... ... ... . . . . . . . ... ... e e e e e e e e e e e e e e e e . . . . . . ... .. ... ... e e e e e e e e e e e e e e e e e e . . . . . .. oo, ... e e e e e e e e 5.3.6 ROM . . . 5.3.7 RAM . . . . e e e e 5.3.8 Switch Register 5.3.9 Switch Register Address Decode Logic 5.3.10 Bus Address Register 5.3.11 Data Bus Control Logic 5.3.12 UnibusControl 5.3.13 Keypad ScanLogic 5.3.14 Indicator Logic 5.3.15 Halt Logic 5.3.16 Buffers 5-1 e e e e e e e e e e e e 5-7 e e e e e e e 5-7 . . . . . . . . . . . . . . e 5-7 e e e e . . . . . . . . ..e e e e e e . 5-7 000 5-8 e e e e e e e e e 5-8 . . . . . . . . . . . . . .. .. . . .. ... .. ... e . . . . . . . . . . . . 0 o i e . . . . . . . . . . . . . . . . e . . . . . . . . . . . . .. . . . . . . . . . 5.3.16.1 Tristate Buffers (8093) 5.3.16.2 Tristate Transceivers (8833) CHAPTER 6 CONSOLE MODE OPERATION 6.1 INTRODUCTION . . . . . CONSOLE KEY OPERATIONS . . . . . . . . . . . EXAMPLES OF CONSOLE SEQUENCES CHAPTER 7 MAINTENANCE MODE OPERATION 7.1 INTRODUCTION o . . . . . e e NOTES ON OPERATION CHAPTER 8 KY11-LB MAINTENANCE 8.1 PRELIMINARY CONSIDERATIONS 8.2 M7859 FAILURES 6-5 6-6 e e 7-1 . . . .. ... ... ..... 7-1 e e e e e e e e e e e 7-2 e e e e e e e e e e e 6-1 . . . . ... ... . ....... . . . . . . . . . . . . . . it i i e 6-1 e e MAINTENANCE MODE KEY OPERATIONS 7.3 ... 5-11 e e e e e e e e e e e e e e e e e e 6.4 . . e 5-11 . . . . . . . . . . . . . ... . ... 5-11 NOTES ON OPERATION . . . . . e 5-11 e e e e 5-11 e e e e e e e e e e e e e e 6.3 . . . e e . . . . . . .. . .. . . ... ... o e 5-10 e e 5-10 e e e e . ... ........ e e e ....... 8-1 . . . . e e 8-2 iv . . .. .. . . ... ... e e CONTENTS (Cont) CHAPTER 9 KY11-LB INSTALLATION 9.1 KY11-LB DESCRIPTION 9.2 CPUBOXTYPE . . . . . . . ... . .. . . . .. i i e s 9.3 CPU DIFFERENCES . .. 9.4 BA11-L 13.3 CM (5-1/4 INCH BOX) INSTALLATION . .. ... ...... . . . . . .. .. . 9.5 BA11-K 26.7 CM (10-1/2 INCH BOX) INSTALLATION 9.6 MAINTENANCEMODE HOOK-UP APPENDIX A KY11-LB MICRO-CODE LISTINGS APPENDIX B IC DESCRIPTIONS . . . ... .. .. . ... .. .. ... ... ... ...... FIGURES Title Programmer’s Console/Interface — PDP-11/04/34 Configuration Interface Module (M7859) . . KY11-LB Logical Organization KY1I-LBKeypad . . . . . . . . . . . . . . . . . ... . . .. . .. ... ... @ i i i e . . . . . .. .. . . . . . .. . .. ... ... ... . . . . . .. . ... . . . e @ Interface Module Detailed Block Diagram Microprocessor Signal Interface . . . . . Timing Diagram — Microprocessor Instruction Transition State Diagram . . RAM Address Allocations . Keypad Image . M7266 . . . . . . . . . e e . . . e i . . . . . . . . . . . . . . . . . .. . . . . . . . . . Clock Waveforms M7263 . . . .. . . . . ... .. . ... ... e e . . . i i i i i e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e .... e .... . . e e e e e . . . . . . @ . e e e e e e e TABLES Table No. 2-1 3-1 3-2 5-1 Title KY11-LB Controls and Indicators . . . . . . . . . . . .. State Control Coding . . . . . e e e e e e e e e e e e Cycle Coding . . . . . . . i i i e e e e e e e e RAM Function Address Assignments . . . . . .e e e e Vi Page ... .. ... e e e e e e e e e e e e e e e e 2-3 3-2 3-3 5-2 KY11-LB PROGRAMMER’S CONSOLE/INTERFACE MODULE OPERATION PREFACE The KY11-LB Programmer’s Console/Interface Module Operation and Maintenance Manual provides the information required to operate this option in console or maintenance mode. The manual also presents a detailed theory of operation of the interface module hardware and software components, data on the utilization of the programmer’s console as a maintenance tool for the PDP-11/04/34 processors, and information on the troubleshooting and maintenance of the interface module itself. The information is presented in nine chapters: Chapter 1 Provides an inroduction, general description, and overview of electrical and mechanical specifications. Chapter 2 Presents a functional description of the console, operating modes, controls and indicators, and a general discussion of interface module hardware organization and software facilities. Chapter 3 Describes, on a detailed block diagram level, interface module functions, registers and controls, and the functions of the MOS/LSI microprocessor. Chapter 4 Describes the microprocessor instruction set. Chapter 5 Presents a description of the M7859 Interface module to the logic level. Chapter 6 Provides operating information on console utilization in console mode. Chapter 7 Contains procedures for using the console in maintenance mode (maintenance of PDP-11/04/34 processor). Chapter 8 Covers some maintenance techniques for the KY11-LB interface module. Chapter 9 Describes installation procedures for various options. NOTES In the material presented in this manual, the term ‘“processor”’ refers to the KD11-D, KDI11-E, and KD11-EA PDP-11/04/34 processors. If the operator is not familiar with console functions, Chapter 6 should be consulted. CHAPTER 1 OPERATING CHARACTERISTICS 1.1 INTRODUCTION The PDP-11/04/34 Programmer’s Console and Interface module (KY11-LB) provides all the functions now offered with the PDP-11/05. The Programmer’s console interfaces to the Unibus (Figure 11) through a quad SPC module. To use this option, the normally provided KY11-LA Programmer’s Console must be removed and the KY11-LB Console installed in its place. The KY11-LB Console contains a 7-segment LED display and a 20-key keypad for generating the console commands. Several indicators are also provided for additional convenience in monitoring system status. PROGRAMMER'S CONSOLE/ — _l KD11-D ADDITIONAL MEMORY MQDULE KY11-LB [ OR PROCESSOR ! 11-4855 Figure 1-1 Programmer’s Console/Interface - PDP-11/04/34 Configuration The KY11-LB Programmer’s Console/Interface module comprises an INTEL 8008 single-chip, large scale integration (LSI) microprocessor and associated registers, Unibus control logic, and auxiliary memory. The unit is also provided with a 20-key keypad for operator/programmer interaction with the KD11-D, -E, -EA via the interface module, six indicator LEDs, a 6-digit, 7-segment display for address or data, and a dc power switch. The microprocessor communicates with a read-only memory (ROM) which contains a number of fixed routines for use during normal console and maintenance operation. 1.2 GENERAL DESCRIPTION The M 7859 Interface module (Figure 1-2) functions as the interface between the programmer’s console and the KD11-D, KD11-E, or KD11-EA processor, via the Unibus. The unit consists of solid state integrated circuits with TTL~compatible input and output lines. The heart of the interface module is a single-chip, large scale integration (LSI) microprocessor which executes designated keyboard functions via programs stored in ROM memory. Auxiliary logic functions including clock, decoding and timing circuitry, and addressing and Unibus drivers/receivers comprise the remaining logic of the board. 1-1 8141-14 Figure 1-2 Interface Module (M7859) The microprocessor chip is an 8-bit, parallel control element packaged as a single metal oxide silicon circuit in an 18-pin, dual in-line package. With the addition of external clock driving circuitry and decoding elements, plus memory and data bus control, the unit is capable of performing as a powerful, general-purpose, central processing unit. Internal logic of the microprocessor chip is structured around an 8-bit internal data bus and includes instruction decoding, memory control, accumulator and scratchpad memory, arithmetic and logical capability, program stack, and condition code indicators. Data transfer between the microprocessor chip and the remaining logic functions of the interface module is accomplished through an 8-bit, bidirectional data port which is an integral part of the microprocessor. An internal stack (scratchpad memory) contains a 14-bit program counter (PC) and an additional complement of seven 14-bit registers for nesting up to seven levels of subroutines. The 14-bit addressing capacity allows the microprocessor to access up to 16K memory locations which may comprise any mix of ROM or RAM. 1.3 FUNCTIONAL DESCRIPTION The KY11-LB Programmer’s Console permits the implementation of a variety of functions through a 20-key keypad located on the front panel of the programmer’s console. Keypad functions are divided into two distinct modes: console mode and maintenance mode. In console mode operation, a number of facilities exist for displaying addresses and data, for depositing data in and examining the content of Unibus addresses including processor registers for entering data into a temporary buffer for use as address or data, and for single instruction stepping the processor. The latter feature is especially useful during program debugging functions. Normal console keyboard functions are not available during maintenance mode. This mode permits sampling and display of the Unibus address lines and Unibus data lines, and may allow the console to take control of the Unibus to examine and deposit Unibus addresses if a processor is not present in the system or is malfunctioning. Additionally, the maintenance function permits assertion of the manual clock enable and display of the current processor microprogram counter (MPC). Single-clock cycling of the MPC is also possible to facilitate step by step checkout of processor op codes and control logic during maintenance functions. In conjunction with this function, assertion of manual clock enable permits the processor to be stepped through its power-up routine. The manual clock enable may be dropped via the START key at any time with a resulting dislay of the current MPC. Exit from maintenance mode to console mode may be accomplished at any time by depressing the CLR key on the keypad. 1.4 1.4.1 SPECIFICATIONS M?7859 Interface Module Performance Specifications Operating Speed at 500 kHz Two-Phase Clock Period Time State (SYNC) Instruction Time (Microprocessor) Word Size 2 us 4 us 12-44 us Data 8-bit word Instruction 1, 2, or 3 8-bit words Address 14 bits Memory Size ROM RAM 4 512 X 4 organized as 1024 8-bit words 16 words by 8 bits 1-3 Input/Output Lines Memory Data Address Control (Address) Unibus Control 16 bits 18 bits 2 bits 5 bits Microprocessor Instruction Repertoire 48 Basic Instructions Instruction Categories 1.4.2 Register Operation Accumulator PC and Stack Control I/0 Machine Electrical Specifications Power Supply +5Vat30A -15 V at 60 mA Input Logic Levels (all modules) | TTL Logic Low TTL Logic High Output Logic Levels (all modules) TTL Legic Low TTL Logic High 0.0 to 0.8 Vdc 2.0 to 3.6 Vdc 0.0to 0.4 Vdc 2.4 to 3.6 Vdc Power Consumption Interface Module Monitor/Control Panel 1.4.3 W 14 1'W Mechanical Specifications M7859 Interface Module | Board Type Dimensions Height Length Quad SPC 21.44 cm (8.44 in) 26.08 cm (10.44 in) Programmer’s Console (Overall Panel Dimensions) Width Height Depth 1.4.4 47.63 cm (18.75 in) 13.02 cm (5.125 in) 6.76 cm (2.66 in) Environmental Specifications Ambient Operating Temperature Humidity 5° to 50° C (41° to 122° F) 10% to 95% maximum, wet bulb 32° C (90° F) 1-4 HLT GRANT SSYN R ADDRESS/DATA BU " L] MICROPROCESSOR 8008 TRANS- DATA BUS CEIVER 3-STATE 3STATE 3-STATE 3STATE ROM BUFFER BUFFER BUFFER BUFFER 512X 8 DATA IN (3-STATE) J r RAM 16X 8 CLOCK DATA OUT TIMING TIME STATES DECODER ADDRESS ADDRESS REGISTER REGISTER 14.8 7-0 DATA BUS CONTROL RAM CNTRL 4 L ROM ENABLE INPUT/OUTPUT PORTS l CONSOLE DISPLAY I ' ADDRESS/DATA BUS ! I \/ BUS CONTROL BUS ADDRESS BUS ADDRESS BUS ADDRESS S.R. REG REG 3 REG 2 REG 1 CONTROL L |1 1| | INIT KEYPAD HLT RQST MSYN ] | l i)i J TRANSCEIVER 777570 BUS ADDRESS <17:0>, C1, CO UNIBUS 11-4852 Figure 2-1 KY11-LB Logical Organization 2-2 SWITCH REGISTER TRANSCEIVER BUS DATA <15:0> / HLT/SS DEP EXAM 7 DIS AD L / LAD 4 5 6 CONT BOOT \, LSR 1 2 3 CLR 0 INIT CNTRL 1 Z START J 11-4846 Figure 2-2 Table 2-1 Control/Indicator KY11-LB Keypad KY11-LB Controls and Indicators Function Keyboard - Console Mode LAD Load Address — Moves the 18-bit number in the temporary register into the Unibus address pointer. The temporary register is then cleared and displayed. LSR Load Switch Register — Moves the 16 lower bits of the temporary register to a register which can be read via Unibus address 777570. The switch register contents will be displayed. DEP Deposit — Causes the console to do a DATO on the bus address pointed to, using the data in the temporary register (two MSBs are truncated). Sequential deposits cause the address pointer to be incremented. This key is operative only if the processor is halted. Numerics — These keys are used to enter data into a temporary data buffer prior to use as either address or data. Use of a numeric key forces the console to display the data held in the temporary buffer. A 6-digit number is generated as octal digits are entered from the right and left shifted. CNTRL Control - This key is used only in conjunction with other keys either to prevent accidental operation of certain functions or to provide entry into maintenance mode or other features. When used, the CNTRL key must be pressed first and held down while the second key is pressed. Those keys which are interlocked with the CNTRL key are indicated by “CNTRL-second key” (e.g., CNTRL-START). 2-3 Table 2-1 KY11-LB Controls and Indicators (Cont) Control /Indicator Function CNTRL-INIT Initialize — Operative only if the processor is halted. Causes BUS INIT L to be generated for 150 ms. DIS AD Display Address — This key causes the current Unibus address pointer to be displayed. The next examine or deposit will occur at the address displayed. EXAM Examine - Causes the console to do a DATI on the bus address pointed to and stores the data in the temporary register which is then displayed. Sequential examines cause the address pointer to be incremented by 2 or by 1 if the address is in the range 777700-777717. This key is operative only if the processor is halted. CLR CNTRL-BOOT Clear Entry - Clears the current contents of the temporary register which is then displayed. Causes M9301 bootstrap terminator to be activated if present in the system. Console will boot only if the processor is halted. CNRL-HALT/SS CNTRL-CONT Halt/Single Step - Halts the processor if the processor is running. If the processor is already halted it will single-instruction step the processor. It also retrieves and displays the contents of R7 (program counter). The CNTRL key is not required to Single-Instruction Step the machine. . Continue - Allows processor to continue using its current program counter from a halted state. The contents of the switch register are displayed. | CNTRL-START Operative only if halted, this causes the program counter (R7) to be loaded with the contents of the Unibus address pointer. BUS INIT L is then generated and the processor is allowed to run. Switch register contents are then displayed. CNTRL-7 Causes the Unibus address pointer to be added to the temporary data buffer which is also incremented by 2. This allows the console to calculate the correct offset address when mode 6 or 7, register 7 PIC (Position Independent Code) instructions are encountered. CNTRL-6 This causes the switch register to be added to the temporary data buffer. This is useful when mode 6 or 7 instructions are encountered not using R7. CNTRL-1 Maintenance Mode - This combination puts the console into maintenance mode with certain maintenance features available. When the console is in maintenance mode, the normal console mode keypad functions are not available. The CLR key causes the console to exit from maintenance mode into console mode via a processor halt. 2-4 Table 2-1 Control /Indicator KY11-LB Controls and Indicators (Cont) Function Keyboard - Maintenance Mode NOTE| In maintenance mode the keypad functions are redefined with the following definitions. DIS AD Causes the Unibus address lines to be sampled and displayed. CLR Returns the console to console mode via a console halt. EXAM Causes the console to sample the Unibus data lines and display the data. Causes the console to take control of the Unibus. Should be used only when a processor is not present in the system. HLT/SS Asserts manual clock enable and displays the current microprogram counter (MPC). CONT Asserts manual clock enable, generates a manual clock pulse, and displays the current MPC. BOOT Boots the M9301. If manual clock enable is asserted, this will allow the processor to be stepped through the power-up routine. START Drops manual clock enable and displays the current MPC. Indicator LEDs - Any Mode DC ON All dc power (+5 V) to logic is on. BATT Battery monitor indicator, operative only in machines having the battery back-up option. This indicator has four states: Off - Indicates either no battery present or battery failure if a battery is present. On (continuous) - Indicates that a battery is present and charged. Flashing (slow) - Indicates ac power is ok and battery is charging. Flashing (fast) - Indicates loss of ac power and that battery is discharging while maintaining MOS memory contents. RUN Indicates the state of the processor, either running or halted. 2-5 Table 2-1 KY11-LB Controls and Indicators (Cont) Control /Indicator Function SR DISP Indicates that displayed. MAINT Indicates that console is in maintenance mode. BUS ERR Indicates that an examine or deposit resulted in a SSYN timeout or that HALT REQUEST failed to receive a HALT the content of the switch register is being GRANT. DC Power Switch DC OFF All dc power to logic is off. DC ON All dc power to logic is on. STNBY DC power is provided to MOS memory only.* *Available in all BA11-C machines. Available in BA11-K boxes which have Battery Backup Option only. Table 2-1 refers to certain registers which are located in the scratchpad RAM. These include the Subwn— followmg Display Data Keypad Image Temporary Data Buffer Unibus Address Pointer Switch Register Image EXAM, DEP, ENB and CI1 flags Detailed discussion of the scratchpad RAM and its registers is set forth in Chapter 5. 2.2.2 Maintenance Mode Mantenance mode is entered by pressing the CNTRL key and the 1 key simultaneously. Note that the functions performed by the appropriate keys are quite different from console mode. This mode offers the ability to assert the manual clock enable and thus to single-clock cycle the processor while monitoring the contents of the processor microprogram counter. 2.3 HARDWARE ORGANIZATION A detailed block diagram of the interface module showing data flow and controlis indicatedin Figure 2- } The control functions shown include those for the Unibus interface and the internal data bus with the microprocessor. The latter controls include those for reading from and writing into the RAM, enablmg ROMs 1 and 2, and reading the Unibus temporary buffer register or loading the bus address and switch registers. All of these functions occur on appropriate control from the stored program and keypad. 2-6 DIN 0-7H 20 MASTER CLOCK o1 02 8 BIT BUS TRANS- CEIVERS 16 BIT ADRD 0-7H ADDR ON ADRD 08 1024 x 8 ROM 1 EN L1 SO S1 S2 ——» BUS SSYN L (TO HALT) LOGIC <15:0> 4 BUS DATA o 9 ENDB~BL ROM w S ADDR DECODE REG INT POWER- S.R. Z {DECODE 777570) . ROM 2 EN = o« SWITCH REG SYNC H (16 BITS) LOGIC @ ADDR b WAITL [ax] REG —— TS2L ADRD DO 0-7 z 3 LOAD —— TS1L GATING DECODER }—— T1IL BYTES |—— TS3L | e CLRBUS L 182 TS5L E:HALT RQSTL UNIBUS | 1. e BUSINT L — TS4L ADRD 05 CNTL LOGIC 777570 <17:0> |1+ EN DB—BUS L @ L BUSMSYN L BUS ADDRESS @ L1 & TAKE BUS L 2 Q [%7] SINGLR ADRD 6, 7 cvcLe CNTL 1 [ MANCLKENL ——» MAN CLK L 2. ) BUS ADRD 0-7 ApnppR REG - ‘_'1 18 BITS | 8 o READ INPUT 07 L EN AR—BUS L ——* DIN DRIVERS D15 H c FS,?, %DP%1F3LIN 1 : DATA BUS CNTL +2 CONTROL ‘ BITS RAM WRITE :;:: DIN BUS L (RAM) F84+ LOAD REG 0-5H ; AND IND CNTL . [~ ROM 1 EN L preyit» ROM 2 EN L —e»BUSER L IND ADRD 4.7 [ e srRDISP L CNTL | 1 e maINTMOL L ADRD 0-3H . DISPLAY > BOOTL 16X 8 RAM DOUT 0-7H f SCAN SIGS RAM-DIN BUS L KEYPAD SCAN RAM WRITE H SWITCHES (20) LOGIC CONN 0 — CONN 11 H (MPC INPUTS] FOR DISPLAY KEYPAD MAINT CONN HALT GRANT H | » BUSBUSY L CLR BUS L PU PL BUS BUSY L > > HALT * BB SSYNH CNTL BUS SSYN L - BUS SACK L BUS INIT L TAKE BUS L — RUN L 11-484% Figure 2-3 Interface Module Detailed Block Diagram 2-7 Decoder for Timing States The decoder element receives the state outputs SO, S1, and S2 from the microprocessor and generates the time states for the operation of the interface module. A sync pulse corresponding to two phase clock periods (1 time state) is also provided by the microprocessor. Power-up Logic This circuitry activates the microprocessor, clearing its various registers and generating a clear line to all the registers of the interface module. There are separate clears for the address register and all other registers. Address Register This 16-bit register is the principal buffer between the microprocessor and the remainder of the logic of the interface module. Although designated as an address register, the element also handles control data for the Unibus, data bus, and other control functions and outputs to the bus address and switch registers. One of its major functions is to receive the microprocessor program counter contents for fetching new instructions from the ROM or RAM. RAM The 16-word by 8-bit RAM gives the interface module a scratchpad memory which may be read or whose contents may be modified under program control. ROM The ROM, consisting of four 512 X 4-bit ROMs, makes a total of 1024 8-bit bytes available for the stored programs which execute the console functions. Switch Register Address Decoding This logic decodes 777570, an 18-bit address defining the switch register and a DATI on the Unibus to cause the switch register to be enabled onto the Unibus. Switch Register This 16-bit buffer register handles the data word to the Unibus. Bus Address Register This 20-bit register buffers address information between the interface module and the Unibus. Eighteen bits are allocated for the actual address, and two control bits indicate the direction of data flow. Scan signals for the keypad and NUM lines for the display logic are specified by this register. Tristate Gates These units are used to gate buffered Unibus data (16 bits) and Unibus address (18 bits) lines onto the tristate data bus by asserting an appropriate read input line. Keypad outputs and those maintenance lines provided for display of the processor microprogram counter are similarly buffered and gated. The outputs are all wire ORed onto the internal data bus and applied as input to the tristate transceivers. Keypad Scan and Display Logic This circuitry develops read and drive signals for the keypad and LED display respectively. Five read signals developed from the scan signals are used to scan the keypad switch closures in groups of four. The drive signals are applied to the LED displays whose values are determined by the 3-bit NUM ~input. Data Bus Control This circuitry performs all internal interface module control functions including RAM control, ROM enable, and selection of input/output ports. The logic also determines system operation during instruction, data fetch, or data out (TS3) via a 32- X 8-bit ROM. Unibus Control The Unibus control register supervises data transfers between the interface module and the Unibus. According to the input bit patterns to the register, data transfer from the interface module to the Unibus, halt request, bus master sync, and other functions may be generated as required for proper interfacing of the two elements. Two other signals generated in the Unibus control register permit single stepping of the processor clock. Indicator Logic This 4-bit register drives appropriate console indicators to show certain console states or errors. An indicator is turned on to show the existence of a bus error, when the switch register is being displayed or when in maintenance mode. Halt Logic This circuitry halts the processor under various conditions and performs handshaking functions when the console takes complete control of the bus. When a HALT from the console is detected by the processor, the processor recognizes it as an interrupt request. The processor then inhibits its clock and returns a recognition signal to the console causing the console to assert an acknowledge. The console now has complete control of the Unibus and processor and may maintain this condition, with the processor halted, as long as desired. 2.4 MICROPROCESSOR INSTRUCTION SET The interface module microprocessor has a repertoire of 48 basic instructions. According to the instruction type, these may range from 1 to 3 bytes (8 to 24 bits) in length. The successive bytes of a given instruction must be located in sequential memory locations. Instructions fall into one of five categories: Index Register Accumulator (Arithmetic/Logical) Program Counter and Stack Control Input/Output Machine A description of the microprocessor instructions and the number of time states required for their execution is given in Chapter 4. 2-10 CHAPTER 3 INTERFACE MODULE 3.1 MICROPROCESSOR 3.1.1 General Organization The microprocessor sends and receives data over an 8-bit data and address bus (Do to D) and utilizes four input and four output lines (Figure 3-1). The microprocessor contains six 8-bit data registers, an 8-bit accumulator, two 8-bit temporary registers, four flag bits, and an 8-bit parallel binary arithmetic unit. The arithmetic element is capable of performing addition, subtraction, and logical operations. Additionally, a memory stack containing a 14-bit program counter and seven 14-bit words is used to store program and subroutine addresses. The microprocessor machine cycle usually requires five sequential states: TS1, TS2, TS3, TS4, and TSS. During time states TS1 and TS2, the external memory is addressed by a lower and an upper address byte respectively to form a 14-bit address. Also at TS1 time, the program counter (PC) is incremented for the next instruction fetch cycle. During time state TS3, the instruction addressed during states TS1 and TS2 is fetched and during the final two cycles, TS4 and TS5, it is executed. Figure 3-2 shows the possible number and sequence of the instruction states. Note that for this application of the microprocessor, the interrupt function is utilized only during the power-on sequence. FROM: ROM RAM DATA (Unibus) ADDRESS (Unibus) — KEYPAD MAINT NOT USED {(+5 V) FROM MASTER CLOCK > D1 D7 INTERRUPT READY il > PROCESS CESSOR > > o6 02 - S D3 D4 D5 MICRO- D7 - a \ % P yYYVYY DO FROM POWER-ON LOGIC SSTATE —> TRANS- Ea— CEIVERS - SX:iOING > TO ——— | > L - > - ADDRESS REG AND RAM J SO j s1 S2 > TO > TIMING PHASE DECODER 11-4856 Figure 3-1 Microprocessor Signal Interface 3-1 01 /N /] 2 L SYNC NSNS N $0 M\ s1 |/ T Y Y ST NN — AN / $2 \ \ TM TS1 CPU LOWER INTERRUPTED 8-BITS ADDRESS ouT TS2 WAIT HIGHER 753 EXTERNAL 8-BITS MEMORY TWO BITS (OPTIONAL) ADDRESS NOT READY CONTROL STOPPED INSTRUCTION | HALT OR DATA INSTRUCTION DATA OUT CPU FETCH, OR RECEIVED TS4 TS5 EXECUTION OF INSTRUCTION (8-BITS) ouT 11-48€9 Figure 3-2 3.1.2 Timing Diagram - Microprocessor Instruction State Control The microprocessor operates as a sequential state machine, controls the use of the data bus, and, according to its stored program, determines whether it sends or receives data. Output state signals SO, S1,and S2 are decoded externally and distributed to the peripheral control logic. Table 3-1 shows the coding of the state bits to yield a given phase. 3.1.3 Microprocessor Timing The microprocessor machine cycle is shown in Figure 3-2. Since machine operation is asynchronous, the exact timing sequences depend on the instruction executed. A typical cycle may consist of five states. During T1 and T2, an address is sent to memory; at T3 time, instruction or data fetch occurs; T4 and TS provide execution time. A number of microprocessor instructions may require up to three cycles and do not require the two execution states T4 and T5. As a result, cycle length is variable and the state counter determines whether T4 and TS5 are to be executed or omitted. This is accomplished via the cycle control coding (Table 3-2) in bits D6 and D7. Cycle 1 is always an instruction fetch cycle (PCI). The second and third cycles are for data reading (PCR), data writing (PCW), or 1/0 operations (PCC). The cycle type bits D6 and D7 are present on the data bus during T2 time only. s O rt State O Tl T11 = S2 O OO e OO i S1 — OO OO SO State Control Coding —_—m Table 3-1 3-2 T2 WAIT T3 STOPPED T4 TS Table 3-2 3.1.4 Cycle Coding D, D, Cycle Function 0 0 PCI 0 1 PCR Designates the address is for a memory read data (additional 1 0 PCC Designates the data is a command I/O operation. 1 1 PCW Designates the address is for a memory write data. Designates the address is for a memory read (first byte of instruction). bytes of instruction or data). Transition State Diagram _ Possible state transitions within the processor are shown in Figure 3-3. Note that a normal machine cycle would begin at cycle 1, run from T1-T5, and revert back to cycle 1 again. The state counter within the microprocessor operates as a 5-bit feedback shift register with the feedback path controlled by the current instruction. The number of states normally required by each instruction is discussed in Chapter 4. {CYCLE 1) (HLT - INT + RETURN{CF)) + {CYCLE 2) (OUT + LMr) + (CYCLE 3} {LM! + JUMP (CF)) + CALL (CF) : — CYCLE 1 0 CYCLE 2 — — a T4 {CYCLE 1) (HLT = INT) + RDY T1 T2 T3 T5 CYCLE 3 T (CYCLE 2) (LMI + JUMP + CALL)} (CYCLE 1) (LrM) + ALUM + ALUI + IN + OUT + Lrl + JUMP + CALL (CYCLE 1) LMr NORMAL RETURN AT END OF MEM CYCLE NOTE: CF = Failure Condition 11-4857 Figure 3-3 Transition State Diagram 3-3 3.1.5 System Start-Up The microprocessor of the interface module is running any time power is applied to the system. When power (VDD) and clocks (01, 02) are first turned on, a flip-flop internal to the microprocessor is set by sensing the rise of VDD. This internal signal forces a HALT (00000000) into the instruction register and the microprocessor is then in the stopped state. The next 16 clock periods are required to clear internal chip memories and other external logic and registers. Upon clearing the registers the system is ready for operation. If for any reason during operation, the microprocessor decodes a HALT, the system reverts to the beginning of the program after 16 clock periods. 3.2 INTERFACE MODULE REGISTERS AND CONTROLS (Figure 2-1) 3.2.1 Address Register This is the principal buffer register between the microprocessor and the rest of the interface module logic. It has a capacity of 16 bits (two 8-bit bytes). The low order byte is loaded by time state TS1 and the high order byte by time state TS2 during each cycle. 3.2.2 Bus Address Register The bus address register buffers address data between the interface module and the Unibus. Address information may be loaded into this register at time state TS3. 3.2.3 Switch Register Similar to the bus address register, the switch register buffers outgoing data. This element may also be loaded at TS3. 3.2.4 Data Bus Control The principal function of the data bus control is to determine interface module operation during TS3 time. It determines, through input bit coding, the type of function to be performed (i.e., RAM control, ROM enable) or programs any of its other I1/O in accordance with the stored program. 3.2.5 Unibus Control This register is also loaded at TS3 and is selected by the data bus control for activation at that time. According to its input coding, U.C.R. may issue a HALT request, BUS INIT, enable-data bus-to-bus, or generate a bus master sync in addition to other functions. 3-4 CHAPTER 4 MICROPROCESSOR INSTRUCTION DESCRIPTION 4.1 DATA AND INSTRUCTION FORMATS Data in the CPU is stored in the form of 8-bit binary integers. All data transfers to the system data bus will be in the same format. | D7 Ds Ds Dy D; D, Dy Dy | DATA WORD The program instructions may be one, two, or three bytes in length. Multiple byte instructions must be stored in successive words in program memory. The instruction formats then depend on the particular operation executed. One Byte Instructions |D; Ds Ds D, D; D, D, D, | OP CODE Register to register, memory reference I/O arithmetic or logical, rotate or return instructions. Two Byte Instructions (D7 D¢ Ds D4 D3 D, Dy Dy | OP CODE D7 Ds Ds D4 D3 D, Dy Dy | OPERAND Immediate mode instructions. Three Byte Instructions [D, D, D; D, D, D, D, Dy| OP CODE [D, D; D; D, D, D, D; Dy | LOW ADDRESS [X X D,D,D,D,D, Dy] HIGH ADDRESS* *For the third byte of this instruction, D¢ and D- are “‘don’t care” bits. 4-1 JUMP or CALL instructions 4.2 MICROPROCESSOR INSTRUCTIONS 4.2.1 Index Register Instructions The load instructions do not affect the flag flip-flops. The increment and decrement instructions affect all flip-flops except the carry. Minimum States Mnemonic Instruction Code D,Dy D;D,D; D,D;D, 11 DDD Description of Operation Required (1) Lryr, (5) S S S Load index register r; with the content of index register r,. (2) LtM (8) 11 DDD 1 11 Load index register r with the content of memory register M. LMr (7) 11 111 S S S Load memory register M with the content of index register r. (3) L1l (8) LMI 9) 00 DDD 110 BB BBB BBB 00 111 110 B BB B (5) 00 DD (5) 0O DDD B INr B B 0 : DCr 0 0 0 1 Load index register r with data B . . . B. Load memory register M with data B...B. Increment the content of index register r(r+ A). Decrement the content of index register r(r+# A). 4.2.2 Accumulator Group Instructions The result of the ALU instructions affect all of the flag flip-flops. The rotate instructions affect only the carry flip-flop. Minimum Mnemonic States Instruction Code D,D¢ DsD4D3 D,D{ D, Description of Operation Required ADr ADM (5) (8) 1 0O 10 000 000 S S S 111 Add the content of index register r, memory register M, or data B.. . B to ADI (8) 00 000 BB 100 B BB sets the carry flip-flop. ACr ACM (5) (8) 1 1 001 0 0 1 S 1 S 1 Add the content of index register r, memory register M,ordataB...Bto ACl (8) g (]; BB 0 0 B S 1 % % 113 ]13 ?3 g 4-2 the accumulator. An overflow (carry) the accumulator with carry. An over- flow (carry) sets the carry flip-flop. Mnemonic Minimum Instruction Code States b,D, D,D,D, D,D. D, Description of Operation Required SUr (5) 1 SUM (8) 10 SUI (8) 0O 01 0 S Subtract the content of index register 111 r, memory register M, ordataB...B (1; (]; i I (]; B g B (1; g from the accumulator. An underflow (borrow) sets the carry flip-flop. 010 S S SBr (5) 1 0 011 S S Subtract the content of index register SBM (8) 10 011 111 S r, memory register M, ordataB...B from the accumulator with borrow. SBI (8) 00 011 BBB B 100 BB An underflow (borrow) sets the carry NDr (5) 1 1 00 S S Compute the logical AND of the con- NDM (8) 10 100 1 11 (8) OB (]; B B g B B g accumulator. XRr (5) 1 0 101 S S Compute the Exclusive OR of the con- XRM (8) 10 101 111 tent of index register r, memory M, or XRI ) 00 101 100 data B. .. B with the accumulator. BB BBB B BB S NDI g BB 0 10 S - S tent of index register r, memory register M, or data B. . . B with the ORr (5) 1 0 110 S ORM (8) 10 110 111 tent of index register r, memory (8) g (]; B B g B (]; ](3) ! register M, or data B. . . B with the OR . |1 S S flip-flop. Compute the Inclusive OR of the con- accumulator. CPr (5) 1 0 111 S8 S Compare the content of index register CPM (8) 10 111 111 r, memory register M,ordataB...B CPI (8) g g ]13 ]13 113 ]13 (}; ](3) the accumulator is unchanged. RLC (5) OO0 00O OT10O0 with the accumulator. The content of Rotate the content of the accumulator left. RRC (5) 00 0OO0O1 010 Rotate the content of the accumulator right. RAL (5) OO0 010 010 Rotate the content of the accumulator left through the carry. RAR (5) 0 0 O' 11 010 Rotate the content of the accumulator right through the carry. 4-3 4.2.3 Program Counter and Stack Control Instructions Minimum Mnemonic States Instruction Code D,D¢ D;D;D; D,D;D, Description of Operation Required (4) IMP (5) JFc (1D Qorll) 01 XXX 100 Unconditionally jump to memory ad- B,B, B,B,B, B,B,B, dress By .. .B3B, .. .B,. X X B3;B;B; B;B;B;g 01 0C,C; 00O Jump to memory address B,B, B,B,B, B,B,B, B;...B3B, ...B, if the condition X X B;B;B; By;B,;B, flip-flop c is false. Otherwise, execute the next instruction in sequence. (5) JTc Qorll) 01 1CC 000 Jump to memory address B,B, B,B,B, B,B,B, B; ...B3B, ...B, if the condition X X B3B;B; B;B;B, flip-flop c is true. Otherwise, execute the next instruction in sequence. (4) CAL (1D 01 XXX 110 Unconditionally call the subroutine at B,B, B,B,B, B,B,B, memory address By .. .B3;B, .. .B,. X X By;B;B; BB, B, Save the current address (up one level in the stack). (5) CFc Qorll) 01 0GCC; 010 Call the subroutine at memory address B,B, B,B,B, B,B,B, B; ...B3B, ...B, if the condition X X B3ByB; ByB,B, flip-flop ¢ is false, and save the current address (up one level in the stack). Otherwise, execute the next instruction in sequence. (5) CTc Qorll) 01 1CC 010 Call the subroutine at memory address B,B, B,B,B, B,B,B, B; ...B3B, ...B, if the condition X X B;B;B; B;B,B, flip-flop c is true, and save the current address (up one level in the stack). Otherwise, execute the next instruction in sequence. (4) RET (5) 00 XXX 111 Unconditionally return (down one level in the stack). (5) RFc (3 or 5) 0 0 0C,C3 O 1 1 Return (down one level in the stack) if the condition flip-flop c is false. Otherwise, execute the next instruction in sequence. (5) RTc (3 or5) 0 0 1CC; 01 1 Return (down one level in the stack) if the condition flip-flop ¢ is true. Otherwise, execute the next instruction in sequence. RST (5) 00 AAA 101 Call the subroutine at memory address AAAO000 (up one level in the stack). 4-4 4.2.4 Input/Output Instructions Minimum Mnemonic INP Instruction Code States Required D,Dy (8) 01 DsD,D; D,D;D, Description of Operation | 0O0OMMMI Read the content of the selected input port (MMM) into the accumulator. ouT (6) 01 RRM MMI Write the content of the accumulator into the selected output port (RRMMM) (RR # 00). 4.2.5 Machine Instruction Minimum Mnemonic Instruction Code States D,D¢ D;D,D; D,D,;D, 0 00O O0O0X , Description of Operation Required (4) HLT €3] 0 Enter the STOPPED state and remain there until interrupted. HLT 4) I 1 111 111 | Enter the STOPPED state and remain there until interrupted. NOTES: (1) SSS =Source Index Register These registers, r; , are designated A (accumulator—000). DDD = Destination Index Register B(001), C(010), D(011), E(100), H(101), L(110). (2) Memory registers are addressed by the contents of registers H & L. (3) Additional bytes of instruction are designated by BBBBBBBB. (4) X=“Don’t Care”. (5) Flag flip-flops are defined by C4Cj: carry (00 overflow or underflow), zero (01-result is zero), sign (10 MSB of result is “1”’), parity (11-parity is even). 4-5 CHAPTER 5 INTERFACE MODULE DETAILED LOGIC DESCRIPTION 5.1 INTRODUCTION ] Keypad operation initiates appropriate microprocessor routines which perform certain data transfers within the interface module, between the interface module and the Unibus, and between the interface module and the programmer’s console display. Prior to discussing the interface module logic, the sequences (i.e., register transfer, I/O operations, etc.) which occur after pressing a given key are briefly described. Figure 5-1 shows the 16-word by 8-bit scratchpad RAM and its address allocations. This data is also summarized in Table 5-1. The keypad image within the RAM is shown in Figure 5-2. RAM 7 | 6 i 5 | 4 ] 3 [ 2 | 1 | 0 ADDRESS 0 DISPLAY DATA 1 2 3 4 UNUSED KEYPAD IMAGE 5 , 7 10 TEMPORARY 1 7 UNUSED 12 1799909777 13 14 15 UNIBUS ADDRESS POINTER EXAM | DEP , W/””///yé UNUSED FLAG J FLAG V77vovzore 16 ENB [ c1 l SWITCH REGISTER IMAGE 17 11-4853 Figure 5-1 RAM Address Allocations 5-1 KEYPAD IMAGE 3 2 1 0 3 CLR LSR LAD DIS AD 4 0 1 4 7 5 INIT 2 5 EXAM 6 CNTRL 3 6 DEP 7 START BOOT CONT HLT/SS 11-4854 Figure 5-2 Table 5-1 Keypad Image RAM Function Address Assignments Function Address (Octal) Display Data (18 bits) Address Bits Word 0 Word 1 Bits 0-7 Bits 0-7 Word 2 Bits 0, 1 Word 3 Word 4 Word 5 Word 6 Word 7 Bits 0-3 Bits 0-3 Bits 0-3 Temporary Data Buffer (18 bits) } Word 10 Word 11 Word 12 Bits 0-7 Bits 0-7 Bits 0, 1 Unibus Address Pointer (18 bits) Word 13 Word 14 Word 15 Bits 0-7 Bits 0-7 Bits 0, 1 EXAM FLAG DEP FLAG ENB FLAG C1FLAG Word 15 Word 15 Word 15 Word 15 Bit 7 Bit 6 Bit 3 Bit 2 Switch Register Image (16 bits) Word 16 Word 17 Bits 0-7 Bits 0-7 Keypad Image (20 bits) 5-2 Bits 0-3 Bits 0-3 5.2 PROGRAMMER’S CONSOLE KEYPAD FUNCTION SEQUENCES 5.2.1 Console Mode Key Functions NUMERICS (0-7) 1. Value of Key 2. 3. Temporary — Display _(eft shifted)| Temporary Data Buffer Clear indicators. B — LAD Temporary -+ Unibus Address Pointer Zero - Temporary Temporary — Display Clear/Indicators. e Switch Register Image — Switch Register SR DISP indicator is set. W Temporary —» Switch Register Image DN LSR et CLR Zero —» Temporary Temporary - Display Clear indicators. LD EXAM Pre-increment Unibus address pointer if the EXAM flag is set. Unibus Address Pointer — Bus Address Register Bus Address Register - Unibus Address Assert MSYN. NOTE Console waits for BUS SSYN to be returned. If Now Unibus Data - Temporary Temporary — Display Set EXAM flag. SN~ SSYN does not occur within 20 us, the transfer is aborted and the BUS ERR indicator is set. Pre-increment Unibus address pointer if the DEP flag is set. DEP Unibus Address Pointer - Bus Address Register with C1 = 1. Bus Address Register - Unibus Address Temporary — Switch Register Switch Register Assert MSYN. - Unibus Data NOTE Console waits for BUS SSYN to be returned. If SSYN does not occur within 20 us, the transfer is o0 aborted and the BUS ERR indicator is set. Set DEP flag. Switch Register Image — Switch Register 5-3 DIS AD 1. 2. Unibus Address Pointer — Display Clear EXAM or DEP flag if set. CNTRL-INIT 1. Set BUS INIT and HALT REQUEST for 150 ms. CNTRL-HLT/SS 1. Clears BUS SACK./BUS BUSY if set and sets HALT REQUEST 2. When HALT BUSY is active, sets 777707 - Bus Address Register 3. 4. Assert MSYN Bus Address Register - Unibus Address - NOTE Console waits for BUS SSYN to be returned. If SSYN does not occur within 20 us, the transfer is aborted and the BUS ERR indicator is set. 5. 6. Unibus Data - Temporary Temporary — Display CNTRL-CONT 1. 2. 3. : Clears BUS SACK and BUS BUSY. Switch Register Image — Display Set SR DISP indicator. CNTRL-BOOT 1. Sets and clears BOOT signal 2. Switch Register Image — Display 3. Set SR DISP indicator. N — CNTRL-START 777707 - Bus Address Register with C1 = 1 Bus Address Register - Unibus Address Unibus Address Pointer - Switch Register Switch Register - Unibus Data Assert MSYN. NOTE Console waits for BUS SSYN to be returned. If SSYN does not occur within 20 us, the transfer is aborted and the BUS ERR indicator is set. 6. 7. 8. 9. Switch Register Image —» Switch Register Assert BUS INIT for 150 ms. Switch Register Image —» Display Set SR DISP indicator. CNTRL-7 1. Unibus Address Pointer + Temporary +2 — Temporary CNTRL-6 . 1. Temporary + Switch Register Image - Temporary 5-4 CNTRL-1 I. Set maintenance indicator. MPC Lines (sampled) — Display 2. 5.2.2 Maintenance Mode Key Functions CLR 1. 2. 3. Clears indicators. Clears manual clock enable, if set. Goes to halt condition. DIS AD 1. Unibus Address (sampled) — Display EXAM 1. Unibus Data (sampled) - Display HLT/ISS 1. Sets manual clock enable. 2. Clears BUS SACK and BUS BUSY. 3. MPC (sampled) —» Display 5.3 1. 2. Sets and clears manual clock MPC (sampled) —» Display 1. Sets and clears BOOT signal. 1. 2. Clears manual clock enable, if set. MPC (sampled) —» Display 1. Sets TAKE BUS signal, forcing console to assert BUS BUSY. DETAILED LOGIC DESCRIPTION 5.3.1 Clock Circuitry The M7859 Interface board is driven by an MC 4024 (E42) 1-MHz clock (drawing CS M7859-0-1, sheet 2). The I-MHz output at E42-8 is toggled down to two nonoverlapping 500-kHz pulses at E12-5, 6, and E30, and these pulses are applied to the microprocessor (E18) input as 01 and 02. The 02 clock, designated as KY1 CK2 H and KY1 CK2 L, is also used as a control pulse to clear system registers and together with the sync pulse to define the end of a timing cycle. Figure 5-1 shows the relation between the two clock pulses. 5.3.2 Power-Up Logic/Interrupt (Drawing CS M7859, Sheet 2) The power-up logic/interrupt circuitry is comprised of E1-6, E40-10, E1-4, E36, E12, E29-1, E6, and E26. These elements sense when the system turns on, generate the interrupt to the microprocessor needed to start it, and clear registers to force program startup at location 0. 5-5 BUS DC LO at E1-3 initiates the function by clearing E36 which is configured as an 8-bit counter and generates KY1 PUP 1 L. This signal is routed to the Unibus control, indicator control, switch register, and bus address register as a master clear line. The address register is provided with its own clear line, KY1 ADR CLR L. BUS DC LO L puts the microprocessor in the STOP state. The counter starts counting in the STOP state (E6, E36). KY1 STOP L and KY1 C2 L at E29-1 clock E6. E6 is a divide by two on the clock, while E36 counts from 0-7. Sixteen clock periods are thus counted. At the transition of E36 from 7 to 0, the interrupt is generated at E12-8 and the microprocessor goes into the T11 state (Interrupt). KY1 TI1I L and KY1 CK2 L then reset E12 and clear the address register via E6-6 and the system is initialized. 5.3.3 Microprocessor (Drawing CS M7859, Sheet 2) The 8008 Microprocessor Chip (E18) was discussed in detail in Chapter 3. According to drawing CS M7859, sheet 2, the unit communicates over an 8-bit bidirectional data bus via 8833 tristate transceivers E16 and E17, with the satellite logic of the interface module. A single interrupt line is received from the power-up logic to initiate microprocessor operations. Driven by a 2-phase, 500-kHz clock (Figure 5-1), the element yields a 3-bit state output code, SO, S1, and S2, plus a sync pulse, to drive a 7442 Timing Phase Decoder. The latter element provides eight separate timing cycles for the sequencing of interface module data transfers and other discrete operations. 5.3.4 Timing State Decoder The timing state decoder (E23) receives the state outputs SO, S1, and S2 from the microprocessor and generates the timing states for the interface modules (drawing CS M7859, sheet 2). This unit is a 7442 4-line to 10-line decoder, with two unused outputs, that yields an 8-output sequence according to its 3input state code. State control coding is presented in Chapter 3. State control inputs are determined in the microprocessor and depend on an internal 5-bit feedback shift register with the feedback path controlled by the instruction being executed. 5.3.5 Address Register (Drawing CS M7859, Sheet 2) The: address register, the principal buffer between the microprocessor and the remainder of the interface module logic, consists of four 74175 quad, D-type, double rail output latches. The low order bits are handled by ES5 and E4 which generate KY1 ADRD 0 L through KY1 ADRD 3 L (E5) and their complements (for RAM addressing), and KY1 ADRD 4 H through KY1 ADRD 7 H (E4), respectively. This 8-bit byte is the low order unit of the address or data with E10 and E28 containing the high order information ADRD 08-13 and PC FUN 1 and 0. The data contained in the address register is routed to the following locations according to direction by the stored program: 1. ROM (address of next instruction)(KY1 ADRDOL - KY1 ADRD 8 L plus ROM 1 ENL or ROM 2 EN L) 2. RAM (address of data to be read or written) (KY1 ADRD 0L - KY1 ADRD 3 L) 3. Unibus Control (KY1 ADRD 0 H - KY1 ADRD 3 H) 4. Indicator Control (KY ADRD 4 H - KY! ADRD 7 H) 5. Data Bus Control (KY! ADRD 9 H- KY1 ADRD 13 H, KY1 PC FUN 0 H, KY1 PC FUN 1 H) 6. Switch Register (KY1 ADRD 0 H - KY1 ADRD 7 H) 7. Bus Address Register (KY ADRD 0 H - KY1 ADRD 7 H) -5-6 The address register is loaded with a low order byte (E4 and ES) by signal KY1 LD AD 1 H, generated by AND E22-12 at time state TS1. The high order byte is gated in E28 and E10 by KY1 LD AD 2 H generated at E22-6 at timing state TS2. 5.3.6 ROM . : The interface module ROM consists of E3, E21, E33, and E39 (drawing CS M 7859, sheet 3). The four 512-word by 4-bit elements are addressed so that the ensemble looks like two 512- X 8-bit RMs. E3 and E21 are activated by KY4 ROM 1 EN L and E33 and E39 by KY4 ROM 2 EN L. Address bits KY1 ADRD O H through KY1 ADRD 8 H are routed to all four ROM elements with the enable 1 or 2 determining the address activated and thus yielding 1024 8-bit locations. Outputs are wire ORed with various inputs to give the KY2 DIN 0 H through KY2 DIN 7 H inputs to the tristate transceivers, E16 and E17. The ROM 1 or RM 2 enables are generated by the data bus control logic. 5.3.7 RAM The scratchpad RAM consists of E11 and E27 (drawing CS M7859, sheet 3). These units effectively comprise a 16-word by 8-bit read/write memory, and serve as working storage for the microprocessor programs in storing addresses and data. Data is routed to the RAM (KY1 DOUT 0 H through KY1 DOUT 7 H) directly from the tristate transceivers of the microprocessor bidirectional data bus during RAM write operations. The 4-bit address lines KY1 ADRD 0 L through KY1 ADRD 3 L specify the address to be read from or written into during read/write. Selection of the RAM for read or write is determined by the stored program via the data bus control. Either KY4 RAM - DIN BUS L or KY4 RAM WRITE H must be true to select the RAM. Output lines are wire ORed with various other microprocessor input ports to be routed to the 8833 tristate transceivers. 5.3.8 Switch Register (Drawing CS M7859, Sheet 6) The switch register contains the 16-bit data used and consists of four 74175 quad, D-type, double rail output latches. The four elements comprising the register are E9, E19, E2, and E15. These units feed the 8641 bus transceivers E7, E25, E8, and E13 (respectively). Incoming 16-bit data (KY5 BB D00 H through KY5 BB D15 H) is applied to the 8093 tristate buffers and gated by an appropriate read line from the data bus control. Outgoing data (BUS D00 L through BUS D15 L) is gated by KY4 EN DB L, a signal generated in the switch register address decoding logic (sheet 5). | The switch register is addressable from the Unibus as address 777570 as described in Paragraph 5.3.9. 5.3.9 Switch Register Address Decode Logic (Drawing CS M7859, Sheet 5) The switch register address decoding logic allows the Unibus to address the switch register via a decoding of address 777570. The logic has two outputs: 1. 2. BUSSSYNL KY4ENDB- BUSL K44 EN DB - BUS L at E43-10 gates the data lines onto the Unibus (CS M7859, sheet 6) while the assertion of BUS SSYN L designates that the slave device has completed its part of the data transfer. The second stage of the address decode at E32 is gated by assertion of BUS MSYN L at E32-10. Assertion of MSYN requests that the slave defined by the A (address) lines perform the function required by the C lines. In this case, KY7 BB C1 H at invertor E40-9 specifies that the data is to be transferred to the Unibus data lines. 5-7 5.3.10 Bus Address Register (Drawing CS M7859, Sheets 7 and 8) The bus address register consists of five 74175 quad, D-type, double rail output latches. The five elements comprising the register are E67, ES7, E73, E58, and E51. Input to the bus address register is from the address register (KY1 ADRD 0 H through KY1 ADRD 7 H). Outputs are routed to the display and keypad logic and to the 8641 Unibus transceivers E61, E56, E65, E55, and E50. A Unibus address is enabled to the Unibus via the bus address transceivers from the bus address register by KY7 EN AR L generated at E51-11. The switch register is available to the Unibus as address 777570 via the bus address transceivers and the switch register decode logic. The latter function is discussed in Paragraph 5.3.9. E67 and E57 contain the keypad scan signals (KY6 SCAN 1 L through KY6 SCAN 6 L) while E73 drives the display (KY6 NUM 1 H through KY6 NUM 3 H). Incoming 18-bit address information (KY6 BB A00 H through KY7 BB A17 H) is applied to the 8093 tristate buffers and gated by an appropriate read line from the data bus control. 5.3.11 Data Bus Control Logic (Drawing CS M7859, Sheet 5) The data bus control directs the reading and loading of the various interface module registers, the reading of the ROMs, and the reading/writing of the RAM. It also determines the direction of data flow in the interface module and between the interface module and the Unibus, i.e., whether data will be read from or be routed to the Unibus. A list of I/O functions and associated select signals follows: Select Signal READ INPUTOL READ INPUT 1 L Function READ INPUT 2L READ INPUT 3 L READ INPUT 4 L UNIBUS ADDRESS READ INPUT 5L KEYPAD REG READ INPUT 6 L READ INPUT 7L MAINTENANCE LDREGOH LDREG1H LD REG2H BUS ADDR REG LDREG3H LD REG 4 H SWITCH REG LDREGSH UNIBUS CONT LOGIC ENROMI1L EN ROM 2L ROM SELECT RAM WRITE H RAM WRITE RAM DINBUSL ENABLE RAM DATA DIN DRIVERS DISH DISABLE DATA IN UNIBUS DATA 5-8 Specifically, the data bus control logic decodes memory references into three areas (ROM 1, ROM 2, and RAM) and determines whether the access is a read or write. The logic also decodes 1/0 instructions and generates loading or gating signals depending on the direction of data transfer and the port selected. In order to facilitate understanding of the logic, the following explanation of memory address allocation and I/O instruction operation is included. ROM 2 (E33 and E39) Memory addressing space spans locations 0 through 777. ROM 1 (E3 and E21) Memory addressing space spans locations 4000 through 4777. RAM (El11 and E27) Memory addressing space spans locations 20000 through 20017. The two bus control signals provided by the microprocessor and latched with the upper byte of the address register, KY1 PC FUN 0 H and KY1 PC FUN 1 H, determine data transfer direction and 1/0 operations. The following table explains the decoding of these signals. PC FUN 0 PC FUN 1 L L Memory read of first byte of instruction only (fetch) L H Memory read of additional bytes of instruction or data. H H Memory write (used only to write into RAM). H L I/O operation Memory reads and writes signify that the address register (KY1 ADRD 0 H through KY1 ADRD 13 H) contains the address of the location in memory to be accessed. . The code for 1/O operations, however, signifies a very different situation. This is due to the following occurring after the initial instruction fetch cycle: 1. During TSI the content of the A register (accumulator) in the microprocessor is available on the data lines and is latched into the low byte of the address register. 2. During TS2 the content of the instruction register (containing the I/0 instruction) is available on the data lines and is latched into the high byte of the address register. 3. During TS3 of an INP (input) instruction, data on the data lines is loaded into the A register. On OUT (output) instructions, the data is strobed out of the low byte of the address register. I/0O Instruction Code: INP 01 OOMMMI OUT 01 RRMMMI Note that the two most significant bits of the instruction will correspond to PC FUN 0 = | and PC FUN 1 = 0 when loaded into the high byte of the address register, thus denoting an 1/O operation. Therefore, the data bus control logic determines whether to gate data into the microprocessor during TS3 (INP) or to load the data from the low byte of the address register into an output port during TS3 (OUT). The 32 X 8 PROM (E34) does the initial decoding of the type of transfer (read, write, or I/O) from the signals KY1 PC FUN 0 H and KY1 PC FUN 1 H. If the transfer is a memory read or write, it is decoded into one of the following four signals. KY4 RAM - DIN BUS L (RAM read), KY4 ROM 1 EN L (memory read in address range 4000-4777), KY4 ROM 2 EN L (memory read in address range 000-777), and an enable which is ANDed with KY1 SYNC H, KY1 TS3 L, and KY1 CK2 L to provide a write pulse, KY4 RAM WRITE H, to the RAM. Another enable from the PROM is ANDed with KY1 TS3 L to provide the signal KY4 DIN DRIVER DIS H. This signal is normally high, disabling the driver portions of the 8833 transceivers (E16 and E17). It will be low only during TS3 and when data transfer is into the microprocessor. Two other outputs of the PROM are used for 1/O operations. One output of the PROM (E34-7), when low, enables the 74154 4-to-16 decoder on all I/0O instructions. The second output (E34-9) determines whether the 1/0 instruction is INP or QUT. If the instruction is OUT, then the signal will be high. Note that address register bits KY1 ADRD 11, KY1 ADRD 10 H, and KY1 ADRD 9 H, are applied to the low order inputs of the 74154. This selects which of the possible ports will be used. The fourth input, the highest order input, determines if it is an INP or OUT instruction. This input is the ANDed condition of the PROM output (E34-9), KY1 SYNC H, KY1 TS3, and KY1 CK2. Thus, if the instruction is an INP, then the input gating signal will be one of the lower order eight outputs of the 74154 (KY4 READ IN 0 L through KY4 READ IN 7 L). If the PROM signal (E34-9) is high, signifying an OUT instruction, then initially a low order output is selected (does not substantially affect anything) and then a high order output will be pulsed as the gated clock pulse is applied to the high order input of the 74154. Thus, the high order outputs are pulsed and buffered to provide loading pulses to the selected registers (KY4 LD REG 0 H, etc.). 5.3.12 Unibus Control (Drawing CS M7859, Sheet 5) Uhnibus control is accomplished via two 74175 quad, D-type, double rail output latches, E52 and E64. The stored program input bit configurations are read in under control of an appropriate data bus control signal, LD REG 5 H. E64 D2 and D3 latches are utilized for the manual clock enable and manual clock lines while the other six lines are Unibus control signals. 5.3.13 Keypad Scan Logic (Drawing CS 5411800-0-1) The logic and driving circuitry for the keypad and display elements is located on a circuit board in the rear of the programmer’s console panel. Scan signals for the keypad are generated at the interface module (bus address register). These six lines (KY6 SCAN 1 L through KY6 SCAN 6 L) are then routed through hex 7417 buffer drivers to the console circuit board where they are designated as READ and DRIVE signals. As indicated by CS 5411800-0-1, sheet 2, READ 1 through READ 5 signals continuously scan the keypad in groups of 4. As each READ signal is applied to check for a pressed key, a corresponding DRIVE signal is simultaneously generated and applied to the appropriate transistor in the LED display circuitry (CS 11800-01, sheet 3). A pressed key thus results in activation of 1 to 4 lines. This information is routed out through J1 interface module and applied to the data bus for eventual read-in to the miroprocessor. to the 3.3.14 Indicator Logic (Drawing CS M7859, Sheet 5) The indicator control consists of a single quad, D-type, latch configuration, 74175 (E68) and four 7417 open collector inverters (E69) for driving the panel indicators. Input bit coding KY1 ADRD 4 H through KY1 ADRD 7 H via the stored program determines which of the following panel indicators are turned on: 1. 2. 3. 4. BUS ERR SR DISP MAINT BOOT 5.3.15 Halt Logic (Drawing CS M7859-0-1, Sheet 9) The halt logic allows the console to obtain control of the Unibus in order to perform Unibus transactions. Control of the Unibus is passed to the KY11-LB from the PDP-11 processor via a HALT REQUEST and HALT GRANT sequence. Use of the HALT/SS key initiates a program sequence within the KY11-LB to issue a HALT REQUEST to the PDP-11 processor. The procesor will arbitrate the request and at the appropriate time will respond with HALT GRANT. The reception of HALT GRANT H by the halt logic direct sets the HALT SACK flip-flop on E63-4, causing BUS SACK L to be generated at E62-13. The set output of the HALT SACK flip-flop (E63-5) sets up the data input of the HALT BUSY flip-flop (E63-12). The reception of BUS SACK L by the PDP-11 processor will cause it to drop HALT GRANT H. When the Unibus becomes free (unasserted BUS BUSY L and BUS SSYN L), the E63-11 will be clocked, setting the HALT BUSY flip-flop. This, in turn, asserts BUS BUSY L through E62-10 and causes the RUN indicator to be turned off via the 7417 buffer (E66-12). This logic operates in the same manner if the HALT GRANT is generated not by a HALT REQUEST from the KY11-LB but by a HALT instruction in the PDP-11 processor. The output of the HALT BUSY flip-flop (KYB HALT BUSY H) can be tested by the microprocessor program to check if the console has control of the Unibus before performing Unibus transactions. The HALT SACK and HALT BUSY flip-flops are direct cleared by either BUS INIT L from the Unibus or by the signal KY4 CLR BUS L which can be generated by the microprocessor program. Clearing these flip-flops relinquishes control of the Unibus to the PDP-11 processor. The signal KY4 TAKE BUS L, which can direct set the HALT BUS flip-flop, allows the microprocessor program to perform Unibus operations without first obtaining the Unibus through a legal request. This signal is only used during maintenance mode operation of the KY11-LB to bypass a failing or hung processor. 5.3.16 Buffers (Drawing CS M7859, Sheet 4) 5.3.16.1 Tristate Buffers (8093) — The following units, which are gated by read input signals from the data bus control, buffer input data from several sources. 1. 2. 3. 4. Unibus Data Unibus Address Keypad Register Maintenance Inputs (from processor microprogram counter). Outputs from the 8093s are wire ORed and sent to the tristate transceivers with the ROM and RAM data as KY2 DIN 0 H through KY2 DIN 7 H. 5.3.16.2 Tristate Transceivers (8833) — These units buffer data between the microprocessor bidirectional data bus and the satellite logic of the interface module. 5-11 CHAPTER 6 CONSOLE MODE OPERATION 6.1 INTRODUCTION This chapter is a recapitulation of all console key and indicator functions. Operation, use, and examples of the utilization of each key are presented. Key operations are divided into console mode and maintenance mode. Examples of console sequences to demonstrate the proper use of the KY11-LB are presented together with further notes and hints on operation. 6.2 CONSOLE KEY OPERATIONS This section describes the operation of each key in a step-by-step procedure. The reader is assumed to have read earlier chapters as some descriptions include the use of keys previously described. A notation for each key will be introduced in each description and is enclosed in angle brackets < >. These notations are used extensively in Paragraph 6.4 to describe various sequences of key operations. <CLR> - Used to clear an incorrect entry or existing data. 1. 2. 3. Press and release the CLR key. The display (six digits) will be all zeros. Clears the SR DISP, BUS ERR, or MAINT indicators if on. Numerics 0-7 - Used to key in an octal numeric digit (0 through 7). 1. 2. 3. Press a numeric key (0 through 7). The corresponding digit will be left shifted into the 6-digit octal display with the previously displayed digits also being left shifted. Release the numeric key. N LN - To enter the number <xxxxxx>, e.g., 123456: Press and release the CLR key (000000 will be displayed). Press and release the 1 key (000001 will be displayed). Press and release the 2 key (000012 will be displayed). Press and release the 3 key (000123 will be displayed). Press and release the 4 key (001234 will be displayed). Press and release the 5 key (012345 will be displayed). Press and release the 6 key (123456 will be displayed). 6-1 The number has now been entered. Leading zeros do not have to be entered. <LSR> - Used to load the switch register (accessible as Unibus address 777570). | 1. 2. Press and release the LSR key. The display will show the data loaded and the SR DISP indicator will be on. To load the number 777 i.e., <LSR 777>, into the switch register: 1. 2. 3. 4, Press and release the CLR key. Key in the number 777. Press and release the LSR key. 777 will be displayed and the SR DISP indicator will be on. <LAD> - Used to load the Unibus address pointer prior to performing an EXAMINE, DEPOSIT, or START. 1. 2. Press and release the LAD key. Display will be all zeros. To load address 200, i.e., <LAD 200>: 1. Press and release the CLR key. 2. Key in 200. 3. 4. Press and release the LAD key. Display is all zeros. <DIS AD> - Displays the current contents of the Unibus address pointer. 1. 2. Press and release the DIS AD key. Display will show the current Unibus address pointer. BN - To perform the sequence: LAD 400 DIS AD Press and release the CLR key. Key in 400. Press and release the LAD key (display is all zeros). Press and release the DIS AD key. Display shows the 400 from the Unibus address pointer. <DEP> - Used to deposit a number into the location pointed to by the Unibus address pointer. 1. 2. 3. Processor must be halted (RUN indicator off); otherwise key is ignored. Press and release the DEP key. Display shows the data deposited. 6-2 To deposit <DEP xxxx> (e.g., 5252) into location 1000, the sequence is as follows: DAL~ LAD 1000 DEP 5252 Press and release the CLR key. Key in 1000. Press and release the LAD key. Key in 5252, Press and release the DEP key. <EXAM?> - Used to examine the contents of a location pointed to by the Unibus address pointer. 1. 2. 3. Machine must be halted. Press and release the EXAM key. Display shows the contents of the location examined. To examine general-purpose register R7 (program.counte'r) at Unibus address 777707, the following sequence is used: SRS LAD 777707 EXAM Press and release the CLR key. Key in 777707. Press and release the LAD key. Press and release the EXAM key. The contents of R7 will be displayed. <CNTRL> - The CNTRL keyis always usedin conjunction with some other key. When it is used it must be pressed and held down while the second keyis pressed and released. <CNTRL-HLT/SS> - Used to halt the processor. 1. 2. 3 4. Press and hold down the CNTRL key. Press and release the HLT/SS key. Display will show the current contents of R7 (program counter) and the RUN indicator will be off. : Release the CNTRL key. If the processor is already halted, the use of the HLT /SS key will single-instruction step the processor. (The CNTRL key is not required to single-instruction step the processor once halted.) 1. 2. 3. Press and release the HLT/SS key. Processor will perform one instruction and halt. Display will show the new current contents of R7 (program counter). 6-3 <CNTRL-CONT> - Used to allow the processor to begin running from a halt. 1. 2. 3 4. Press and hold down the CNTRL key. Press and release the CONT key. Processor will run unless a program halt instruction is encountered. The RUN and SR DISP indicators should be on and the contents of the switch register should be displayed. If a halt instruction was encountered, the indicators will be off and the program counter will be displayed. Release the CNTRL key. NOTE If the processor is already running, use of <CNTRL-CONT> will result in the switch register being displayed; there will be no other effect on the processor. LN - <CNTRL-BOOT> - Used to initiate running of M9301 Bootstrap program. Processor must be halted. Press and hold down the CNTRL key. Press and release the BOOT key. Processor should start running (RUN indicator on) the bootstrap program selected on the M9301. NOTE For more information concerning the M9301 Bootstrap program, consult the system users guide. 5. Release the CNTRL key. A= <CNTRL-START> - Used to start the processor running a program from a given starting address. Processor must be halted; otherwise key is ignored. 5. Release the CNTRL key. Press and hold down CNTRL key. Press and release the START key. RUN indicator will be on unless a halt instruction is encountered. The SR DISP indicator should also be on and the contents of the switch register should be displayed. A o To start running a program at location 1000, the following sequence is used: Press and release the CLR key. Key in 1000. Press and release the LAD key. Press and hold down the CNTRL key. Press and release the START key. ' Release the CNTRL key. R <CNTRL-INIT> - Generates a Bus Initialize without the processor starting. Processor must be halted. Press and hold down the CNTRL key. Press and release the INIT key. Bus Initialize will be generated for 150 ms. Release the CNTRL key. 6-4 <CNTRL-7> - Used to calculate the correct address when a mode 6 or 7 register R7 instruction is encountered. 1. 2. 3. Press and hold down the CNTRL key. Press and release the 7 key. Display will show the new temporary register which contains the old temporary register plus the Unibus address point or plus 2. See Paragraph 6.4 for an example. <CNTRL-6> - Used to calculate the offset address when mode 6 or 7 instructions other than register R7 are encountered. 1. . Press and hold down the CNTRL key. Press and release the 6 key. 3. Display shows the new temporary register, which contains the old temporary plus the switch register. 4. Release the CNTRL key. See Paragraph 6.4 for an example. <CNTRL-1> - Used to enter the console into maintenance mode. Maintenance mode should only be used as an aid to troubleshooting hardware problems. Maintenance mode provides no help in debugging software problems. 1. Press and hold down the CNTRL key. 2. 3. Press and release the 1 key. MAINT indicator will be on and the MPC (microprogram counter) will be sampled and 4. displayed. Release the CNTRL key. 6.3 NOTES ON OPERATION An erroneous display will result if, while the processor is running and the switch register is being displayed, a numeric key is pressed. Although the SR DISP indicator will remain on, the display no longer reflects the actual contents of the switch register. If at any time while the processor is running, it is desired that the switch register contents be displayed, the CNTRL-CONT keys should be used. As a general practice, prior to entering a new 6-digit number and if the display is nonzero, the CLR key should be used to initially zero the display. In order to single-instruction step the processor from a given starting address, the program counter (R7) must be loaded with the starting address using the Unibus address of R7 (777707) i.e., to singleinstruction step from the beginning of a program starting at location 1000, the following sequence is necessary: LAD 777707 DEP 1000 CNTRL-INIT (if desired) HLT/SS HLT/SS etc. The console requires an 18-bit address. This is especially important to remember when accessing device registers (i.e., 777560 instead of 177560). Otherwise an erroneous access to memory or to a nonexistent address will occur. The Unibus addresses for the general-purpose registers can only be used by the console. A PDP-11 program using the Unibus addresses for the general-purpose registers will trap as a nonexistent address. Also, internal registers R10 through R17, which are used for various purposes (depending upon processor), may be accessed by the console through Unibus addresses 777710 through 777717. The BUS ERR indicator on the console reflects a bus error by the console only. The indicator will not reflect bus errors due to other devices succh as the processor. 6.4 EXAMPLES OF CONSOLE SEQUENCES This section combines key operations with example sequences to demonstrate the proper use of the KY11-LB Programmer’s Console. The following sequences use the notations for key operations as described in Paragraph 6.2. The angle brackets < > will be used in the sequences to identify the display contents after the operation is performed, i.e., LAD 200 <0> 1. 2. 3. 4. 5. 6. Press and release the CLR key. Press and release 2 key. Press and release 0 key. Press and release 0 key. Press and release the LAD key. 000000 will be displayed in the 6-digit readout. Example 1 This sequence uses the examine function and the switch register Unibus address 777570 to read the contents of the switch register. LSR 123456 LAD 777570 EXAM DIS AD LSR 777 EXAM <123456> <0> <123456> <777570> <777> <777> Example 2 This sequence demonstrates the use of the following keys: LAD, DIS AD, LSR, EXAM, DEP, CNTRL-START, CNTRL-CONT, and CNTRL-HLT/SS. This example loads the following program into memory, which is then run to demonstrate various operations. Program Memory Location/Contents 1000/13737 1002/177570 1004/1014 1006 /0000 1010/137 ;Move the contents of the switch register to memory location 1014 ;Halt ;Jump to location 1000 1012/1000 1014/0000 6-6 Sequence LAD 1000 DEP 13737 DEP 177570 DEP 1014 DEP 0 DEP 137 DEP 1000 DEP0 LAD 1000 EXAM EXAM EXAM EXAM EXAM EXAM EXAM DIS AD LSR 123456 LAD 1000 CNTRL-START LAD 1014 EXAM DEP 0 EXAM DIS AD LSR 125252 CNTRL-CONT LAD 1014 EXAM DEP 0 LAD 1006 DEP 240 EXAM LAD 1000 CNTRL-START LSR 70707 CNTRL-HLT/SS LAD 1014 EXAM HLT/SS HLT/SS HLT/SS LSR 05252 HLT/SS LAD 1014 EXAM <0> <13737> <177570> <1014> <0> <137> <1000> <0> <0> <13737> <177570> <1014> <0> <137> <1000> <0> <1014> <123456> <0> <1010> <0> <123456> <0> <0> <1014> <125252> <1010> <0> <125252> <0> <0> <240> <240> <0> <125252> <10707> <0> <10707> <052525> <0> <052525> 6-7 Example 3 This sequence demonstrates the use of CNTRL-7 and CNTRL-6. The following data are loaded into memory: 1000/177 1002,/100 1004,/000 1006/5060 1010/1020 1104/1006 RO = 777760 The sequence to load the data is as follows: LAD 1000 DEP 177 DEP 100 DEPO DEP 5060 DEP 1020 LAD 1104 DEP 1006 LAD 777700 DEP 777760 <0> <177> <100> <0> <5060> <1020> <0> <1006> <0> <777760> Sequence LAD 1000 EXAM EXAM CNTRL-7 LAD EXAM LAD EXAM EXAM LSR LAD 777700 EXAM CNTRL-6 LAD EXAM <0> <177> <100> <1104> <0> <1006> <0> <5060> <1020> <1020> <0> <777760> <100006> <0> <177> CHAPTER 7 MAINTENANCE MODE OPERATION 7.1 INTRODUCTION This chapter covers the keypad facilities of the programmer’s console available for hardware maintenance of the processor. 7.2 MAINTENANCE MODE KEY OPERATIONS The following definitions apply to a subset of the same keys used in console mode; however the functions and operations differ from those in console mode. In general, console mode functions are not available while in maintenance mode, and many keys have no function in maintenance mode. NOTE Maintenance mode operation is indicated by the MAINT indicator being on. In order to use the hardware maintenance features available in maintenance mode, the maintenance cable (11/04) or cables (11/34) must be connected between the K'Y 11-LB interface board (M7859) and the corresponding processor board (M7263-11/04, M7266-11/34, M8266-11/34A, or M8267-FP11A). An exception to this is the 5 (maintenance mode) operation which allows the console to examine or deposit into memory or device registers without the processor being either present or functional. DIS AD (Maintenance Mode) — Used to display Unibus address lines. 1. 2. Press and release the DIS AD key. Unibus address lines will be sampled (read once) and displayed, i.e., display will not be updated as address lines change. EXAM (Maintenance Mode) ~ Used to display Unibus data lines. 1. 2. Press and release the EXAM key. Unibus data lines will be sampled and displayed. HLT/SS (Maintenance Mode) - Asserts manual clock enable and displays MPC (microprogram counter). 1. Press and release the HLT/SS key. 2. Manual clock enable will be asserted. MPC will be sampled and displayed. 3. CONT (Maintenance Mode) - Single microsteps the processor through one microstate and displays the MPC. 1. 2. 3. ' Press and release the CONT key. Manual clock will be pulsed. New MPC will be sampled and displayed. BOOT (Maintenance Mode) - Boots the M9301. If manual clock enable is asserted, the M9301 routine will not be entered but because the M9301 simulates a power fail the processor will power up through location 24. 1. 2. Press and release the BOOT key. The display is not affected. If manual clock enable is asserted, the MPC is now at the beginning of the power-up sequence. To see the new MPC, use the HLT/SS key. START (Maintenance Mode) - Drops manual clock enable. I. 2. 3. Press and release the START key. Manual clock enable is released. MPC will be sampled and displayed. bl CLR (Maintenance Mode) - Returns console to console mode operation. Press and release the CLR key. MAINT indicator is off. Processor should halt. Program counter should be displayed. S (Maintenance Mode) - Allows the console to take control of the Unibus if a processor is not in the system. 1. 2. 3. Press and release the 5 key. The MAINT indicator will be off (console mode operation now). Console attempts to read the program counter which is not present and therefore the BUS ERR indicator will be on. 7.3 NOTES ON OPERATION If the single-microstep feature in maintenance mode is to be used, it is preferable that the processor be halted prior to entering maintenance mode, if it is possible. This is because the assertion of manual clock enable, which turns off the processor clock if it is running, cannot be synchronized with the processor clock. Therefore, if the processor is not halted, the clock may be running and the assertion of manual clock enable may cause an erroneous condition to occur. In order to single-microstep the processor from the beginning of the power-up sequence, the following steps may be used: 1. Halt the processor if possible. 2. Use CNTRL 1 to enter maintenance mode. 3. Use HLT/SS to assert manual clock enable (RUN indicator should come on). 4. Use BOOT to generate a simulated power-fail (will not work if M9301 is not present in the system). 7-2 Use HLT/SS to display the MPC (microprogram counter) for the first microstep in the power-up routine. Use CONT to single-microstep the processor through the power-up routine. (The new MPC will be displayed at each step.) Unibus address lines and Unibus data (see NOTE below) lines may be examined at any microstep by using DIS AD and EXAM, respectively. Use of these keys does not advance the microprogram. To redisplay the current MPC without advancing the microprogram, use the HLT/SS key. To return from maintenance mode, use the CLR key. To single-microstep through a program, the program counter (R7) must first be loaded with the starting address of the program as in single-instruction stepping the processor prior to entering maintenance mode. NOTE Because the data transfer occurs asynchronously with the processor clock, Unibus data will not be displayed on DATI in maintenance mode when using the console with an 11/04 processor. Unibus data on DATO on the 11/04 and both DATI and DATO on the 11/34 will be displayed. Due to hardware changes, the M8266 module will gate the AMUX lines onto the Unibus when manual clock enable is asserted and a Unibus transaction is not occurring. 7-3 CHAPTER 8 KY11-LB MAINTENANCE 8.1 PRELIMINARY CONSIDERATIONS The following is a guide to locating possible problems on the KY11-LB. 1. Power Switch Failure - If the power switch fails to control the power supply, check cable 7011414-2-2 (BA11-L) at J2 or cable 7011992-0-0 (BA 11-K) at Faston tabs TB4 and TBS5 on the bezel-mounted board to ensure that cable(s) are securely and correctly installed. If the power switch does turn on the power supply (fans turn) but the DC ON indicator does not come on, check cable 7011992-0-0 (BA11-K) at tabs TB6 and TB7 on the bezel-mounted board. If the four indicators on the left side of the keypad are all on, then the cable 7012214-0-0 connecting the bezel-mounted board to the interface board (M 7859) is probably plugged in backward on one end. | If no display and none of the four indicators are on, then check cable 7012214-0-0 at J1 on the bezel-mounted board and M7859 board to ensure that it is correctly and securely installed. Note that there should be no cables from either the bezel-mounted board or the M7859 board attached to the backplane. The connection at the backplane is for use by the KY11LA Operator Console only. If the RUN indicator is on but there is no display and no response from the keypad, the problem is probably at the M7859 Interface module. Check the module to ensure that the microprocessor chip (E18) is securely installed in its socket. If the display works and the console responds to the keypad except for the BOOT key, check that cable 7011413-0-0 is properly connected to the M9301 and to the bezel-mounted board at tabs TB1 and TB2. If the display MPC, single microstep, etc. functions in maintenance mode do not work correctly, check that the cable(s) from J2 and J3 of the M7859 are properly installed. NOTE These cables should be installed only for maintenance of the processor. By disconnecting these cables for normal operation, the effect is that the maintenance functions are nonoperative except for the TAKE BUS function. 8-1 8.2 M7859 FAILURES In general, there are two levels of possible failures on the M7859 module. The first level and most difficult to fix is the microprocessor and its support logic which constitutes about 1/3 of the logic. The second level is failures which occur in the peripheral logic constituting the Unibus interface and the | display /keypad interface. These are generally easier to troubleshoot. Generally, a first level failure is readily apparent and will usually be indicated when no display is on and the only indicators on are DC ON and RUN. A second level failure, although easier to troubleshoot, is not always readily apparent as it may only occur on certain key functions or may be data dependent. A failure on the display/keypad interface would be indicated by odd displays, row, or column failures on the keypad. The Unibus interface can be tested with a good confidence level by loading the switch register with a 123456 data pattern and then reading it back over the Unibus by examining location 777570. The following is a guide to troubleshooting a failing M7859 module. Generally, the minimum equipment needed is a dual-trace oscilloscope with delayed sweep. 1. Check that 9 V is available at pin 1 of the microprocessor, E18. 2. Check that the clock frequency is 1.0 MHz + 2% at the test point, TP1. The frequency can be corrected if needed by adjusting the variable resistor at the top of the module. 3. Check that the two clock signals are at E18-15 and E18-16. These clocks should be 500 kHz frequency with nonoverlapping positive pulses of 0.5 ms duration (Figure 8-1). I E18-16 -5 —— 2 usec—————.l N 01 E18-15 02 | .5 usec I l | FIG X 11-4858 Figure 8-1 Clock Waveforms 8-2 Check the signal at E18-18 which should be at logic low. If the signal is high the micro- processor may not have responded to the interrupt request on power-up. If the signal is toggling, this may be indicative of a different class of problems discussed in the following paragraphs. The M 7859 logic is such that if the microprocessor encounters a HALT instruction and goes to the STOP state, peripheral logic will automatically try to restart the microprocessor from location 0. Hence, if there are problems in the microprocessor support logic, such as address or data failures, time state decoding failures, etc., the microprocessor will not follow the program and generally encounters a HALT instruction. The general technique to solve this class of problems is to sync off of the signal STOP L and to use delayed sweep to track addresses backward to find the specific failing address. A quick check of the number of times TS1 L is true between the times that STOP L is true will give an idea of how far into the program the failure occurs. In general the easiest technique is to use the TS3 L signal as a visual key on one channel while using the other channel to probe addresses, data, timing signals, etc. CHAPTER 9 KY11-LB INSTALLATION 9.1 KY11-LB DESCRIPTION The KY11-LB is a programer’s console option for both the 11/04 and 11/34 CPUs. It replaces the KY11-LA (operator’s console) which is the standard console on 11/04s and 11 /34s. The hardware in the KY11-LB option is exactly the same for both the 11/04 and 11/34. The KY11-LB contains a bezel assembly (consisting of a keypad, 7-segment display, indicator lamps, and ON/OFF switch) and a separate SPC quad interface module (M 7859). Also, three loose piece cables: two 10-conductor, 45.7 cm (18 inch) long cables and one 20-conductor cable. The two 10-connector cables are not required for normal console functions and should only be installed when using the console in maintenance mode. 9.2 CPU BOX TYPE PDP-11/04s and 11/34s are available in both the BA11-L 13.4 cm (5-1/4 inch) box and BA11-K 26.7 cm (10-1/2 inch) box. The difference between these two boxes creates the only difference in installing the KY11-LB. In all cases, the 10-conductor cable, running from the operator’s console to the CPU backplane, is not used and must be removed when the KY11-LB is installed. It is extremely important not to connect this cable to the KY11-LB as a short circuit may result. 9.3 CPU DIFFERENCES The 11/04 is a single-module CPU (M7263). The 11/34 is a 2-module CPU (M7265 and M7266). Maintenance mode connections between KY11-LB and 11/04 are made on the M7263. Maintenance mode connections between KY11-LB and 11/34 are made on the M7266 (Figures 9-1 and 9-2). Note that all figures in this procedure show the M7266 module (11/34). This is done because the hook-up for normal KY11-LB operation is the same for both CPUs. To identify cables and part numbers for cables, refer to Figure 9-3. 9.4 BAI11-L 13.3 CM (5-1/4 INCH BOX) INSTALLATION 1. Remove the operator’s console (KY11-LA), noting to which Faston tabs the M9301 is connected. The connections will be to the same tabs on the KY11-LB. The cable from H777 Power Supply plugged into J2 on the KY11-LA will plug into J2 on the KY11-LB. The cable from the CPU backplane to J1 on the KY11-LA must be removed. No connection is made from the backplane to the KY11-LB. 9-1 CONNECTOR FOR KY11-LB CONNECTS TO J2 ON M7859 PIN 1 D ® a— DURING MAINT MODE OPERATIONS / ©® ® /1 N M7263 (11/04) | \_’___\ 11-4849 Figure 9-1 M7263 CONNECTORS FOF KY11-LB CONNECTED TO M7859 ONLY DURING MAINT MODE OPERATION ® Em@/@ E111 -otnnq ."'\q o [T S Y s 0 J2 o 4 E94 J1 M7266 (11/34) L ~— — T~ 11-4850 Figure 9-2 9-2 M7266 - d INDICATES PIN 1 F"<']: —) F ] 20 CONNECTOR 10 CONNECTOR L PART #70-11411-1D-0 (18 in. LONG) PART #70-12214-0-0 PART #70-11411-0J-0 LENGTH 27 4" + 1 (8 in. LONG) 11-4851 Figure 9-3 2. Cables Install M7859 (KY11-LB interface) in any SPC slot (within CPU backplane) and connect it to the KY11-LB bezel as shown in Figure 9-4. CONFIGURATION NOTE The M7859 consumes 2A at +5 V and can only be plugged into the CPU backplane. ‘ WARNING When doing any reconfigurating of the CPU back- plane that might be necessary to make room for the M7859, be sure that the M9302 is never installed in a modified Unibus slot (which results in short circuits). 9.5 BAI11-K 26.7 CM (10-1/2 INCH BOX) INSTALLATION 1. Remove the operator’s console (KY11-LA), noting to which Faston tabs the M9301 is connected. The connection will be the same tabs on the KY11-LB (Figure 9-5). You will notice that J2 on the operator’s console is not used on the BA11-K box. The signals and voltages that come in on this jack in the BA11-L box come in on Faston tabs in the BA11-K box. The cable connecting the CPU backplane to J1 on the operator’s console must be removed and no connection from the backplane to the KY11-LB is made. 2. Install M7859 (KY11-LB interface) in any SPC slot (with CPU backplane) and connect to KY11-LB bezel as shown in Figure 9-5. WARNING When doing any reconfigurating of the CPU backplane that might be necessary to make room for the M7859, be sure that the M9302 is never installed in a modified Unibus slot (which results in short circuits). LI J2 ? n M7266 / CPU BACKPLANE 7 RED STRIPE _| 10 CONDUCTOR CABLE 10 CONDUCTOR CABLE ~5 RED STRIPE RED STRIPE TM81 7TB2 U U U U TB3 TB4 TB5 TB6 J2 OPERATORS CONSOLE KY11-LA 2 P 2 N M7266 M7859 »* \T D — N\ J3 42 n O — CPU BACKPLANE N REDSTRIPE : 10 CONDUCTOR CABLE -~ 20 CONDUCTOR CABLE J1 BT BT TB1 TB2 RED STRIPE — TB3 TB4 TB5 TB6 PROGRAMMERS CONSOLE KY11-LB TOM9307 wa ) ¥ THIS CONNECTOR NOT USED 11-4847 Figure 9-4 BAIll-L L J2 n M7266 CPU BACKPLANE RED STRIPE 10 CONDUCTOR CABLE ~5\, RED STRIPE RED/BLK T.P, BT BTENA +5Vl GND SW U Ut TB1 TB2 TB3 GND ON TB5 TB6 U U TB4 6* J2 OPERATORS CONSOLE KY11-LA g2 n M7266 M7859 3 J2 * W 0. — N . D N TM\ CPU BACKPLANE REDSTRIPE RED/BLK T.P. 20 PIN CABLE BLUE/BLK T.P. IR RED STRIPE 5 BT BT SW ENA +5V GND GND U U U TB1 TB2 TB3 ON U U TB4 TBS TB6 —F * J2 PROGRAMMERS CONSOLE KY11-LB TOMI301 - J X H775C 11-4848 Figure 9-5 9-5 BAI11-K 9.6 MAINTENANCE MODE HOOK-UP To utilize the KY11-LB as a maintenance tool for troubleshooting the CPU or system, additional cable(s) must be installed. The 11/04 requires one additional cable and the 11 /34 requires two additional cables. PDP-11/04 (Maintenance Mode Cabling) The 11/04 requires only one additional cable for maintenance mode operation. This 10-conductor cable (Part No. 70-11411-1D-0) connects J2 of the M7859 to the unmarked male connector on the M7263 (11/04 CPU). The cable (70-11411-1D-0) has a pointer on each end to indicate pin 1 as shown in Figure 9-3. Install the cable with the pointer on the end of the cable lined up with pin 1 on the CPU module (M7263). Pin 1 on M7263 is called out on Figure 9-1. Points on J2 (M7859) and the cable should also be lined up. PDP-11/34 (Maintenance Mode Cabling) The 11/34 requires two additional cables for maintenance mode operation. Both cables are the and are the same part as is used on the 11/04. See Figure 9-3 for part number. same NOTE Maintenance cables for both 11/04 and 11/34 are all 45.7 cm (18 inch) long, 10-conductor cables. When installing maintenance cables connect J2 (M7859) to J1 (M7266) and J3 (M7859) to J2 (M7266). The pointers on the cable and board must be matched at both ends of the cables. 9-6 APPENDIX A KY11-LB MICRO-CODE LISTINGS A-1 RYLLLE PROGRAM 1 RT-11 MACRQO FMACROS UMD 210 FOR QO LATLY 8008 FAGE 1 RIS 4 G ) KYL1LE FROGRAM RT-11 MACRKRO YMO2-10 QO 1LIL2E F&GE 7 RT-11 MACRD UMQO2-10 QOL1L3T2E FaGE @ [N ) KYllLH FROGRAM 3 000000 ) 00QL00 & 0GOOO0 7 Q0B001 2] ¥4 QOOQ02 OOQO03 KYLLLER 1O NOOOO4 11 QOQA0YH 12 QOQQ0S 13 QOQOOY 14 OO0003 18 QQOO0Y L& 00040 17 Q00403 1y Q00402 NUMEX QOQA01 NUMAX QQO400 UMEX 1% F B QG R A M NLIMOX S NLIME X Q000G Q00001 0OQO00 24 90000 QGOGO0 STARTS SINTTEAL TZE BEGINZ §FRESET PCoT0 10, RETTSTER 70 01 QOO0 6100 ToN ) Q&G QGO0N2 20 H CAOY TN FOINT ENARLE TO ADUIRES: i 00003 29 30 31 LA X 00003 Vb6 QOQ04 020 000085 0O005 104 QQO0E 013 Q007 QOO 00010 Q01O 104 00011 00l 00012 QOO 00013 OVER? 00013 Q44 QQ0: 4 QQ0 32 0001E 33 00016 34 Q0017 JME OVETR SME BEGIN LET 0 Lty QOO0LE QOOLS QOOLY L. [ REGISTER TO FOINT T LOCATION (RaM) FOINTED § ZERQ REGISTER . v ZERD REGLSTER A, 304 REGL S LM " o L. MEMORY 370 D& Es 35000 s DECIRETMENT REGESTER REGL yJUME BACK LUNTIL DESEFLE sLALL HLSrFLAY RAM L. TS ALl ZERTIETD 120 (O3 ) GO0 DrsE1s Cal SURROUTINE . STaYs Q00 KY 11 & RKAM. EOGRAM RT-11 Moy R MO 10 QCE1RTEE FaGE &4 A-2 37 38 SLINTIL 00024 JSMEKEYSEY 00026 104 QOO27 Q0030 125 000 P A KEY 18 DEPRESSED RETURNG FROM DESPLAY sLUME TOREY POTEPLAY SUBROUTINE . QR A FROGRAM SUBROUTINE HALT TO OUCURS. ’ . 3¢ : SERVICE ROUTINEG, R 23 40 41 4.3 Q0031 A4 4% 44 47 OEsHLST X0% 00031 4% o . , o FFOR 00032 NI Q0032 Q44 QOO33 200 0034 L8O 00035 0N OO034 Q00 113 s IFOBIT O DS 00041 040 LEG 00043 02 00044 D00 00045 I 00044 Q40 REGS QOOHO D&Y7 010 00052 GOO%HZ 02L& 00 54 NIVE 40 FLE ST NXT tLHI 40 Q00%4 H56 0005 QO0%h4 G570 58 G 044 QOOH4 200 00057 GQOG7 J40 00061 001 00082 006 00 HLTS LCT 6 QOOLY FLAG BRIT » THE $JLIMF BUSY BEING SET, (KYLL-LE RBUSY) . TO Mal T BUSY TO THE PREVENT FURTHER SERUTCING FLaG, H< FOTHERWISE VICE CONTINUE SLOATE REGISTER L.y FMALGK OFF NIOE 200 SE LE FPREEN ROUTINE, THE DISPLAY ROUTINE, A THE ©C WITH & 6 KEYSERVICE A% A& FLAG DISFLAY STORED IN DIGLT SERVICED FERESET o BUT 5 STILL DEPFRESSED, REGUSTER I WITH & 1 TO BE REGISTER A-WITH & JERD, USED A% : COVPRESET ' , REGO POUTHFUTS : THE ZERD TO TURN OFF THE DESFLAY. ' O RT-11 MACRO VMO2-10 ' COUNTER, REGISTER THIS BIT WHEN SET INOTCATES THAT A KEY HAS : LAl COLLT KYL1LE PROGRAM FOR RBUS 121 066 HALT FROGROM . DUT 00063 FOR ' nDIseEss O008S 00064 41 St LT QA& 00062 QO0&3 HO : 00060 Q0RO TEST - 304 GO0 CHECE ABHERTING FULEAR : 5% NOT MASK . NXT ¢ 0053 AND ' SOF QOO0UL IO A BIT. _ HEo00047 104 SET REGISTER FLAG HALTY ., SOTHERWESE 51 00047 NOT INTO HALT L 00042 Qo043 A ' : 044 REGLESTER ' ENE Q0040 M PROGRAOMMED : GOO37 Q0040 200 SJTEONXT Q0034 5000045 B3 ROAN ' 00037 4§ La - FRESET MEMORY 001X 20 PAGE 8+ A-3 FOINTER REGISTER L TO ZERO A& STRORE RIT. 00066 91019) &2 &3 00067 00067 L. M sTO FLICK SGET THE UF THE CONTENTS CONTENTS OF OF THE THE FIRST FIRST LOCATION LOCATION IN IN RAM. RAM. 307 00070 00070 044 00071 Qo7 8500072 NTL 7 sMAGK OuT REGL sQUTPUT OFF THE T LOWEST THE X BITS AND DITSFLAY., 123 L.v 00073 X sLOAD 303 QQ074 ouT REGO THE 0 REGISTER INTO & REGISTER AND QUTRUT ITT STO TURN ON THE FROPER DIGIT OF THE HISPLfiY;THIS 00074 68 sWILL &Y FTO ey s QOQ7Y% 71 L.y 00075 LG QO1LQL LATE CONTENTS OF REGIBTER COLUMN I AND OF THE ROTATE KEYFAD LEFT ST SET W TO TURN ON THE NEXT A& TO XIGEIT. LIV A 330 00100 00100 A& BACK Qo 00077 00077 THE AR P ARTICUL SELECT READ 303 0GO74 Q0076 SGET 11 ALSD BE LBL 3 SLOAT CAl. HSHETL FHUBROUTINE REGISTER B WITH 3 FASS TO THE SHILFT QL& 003 Q0L02 WHICH WEILL SHIFT THE DIFLAY DAaTa 3 Q0102 G003 QOL04 7% 76 SEOBLTIONS ., 00LOG SON RETURN FROM SHIFT SURROUTINEy LOAD REGLSTER QOLOE 77 Q01L& O WITH REGISTER C AND CHECK FOR & 1 TD SEE IF LAST 00106 QQ1L07 78 79 PREGET 00110 STE DLSP 4G IS ILSFLAYED, § PIFLAKTY IS BEING DISFLAYED JUMP QVER KEYFAD 00110 00lLLL 00112 g0 81 SINFUT Q0113 ROUTINE SOTHERWISE Al & 1 TO REC TSTER A (CONTAINING RE 00113 00114 g2 001135 sANDD LOAY MEMORY FOENTER TG FOINT TO KEYFAD THMAGE 00118 a3 84 00LLé 00116 8% 86 00117 044 Q0120 oLz 00121 Q0122 LHO L34 00123 Q00 00124 00124 OF KEYS FINFUT & THE NIYE 17 FMAGK FOR ST DSR4 PCHECK RaM. COLUMN FROM THE KEYFAD AND 113 00117 00121 sAREA INE XR M STOGNIFIGANT FOR yCOMPFARE NO KEYS AGATNST P KYLILE FROGRAM MACRD UMO2-10 QOLL3I2E PAGE A-4 84 BITS. DEPRESSED s OTEPERWSE THE CONTENTS OR THE ROMUKEYFAL TMAGED 88 00125 00125 89 JTZ Q0126 132 00127 00130 Q00 QOL30 040 PO Q0131 00131 00132 040 21 00132 00133 040 22 L13 23 00133 00134 Q0134 044 QO 1L A% Q17 24 nrEe3e 00134 00136 DTSF3 3T CHECK THAT THE KEYFAD I8 STARLE. L8O INE FIMOCREMENT IN STIOES E $RE INE NOT REGISTER MATCH THE INCREMENTED IR KEY S FANFUT THE NDLL 7 PMAGK FOR PRI FHTORE IN DIGrA%: FRECREMENT E BY COLUMN RY RAM ONE OF LF THE CONTENTS. LF THERE KEYPAD STGNIFICANT KEYFAD THREE KEY I8 REGISTER 1S AGALN & DEFRESSEX. E WILL MATCH. AN BITS. IMAGE AREA OF RAM COUNTER aGN FOR NEXT TIME. 3720 28 QOLX7 G2 P 00137 QOL40 00140 110 DISFLAY THE SEE DTSR $LF ONQT DOME JUMFE Lol o SIE AL DIGITS QUT REGO SHEEN LRI 6 $LOAND CAl GHET SHUBRCUTINE. BACK ANDY DESFLAY NEXT DIGLT. 00141 00143 @7 000 0014 00143 Q06 Q0144 Q00 PROQC1LAE 00L1L4% 101 $TO 0146 0146 QOla 0147 0064 Q150 0L LOAD REEN DISFLAYED REGISTER A WETH TO BE & AND KEYFEAD ZERD ANl HAD OUTEUT Lad e LOO READy HAVE TURN DESEPLAY REGISTER OFF . B WITH GIX A MORE & SHIFTS FASSED aRE TO THE NECESSORY SHIFT T0 LO& 335 000 FFINESH SHIFTING FTHROUGH 24 BITS 102 103 Lo4 0153 Ly FUET i THE AN OF CONTENTS 18 BIT MEMORY OF NUMBER IN THE REGISTER E (81X DIGETS) RAM 3 WORDS) . AND CHECK (KEY ND 304 100 CRT 200 JFE LGRS 074 200 0154 OLS 107 108 7 1463 OL&0 Q00 109 FLF QL& 0141 04 QL& D0 0143 OLék FUFONLY KEYSERVICE FLAG IS SET LONGER DEFRESSED) 106 NG RKEYS ARE DEFRESHED POOTHERWISE, CHECK AR KEYSERVICE REGESTER E FOR & FLAG L DR IS & CLEARED. 2 204 01 Ol&4a OR 2 KEYS ARE DEPRESSED AND aRkE STaRLED G074 00 116G SAMIU TF OTRUE RETORN QOTLAI2E PabE 84 QWA RY L LLE FROGRAM [N R A P UMOE10 A-5 FROM DISFLAY SUEBROUTINE TO SERVICE g THE [EY sHTAY IR BEIME DEFE 074 003 S RIS Drsiklay BROLITTME 104 031 000 VIEY 114 SERVICE FTHIS 10 118 JUME ¥ THE ROUTINE . ROUTINE TO DECOGES THE THE FROFER FARTICULAR CONSOLE ROUTINE FUNGCTION MODE 10O i KEYS FEREFORM I 119 120 121 0125 0178 0L 0176 QOO LRY Q127 QL77 0200 128 KEYSEY S 0 200 BOTO ZERO. FLAG TO sSET KEYSERVICE INGICATE FHET UF MEMORY FOINTER FOET THE FIRST COLUMN OF FAREA OF RaM, ROTATE THE THAT KEY HAS BEEN SERVICED. 044 200 0201 0201 0&é Q202 Q03 TO THE KEYFAD KEYS FROM ITHAGE ARE®. THE KEYFAD FIRST IMAGE 307 NN WALUE OF THE AND JUMF 1O KEY IN THAT 032 ST OESFAD FOOLUMN INTO THE CARRY SROUTINE FOR THAT KEY BLIT THE SERVICE 140 J44 QLG Rk TF THE © BRIT I8 SET. OTHERWISE 032 ST Lol SROTATE TN THE UALUE OF THE NEXT KEY AND 50 0N UNTIL 14G Z00 Q1< Fe A ¢VHE WHOLE COLUMN H&S BEEN CHECKED, Q32 STE LSRR 140 230 QL0 RAR 032 ST CLEL 140 327 QLo FAFTER WHOLE COLUMN HAS BEEN GET THE CHECKED INCREMENT THE 6210/ FMEMORY FOINTER ANI VALUES OF THE NEXT COLUMM 307 RAR S KEYS FROM THE KEYFAD 032 135 KYL1LE JTE PROGRAM RT-1LL MatRO NUM7 UMOE-10 FIEYS QO LN 1328 THE Al A-6 MANMER, IMAGE AaREA. DECOUE THESE OR27 0230 140 0Ll RAR 1386 032 JTE . NUM4 137 140 001 QR 3% 138 0234 13¢ 001 02364 3R JTEC 0237 0237 NUML 140 0240 140 141 024l 010 0242 0242 033 RAR 0243 0243 0244 0245 143 0246 Q244 0247 0247 Q20 307 144 02450 032 14% Ol 145 0251 ST NUMO JTC EXAML 140 Q0% Q01 060 140 107 001 RAR 144 032 147 140 000 001 148 0260 149 180 RAR Q260 032 ST0 NUMR Q261 0241 140 0262 003 0263 a0l RAR 0244 02464 032 JTCOINITL ORHG 140 0264 111 QL0 152 0270 0270 Q60 G271 0271 407 RYLLLE LA M 032 ST Q273 0273 L RAF OR7E 0272 IN DR 140 PROGRAOM RT-11 MACRO UMO2-10 Q01320 FAGE &+ Fe ki ST 10 NUME Rk 18 CNUME 1 G IN L SNOTE THAT THE CNTRL I8 USED TN AGSUMED THAT THE KEY Q30 & 0307 0307 162 0310 163 0311 0310 010 031G 0314 yRE DECONED . sIT LS SJTE 0313 1&S RAK TT7 IS NOT OECODED CONJUNCTION HERE WEITH KEYS YET TO 032 140 0314 FRECAUSE Aoz O30 144 L&y HLTL Ak 032 ~— 1&1 JTE 031% 140 0314 212 0317 010 L& CONT Ak 032 1&7 JTC ROOTL 140 063 QO 1468 VAN 032 169 JTE STRTA LEL O 140 170 171 32 150 0327 Lo 03%30 0330 044 0331 000 0332 0332 0T T (N1 sHINCE ALL OTHER Lo4 03X33 023 0334 Q0 178 sFLAG 173 FOECONED ‘. 1S CLEARED TN KEYS S0 CNTRL MAVE THAT COMJUNCTION 174 & KEY BEEN HaS BEEN DECOUED. SECOND KEY MAY DEFRESSED KEYSERVICGE BE WITH THE CONTRL KEY. YO SHIFT THE DISFLAY 17% 17& SHHTEFT 177 P THIS SURROUTINE 178 sDATH AREA s THE FROGRAM RT-11 MOCTRO UMOZ-10 NMUME OO 1332 OF == L7 RYLULE SURROUTINE . PaAlE IS T OF 8+ USED RaM BET (FIRST FOSITIONS 3 LOCATIONS FASSED THROUGH SREGISTER 160 R, S SHFETL 181 0bhé 003 182 183 0337 0064 0340 000 184 188 186 187 188 sCARRY LA M FOECREMENT AND ROTATE TO CLEAR GET THE FIRST THE LM BIT. TO SWORD AR 032 SRESTORE neol. O&l JESGHETY 0347 THE MEMORY FOINTER AND SHIFTEL, BE THE TO SROTATE A 370 0Z46 0346 189 GHFTES OX4% OF45 oL 307 0344 0344 nc 061 QRA3 0x43 & WORD SIGNIFILICANT MOST THE 032 0342 0342 TQ FOINTER ZERQ REGISTER FRLUS ONE. RAR 0341 0341 U MEMORY PHET O0B37 PFOINTER MEMORY SRECREMENT THE SHIFTED THE MEMORY TO SAVING RIGHT TO IN LSE THE BIT. © VaLUE. NEXT WORD AND 120 343 000 $LF 190 NOT DONE JUME BACK. O&b 002 FTHE LSE OF THE LEAST SIGNIFICANT WORID 191 507 foYere: QL 194 LM A SAND ne B U6 70 193 0360 0360 196 197 o1l 0341 0361 Q362 0363 G364 G00 0364 Q07 I8 RESET PMEMORY POINTER KR 193 THEN ROTATED JEZBHETL §EHILFT COUNTER RET FEROM 18 TO TO MOST SIGNIFICANT WORD THE LER. INTO SHIFTED BIT C IN THE IN MER OF MOST SIGNIFICANT WORI. FCORITOBUT SHOULD RE 192 IS NOW FUT LER INTO MSE FOSTTION. EMENTED AN DEC WORD LF DONE RETURN SUBRODUTINE 198 1Ley 200 EY VaRIOUS KEY ST THE UNTRL KEY FRIQR TO SERVICING THOSE THE GNTRL TO I 201 ) 200 206 MOTETS 03R46% 0365 Q0386 QQé O2&7 0367 X07 NIL 0370 QX370 KY1L1LE FOINTER PHET MEMORY SGET WORD CONTALNING STEST FOR THE CNTRL TO KEYFAD TM&GEE AREA AND D6h 10 044 FROGRAM T, MALRE UMOZ-10 QOTLAILG PFAGE A-9 8+ THE KEY VUALUE OF AMI TF NOT THE CNTRL DEFRES KEY. 2QY ST TSR SRETURN T DITSFLEY ROUTINE, OTHERWISE RETURN TO SERVICE 3 i ely RET sFROLTINE WHITCH Sall 50, Q7 T ROUTINE. FOUTIMNE GENERATES A NUMERTD TTOTRTD NLIM7ZXe TH R NLIM&S XS TN R FOF MNUMGXS TN B SNOTE MLUMAX TN R VO MUMIX 3 I KE THE [ETER THE COR Q10 TIMES DEFENDTNG UFOM THE NUMERITL KEY QLo THE B REGISTER WAS CLEARED AT THE BEGINNING Q10 CTHE KEY SERUVTCE ROUTINE . JURAY L0 NUMZXS TN B PLI L A2 I I NLIMOXS LCT NUMX $ LT 010 GaG4 0404 GLEO 0405 224 227 QA G324 0406 003 0407 0407 066 0410 0411 Oall 010 L& 0412 0412 0413 Q22 229 0413 370 230 231 233 0420 0421 0425 307 235 04 Q22 2E7 0423 SBIT A FHAVE AT BEEN TIMEy A TM Rl .M A ne o 370 FROGRAM RT-11 MACRD UMO2-10 0013325 FAGE 8+ A-10 WITH FOINTER WORDS THEREE SHIFTED N L.ty © THREE Q60 0424 RYLILE M LM 0421 238 L&y THE 370 234 G423 L SROTATE T 233G 0420 IN MEMORY 022 0407 0417 A THE 307 0416 041& LM FOET REGISTER Q&0 0418 041G 232 RAL. 0414 0414 FRERESET M X07 228 3 < G2 & 3 a SHIFT COUNTER. TO THE TEMFORARY AREA IN OF THE TEMPFORARY AREA ONE TIMES THREE A% AROUND TIMES. SO THAT ALL THE THREE RAM. WORDS 021 23y M NUMX LLL 10 110 o104 001 240 31 0bé 010 0432 307 2491 0432 242 0433 243 0433 044 370 0430 0434 370 0437 006 0440 000 0441 0441 MEMORY FOINTER TO LEAST STGNIFICANT WORID. SEET THE 370 WORD AND ZERQ THE LEAST THREE STOGNIFICANT PRITS, ALl R SAND IN THE LM A FRESTORE THREE RIT DIGET FROM REGUSTER B AN 201, 043646 245 0437 246 NLL 0434 0435 244 .oy M FRESET LAl © OUT REGE PULEAR IN MEMORY. DIISFLAY INDICATORS . L3% 247 248 FMOVE 240 251 252 253 0442 FTHIS ROUTINE I8 USED TO MOVE THE TEMPORARY PAREA OR THE SWITCH REGISTER IMAGE aAREA OF $THE RAM TO THE DISPLAOY AREA OF THE RAM. SSET U MEMORY FOINTER TO TEMPORARY AREA OF RAM. 0442 Ohé 0443 010 0444 317 254 0444 25 0445 2896 04464 0445 Q446 2U7 298 MOV LLY MOV23 LB M SLOAI THE NEXT THREE WORNS IN PRy 261 L LI M LLE Ghb 0452 Q00 0453 0454 X7 0454 040 04 263% 0456 264 046 0457 Q&0 0aGH7 273 G LM B IN L. LM C IN L LM D FPRESET MEMORY POINTER TO THE FRAM AND LODAN REGISTERS By Oy 372 04860 JMETITSEL G460 104 0461 023 KYLLLE IN 337 2652 265 It Q&0 0451 QOA4HE AND 327 289 0441 260 0453 Gy INTO REGISTERS LGoM 04%0 0450 L. FROM RAM 040 0447 0447 10 ROUTIENE - 249 FROGRAM RT-11L MACRED VMOZ-10 GO BACK 00113325 TO FaGE DISFLAY B+ ROUTINE. DISPLAY AREA OF THE AND D BACGK INTO MEMORY. Q00 267 s BOOT 269 Q2L ROUTINE FLOUMFS 0463 0463 R7D ROUTINE . $THIS 270 BOOTL S G464 LO& 365 0465 Q00 0466 0466 1LO& DAa&7 3462 OA47C L0 0471 TO SETS SWITCH AN THE ROOT REGLS LAY ROUTINE ., CAaL, MITST sCALL SUBROUTINE TO Cal, HLTST FUALL SUBROUTINE TO LHT 240 FOET LAl 200 FOHET QUT REGE LAl O RIT IN M RI CNTRL CHECK BTER IF (200 BIT KEY 18 DEPRESSEY PFROCESSOR 1S HALTED. TO LUOOK FOR PROGRAM QU6 240 274 R7% SHAL TS, 0473 THE ®BOOT RBRIT. 006 200 276 047 135 277 0474 Q0& Q00 DIEOH00 QUT REGE y CLEAR Cal, TIMER SWAaTT . JME GRILSE FJUME 7O SEXEAM ROUTINE . STHIS ROUTINE THE ROQT BIT. 05O OFAs LO& 010 SWITCH REGESTER QISFLAY ROUTINE . THE 104 0505 20 GHOG Q10 18 USED TO SERVICE PROCESGSOR I8 HALTED, VREY . 0H07 EXAmM QG077 LO& 0510 362 QUL 010 ¢ CAL HLTST LLT 1S FOHECK THAT EXAM Obéb 013 L.y M SOET LOCATION 19 307 289 NIE 200 FTHE EXAM ST EXAM2 STHE UNIEBUS FLAG 044 18 FROM SET. THE RaM IF IT AND I8 CHECK SET IF THEN 200 290 ADURESS 150 QU0 130 001 KY1LLE FROGRAM RT-11 MACKRDO UMO2-10 Q013325 FAGE 8+ WILL BE INCREMENTED BREFQORE 291 CAl. GFRTL FREING Cal. INCAD SRY CAL BATILT sLOADS USEX. CHECK TQ SEE TF IT SHOULD RBE INCREMENTED 106 00l 292 0520 QU235 ONE (GENERAL REGISTER) OR EBY TWO. (RAM) TNTO 1O& Q01 X AME 3 RUG AIMRESS FOINTER THE UNIRUS 10O 44 0ol 294 PANNRESS REGLSTER . sMAGBK OFF THE (200 IN THE Q6é O1% TWO DATA LOCATION 15, BITES AND SET AN JUMEP TO THE EXaM FLAG 307 NIVE 3 ORI 200 Q44 003 298 OEH40 0464 QU4 200 Q542 OH42 PO 300 LM A 270 B4 0543 1LO& O%44 2EQ 0545 001l 05448 0546 104 OG47 042 QS0 OOl Cal. DaTil pOALL JHE MOV sTO DATE DISFLAY ROUTINE THE NEW THE MOVE ROUTINE DATA, 301 302 S03 FINCREMENT 204 PTHIS SUBRRDUTINE TNUREMENTS PROINTER TN THE RaAM RY 1 F0% 306 INCADE $ANNG A 1 ADDRESS TO THE SUBROUTINE ., LEAST THE UNIRUS SIGNIFLIGANT ADDRESS WORD O6b 013 307 FOF THE UNIRUS ALDRESS PFOINTER (LOCATION 13 307 308 FAND ' THEN AalDS THE CARRY RIT INTO THE NEXT THE LAST WORD &RE TWO Q04 001 309 WORDE, 310 FAH THE TWO SIGNTFIGANT Q&HO Q06 Q00 217 : KYLLER 370 FROGRAM KT, MAGRD UMOR2-1.0 QOT13826 FAGE 8+ A-13 LERS (18 IN BIT ADDRESS) . MASKED Nl 314 0664 D60 LG G564 0B&ES 0565 08566 006 000 3hé6 O LAT AL 0567 M MUY X Q44 003 .M A 370 RET 007 COTEST TESTS SANDRESS SWILL GRFRTLS La BY NOT O THE UNIRUS ADDRESS TG OIN THE RANGEOF WIlLi. IS N L LFOLT INCRE MENT SGUBROUTINE . AT Al M 307 MIVE 3 Q44 003 CRL3 333 Y577 074 Q600 Q03 0601 Q601 0602 0603 334 33& 337 Q6064 Q74 Q&O7 X77 G&10 G610 LG 061l Q&L reR 001 0413 339 0613 Q414 Q0414 340 Q461G Q1S Galé 341 AND Lé ONEST ABDRESS RITS LS THRU 8 QONEST ADDRESSE RITE 7 L3 N(. ne oL L. M §YES . CELo327 PARE JFEEGRRTE yNO . [T A R 061 L.y M X077 NIE 340 FARE CPTI 300 SRITS AND 044 40 0617 0617 074 0620 300 KYLLLE 17 307 Q606 338 BITS 06 060G Q6HOG ALBORESS 11O 2324 001 0604 0604 FFE SJFEGFRTE PORE FROGRAM RT-11 MACRO UMOZ-10 O 0013325 AND PAGE 4 ZEROES®T 8+ & ONES AND 342 343 344 0621 0621 150 0622 227 0623 0624 001 0624 106 0625 151 0626 Q627 001 04627 007 JTZ GPRT3 PYES, GFRT2: CAL. INCAD PNO. GFRTI: RET INCREMENT ALDRESS BY ONE. S47 SOATT SUBRQUTINE ., 348 PTHIS SURBROUTINE K49 FUNTRUS 350 351 FREGISTER ¥ THE TE ORARY TVED AREA IN DATA RAM. FOINTER TO 2652 0630 0430 0&631 353 55 356 357 0636 044 0&H37 020 0640 0640 LSO 0641 257 0642 Q0L 0643 3E9 0644 0h44 04645 370 J460 04O 361 0645 0646 103 F62 0646 0647 0647 370 364 363 366 348 Q00 Q6% BIT. QUT REGS ENF REGE FHAS RBUS SSYN RBEEN NOT 20 ST BUSERR INOy REFORT DBRLE FYESy PROCEEL. FIATA AND STORE FGET HIGH RBYTE RETURNEDR? INF RBUS ERROR, LM A GET IN L DRHER LM A IN L. IN LOW RBYTE OF OF MEMORY. UNIRBRUS FOTORE IN MEMORY. PZERD LAST WORD OF MSYN EBIT. IIATA LM O A TEMFORARY . 370 064 ouT REGH FOLEAR BUS OuUT REG2 FOROF UNIBUS 133 O6%S ADDRESS L2% 0656 KYL1ILE MSYN LAL 0652 0656 BUS RET 007 FROGRAM RT-11 MACRO UM0O2-10 Q013128 PFaGE A-15 8+ LINES, AND ADDRESS INTO TEMFORARY. O&HO 006 0658 FOET INF 0651 0654 b7 DATIZ2Y 0641 0653 10 THE UNITEBUS LOATED 101 0650 0650 LAl ON 11X 358 363X FOET WU I8 THE 133 0634 0643 10 DATI BY 006 010 063G 063G LLIT A TO 010 0634 0634 MEMORY PERFORMS FOINTED Qbé 0632 0632 0633 354 narriy ANDRESS UNIBRUS 346% 370 371 FUNIRUS 372 373 FTHIS SUBROUTINE SETS THE FINDICATOR AND TERMINATES 374 G 0657 006 0660 020 0461 0661 P BUSERR? 0657 0662 006 0643 000 0664 20 OuUT REGSE LAl O OUT REGS FOROF BUS OuUT REG2 SUROF UNTRUS JME CLRE FGO FOET RUS ERROR BUS THE ERROR UNIRUS TRANSACTION. INDICTOR. MEYN. 133 0646 V665 LAT SUBROUTENE . 133 0662 0664 ERROR ADDRESS LINES. 125 0666 0466 Q667 104 332 04670 010 CLEAR THE DISFLAY. 380 381 82 sDEFOSIT X83 FTHIS ROUTINE SERVICES THE DEFOSIT SOHECK FOR PROCESSOR HALTED. 384 389 386 0671 LA A 0671 106 0672 3462 0673 010 0674 0674 004 Q675 000 0674 CAal. HLTST L.al 0O QUT REGS JUCLEAR SURROUTINE . THE KEY. INDICATORS. 0676 387 388 0677 0677 Qb6 0700 QL% 390 0702 044 0703 LOO 0704 393 .9 0706 G0l 0707 NOVL 100 sFIRST ST NERR PYES. CAl. GERTI PNO CAal. ENCAD FENCREMENT FOINTER AND CHECK GENERAL REGISTER. OEFOSIT FLAG, 0710 174 001 0712 0713 106 L8 0714 001 Q7 1% CHECK FOR D23 L. R0 MACRO UNITRUS ADNRESS FOINTER. M 307 0716 KYLELLE DEFOSIT? 104 0711 0712 GFLE 394 MEMORY 150 QO70% 0707 392 UF 307 0702 0704 391 FHET 0701 0701 389 LLELOLS FPROGRAM ORE 10 UMO2-~10 SHET THE QOL13L2E BUS C1 FAGE 8+ A-16 RIT (IN RaM) T0 DO A DATO. 29 0716 OéH4 0717 OLO 0720 0720 394 397 106 0722 0723 344 001 0724 0724 398 0725 0726 07246 399 400 LM BapLD LLT 135 PLOAD THE UNIRUS ADDRESS REGISTER. LA M 307 0727 0727 044 0730 003 0731 0731 064 0732 100 NOT 3 ORI 100 FOET LLL 10 FRESET caL 0AaTOl FOCALL JME MOVL yA8 LM 0733 370 402 0733 0734 0734 073% 066 010 404 CAl. 066 015 401 403 & 370 G721 0721 073646 0736 106 0737 361 0740 0741 001 0741 104 0742 042 0743 001 THE DEPOSIT FLAG. A MEMORY THE FOINTER DATO DATA. 7O TEMFORARY SURROUTINE NISPLAY USING TEMPFORARY AREA OF RAM. TEMORARY AREA AREA. 400 406 FUNIRUS ADDRESS REGISTER LOAD SURRDUTINE PTHILS SUBROUTINE LOADS THE UNIBUS 407 408 409 FROLINTER FROM 410 FREGISTER AND 411 $THE UNITERUS, 13 FOET UF REGO FMOVE FIRST REGL FMOVE NEXT 412 413 0744 BADLDG 0744 0bb 0745 013 L.y 0746 0746 MEMORY FOINTER THE THE TO UNIRUS ADDRESS REGISTER ONTO UNIRUS ANDRESS FOINTER. M OUT 0747 0747 0750 121 A1 0750 060 075 417 IN L. LA M ouT 418 IN L l.&a M WORD WORI 0460 419 307 420 KYLLLE INTO ENABLES 307 414 414 LLT RAM PROGRAM RT-11 MACRO UMO2-10 0013125 FAGE 8+ A-17 TO TO UNITRUS ADDRESS REGISTER. REGISTER. 064 004 FLOAD LASBT 425 sRATO SUBRROUTINEG . 4264 §THIS SUBROUTINE FERFORMS THE DATO FHEQUENCE FOR DEFOSTT AND START KEY FUNCTIONS. OEET FIRST WORD FROM MEMORY (FROM TEMFORARY ON DEFOSITS 421 0757 422 0757 0760 0760 OUT REGR2 427 naTol: 430 432 074635 0765 433 0766 434 HRLE FAND UNTEBUS FLOW BYTE ADDRESS POINTER ON STARTS)Y AND LOAL OF SWITCH REGISTER. Q&0 SUET SECOND BRME SHIGH BYTE 4 PGET RIT kG §THE UNERUSG, 307 WORD OF OF DATA SWETCOH AN LOAD INTO REGISTER. 131 0766 004 0747 004 Q07270 0770 435 autT 127 0764 0764 434 M Q7463 0763 431 l..A 307 07462 0762 REGLISTER. RET 424 0761 429 OF Q07 424 0761 FART TO ENARLE SWITCH REGISTER ONTO 133 1. 4 0771 0771 006 0772 014 0773 auT REGE FASSERT TN [RE S FRrUS JME ME M2 FLJUMF MSYN, BUS 0773 437 438 439 0774 0774 113 0775 0775 104 0776 001 Q777 0LO 440 RETURNED? OVER ROM MEMORY FLOROF BUS MEYN. FOROF THE SWITCH BOUNDARY . NOF 1000 LG00 SEYN 300 1001 MEMSL NILL 20 JTZ BUSERR 1001 LOO2 441 1003 SIND LOOX 104 1008 442 100& $YES . L&yl 1006 1oO7 443 1010 QU REGS LAl QO auT RIEGE 1010 444 447 1O11 Lol Q0& 1012 000 1013 101% 444 1014 KY1lilR REGISTER ENARLE . ADDRES S REGISTER L33 FROGRAM Uy RT-1 MACRO LR DOLIIRE THE UNTRUS FAGE 8+ A-18 ANk REMOVE Lal4 1325 1O 123 1QLé 121 LOL7 1020 1O 20 1O 010 447 10198 448 449 450 1L01LE QUT REGL OuT REGO Gal. 1017 8 LI SOALL ROUTINE TO REFLACE THE CONTENTS OF SWITCH REGISTER. RET 1022 1022 FEROM THE UNLIRUS. 007 s HALT ROUTINE. sHALT BY STHIS ROUTENE SERVICES THE HALT/SEINGLE STEF SREY FUNCTION AND ALS0O SERVICES A FROGRAM HILLTL$ 16 1023 113 1024 044 1025 040 1026 110 1030 010 1031 106 458 1024 459 102 460 1031 1032 363 1033 000 1034 1035 006 041 1036 133 1037 1040 006 001 441 1034 462 1036 463 1037 464 HL.T1S: 1041 133 1042 026 1043 000 1044 0lLé 1045 012 4466 1044 1044 113 1047 LO%BO Q044 040 1 067 1053 010 10%54 021 448 1047 HLT23 HLT258 1046 469 FROCESSOR. 40 $IS FROCESSOR ALREADY HALTEDT JFZO 881 FYES. I} SINGLE STEF FUNCTION. CAl. MOYST $NO. IS CNTRL KEY DEPRESSED? LAl 41 SYES.SET HALT REQUEST AND CLEAR RUS BITH.IF FROCESSOR ouUT REGS FI5 HALTED IT WILL FROCEEDR ONE INSTRUGCTION. LAl 1 FOROE THE CLEAR RUS BIT. OuUT REGYH 1041 465 1042 467 NDI 6818 THE INF REGE LCT O POHET WP A TIMING LOOF TO WALIT FOR HALT LRI 12 FGRANTS IN CASE FROCESSOR IS DOING A RESET . INP REGSH NOI 40 FHALT GRANT RECEIVEDT? SEZOHLTS PYES. ne o FNO DECREMENT COUNTER. 110 470 1054 KYL1LE PROGRAM RT-11L MACRD UMOZ2-10 Q01325 FAGE 8+ A-19 471 472 473 LO5H 110 10%6 046 1057 QLo 1060 1060 011 1061 1061 474 47%5 1062 110 044 1063 010 1064 1064 104 1065 257 1064 00l 1067 HLT3? SEZHLT2S FOONE ne FRECREMENT k COUNT?PNO . SEZOHLT2S FTIMED JMF RUSERR FYES. LAT 0 FRECETIVED our RE (i & COWUNTER. OUTT GO TO NO. BUS ERROR GRANT.NOW ROUTINE. CLEAR INDICATORS. 1067 1070 476 1071 477 1071 1072 307 sLOAN UNTRUS THE ADDRESS OF FC (R7) (277707) 1072 1073 478 1074 QuT REGO P INYO AT 377 FPENARLE ouT RE GL LAT 9 UNITRUS ADDRESS REGISTER AND 1074 479 1075 ONTO THE UNIBUS. 1075 1076 480 1077 1077 481 1100 1100 1101 482 1102 aur RE.G2 483 1102 1103 1103 Cal. nAaTIL sOALL M MOvi1 ILSFLAY THE DATIE SURROUTINE . 1104 11035 484 1106 THE FC. 1106 1107 1110 485 484 487 PANIT KEY 488 489 $THIS ROUTINE SERVICE ROUTINE, SERVICES THE INIT KREY FFUNCTION. 490 INTTLS LAl MITST FOHECK THAT CNTRL KEY CAl. HL.TST s THAT THE FROCESSOR CAL. INITX sCALL THE INITEIALTZE HAS RBEEN NEPFRESSED 106 36% 000 18§ HALTEDR. 106 362 010 492 1117 KYLLILE 106 FROGROM RT-11 MACRKRO UMO2-10 00213325 FAGE 8+ A-20 SUBROUTINE. AND 493 1120 130 1121 010 1122 re22 112238 494 490 1 SOROF THE ouT REGH FRIT OBET. M DESE BUS INIT RIT LEAVING THE HALT REQUEST 001 114 1 Lal 006 133 1 i 12% ] 104 1124 1 023 1127 | Q00 494 497 4948 FINETIALTZE 499 PTHIES HOO sRIT S50l PRY W1V JCa 0 INTTX: 0 006 L 003 2 3) 33 S0%H TIMERS 33 Ol 34 012 5 SUBROUTINE ., SUBROUTINE FOR THE Lol 3 OUT REGEH FHET LEI 12 FERESET LG O 150 START ROTH SETS THE BUS MILLISECONDS., BUS ENIT THIS I8 USED AND INIT KEY FUNCTIONS. INIT AND HALY REQUEST COUNTERS FOR A 150 BRITS. MILLISECOND DELAY. 026 000 506 1137 1137 507 INTTX2: 11490 1140 sOECREMENT COUNTERS AND RETURN WHEN DONE . JFEZOINITX2 1141 137 010 508 1143 1143 o1l 509 1144 ne r JEZOINITX2 1144 110 1145 137 11446 010 1147 1147 © 110 1142 510 DG 021 RET 007 G511 G912 G133 dl4a I FSTART ROUTINE, FTHIS ROUTINE SERVICES ] FRY Vil W17z W18 G919 LOADING THE FC THE (R7) 1150 8TRT1: 1150 106 1151 365 1162 000 11853 1153 106 1154 362 1159 010 KY11l. FROGRAM RT-11 FALLOWING CAL MDTST JCHECK CaL HLTST $THAT MACRD VMO2-1Q THE THAT FROCESSOR CNTRL FROCESSOR Q013125 FAGE 8+ A-21 I8 KEY I8 START WITH FALRRESS POINTERGENERATING THE BUS KEY FUNCTION UNIRUS INIT, TO CONTINUE, DEFRESSED HALTED. AND AND H20 1156 1186 1157 LT 240 $RESET 307 s LOATH 1160 Q04 1161 307 1162 1162 ouT REGO sUNTRUS LAl 377 our REG LAl 17 $GET THE 1163 004 1164 X77 116G ourT REG2 sRUS O 13 POHET THE MEMORY L1566 006 L1167 0L7 1170 CAl. ATl yANI Al THE Ga9 Cal. ENTTX shAalLl THE L.&T 2 SRS 1171 1172 0béb 013 1123 1173 104 1174 X461 1173 001 1176 1176 106 1177 130 1200 010 1201 1201 10102 1202 Q02 1203 1203 ouT REGE $OROF lL.AT 0 sCLEAR aur RE JMF SGRIDISEF PG ANTNIRESS (277707) INTO THE POINTER . ENARLE RIT BIT C4) AND THE TO UNITRUS (10). FOINTER IATO ANDRESS 1204 004 1205 000 1206 SURROUTINE, INTTIALLZE SUEBRDUTINE TO GENERATE INTTEALLZE, BRUS INTT AN HALT REQUEST RITS AND SET RIT. THEN DROF BUS CLEAR BIT. S 133 1207 1207 104 1210 261 1241 010 s JUME T SWITCH s CONT INUE s THIS CONTLES Cal. REGISTER DISFLAY ROUTINE. ROUTINE ROUTINE SERVICES MOTET yCHECOK TF 240 s RESET FROGROMMED 40 SHET THE: CNTREL KEY THE IS CONT KEY FUNCTION. THEFRESSED, 1G6 365 000 HALT FL&G, O%6 240 L&t THE BUS CGLEAR 006 040 KYLLLE FOINTER 133 1204 1206 ADTHR 12% 1171 938 (2000, 123 Y 1170 FLAG 121 1163 1165 HALT 240 1160 S22 FROGRAMMED 0%6 FROGRAM RT-11 MACRD YMO2-10 QOTLILAS FAGE &+ A-22 BLIT TO alLOW FROCESSOR RUS G542 1220 123 543 1225 10 L2l 1223 G544 545 RECGS 10 CONTINUE. TF LAL © FRUNNING THIS T REGEH SME SR FJUMP TO SBWITOH SLOAD SWITCH THE FROCESSOR IS OLREAY WILL HAVE NO EFFECT. Q06 000 1224 1234 QUT 133 1o 133 1225 1228 104 1226 261 1227 010 SE REGUSTER REGISTER DISFLAY ROUTINE. ROUTINE. 5OTHE L8R KEY FUNCTION, INTO THE SWITCH THEN 1L.OADS THE SWITCH sREGTLE L1230 [L&GIRLR 0 J SOET MEMORY SMOVE TWO INDICATOR, FOINTER TO TEMFORARY OREA AND 06é GOLG WORDE TO REGISTERS A AND K. 307 060 FIRESET MEMORY FIMAGE AREA A Tt FOINTER TO SWITCOH REGISTER D&H& 0l é AND LOAD MEMORY FROM REGLSTERS X770 HHY IN L. LM 1 AND Q&HO 560 L2411 124l G961 2 371 1ea Cal. SRLT seall THE SME SRS SJUMF TO SROLOAD SURROUTINE AND 1242 1243 1244 G682 1248 SWITOH REGISTER DISFLAY ROUTINE. 12435 1246 1247 563 D64 FORLOAD H6% W4 T3 FRY Vi6? S570 H71 H72 SURROUTINE. FTHIS SUBROUTINE LOADS THE SWITCH REGISTER FWITH THE CONTENTS OF THE SWITCH REGISTER FIMAGE AREA IN RAM.THIS SURROUTINE IS USED Gb6 SRLDG 1250 1250 066 1251 016 LE 1252 1252 17 RY1lL.B FROGRAM LLYT Lé FAND M THE LOAD SWITCH LOAD THE LOW s < RT-11 MACRO UMO2-10 REGISTER ROUTINE AND FAFTER DATOS TO RESTORE THE SWITCH REGISTER. FOET MEMORY FOINTER TO SWITCH REGISTER IMAGE AREA 00213325 PFAGE 8+ A-23 BYTE OF THE SWITCH REGISTER LA R FWITH THE FIRST WORD. sLOAD THE HIGH BYTE OF PUWEITH THE NEXT WORD FROM 301 QuT SRLLE 127 IN . LA M 060 THE SWITOH REGISTER 307 ouT SRHR MEMORY . 131 L2340 007 FOWETOM $THIS REGISTER ROUTINE FOWITOH REGISTER TLSFLAY AREA LSTER GRIESES LT 16 LCYT @ DISFLAY MOVES OF THE IMAGE RaAM DTSPFLAYED AREA AND (SR ROUTINE, CONTENTS OF SETE DISFY OF RAM THE THE T0 THE SWITCH INDICATOR, 0Hé O1Ls 026 000 Ly M 307 060 317 LLE O 066 000 LM A IN L LM R IN L 370 Q60 0460 L.l 40 OUT REGE SMEC TS EL 006 040 104 023 Q00 4500 4601 602 sL.OAT Al 603 FTHIS ROUTINE KYLLLE FROGRAM RT-11 MACRD UMO2-10 001382 5 FAGE ROUTINE . SERVICES 8+ A-24 THE LALD KEY FUNCTION 404 FRY GO FAREAS OF RAM TO THE UNIBRUS &Ob SAREA OF RaM AN RY ZEROING &GOV 408 H09 L.ALi 130% 130 004 1304 1307 Q00 e LAt O OUT REGH LLE 10 MOVING FAREA. OLEAR ANY THE CONTENTS OF THE TEMFORARY ALDRESS THE FOINTER TEMPORARY INDICATORS. 1307 410 1310 S LG M H12 IN I H13 LE M IN L L.v M 414 sMOVE TEMPFORARY TO UNIRUS Q60 H13 307 4164 NI 3 G44 003 Mo H17 0460 618 .M H1¢ 0640 620 .M R IN L LM A 71 S 0D&HO H2d 370 H2X CLRL: .ol O OuT REGSE LT 10 0046 000 Gl POLEAR THE TEMFORARY Gbhé Q10 370 060 G2 IN L LM A Q&0 H30 370 JMF 631 MOV 104 KYLILE FROGRAM RT-11 MACRO YMORL~10 001328 FAGE A-25 8+ AREA. ADDRESS FOINTER. 1342 042 1343 001 632 4633 634 FITSFLAY &35 PTHIS 634 ADNRESS ROUTINE FEUNCTION. &H37 &30 LDIsran: $TO LAal O ouT REGS LLI 1% THE ROUTINE. SERVICES LT MOVES DISFLAY THE THE AREA DS UNIRUS OF AL KEY ADGRESS FOINTER RAM. 006 000 539 PCLEAR INDICATORS, 3 SCLEAR EXAMINE LILT 13 FHET JME MOV2 FJUME L35 440 0&b 01L% b4, LA M 307 642 NI AND DEFISIT 044 FLAGS. 003 643 LM A 370 644 MEMORY FOINTER TO Ohé UNIRUS ADDRESS FOINTER AND OL3 545 1357 TO MOVE ROUTINE 104 TO MOVE THE 044 13461 Q01 4644 647 448 FHALT TEST H49 HE50 FTHIS ROUTINE &S 1362 652 1363 1362 FPROCESSOR HL.T&ETS REGEH NIIT 40 #1S5 HALT JTZ DISFL sNC. GO 044 1364 040 1365 023 1347 000 1370 TO SEE RUSY TO SET? DISFLAY. SYES. RETURN. 007 NUML ¢ 1371 044 1372 1373 006 1373 I07 1374 1374 044 137% 010 5376 1376 150 1377 004 KYL1LE TESTS HALTED, 130 1366 1370 1371 1S 113 1363 1345 INF SUBROUTINE., FROGRAM RT-11 NIE 10 FONTRL JTZ NUMLX FNO. MACRO UMO2~10 GO 00113325 KEY TO DEFRESSED? UIGIT FAGE 8+ A-26 1 ROUTINE., IF THE DATA INTO DISFLAY. 140G 001 S MAINTIL 1401 461 H62 663 1401 0hé 1402 1403 040 1403 006 1404 100 140% 1405 1.3% 40 FYES. MAINTENANACE LAT 100 SN0 ouT REG6 FOET THE 0 SREAD IN S JRURE] FUALL THE Q0 $THE FOLLOWING IS 200 FFOR THOSE FUNCTIONS 1406 1406 066 1407 000 * REGS LN REGY NI 17 1410 1410 664 1411 645 1412 1411 1412 L6 1413 647 L1414 1413 1414 141 668 LHT LOOK FOR FPROGRAMMED MAINTENANCE 12 RITS OF MODE MFC HALTS AND INDICATOR. AND DISFLAY. 1% 370 060 117 044 OL7 LM L4lé 1416 NOT MORDE! ¢! A 370 ML H69 1Lal7 060 470 1417 1420 1420 G764 1421 000 LM 0 S MATNT 471 DISFLAY SURBRCOUTINE . 106 031 000 H73 THE KEYSERVICE ROUTINE 01é ¢1414) 673 KEY 046 200 FMATNTENANCE MODE . 066 003 L. 475 M 207 RAOR 476 032 ST 477 ML San 140 1o7 0l 4678 032 KAk 1441 1441 480 RAR 1440 1440 4H79 032 KA 1442 Ladd RYLLLE 032 PROGRAM RT-11 MATCRKRO UMOE-10 DOILAIRE PAGE 8+ A-27 AVALLARBLE IN 481 1443 ST 1443 L40 1444 1 %4 1L44% oLl 482 14464 683 1447 484 1450 1444 1447 MELR Q&0 060 1450 685 1451 RAK 4684 1451 1452 STE MOGHAT 1452 1453 1454 687 RAR 032 488 JTE TAKERUS 140 201 011 $89 060 L0 060 691 1463 1463 492 1464 $93 307 Las4 AR 032 1465 L4&% JTE 14664 162 1447 L4770 011 494 1470 032 495 1471 1471 498 RAR JTG MCONT L 140 1472 143 1473 oLt 1474 La74 MHLT 140 Revi 032 HY7 ST MEOOT 140 207 0Ll 4598 R 032 H99 JTE MGTRT Sk MATNT2 140 173 o1l 700 104 022 1EO6 701 oLt LSOF KYLLILE PROGRAM MOL&EAD: RT-11 LLT MA CRO . e O UMO2-10 Q013138 FAGE A-28 8+ 0é6b 000 REG2 INF 1O .M A IN L. 370 G&HO REGS INE 107 X70 LM A IN L Q&0 NP REGA NDL 3 1Lk 044 003 L.M A 370 JME MATNTZ Ly 0 TiNE DL 104 0Ll MOsoat: FREAT TN UNTEUS UATA LINES anND DISFLAY. Qbé Q00 101 LM @ IN L 370 0&H0 Tk TNEF 103 LM o@ I L 370 Q60 Ll O JME M LAT 300 B DU REGS SOLQCK Lal 100 yCLEAR MANUAL CLOCK BLT. U REGS 07 & Q00 TN 104 1542 AL AR Gl MOONTLE LGHAR 1543 06 1544 300 14 1548 7aX LE46 133 SRTOMONUAL 100 RT-11 MACKD UMOR-10 ENaBLE RITH, Q06 KYLILE FROGRAM CLOGK 00313125 PAGE 8+ A-29 AND MANUAL JME MATNTL Ly Q ULEAR aur REGS gLHUMP AME ML 1G4 aol Q11 MOLRS THE MAINTENANGE Q05 MODE INDITGCATOR AN QGO O CF MO TINTENANCE L35 MO Vi THIE HAL.Y ROUTINE 1Q4a 037 QLG MHLTS L4 FALEERT MANUAL CLOCK ENARLIE Q08 ANIE 140 COREGS 100 FOROF CLE AR §IIROF MAN Ual, 0064 BUS RIT, 100 732 REGS 133 733 MAINTL 104 Q01 011 734 MSTRTL? LAl 0 QuT REGS JMF MAINT L LAl 20 FOET TAKE RUS aur RE (% s JUME OUT OF JME MCL.R LAY 200 004 CLOCK ENARLE , 000 735 133 736 104 001 011 TAKRBLUS 006 ERIT AND 020 133 MAINTENANCE MO 104 1%4 011 740 1 MEROOT ¢ FOET AND 004 CLEAR 200 741 auT REG6& LAY 0 our REG& JME MALINT 135 742 Q06 000 743 1335 744 104 KYL11LE PROGRAM RT-11 MACRO UMO2-10 00113325 K AGE 8+ A-30 THE BOOT RIT., CLEAR RUS BETS. 1616 1617 001 011 NUM7¢ 74% 1620 066 006 746 1620 1621 1622 307 747 1622 1623 1623 044 1424 010 748 LA 162G 1630 1626 150 376 1627 000 1630 1630 163l 2 Ann: 1635 1636 066 1640 010 LbH4al 370 758 1443 14644 060 759 14644 1645 1645 301 L1646 763 1647 1650 370 1650 104 L&S1 04 1652 001 NLM6¢ 1653 1653 1654 307 7 6% 1659 1656 1656 1657 044 0LO 2 SOFFSET ADNRESS CALCULATELR BY LLI 14 SUNTERUS LE TM ne i LA M DIGIT 7 ROUTINE, ALDRESS FOINTER TO ANDING TEMFORARY s TWO . 10 Al € Al M LM A IN L LA R AC M LM A SME MOV LILT 6 LA 1660 KYLLLe LCT TO FLHISFLAY ANSWER IN TEMFORARY . 006 165 1660 $NO. 066 764 766 NUM7X 217 1647 762 STZ GO DEFRESSEDT? 207 1643 16446 KEY 202 1642 760 $UNTRL LLL 1637 1642 10 307 1637 1441 NID 066 0l4 1634 1635 1636 M THE 026 002 1632 1632 1633 1634 6 LI M NIE 10 FONTRL. STZ NUMGX sNO. GO KEY TO DEFRESSED? DIGIT 1850 FROGRAM RT=41 MACRD VMO2-10 00313285 PAGE 8+ A-31 & ROUTINE. FLUS 7467 1&61 X727 L1662 Q00 14563 L1663 L&&EA 768 769 LCT O FYES. SET LILT 47 FTHE SWITCH JME A FRLUS ZERD STHATS IT 026 000 1468 1665 Oé&é 1666 017 1667 1667 234 L&zl L1 770 QOOQOL KYLLLE FROGRAM SYMBOL TARLE [} = MEMORY FOINTER REGISTER IMAGE 104 L&70 771 UF FOLKSE Y BN RT-11 MACRO UMOR-10 000000 QOILEIZ2E FAGE 84+ 001634 3 BADLI 000744 000001 BOOT 000463 REGL 000657 0013327 [ 001332 000003 CONTL QO0L630 DATER 000001 DRLE Q00715 000031 DEGPAD MG CLRL 0 = DATOL 000761 DEME DEF ODISFL 000671 Q00023 T2 DIrsSELs DI5e3 000132 nIsra NIGRE 0001463 i EXAM2 Q00RO = = GFRTL = Q00001 0000146 = 000002 001212 0004643 = 000000 001344 000062 000134 000137 Q000004 Q0007 Q00574 000424 GFRT3 Q00627 H HILLT1 QO0O0 001023 LTS 001362 001037 HLT2% 0010464 001042 HL. T3 QG0LOKY INTTX 001130 00055, INITX2 001137 00000 001111 KEYSEV 000174 001305 001401 Q0LuG4 LGSR MAINTZ MCONTL 001230 001422 001543 MIOTST 00036 LAl MAINTL MO R MIOBDAT 001526 MHE.T METRTL NUMOX NUMZ2 = NUMIX NUMS = REG7 HRILLD HTRYTL « MOV 001%73 000400 ME M2 000442 Mov2 NUMX 001001 000444 000407 NUMO NUM1 001371 NUIMI1 X NUM2X 000403 000402 NUM3 NUM4 000401 NUM4X 000401 000400 NUM6& 001653 000400 000377 Q01620 NUMZX 000052 000013 REGO = 000405 000404 = 000402 000374 = 000000 @ Q00001 = 000002 REGE = 000003 Q00004 5= 000005 REGS = Q000064 000335 GHEFTZ 000004 SRLEB = 000003 000007 : 001261 SRR 001672 000 001 CORED TE 15380, ri 641 TAKRUS QOO0 ERRORS FREE 000007 001607 001E07 000403 001250 001150 AEBS. 000006 = = = SRELSE 001562 = MEOOT MIOLSAL i = it KEYS = 001034 001601 START TIMER 0 WORDS TEXTy TEXT=MEOOBE » TEXT X A-32 000343 Q00000 001133 TO TO AOD TEMMORARY APPENDIX B IC DESCRIPTIONS B-1 7493 BINARY COUNTER RO (1) R1(1) 12 J 1 O3S J —QT 1 ¢} 1 T K 0 R3(1) 08 J F—O T K R2{1) K 11 J 11— T 0 K 0 CLR 14 o1 CLKBC CLKO LOGIC DIAGRAM |03 02 1 R3(t) —— 7493 08 R2(1) p— 03 R1(1) 22 12 RO(1) p— CLKBC CLKO TOI 14 VCC= PIN 05 GND:=PIN 10 7493 TRUTH TABLE (SEE NOTES) CLKBC INPUT Rl R2 R3 (o 0 0 0 o] 0] 1 1 0 0 o] 2 0 1 0 0 3 1 1 0 0 4 o} 0 1 0 5 1 o] 1 0 6 o} 1 1 o] 7 tl1{1]o0 8 0 ¢] 0 1 S ! 0 ° ! 0 1 o] 1 10 O=LOW OUTPUT PULSE | ..y (M) Notes: 1 1 1 0 1 1. Truth table applies when 7493 is used as 4-bit ripple — through counter. 12 o] 0 1 1 2. Output RO(1) connected to input CLKO. 13 ! Y ! 1 3. To reset all outputs to logical 0 both pins 02 and 14 0 1 1 1 15 1 1 1 1 1= HIGH 03 inputs must be high. 4. Either (or both) reset inputs RQ(1) (pins 02 and (3} must be low to count, IC-7493 8641 QUAD BUS TRANSCEIVER The 8641 consists of four identical receiver/drivers and a single enabling gate in one package for interfacing with the PDP-11 Unibus. The transceiver drivers are enabled when ENABLE A and ENABLE B are both low. The other input of each driver is connected to the data to be sent to the Unibus. For example, when enabled, DATA IN 1 (pin 2) is read to the Unibus via BUS 1 (pin 1). During a write operation, data comes from the Unibus as BUS 1 (pin 1) and is passed through the receiver to the device as DATA OUT 1 (pin 3). BUS 1 ——] 16 DATA IN1 —2] DATA OUT 1 ——| BUS 2 —2 8641 ENABLE A ——] 19 GROUND—— [ ; — 2 DATAIN1— — N\ ENABLE A:DO* ENABLE B BUS 4 DATA IN 4 L13 paTA OUT 4 DATA IN 2 —— DATA OUT 2 —2] _— Vee BUS 3 DATA IN 3 pata ouT 3 ENABLE B = BUS 1 { ~_~/ / 3 DATA OUT 9 I1IC - 8641 B-3 74154 4-LINE TO 16-LINE DECODER The 74154 4-Line to 16-Line Decoder decodes four binary-coded inputs into one of 16 mutuallyexclusive outputs when both strobe inputs (G1 and G2) are low. The decoding function is performed by using the four input lines to address the output line, passing data from one of the strobe inputs with the other strobe input low. When either strobe input is high, all outputs are high. 17 t150—) f14 o.fi_ ¢ 14 12— T E fol 10 9 16 OUTPUTS 1 OF 16 MUTUALLY fg o— | EXCLUSIVE OUTPUTS 74154 8 DECODED FROM BCD INPUT f210— | WHEN BOTH STB1 AND fe b 7 STBO ARE LOW 6 fsP— 5 f4 oO—— 20 Bco | -2 INPUT FOR DECODING 1 22 4 f3 O—— D3 dp2 5 == DI fip— 2 23 DO fo D——J 1 STB1 STBO Notes For Demultiplexing: +5V = PIN Zf" GND=PIN 12 Inputs used to address output line. Data passed from one strobe input with other strobe held low. Either strobe high gives all high outputs. IC-74154 B-4 74175 QUAD STORAGE REGISTER TRUTH TABLE INPUT |OUTPUTS 'n 'nf1 D R{1)R(O) H L H L L H th = Bit time before clock pulse. tht1=Bit time after clock pulse. (353 R3(1) E—W 14 R3(0) — 5 4 1 ran TM 1 202 74175 — Dt poo® ; [ OUTPUTS 2 1o ROLZL ——Q[CLK FOO, CLEAR R1(1) p— rit0) |5 4 B |2 L—‘DO RO(1) — o1 (5) ril RO(0) ._E_J CLR CLK 1 9 T l D1 (M (1) R QICLK (01)r—(-6—)0 CLEAR [ (12) D2 o (10) p2 faF— R2 ek o) CLEAR o L7 D3 13 13! CLOCK (9) N\ fiJ CLEAR R3 | * 0— 15 D3 23)—(—)0 QCLK (o)“—‘”-o CLEAR ] Pin (16)=Vcc , Pin (8)=GND IC-74175 B-5 Reader’s Comments . KY11-LB Programmer’s Console/Interface Module Operation and Maintenance Manual EK-KY1LB-MM-001 Your comments and suggestions will help us in our continuous effort to improve the quality and usefulness of our publications. What is your general reaction to this manual? In your judgment is it complete, accurate, well organized, well written, etc.? Is it easy to use? What features are most useful? What faults do you find with the manual? Does this manual satisfy the need you think it was intended to satisfy? Does it satisfy your needs? Why? Would you please indicate any factual errors you have found. Please describe your position. Name Organization Street Department City State Zip or Country FIRST CLASS PERMIT NO. 33 MAYNARD, MASS. BUSINESS REPLY MAIL NO POSTAGE STAMP NECESSARY IF MAILED IN THE UNITED STATES R - Postage will be paid by: Digital Equipment Corporation Technical Documentation Department Maynard, Massachusetts 01754
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies