Jump to content

PDP-11

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 158.12.36.83 (talk) at 22:47, 22 June 2011 (PDP-11 was not originally a microprocessor. The VAX didn't replace the PDP-11, but was a more capable follow-on.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The PDP-11 was a series of 16-bit minicomputers sold by Digital Equipment Corporation (DEC) from 1970 into the 1990s, one of a succession of products in the PDP series.[1][2] The PDP-11 replaced the PDP-8 in many real-time applications, although both product lines lived in parallel for more than 10 years. The PDP-11 had several uniquely innovative features, and was easier to program than its predecessors with its use of general registers. Its successor in the mid-range minicomputer niche was the 32-bit VAX-11.

Design features of the PDP-11 influenced the design of microprocessors such as the Motorola 68000; design features of its operating systems, as well as other operating systems from Digital Equipment, influenced the design of other operating systems such as CP/M[3] and hence also MS-DOS.[4] The first officially named version of Unix ran on the PDP-11/20 in 1970. The C programming language took advantage of several low level PDP-11 dependent programming features.[5]

PDP-11/40 with TU56 dual DECtape drive.

History

DEC developed the 16-bit PDP 11 as a response to the introduction of the Data General NOVA, which had a 16-bit word length; DEC's previous PDP-8 had only 12 bit words. The PDP 11 family was announced in January 1970 and shipments began early that year. DEC sold over 170,000 PDP-11s in the 1970s. [6] Initially manufactured of small-scale Transistor-transistor logic, a single-board large scale integration version of the processor was developed in 1975. A single-chip processor, the J-11 was developed in 1979. The last models of the PDP-11 line were the PDP-11/94 and -11/93 introduced in 1990. [2]

Innovative features

Instruction set orthogonality

The PDP-11 processor architecture had a mostly orthogonal instruction set. For example, instead of instructions such as load and store, the PDP-11 had a move instruction for which either operand (source and destination) could be memory or register. There were no specific input or output instructions; the PDP-11 used memory-mapped I/O and so the same move instruction was used; orthogonality would even let you move data directly from an input device to an output device. More complex instructions such as add likewise could have memory, register, input, or output as source or destination.

Generally, any operand could apply any of eight addressing modes to eight registers. The addressing modes provided register, immediate, absolute, relative, deferred (indirect), and indexed addressing, and could specify autoincrementation and autodecrementation of a register by one (byte instructions) or two (word instructions). Use of relative addressing let a machine-language program be position-independent.

For these reasons, PDP-11 programmers viewed the assembly language as easy to learn and uniquely elegant.[citation needed]

No dedicated I/O instructions

In the most radical departure from earlier computers, the initial models of the PDP-11 had no dedicated bus for input/output; it had only a memory bus called the Unibus. All input and output devices were mapped to memory addresses, so no special I/O instructions were needed.

An input/output device determined the memory addresses to which it would respond, the interrupt priority it would request, and specified its own interrupt vector. This flexible framework provided by the processor architecture made it unusually easy to invent new bus devices, including devices to control hardware that had not been contemplated when the processor was originally designed. DEC openly published the basic Unibus specifications, even offering prototyping bus interface circuit boards, and encouraging customers to develop their own Unibus-compatible hardware.

This Unibus was one reason why the PDP-11 became so appreciated for specific usages. One of the predecessors of Alcatel-Lucent, the Bell Telephone Manufacturing Company, developed the BTMC DPS-1500 packet-switching (X.25) network and used PDP-11s in the regional and national network management system, with the Unibus directly connected to the DPS-1500 hardware.

Higher-performance members of the PDP-11 family, starting with the PDP-11/45, departed from the single bus approach. Instead, memory was interfaced by dedicated circuitry and space in the CPU cabinet, while the Unibus continued to be used for I/O only. In the PDP-11/70 this was taken a step further, with the addition of a dedicated interface between disks and tapes and memory, via the Massbus. However, use of different buses was not visible to the programmer; input/output devices continued to be mapped into memory addresses, and the orthogonality of the instruction set was preserved.

Interrupts

The PDP-11 supported hardware interrupts at four priority levels. Interrupts were serviced by software service routines, which could specify whether they themselves could be interrupted (achieving interrupt nesting). The event that caused the interrupt was indicated by the device itself, as it informed the processor of the address of its own interrupt vector.

Interrupt vectors were blocks of two 16-bit words in low kernel address space (which normally corresponded to low physical memory) between 0 and 776. The first word of the interrupt vector contained the address of the interrupt service routine and the second word the value to be loaded into the PSW (priority level) on entry to the service routine.

The article on PDP-11 architecture provides more details on interrupts.

Designed for mass production

Finally, the PDP-11 was designed to be produced in a factory by semiskilled labor. All of the dimensions of its pieces were relatively non-critical. It used a wire-wrapped backplane. That is, the printed circuit boards plugged into a backplane connector. The backplane connectors had square pins that could be connected to by wrapping wires around them. The corners of the pins would bite into the wire to form a gas-tight (i.e. corrosion-proof, therefore reliable) connection.

LSI-11

Q-Bus board with LSI-11/2 CPU
DEC "Jaws-11" (J11) Chipset
DEC "Fonz-11" (F11) Chipset

The LSI-11 (PDP-11/03), introduced in February, 1975[2] was the first PDP-11 model produced using large-scale integration; the entire CPU was contained on 4 LSI chips made by Western Digital (the MCP-1600 chip set; a fifth chip could be added to extend the instruction set, as pictured on the right). It used a bus which was a close variant of the Unibus called the Q-Bus; it differed from the Unibus primarily in that addresses and data were multiplexed onto a shared set of wires, as opposed to having separate sets of wires, as in the Unibus. It also differed slightly in how it addressed I/O devices and it eventually allowed a 22-bit physical address (whereas the Unibus only allowed an 18-bit physical address) and block-mode operations for significantly improved bandwidth (which the Unibus did not support).

The CPU's microcode includes a debugger: firmware with a direct serial interface (RS-232 or current loop) to a terminal. This let the operator do debugging by typing and reading octal numbers, rather than operating switches and reading lights, the typical debugging method at the time. The operator could thus examine and modify the computer's registers, memory, and input/output devices, diagnosing and correcting failures in software and peripherals except a failure that disabled the microcode itself. On a failure that kept the LSI-11 from booting, the operator could command it to boot from a different disk.

Both innovations increased the reliability and decreased the cost of the LSI-11.

Later Q-Bus based systems such as the LSI-11/23, /73, and /83 were based upon chip sets designed in house by Digital Equipment Corporation. Later PDP-11 Unibus systems were designed to use similar Q-Bus processor cards, sometimes with a special memory bus for improved speed, using a Unibus adapter to support existing Unibus peripherals.

There were significant other innovations in the Q-Bus lineup. A system variant of the PDP-11/03 introduced full system Power-On Self-Test (POST) and the 11/83 introduced an anticipatory CPU cache pre-load as well as a high-speed private memory interconnect (bus). On the other hand, this was among the last computers to allow the use of magnetic core memory configured as up to three quad-wide modules providing 8KB of memory each.[citation needed]

The chip set [clarification needed] was not restricted to implementing a PDP-11; a published book[7] gives the complete source listing of microcode that instead implements the APL programming language.

Decline

The basic design of the PDP-11 was sound, and was continually updated to use newer technologies. However, it was essentially a closed architecture with limited direct competition. In the early 1980s, it faced the arrival of the IBM-PC and its clones. By the 1980s, inexpensive VLSI memory chips made large amounts of memory affordable, as well as processors that could handle them, and the PDP-11's 16-bit limit on logical addresses proved increasingly awkward.

The article on PDP-11 architecture describes the hardware and software techniques used to work around address space limitations.

DEC's 32-bit successor to the PDP-11, the VAX (for "Virtual Address Extension") overcame the 16-bit limitation, but was initially a superminicomputer aimed at the high-end time-sharing market. The early VAXes provided a PDP-11 compatibility mode under which much existing software could be immediately used, in parallel with newer 32-bit software.

Newer microprocessor chips such as the Motorola 68000 (1979) and Intel 80386 (1985) included 32-bit logical addressing as well. The mass-production of those chips eliminated any cost advantage for the 16-bit PDP-11. A line of personal computers based on the PDP-11, the DEC Professional series, failed commercially, along with other non-PDP-11 PC offerings from DEC.

DEC discontinued PDP-11 production in 1997,[citation needed] and in 1994 [8] sold the PDP-11 system software rights to Mentec Inc., an Irish producer of LSI-11 based boards for Q-Bus and ISA architecture personal computers. For several years, Mentec produced new PDP-11 processors.

By the late 1990s, not only DEC but most of the New England computer industry which had been built around minicomputers similar to the PDP-11 collapsed in the face of microcomputer-based workstations and servers.

Models

The PDP-11 processors tended to fall into several natural groups depending on the original design upon which they are based and which I/O bus they used. Within each group, most models were offered in two versions, one intended for OEMs and one intended for end-users.

Unibus models

PDP-11/70 Front Panel
PDP-11/70, running
PDP-11/84

The following models used the Unibus as their principal bus:

  • PDP-11/20 and PDP-11/15 — The original, non-microprogrammed processor; designed by Jim O'Loughlin.
  • PDP-11/35 and PDP-11/40 — A microprogrammed successor to the /20; the design team was led by Jim O'Loughlin.
  • PDP-11/45, PDP-11/50, and PDP-11/55 — A much faster microprogrammed processor that could use semiconductor memory instead of or in addition to core memory. First model to support an optional floating-point processor.
  • PDP-11/70 — The 11/45 architecture expanded to allow 4 MB of physical memory segregated onto a private memory bus, 2 KB of cache memory, and much faster I/O devices connected via the Massbus.[9]
  • PDP-11/05 and PDP-11/10 — A cost-reduced successor to the 11/20.
  • PDP-11/34 and PDP-11/04 — Cost-reduced follow-on products to the 11/35 and 11/05. The PDP-11/09 and 11/39 model names were documented internally to DEC but never produced for sale. The PDP-11/34 concept was created by Bob Armstrong.
  • PDP-11/44 — Replacement for the 11/45 and 11/70 that included cache memory as a standard feature and optional floating point unit. This machine also included a sophisticated serial console interface and support for 4 MB of physical memory. The design team was managed by John Sofio. This was the last PDP-11 processor to be constructed using discrete logic gates; later models were all microprogrammed.
  • PDP-11/60 — A PDP-11 with user-writable microcontrol store; this was designed by another team led by Jim O'Loughlin.
  • PDP-11/24 — First VLSI PDP-11 for Unibus, using the "Fonz-11" (F11) chip set.
  • PDP-11/84 — Using the VLSI "Jaws-11" (J11) chip set.
  • PDP-11/94 — J11-based, faster than 11/84.

Q-bus models

LSI-11/23, cover removed

The following models used the Q-Bus as their principal bus:

  • PDP-11/03 (also known as the LSI-11/03) — The first LSI PDP-11, this system used a chipset from Western Digital.
  • PDP-11/23 — 2nd generation of LSI (F-11), early units only supported 248 KB memory, but could be modified for 4 MB support.
  • PDP-11/23+/MicroPDP-11/23 — Improved 11/23 with more functions on processor card (physically a quad-size card rather than dual.
  • MicroPDP-11/73 — The third generation LSI PDP, this system used the "Jaws-11" (J-11) chip set.
  • MicroPDP-11/53 — Slower 11/73 with on-board memory.
  • MicroPDP-11/83 — Faster 11/73 with PMI (private memory interconnect).
  • MicroPDP-11/93 — Faster 11/83; final DEC Q-Bus PDP-11 model.
  • KXJ11 - QBUS card (M7616) with PDP-11 based peripheral processor and DMA controller. Based on a J11 CPU equipped with 512kBytes RAM, 64kBytes ROM and parallel and serial interfaces.
  • Mentec M100 — Mentec redesign of the 11/93, with J-11 chipset at 19.66 MHz, 4 onboard serial ports, 1-4 MB on-board memory, and optional FPU.
  • Mentec M11 — Processor upgrade board; microcode implementation of PDP-11 instruction set by Mentec, using the TI 8832 ALU and TI 8818 microsequencer from Texas Instruments.
  • Mentec M1 — Processor upgrade board; microcode implementation of PDP-11 instruction set by Mentec, using Atmel 0.35 micrometre ASIC.[10]
  • MINC-11, Minc-23 - Modular, laboratory data acquisition systems that used specialized signal conditioning boards with easy-to-access connectors (see picture below) as well as standard Q-bus cards.
  • Quickware QED-993 — High performance PDP-11/93 processor upgrade board.

Models without standard bus

PDT-11/150
  • PDT-11/110
  • PDT-11/130
  • PDT-11/150

The PDT series were desktop systems marketed as "smart terminals". The /110 and /130 were housed in a VT100 terminal enclosure. The /150 was housed in a table-top unit which included two 8" floppy drives, 3 asynchronous serial ports, 1 printer port, 1 modem port and 1 synchronous serial port and required an external terminal. All three employed the same chipset as used on the LSI-11/03 and LSI-11/2 in four "microm"s. There was an option which combined two of the microms into one dual carrier, freeing one socket for an EIS/FIS chip. The /150 in combination with a VT-105 terminal was also sold as MiniMINC, a budget version of the MINC-11.

  • PRO-325
  • PRO-350
  • PRO-380

The DEC Professional series were desktop PCs intended to compete with IBM's earlier 8088 and 80286 based personal computers. The models were equipped with 5 1/4" floppy disk drives and hard disks, except the 325 which had no hard disk. The original operating system was P/OS, which was essentially RSX-11M+ with a menu system on top. As the design was intended to avoid software exchange with existing PDP-11 models, their ill fate in the market was no surprise for anyone except DEC. RT-11 was eventually ported to the PRO series. A port to the PRO for RSTS/E was also done internal to DEC, but was not released. The PRO-325 and -350 units were based on the DCF-11 ("Fonz") chipset, the same as found in the 11/23, 11/23+ and 11/24. The PRO-380 was based on the DCJ-11 ("Jaws") chipset, the same as found in the 11/53,73,83 and others, though running only at 10 MHz because of limitations in the support chipset.

Models that were planned but never introduced

  • PDP-11/27 — A Jaws-11 implementation that would have used the VAXBI Bus as its principal I/O bus.
  • PDP-11/68 — A follow-on to the PDP-11/60 that would have supported 4 MB of physical memory.
  • PDP-11/74 — A PDP-11/70 that was extended to contain multiprocessing features. Up to four processors could be interconnected, although the physical cable management became unwieldy. Another variation on the 11/74 contained both the multiprocessing features and the Commercial Instruction Set. A substantial number of prototype 11/74's (of various types) were built and at least two multiprocessor systems were sent to customers for beta testing, but no systems were ever officially sold. A four processor system was maintained by the RSX-11 operating system development team for testing and a uniprocessor system served PDP-11 engineering for general purpose timesharing. The 11/74 was due to be introduced around the same time as the announcement of the new 32 bit product line and the first model: the VAX 11/780. Rumor held that the reason the 11/74 was cancelled was due to its higher performance compared to the 11/780 (see, for example [1]). Marketing was therefore concerned that the availability of a higher performing PDP-11 would slow migration to the new VAX. Rather, the ability to maintain the product in the field was the issue.[11]

However conspiracy or not, DEC was never able to successfully migrate its entire PDP-11 customer base to the VAX. The primary reason was not performance, but the PDP-11's superior real-time responsiveness.[citation needed]

Special purpose versions

DEC GT40 running Lunar Lander
MINC-23
  • GT40 — VT11 vector graphics terminal using a PDP-11/05.
  • GT42 — VT11 vector graphics terminal using a PDP-11/10.
  • GT44 — VT11 vector graphics terminal using a PDP-11/40.
  • GT62 — VS60 vector graphics workstation using a PDP-11/34a.
  • H-11Heathkit OEM version of the LSI-11/03.
  • VT20 — Terminal with PDP-11/05 with direct mapped character display for text editing and typesetting (predecessor of the VT71)
  • VT71 — Terminal with LSI-11/03 and QBUS backplane with direct mapped character display for text editing and typesetting.
  • VT103 — VT100 with backplane to host an LSI-11.
  • VT173 — A high-end typseset terminal containing an 11/03. One use for it was as a terminal with DECset, a typesetting/publishing software running on VMS 3.x (later, DEC reused the name DECset). The terminal software was loaded at boot time from the VMS system. DECset was the DEC OEM version of the Datalogics PAGER application running on PDP-11 or VAX in compatibility mode.
  • MINC-11 — Laboratory system based on 11/03 or 11/23; when based on the 11/23, it was sold as a 'MINC-23', but many MINC-11 machines were field-upgraded with the 11/23 processor. Early versions of the MINC-specific software package would not run on the 11/23 processor because of subtle changes in the instruction set; MINC 1.2 is documented as compatible with the later processor.
  • C.mmp — Multiprocessor system from Carnegie Mellon University.
  • SBC 11/21 (boardname KXT11) Falcon and Falcon Plus — single board computer on a Qbus card implementing the basic PDP-11 instruction set, based on T11 chipset containing 32KB static RAM, 2 ROM sockets, 3 serial lines, 20 bits parallel I/O, 3 interval timers and a 2-channel DMA controller. Up to 14 Falcons could be placed into one Qbus system.
  • KXJ11 — QBUS card (M7616) with PDP-11 based peripheral processor and DMA controller. Based on a J11 CPU equipped with 512kBytes RAM, 64kBytes ROM and parallel and serial interfaces.

Unauthorized clones

The PDP-11 was sufficiently popular that many unauthorized PDP-11-compatible minicomputers and microcomputers were produced in Eastern Bloc countries. At least some of these were pin-compatible with DEC's PDP-11s and could share peripherals and system software. These include:

Operating systems

Several operating systems were available for the PDP-11

From Digital

From third parties

Peripherals

A wide range of peripherals were available, some of them were also used in other DEC systems like the PDP-8 or PDP-10.

  • CR11 — punched card reader
  • LA30/LA36 — DECwriter dot-matrix printing keyboard terminal
  • LP11 — high speed line printer
  • PC11 — high speed papertape reader/punch
  • RA,RD series — fixed platter hard disk
  • RK series — hard disk with exchangeable platter
  • RL01/RL02 — hard disk with exchangeable platter
  • RM,RP series — exchangeable multi-platter hard disk
  • RX01/RX02 — 8 inch floppy disk
  • TU11 — 9-track tape drive
  • TU56DECtape block-addressed tape system
  • VT05/VT50/VT52/VT100 — video display terminal

Use

The PDP-11 family of computers was used for many purposes. It was used as a standard minicomputer for general-purpose computing, such as timesharing, scientific, educational, or business computing. Another common application was real-time process control and factory automation.

Some OEM models also were frequently used as embedded systems to control complex systems like traffic-light systems, medical systems, numerical controlled machining, or for network-management. An example of such use of PDP-11s was the management of the packet switched network Datanet 1. In the 1980s, the UK's air traffic control radar processing was conducted on a PDP 11/34 system known as PRDS - Processed Radar Display System at RAF West Drayton.[citation needed] The software for the Therac-25 medical linear accelerator also ran on a 32K PDP 11/23.[16]

Another use was for storage of test programs for Teradyne ATE equipment, in a system known as the TSD (Test System Director). As such, they were in use until their software was rendered inoperable by the Year 2000 problem.

See also

  • Heathkit H11, a 1977 Heathkit personal computer based on the PDP-11
  • MACRO-11, the PDP-11's native assembly language
  • SIMH, a multiple minicomputer architecture emulator written in portable C

Notes

  1. ^ Bell, Gordon & Strecker, Bill. What We Learned From the PDP-11. (1975). p139. Accessed September 10, 2008.
  2. ^ a b c 16-bit Timeline. Accessed September 10, 2008.
  3. ^ Ceruzzi, Paul (2003), A History of Modern Computing, MIT Press, p. 238, ISBN 9780262532037, retrieved 5 August 2010
  4. ^ Conner, Doug. "Father of DOS Still Having Fun at Microsoft". Micronews. Retrieved 5 August 2010.
  5. ^ Bakyo, John. "DEC PDP-11, benchmark for the first 16/32 bit generation. (1970)" in Great Microprocessors of the Past and Present (V 13.4.0), Section Three, Part I. Accessed 2011-03-04
  6. ^ Paul Cerruzi, A History of Modern Computing, MIT Press, 2003, ISBN 0262532034, page 199
  7. ^ Rodnay Zaks. A microprogrammed APL implementation ISBN 0-89588-005-9
  8. ^ Press Release re transfer of Operating Systems
  9. ^ 1 MB = 1024 KB
  10. ^ Development Project Report
  11. ^ Bruce Mitchell, Brian S. McCarthy (2005). "Multiprocessor FAQ". Machine Intelligence. Retrieved May 21, 2011.
  12. ^ TPA-1140,
  13. ^ TPA-1148
  14. ^ TPA-11/440
  15. ^ a b c d e f g h i j k http://www.village.org/pdp11/faq.pages/pdpOSes.html
  16. ^ Leveson, Nancy G., and Clark S. Turner. "An Investigation of the Therac-25 Accidents." Computer July 1993: 18-41.

References

  • PDP11 processor handbook - PDP11/05/10/35/40, Digital Equipment Corporation, 1973
  • PDP11 processor handbook - PDP11/04/34a/44/60/70, Digital Equipment Corporation, 1979

Further reading

  • Eckhouse, jr., Richard H.; Morris, L. Robert (1979), Microcomputer Systems Organization, Programming and Applications (PDP-11), Englewood Cliffs, New Jersey: Prentice-Hall, ISBN 0-13-583914-9
  • Michael Singer, PDP-11. Assembler Language Programming and Machine Organization, John Wiley & Sons, NY: 1980.