LINC

The LINC (Laboratory INstrument Computer) is a 12-bit,[1] 2048-word transistorized computer. The LINC is considered by some[2] the first minicomputer and a forerunner to the personal computer. Originally named the "Linc", suggesting the project's origins at MIT's Lincoln Laboratory, it was renamed LINC after the project moved from the Lincoln Laboratory.[3] The LINC was designed by Wesley A. Clark and Charles Molnar.

LINC home computer with its software designer, Mary Allen Wilkes, 1965

The LINC and other "MIT Group" machines were designed at MIT and eventually built by Digital Equipment Corporation (DEC) and Spear Inc. of Waltham, Massachusetts (later a division of Becton, Dickinson and Company).[3] The LINC sold for more than $40,000 at the time. A typical configuration included an enclosed 6'X20" rack; four boxes holding (1) two tape drives, (2) display scope and input knobs, (3) control console and (4) data terminal interface; and a keyboard.

The LINC interfaced well with laboratory experiments. Analog inputs and outputs were part of the basic design. It was designed in 1962 by Charles Molnar and Wesley Clark at Lincoln Laboratory, Massachusetts,[4] for NIH researchers.[5] The LINC's design was literally in the public domain, perhaps making it unique in the history of computers. A dozen LINC computers were assembled by their eventual biomedical researchers in a 1963 summer workshop at MIT.[5] Digital Equipment Corporation (starting in 1964) and Spear Inc. of Waltham, MA.[6] manufactured them commercially.

DEC's pioneer C. Gordon Bell[7] states that the LINC project began in 1961, with first delivery in March 1962, and the machine was not formally withdrawn until December 1969. A total of 50 were built (all using DEC System Module Blocks and cabinets), most at Lincoln Labs, housing the desktop instruments in four wooden racks. The first LINC included two oscilloscope displays. Twenty-one were sold by DEC at $43,600 (equivalent to $368,500 in 2019), delivered in the Production Model design. In these, the tall cabinet sitting behind a white Formica-covered table held two somewhat smaller metal boxes holding the same instrumentation, a Tektronix display oscilloscope over the "front panel" on the user's left, a bay for interfaces over two LINC-Tape drives on the user's right, and a chunky keyboard between them. The standard program development software (an assembler/editor) was designed by Mary Allen Wilkes; the last version was named LAP6 (LINC Assembly Program 6).

Architecture

The LINC had 2048 12-bit words of memory in two sections.[1] Only the first 1024 words were usable for program execution. The second section of memory could only be used for data.

Programs could use a 12-bit accumulator and a one-bit link register. The first sixteen locations in program memory had special functions. Location 0 supported the single-level of subroutine call, automatically being updated with a return address on every jump instruction. The next fifteen locations could used as index registers by one of the addressing modes. A programmable, six-bit relay register was intended for use by external instruments.[8]

A later modification to the LINC added a 12-bit Z register to facilitate extended precision arithmetic, and an interrupt was provided forcing execution to location 21 (octal).

Alphanumeric input/output devices included a dedicated keyboard, and the ability to display text on the attached bit-mapped CRT. A teleprinter could be connected for printed output.

Arithmetic was ones' complement, which meant that there were representations for "plus zero" and "minus zero".

The original LINC required 8 microseconds for each instruction.

Instruction set

The natural notation used for the LINC was octal. In this section, all numbers are given as base ten unless identified as octal. The LINC instruction set was designed for ease of use with scientific instruments or custom experimental apparatus.[9]

  • Miscellaneous class, no address - Halt, clear accumulator, enable tape mark write gate, transfer accumulator to relay register, read relay register to accumulator, no operation, complement accumulator
  • Shift class, no address (all operate on the accumulator and optionally the link bit) - rotate left, rotate right, scale right (replicates sign bit),
  • Full address class, two word instructions. immediate address given in second 12-bit word of the opcode - add, store and clear accumulator, jump. Only the first 1024 words of memory can be accessed.
  • Skip class, skips the next instruction, can test for set or clear condition. Conditions are: external logic line (14 input lines could be tested), key struck, one of five sense switches, accumulator positive, link bit zero, or active tape unit in an interblock zone. Later models added skip on bit 0 of the Z register, skip on overflow, and skip on interrupt paused.
  • Index class - these instructions could either have a second word that was the immediate operand, or that specified the operand address, or that specified one of the registers 01 through 15 (decimal) as holding the address of the operand. The address was incremented. These instructions included load or add to accumulator, add accumulator to memory, add accumulator with carry to memory, multiply (producing a 22 bit signed product), skip if equal, skip and rotate, bit clear, bit set, and bit complement. Another instruction in this group was to display a bit map, to represent a character or other data, on the built-in CRT display screen.
  • Half-word class - instructions operating on the lower or upper six bits of a word. These included load half, store half, skip if halves are different,
  • Set - moves data from any memory location to one of the locations 1 through 15.
  • Sample - reads one of the sixteen 8-bit analog to digital converters and places the signed value in the accumulator. The first eight A/D channels were dedicated to control panel knobs to allow interaction with a running program by the user. The instruction could either hold the computer till a conversion result was ready, or allow more instructions to be executed provided they didn't rely on the contents of the accumulator, which would be overwritten by the A/D conversion value.
  • Display - draws a pixel on one of the CRT displays at a specified location, optionally indexing a register.
  • Index and skip - adds one to one of the memory locations 1 through 15, and skips if a 10-bit overflow occurs.
  • Operate class, used for input/output operations. These included set a bit on one of 14 output lines, read the keyboard, or read the left or right switch bank.
  • Tape class, with opcodes to position the tape, read or write to the tape, and to check the tape against memory.

Control panel

The LINC control panel was used for single-stepping through programs and for program debugging. Execution could be stopped when the program counter matched a set of switches. Another function allowed execution to be stopped when a particular address was accessed. The single-step and the resume functions could be automatically repeated. The repetition rate could be varied over four orders of magnitude by means of an analog knob and a four-position decade switch, from about one step per second to about half of the full speed. Running a program at one step per second and gradually accelerating it to full speed provided an extremely dramatic way to experience and appreciate the speed of the computer.

LINCtape

A noteworthy feature of the LINC was the LINCtape. It was a fundamental part of the machine design, not an optional peripheral, and the machine's OS relied on it. The LINCtape can be compared to a linear diskette with a slow seek time. The magnetic tape drives on large machines of the day stored large quantities of data, took minutes to spool from end to end, but could not reliably update blocks of data in place. In contrast, the LINCtape was a small, nimble device which stored about 400K, had a fixed formatting track allowing data to be repeatedly read and re-written to the same locations, and took less than a minute to spool from one end to the other. The tape was formatted in fixed-sized blocks, and was used to hold a directory and file system. A single hardware instruction could seek and then read or write multiple tape blocks all in one operation.

Filenames were six characters long. The file system allowed for two files—a source file and an executable binary file to be stored under the same name. In effect it was a 6.1 filename in which the extension was restricted to "S" or "B". Since the basic LINC had only 1024 12-bit words of core memory (RAM)--and the big, expanded LINC had only 2048—normal operations depended heavily on swapping to and from LINCtape. (Digital later patented and marketed a similar design under the name DECtape; Digital's patents on DECtape were eventually tested in court and found invalid).

LINCtape is also remembered for its reliability, which was higher than that of the diskettes which supplanted it. LINCtape incorporated a very simple form of redundancy—all data was duplicated in two locations across the tape. LINC users demonstrated this by punching holes in a tape with an ordinary office paper punch. Tape damaged in this way was perfectly readable. The formatting track made operation almost independent of tape speed, which was, in fact, quite variable. There was no capstan; the motion of the tape during reading and writing was directly controlled by the reel motors. There was no fast forward or rewindreading and writing was performed at fast forward and rewind speeds. In some modes of operation, the data transfers were audible over the built-in loudspeaker and produced a very characteristic series of harsh bird-like squawks with varying pitch.

Keyboard

The LINC keyboard, manufactured by company named Soroban Engineering, had a unique locking solenoid. The internal mechanism of each key had a slot that worked with a set of bars to encode the character and another slot that caught a locking bar, which locked all the keys in one mechanical movement of the locking solenoid.

When the user pressed a key, the pressed key was locked in its down position, and all the other keys were locked in the up position. When the running program read the keyboard, the lock was released, and the pressed key would pop back up. This could have the effect of slowing down typing and preventing even 2-key rollover. This exotic keyboard was abandoned in favor of Teletype keyboards, such as the Model 35 KSR and Model 37 KSR, in the LINC-8 and PDP-12 follow-on computers.

Knobs

The rotary knobs on the front panel could be used as a dial box. (Photo of LINC-8)

The LINC included a set of eight three-turn potentiometers (numbered 0-7) that could be each be read by a computer instruction. The dial box was a convenient user input device at a time before general adoption of the mouse. For example, one knob could control the scaling of a displayed graph, and another might be used as a cursor to display the actual data value at a point.

Text display

The capital letter M as it was displayed in a 4 by 6 character cell on the LINC screen

The LINC hardware allowed a 12-bit word to be rapidly and automatically displayed on the screen as a 4-wide by 6-high matrix of pixels, making it possible to display full screens of flicker-free text with a minimum of dedicated hardware. The standard display routines generated 4 by 6 character cells, giving the LINC one of the coarsest character sets ever designed.

The display screen was a CRT about 5 inches square which was actually a standard Tektronix oscilloscope with special plug-in amplifiers. The special plug-ins could be replaced with standard oscilloscope plug-ins for use in diagnostic maintenance of the computer. Many LINCs were supplied as kits to be assembled by the end user, so the oscilloscope came in handy.

The CRT used a very long-persistence white or yellow phosphor, so that lines and curves drawn point-by-point at a relatively slow speed would remain visible throughout programmed drawing loops that frequently lasted half a second or more. The y-axis displayed both plus and minus zero as different values, unnecessarily reflecting the fact that the LINC used ones' complement arithmetic. Programmers quickly learned to move any negative displayed data up one point to hide the artifact that otherwise tended to appear at y=0.

Notoriously, a tight loop that displayed points repetitively in one place on the screen would burn a permanent dark hole in the delicate phosphor in well under a minute; programmers had to be ready to hit the Stop lever fast if a very bright spot suddenly appeared because of a programming mistake.

Teletype output

Printed output on a Teletype Model 33 ASR was controlled by a single pole relay. A subroutine would convert the LINC character codes into ASCII and use timing loops to toggle the relay on and off, generating the correct 8-bit output to control the Teletype printer.

Laboratory interface

The LINC connector module included bays for two plug-in chassis allowing custom interfacing to experimental setups. Analog-to-digital and digital-to-analog converters were built into the computer and each could be accessed by a single machine instruction. Six relays were also available.

Variants

In addition to the original "classic" LINC, slight programming variations occurred when using the micro-LINC (μ-LINC[10]) (1965), micro-LINC 300 (μ-LINC 300[10]) (1968)[11][12] (integrated circuit [MECL] versions),[13][14][15] and LINC-8. There were variations in the input/output equipment, access to memory. Later models had a faster clock speed.

LINC-8 and PDP-12 computers

PDP-12 computer at the First Vintage Computer Festival East

While Bell in his book[7] says designing the LINC provided the ideas for DEC's second and third machines, the PDP-4 and the PDP-5. Digital Equipment Corporation would launch the extremely successful PDP-8 before it manufactured the first next-generation LINC-compatible computer, the LINC-8 and a combination PDP-8/I and LINC, combined as the PDP-12. DEC's final 12-bit lab machine, the Lab-8/E, incorporated the LINC instruction set. [16]. The first follow-on, the LINC-8, booted (slowly) to a PDP-8 program called PROGOFOP (PROGram OF OPeration) which interfaced to the separate LINC hardware. The PDP-12 was the last and most popular follow-on to the LINC. It was a capable and improved machine, and was more stable than the LINC-8, but architecturally was still an imperfect hybrid of a LINC and a PDP-8, full of many small technical glitches. (For example, the LINC had an overflow bit which was a small but important part of the LINC's machine state; the PDP-12 had no provision for saving and restoring the state of this bit across PDP-8 interrupts.)

MINC-11 computer

Digital produced a version of the PDP-11/03 called the MINC-11, housed in a portable cart, and equipable with Digital-designed laboratory I/O modules supporting capabilities such as analog input and output. A programming language, MINC BASIC, included integrated support for the laboratory I/O modules. MINC stood for "Modular Instrument Computer." The name undoubtedly was intended to evoke memories of the LINC, but the 16-bit machine had no architectural resemblance to, or compatibility with, the LINC.

gollark: I should really make some sort of redstone serial implementation for local debugging.
gollark: Yes, yes, all hail me.
gollark: What?
gollark: Your GPU costs less than your PSU?!
gollark: Thing is, though, it's four times as expensive as my 450W PSU, and not significantly better than that-but-more-powerful.

See also

References

  1. "Laboratory Instrument Computer (LINC)". Office of NIH History (history.noh.org).
  2. For example see William H. Calvin letter The Missing LINC, BYTE magazine April 1982 page 20
  3. Clark, Wesley A. (1986). The LINC was early and small (PDF). ACM Conference on The history of personal workstations. Palo Alto, California, United States: ACM. pp. 133–155.
  4. presentations at The Computer Museum, Marlborough, in the hands of its successor, The Computer History Museum
  5. November, Joseph (2012). "The LINC Revolution: The Forgotten Biomedical Origins of Personal Computing". Biomedical Computing: Digitizing Life in the United States. Baltimore: Johns Hopkins University Press. ISBN 1421404680.
  6. E.C. Toren, R.N. Carey, G.S. Cembrowski, and J.A. Schirmer, “Computer-Controlled Instrument System for Sequential Clinical Chemical Testing. I. Instrumentation and System Features,” Clin Chem, vol. 19, Oct. 1973, pp. 1114-1121.
  7. C. Gordon Bell writing in Computer Engineering a DEC View of Hardware Systems Designs (c) Copyright originally held by Digital Press, out of print but available at Bell's web sites, pp 176–177
  8. Mary Allen Wilkes; Wesley A. Clarke (1969). Programming the LINC Second Edition (PDF). Computer Systems Laboratory, Washington University.
  9. "The LINC: An Early "Personal Computer"". DrDobbs.com.
  10. "Appendix IV: LINC Variants". washingtonUniversity :: linc :: Programming the LINC Second Edition Jan69. Jan 1969. pp. IV-1 (141). Alt URL
  11. Datamation. Cahners Publishing Company. 1968. p. 169.
  12. Medical Instrumentation. 1974.
  13. "Laboratory INstrument Computer from FOLDOC". foldoc.org. Retrieved 2019-03-03. The interesting thing about the Spear micro-LINC 300 was that it used MECL II logic.
  14. Clark, Wesley (1986). "Digibarn Stories: LINC-1986 Conf. Proc on History of the Personal Workstation - "The LINC was Early and Small"". www.digibarn.com. p. 152 (20). Retrieved 2019-03-03.
  15. "across the editor's desk: COMPUTING AND DATA PROCESSING NEWSLETTER - INTEGRATED CIRCUIT VERSION OF LINC COMPUTER". Computers and Automation. 14 (9): 37-38. September 1965. Alt URL
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.