Guest |
Login
version 2.1.0
Manx – a catalogue of online computer manuals
Search
News
About
Help
KDJ11-B CPU Module User's Guide
Company:
Digital Equipment Corporation
Part:
EK-KDJ1B-UG-001
Date:
1986-11
Keywords:
Table of Contents
Chapter 1
Architecture
1.1
Description
1.2
DCJ11-A Features
1.2.1
Stack Limit Protection
1.2.2
Kernel Protection
1.2.3
General Registers
1.2.4
Stack Pointer
1.2.5
Program Counter
1.2.6
Processor Status Word (17 777 776)
1.2.7
CPU Error Register (17 777 766)
1.2.8
Program Interrupt Request Register (17 777 772)
1.3
Interrupts
1.3.1
Sunset Loops
1.3.2
Red Stack Aborts
1.3.3
Addressing Errors
1.3.4
Bus Timeout Errors
1.3.5
Interrupt Vector Timeouts
1.3.6
No SACK Timeouts
1.4
Memory Management
1.4.1
Memory Mapping
1.4.1.1
16-Bit Mapping
1.4.1.2
18-Bit Mapping
1.4.1.3
22-Bit Mapping
1.4.2
Compatibility
1.4.3
Virtual Addressing
1.4.4
Interrupts Under Memory Management
1.4.5
Construction of a Physical Address
1.4.6
Memory Management Registers
1.4.6.1
Page Address Register
1.4.6.2
Page Descriptor Register
1.4.7
Fault Recovery Registers
1.4.7.1
Memory Management Register 0 (17 777 572)
1.4.7.2
Memory Management Register 1 (17 777 574)
1.4.7.3
Memory Management Register 2 (17 777 576)
1.4.7.4
Memory Management Register 3 (17 772 516)
1.4.7.5
Instruction Back-Up/Restart Recovery
1.4.7.6
Clearing Status Registers Following Abort
1.4.7.7
Multiple Faults
1.4.8
Typical Usage Examples
1.4.8.1
Typical Memory Page
1.4.8.2
Nonconsecutive Memory Pages
1.4.8.3
Stack Memory Pages
1.4.9
Transparency
1.5
Cache Memory
1.5.1
Parity
1.5.1.1
Parity Errors
1.5.1.2
Multiple Cache Parity Errors
1.5.2
Memory System Errors
1.5.2.1
Cache Control Register (17 777 746)
1.5.2.2
Hit/Miss Register (17 777 752)
1.5.2.3
Memory System Error Register (17 777 744)
1.6
Private Memory Interconnect
1.6.1
PMI Protocol
1.6.1.1
Bus Device NPR
1.6.1.2
Bus Device Interrupt
1.6.2
PMI Data Transfers
1.6.2.1
Data In/Data In Phase
1.6.2.2
Block Data In
1.6.2.3
Data Out/Data Out Byte
1.7
Terminal Interface
1.7.1
Receiver Control/Status Register (17 777 560)
1.7.2
Receiver Buffer Register (17 777 562)
1.7.3
Transmitter Control/Status Register (17 777 564)
1.7.4
Transmitter Buffer Register (17 777 566)
1.8
Boot and Diagnostic Facility
1.8.1
Control/Status Register (17 777 520)
1.8.2
Page Control Register (17 777 522)
1.8.3
Configuration and Display Register (17 777 524)
1.8.3.1
Boot and Diagnostic Configuration Register
1.8.3.2
Boot and Diagnostic Display Register
1.8.4
Maintenance Register (17 777 750)
1.9
Line Time Clock
1.9.1
Line Time Clock Register (17 777 546)
Chapter 2
Configuration
2.1
Introduction
2.2
Module Configuration
2.2.1
Jumper Wires
2.2.1.1
W10 Jumper
2.2.1.2
W20 Jumper
2.2.1.3
W40 Jumper
2.2.2
Switchpack
2.2.2.1
Baud Rate Selection
2.2.2.2
Dialog Mode
2.2.2.3
Device Bootstrap Programs
2.2.2.4
Console Enable
2.2.3
Diagnostic LEDs
2.3
EEPROM Configuration Parameters
2.3.1
Enable Halt-on-Break
2.3.2
Disable User Friendly Format
2.3.3
ANSI Video Terminal
2.3.4
Power-Up Modes
2.3.4.1
Dialog Mode
2.3.4.2
Automatic Mode
2.3.4.3
ODT Mode
2.3.4.4
Mode 24
2.3.5
Restart
2.3.6
Ignore Battery
2.3.7
PMG Count
2.3.8
Disable Clock CSR
2.3.9
Force Clock Interrupts
2.3.10
Clock Select
2.3.11
Enable ECC Test
2.3.12
Disable Long Memory Test
2.3.13
Disable ROM
2.3.14
Enable Trap-on-Halt
2.3.15
Allow Alternate Book Block
2.3.16
Disable Setup Mode
2.3.17
Disable All Testing
2.3.18
Enable Unibus Memory Test
2.3.19
Disable UBA ROM
2.3.20
Enable UBA Cache
2.3.21
Enable 18-Bit Mode
2.4
System Installation
2.4.1
LSI-11 Based Systems
2.4.2
Restricted LSI-11 Systems
2.4.3
Unibus Based Systems
2.5
Module Contact Finger Identification
2.6
Module Installation Procedure
2.7
Specifications
Chapter 3
Console On-Line Debugging Technique (ODT)
3.1
Introduction
3.1.1
Terminal Interface
3.2
ODT Operation of the Console Serial Line Interface
3.2.1
Console ODT Input Sequence
3.2.2
Console ODT Output Sequence
3.3
Console ODT Entry Commands
3.4
Console ODT Command Set
3.4.1
/ (ASCII 057) -- Slash
3.4.2
<CR> (ASCII 15) -- Carriage Return
3.4.3
<LF> (ASCII 12) -- Line Feed
3.4.4
$ (ASCII 044) or R (ASCII 122) -- Internal Register Designator
3.4.5
S (ASCII 123) -- Processor Status Word Designator
3.4.6
G (ASCII 107) -- Go
3.4.7
P (ASCII 120) -- Proceed
3.4.8
<CTRL> <SHIFT> S (ASCII 23) -- Binary Dump
3.5
KDJ11-B Address Specification
3.5.1
Processor I/O Addresses
3.5.2
Stack Pointer Selection
3.5.3
Entering Octal Digits
3.5.4
ODT Timeout
3.5.5
General Registers
Chapter 4
Boot ROMs and Diagnostics
4.1
Introduction
4.2
Power-Up or Restart
4.2.1
Dialog (Mode 0)
4.2.2
Automatic (Mode 1)
4.2.3
ODT (Mode 2)
4.2.4
24/26 (Mode 3)
4.3
Forced Dialog Mode
4.4
Help Command
4.5
Boot Command
4.6
List Command
4.7
Setup Mode
4.7.1
Exit (1)
4.7.2
Select Configuration Parameters (2)
4.7.3
Select Bootstrap Translations (3)
4.7.4
Select Automatic Boot Sequence (4)
4.7.5
Select Console Message (5)
4.7.6
Define Switchpack Boot Selections (6)
4.7.7
List Available Bootstrap Programs (7)
4.7.8
Setup Table Initialization (8)
4.7.9
Save the Setup Table in the EEPROM (9)
4.7.10
Load EEPROM Data Into the Setup Table (10)
4.7.11
Delete a Boot Program From the EEPROM (11)
4.7.12
Load an EEPROM Boot Program Into Memory (12)
4.7.13
Edit or Create a Boot Program in the EEPROM (13)
4.7.14
Save a Boot Program in the EEPROM (14)
4.7.15
Enter ROM ODT (15)
4.8
Map Command
4.9
Test Command
4.10
Diagnostic Tests
4.10.1
CPU or Halt Switch (Test 77)
4.10.2
CPU and MMU (Test 76)
4.10.3
Turn on MMU, Run CPU and MMU (Test 75)
4.10.4
Turn on PMI, Check UBA Reboot Bit (Test 74)
4.10.5
Power-Up to Mode 2: ODT (Test 73)
4.10.6
Power-Up to Mode 3: 24 (Test 72)
4.10.7
EEPROM Checksum (Test 71)
4.10.8
CPU ROM Checksum and PCR (Test 70)
4.10.9
Miscellaneous CPU and EIS (Test 67)
4.10.10
Console SLU Test 1 (Test 66)
4.10.11
Console SLU Test 2 (Test 65)
4.10.12
Console SLU Test 3 (Test 64)
4.10.13
MMU Aborts (Test 63)
4.10.14
Cache Memory (Test 62)
4.10.15
Line Clock (Test 61)
4.10.16
Floating-Point Instruction (Test 60)
4.10.17
Reserved (Test 57)
4.10.18
Exit Standalone Mode (Test 56)
4.10.19
UBA Register Response (Test 55)
4.10.20
Memory Sizing Routine (Test 54)
4.10.21
Memory Location 0 (Test 53)
4.10.22
Memory Locations 0 to 4K Words (Test 52)
4.10.23
Cache Operation With Memory (Test 51)
4.10.24
Complete Memory Data/Byte Exercise (Test 50)
4.10.25
Memory Parity/ECC (Test 47)
4.10.26
Memory Address Shorts (Test 46)
4.10.27
UBA Boot ROM (Test 45)
4.10.28
UBA Map Registers Data Path (Test 44)
4.10.29
UBA Unmapped Diagnostic Data (Test 43)
4.10.30
UBA Mapped Diagnostic Data (Test 42)
4.10.31
UBA Floating Address/Data (Test 41)
4.10.32
UBA Address Overflow (Test 40)
4.10.33
UBA Cache Data (Test 37)
4.10.34
UBA Cache LRU (Test 36)
4.10.35
UBA Cache Tag Store (Test 35)
4.10.36
UBA Cache Parity Error (Test 34)
4.10.37
Unibus Memory Data/Byte Exercise (Test 33)
4.10.38
Unibus Memory Parity (Test 32)
4.10.39
Unibus Memory Address Shorts (Test 31)
4.10.40
Exit (Test 30)
4.11
Diagnostic Test Error Messages
4.11.1
Test Number
4.11.2
Address of the Error
4.11.3
Register Set 1
4.11.4
Optional User Commands
4.11.4.1
Rerun Test
4.11.4.2
Loop on Test
4.11.4.3
Map Memory and I/O Page
4.11.4.4
Advance to the Next Test
4.11.5
Typical Displays
4.12
ROM Code Boot Programs
4.12.1
Error Messages for Bootstrap Programs
4.12.2
LSI Bus Selected Error Messages
4.13
Message Display Constraints
Chapter 5
Functional Theory
5.1
Introduction
5.2
DCJ11-A Microprocessor
5.2.1
Initialization
5.2.2
Output Signals
5.2.2.1
Address Input/Output (MAIO <3:0> H)
5.2.2.2
Bank Select (MBS1 H, MBS0 H)
5.2.2.3
Address Latch Enable (MALE L)
5.2.2.4
Stretch Control (MSCTL L)
5.2.2.5
Strobe (MSTRB L)
5.2.2.6
Buffer Control (MBUFCTL L)
5.2.2.7
Predecode Strobe (MPRDC L)
5.2.2.8
I/O Map Enable (JMAP L)
5.2.2.9
Clock (MCLK H)
5.2.3
Input Signals
5.2.3.1
MMISS L
5.2.3.2
Data Valid (MDV L)
5.2.3.3
Continue (MCONT L)
5.2.3.4
DMA Request (MDMR L)
5.2.3.5
MIRQ <7:4> H
5.2.3.6
MHALT H
5.2.3.7
MEVNT H
5.2.3.8
MPWR FAIL L
5.2.3.9
MPARITY L
5.2.3.10
MABORT L
5.2.3.11
FPA FPE L
5.2.4
MDAL <21:01>
5.2.5
DCJ11-A Transactions
5.2.5.1
NOP
5.2.5.2
Bus Read
5.2.5.3
Bus Write
5.2.5.4
General Purpose Read
5.2.5.5
General Purpose Write
5.2.5.6
IACK
5.3
Bus Arbitrator
5.3.1
PMI Cycle Request
5.4
Data Path Controller
5.4.1
Cycle Encoder
5.4.2
Oscillator
5.4.3
Next Address MUX
5.4.3.1
Default
5.4.3.2
External Read/Write
5.4.3.3
LSI/Unibus
5.4.3.4
Interrupt Vector
5.4.3.5
DC350/394 Accesses
5.4.3.6
Byte Allocation
5.4.3.7
DMA Monitor
5.4.3.8
Standalone Mode
5.4.4
Control Store
5.5
Cache Memory and DMA Store
5.5.1
Cache Memory
5.5.2
Cache Tag Store
5.5.3
Cache Data Parity Logic
5.5.4
Valid Tag Bit
5.5.5
DMA Tag Store
5.5.6
Cache Control
5.6
DC350/394 Gate Array
5.6.1
A-Multiplexer
5.6.2
Cache Data Path
5.6.3
Parity Interrupt and Abort
5.6.4
Address Decode
5.6.5
Cycle Decoder
5.6.6
Miscellaneous
5.7
DC351 Gate Array
5.7.1
DMA Tag Data Path
5.7.2
Clock Start Logic
5.7.3
Flush Counter
5.7.4
Main Memory Parity Error
5.8
Timeout
5.8.1
DMA Requests
5.8.2
NXM or Interrupt Requests
5.9
Bus Distribution
5.9.1
Internal Bus Control
5.9.2
LSI-11 Bus Control
5.9.3
PMI Bus Control
5.10
Console Serial Line Unit
5.10.1
Halt-on-Break
5.10.2
Console Interrupt Arbitration
5.11
Configuration and Display
5.12
Boot and Diagnostic ROMs
5.13
Configuration EEPROM
5.14
Floating-Point Accelerator
5.14.1
FPA Operation
Chapter 6
Extended LSI-11 Bus
6.1
Introduction
6.2
Bus Signal Nomenclature
6.3
Data Transfer Bus Cycles
6.3.1
Bus Cycle Protocol
6.3.1.1
Device Addressing
6.3.1.2
DATI
6.3.1.3
DATO(B)
6.3.1.4
DATIO(B)
6.4
Direct Memory Access
6.5
Interrupts
6.5.1
Device Priority
6.5.2
Interrupt Protocol
6.5.3
4-Level Interrupt Configurations
6.6
Control Functions
6.6.1
Memory Refresh
6.6.2
Halt
6.6.3
Initialization
6.6.4
Power Status
6.6.4.1
BDCOK H
6.6.4.2
BPOK H
6.6.4.3
Power-Up
6.6.4.4
Power-Down
6.6.5
BEVNT L
6.7
Bus Electrical Characteristics
6.7.1
Signal Level Specification
6.7.2
AC Bus Load Definition
6.7.3
DC Bus Load Definition
6.7.4
120 Ohm LSI-11 Bus
6.7.5
Bus Drivers
6.7.6
Bus Receivers
6.7.7
KDJ11-B Bus Termination
6.7.7.1
Bus Interconnection Wiring
6.7.7.2
Backplane Wiring
6.7.7.3
Intrabackplane Bus Wiring
6.7.7.4
Power and Ground
6.7.7.5
Maintenance and Spare Pins
6.8
System Configurations
6.8.1
Rules for Configuring Single-Backplane Systems
6.8.2
Rules for Configuring Multiple-Backplane Systems
6.8.3
Power Supply Loading
Chapter 7
Private Memory Interconnect Bus
7.1
Description
7.2
PMI Interface
7.2.1
PMI Bus Master Signals
7.2.2
PMI Slave Signals
7.2.3
PMI Unibus Adapter Signals
7.2.4
LSI Bus Signals
7.3
PMI Operation In an LSI-11 System
7.4
PMI Operation In a Unibus System
7.4.1
Bus Device NPR or DMA
7.4.2
PMI Bus Device Interrupt
7.5
PMI Data Transfers
7.5.1
PMI Data In/Data In Phase
7.5.2
PMI Block Data In
7.5.3
PMI Data Out/Data Out Byte
7.6
PMI Interrupt Protcol
7.7
PMI Power-Up/Power-Down
Chapter 8
Addressing Modes
8.1
Introduction
8.2
Addressing Modes
8.2.1
Single-Operand Addressing
8.2.2
Double-Operand Addressing
8.2.3
Direct Addressing
8.2.3.1
Register Mode
8.2.3.2
Autoincrement Mode [OPR (Rn)+]
8.2.3.3
Autodecrement Mode [OPR -(Rn)]
8.2.3.4
Index Mode [OPR X(Rn)]
8.2.4
Deferred (Indirect) Addressing
8.2.5
Use of the PC as a General Purpose Register
8.2.5.1
Immediate Mode [OPR #n,DD]
8.2.5.2
Absolute Mode [OPR @#A]
8.2.5.3
Relative Addressing Mode [OPR A or OPR X(PC)]
8.2.5.4
Relative-Deferred Addressing Mode [OPR @A or OPA @X(PC)]
8.2.6
Use of the General Purpose Registers as a Stack Pointer
Chapter 9
Base Instruction Set
9.1
Instruction Set
9.2
Instruction Formats
9.3
Byte Instructions
9.4
List of Instructions
9.5
Single-Operand Instructions
9.5.1
General
9.5.2
Shifts and Rotates
9.5.3
Multiple-Precision
9.5.4
PSW Operators
9.6
Double-Operand Instructions
9.6.1
General
9.6.2
Logical
9.7
Program Control Instructions
9.7.1
Branches
9.7.2
Signed Conditional Branches
9.7.3
Unsigned Conditional Branches
9.7.4
Jump and Subroutine Instructions
9.7.5
Traps
9.7.6
Miscellaneous Program Controls
9.7.7
Reserved Instruction Traps
9.7.8
Trace Trap
9.8
Miscellaneous Instructions
9.9
Condition Code Operators
Chapter 10
Floating-Point Arithmetic
10.1
Introduction
10.2
Floating-Point Data Formats
10.2.1
Nonvanishing Float-Point Numbers
10.2.2
Floating-Point Zero
10.2.3
Undefined Variables
10.2.4
Floating-Point Data
10.3
Floating-Point Status Register (FPS)
10.4
Floating Exception Code and Address Registers
10.5
Floating-Point Instruction Addressing
10.6
Accuracy
10.7
Floating-Point Instructions
Chapter 11
Programming Techniques
11.1
Introduction
11.2
Position-Independent Code
11.2.1
Use of Addressing Modes in the Construction of Position-Independent Code
11.2.2
Comparison of Position-Dependent and Position-Independent Code
11.3
Stacks
11.3.1
Pushing onto a Stack
11.3.2
Popping from a Stack
11.3.3
Deleting Items from a Stack
11.3.4
Stack Uses
11.3.5
Stack Use Examples
11.3.6
Subroutine Linkage
11.3.6.1
Return from a Subroutine
11.3.6.2
Subroutine Advantages
11.3.7
Interrupts
11.3.7.1
Interrupt Service Register
11.3.7.2
Nesting
11.3.8
Reentrancy
11.3.8.1
Reentrant Code
11.3.8.2
Writing Reentrant Code
11.3.9
Coroutines
11.3.9.1
Coroutine Calls
11.3.9.2
Coroutines Versus Subroutines
11.3.9.3
Using Coroutines
11.3.10
Recursion
11.3.11
Processor Traps
11.3.11.1
Trap Instructions
11.3.11.2
Use of Macro Calls
11.3.12
Conversion Routines
11.4
Programming the Processor Status Word
11.5
Programming Peripherals
11.6
PDP-11 Programming Examples
11.7
Looping Techniques
Appendix A
ROM Code Differences
A.1
General
A.2
V6.0 and V7.0 Differences
A.2.1
Boot Support for Tape MSCP Devices (TK50/TU81)
A.2.2
Disk MSCP Automatic Boot Routine
A.2.3
Dialog Mode Boot Command for Disk MSCP Boot
A.2.4
Disk MSCP Boot (DU)
A.2.5
8-Unit Restriction for MSCP Automatic Boot
A.2.6
Irregular Monitoring of Keyboard During Automatic Boot Sequence
A.2.7
Addition of Single-Letter Mnemonic in Automatic Boot List
A.2.8
Setup Mode Disable
A.2.9
Disable All Testing Parameter
A.2.10
Edit/Create Command
A.2.11
Initialize Command for the PMG Counter
A.2.12
PMG Parameter Warning
A.2.13
Setup Command 4 Printout
A.2.14
MU (TK50/TU81) Device
A.2.15
Setup Command 5
A.2.16
Memory Initialization at Power-Up
A.2.17
Power-Up Option Set to 3 with Battery Backed Up Memory
A.2.18
Halt-on-Break
A.2.19
Local Language Support
A.2.20
Addition of Map Command Feature
A.2.21
EEPROM Load Error Before Dialog Mode
A.2.22
Test Command Decimal Numbers
A.2.23
Test Command Execution of a Single Test
A.2.24
Test Errors in Tests 72 to 75
A.2.25
Bypass Error for Test Failures
A.2.26
Test 76 and 75 Error Messages
A.2.27
Starting Automatic Boot Sequence Message
A.2.28
Device Name and Number After Message
A.2.29
Incorrect Message for Invalid Unit Number
A.2.30
Dialog Mode Header Message
A.2.31
Map Command Message
A.2.32
List Device Descriptions
A.2.33
Loss of the First Line in a List Header
A.2.34
<CTRL> R and <CTRL> U Echo
A.2.35
Power-Up or Restart Mode Set to 3 (LSI Bus Only)
A.2.36
Automatic Boot Misleading Error Message (LSI Bus Only)
A.2.37
APT Halt-on-Break Detect (LSI Bus Only)
A.2.38
B Mnemonic for ROM Boots (Unibus Only)
A.2.39
Error in List Command When Unknown ROM is Found (Unibus Only)
A.2.40
Power-Up or Restart Mode Set to 3 (Unibus Only)
A.2.41
Saving KMCR Bits <5:0> in the EEPROM (Unibus Only)
A.3
V7.0 and V8.0 Differences
A.3.1
M9312 MultiROM Bootstrap Support (PDP-11/84 Only)
A.3.2
Small Memory Automatic Boot Problem for RQDX3
A.3.3
RAnn Disk Spinup Time Delay for Automatic Boot
A.3.4
Addition of RESET Instruction at Beginning of Code
A.3.5
Addition of New Setup Command 5
A.3.6
Memory Test Coverage Problem
A.3.7
List Command Device Descriptions
A.3.8
Manufacturing Test Loop Problem
Appendix B
Setup Parameter Worksheets
B.1
Purpose
B.2
Function
Appendix C
Mnemonics
Copies
Address:
http://bitsavers.org/pdf/dec/pdp11/1173/EK-KDJ1B-UG_KDJ11-B_Nov86.pdf
Site:
Al Kossow's Bitsavers
Format:
PDF
Size:
20336081 bytes (19.4 MiB)
MD5:
55100c80a82ccf14fff43f8ea8fa69a5
Mirrors:
http://bitsavers.trailing-edge.com/pdf/dec/pdp11/1173/EK-KDJ1B-UG_KDJ11-B_Nov86.pdf
http://www.bighole.nl/pub/mirror/www.bitsavers.org/pdf/dec/pdp11/1173/EK-KDJ1B-UG_KDJ11-B_Nov86.pdf
http://www.mirrorservice.org/sites/www.bitsavers.org/pdf/dec/pdp11/1173/EK-KDJ1B-UG_KDJ11-B_Nov86.pdf
http://bitsavers.informatik.uni-stuttgart.de/pdf/dec/pdp11/1173/EK-KDJ1B-UG_KDJ11-B_Nov86.pdf
ftp://bitsavers.informatik.uni-stuttgart.de/pdf/dec/pdp11/1173/EK-KDJ1B-UG_KDJ11-B_Nov86.pdf
ftp://ftp.mirrorservice.org/sites/www.bitsavers.org/pdf/dec/pdp11/1173/EK-KDJ1B-UG_KDJ11-B_Nov86.pdf