The UK National Museum Of Computing

The front row of the replica colossus computer at the NMOC

The National Museum of Computing (TNMoC) in Milton Keynes is one of my favourite places to visit in the UK, and I try to drop in if I’m in the area.

There are several reasons this place is so special. First, and most importantly, the museum focuses on preserving operational computers. These machines aren’t just dead husks of the past; they run real calculations, often related to the cryptanalysis tasks they were created for. Tubes glow, decatrons spin, and relays tick. A constant hum and crackle of electricity fills the air. It is pure magic.

Colossus (Mark II)

The most famous is the reconstructed Colossus Mark II, which stands where Colossus No. 9 originally stood in Block H at Bletchley Park. Block H is now home to the National Museum of Computing and is often described as the birthplace of modern computing, because large-scale electronic information processing began there. The machine is framed in the context of its wartime task: helping break the German Lorenz teleprinter cipher, known at Bletchley Park as Tunny.

Alan Turing’s famous ‘bombe’ machines are better known for their use in determining the day’s Enigma machine settings, which cipher was used for operational military operations across all functions, air, naval and land. The strategic decisions amongst the German High Command, including Hitler himself, were transmitted via a teleprinter network with a far more sophisticated stream cipher, using the Lorenz SZ40/42 machine. Cracking the Lorenz cipher was a much more difficult task than Enigma and proved particularly valuable during the planning for D-Day, helping confirm that German command had accepted the Allied deception plan and still expected the main invasion near Calais. For me, that is not just abstract history: my paternal grandfather was among the men whose lives depended on the success of those operations. If the plan had failed, I likely would never have been born!

The Lorenz Cipher System

The Lorenz cipher is very simple, merely a logical XOR operation between the five-bit ITA2-encoded (commonly, but slightly incorrectly referred to as ‘Baudot’ after Émile Baudot’s earlier 19th-century telegraph code) plaintext and a pseudorandom, effectively non-repeating stream (at least during the length of the message) generated by the machine. The pseudorandom stream is eventually repeating; it just has a very long period. A series of wheels generates this stream deterministically, similar to the Enigma machine but more complex. Twelve wheels in all are divided into three functional groups. The first set of five wheels, the χ (chi) wheels, step with each character and change most often. The second set of five, the ψ (psi) wheels, does not step regularly but is occasionally triggered by two additional μ (mu) wheels. This added complexity to the resulting key patterns. Because of the system’s symmetry, if you can determine the SZ740/42 machine settings used for transmission, reapplying the same XOR-with-keystream operation to the ciphertext yields the original plaintext message. This is what the Colossus was designed to help with, but it didn’t decrypt messages directly. The story is much more interesting than that.

Unlike the Enigma machines, no one on the Allied side had ever seen a Lorenz machine, let alone had access to its plans. However, as with many stories about the breaking of encryption systems, people make mistakes, and those mistakes create opportunities. Some work was already underway to crack the Lorenz system, but a sloppy German teletype operator made a critical mistake that changed the fortunes of the British cryptanalysis teams. Apparently, sometime in August 1941, a long Lorenz-encrypted message was intercepted and signalled as not having been received correctly. This prompted the transmitting operator to resend the same message. Critically, the operator retransmitted it slightly differently, with a few small alterations and slightly abbreviated, but with the exact same machine settings. This created what cryptanalysts called a ‘depth’: a pair of similar but not identical ciphertext sequences related by identical key sequences. This allowed the two messages to be XORed, cancelling out the keystream and yielding the XOR-sum of the messages. This isn’t the message itself, but it is statistically useful.

John Tiltman used this combined message stream with cribbing techniques, essentially guessing likely German military vernacular terms, which, together with expected message formats and punctuation, enabled him to recover both plaintexts. From there, with the plaintext and corresponding ciphertext, determining the key stream was trivial. Next, mathematician Bill Tutte received the key stream and performed an incredible feat of mathematical reverse engineering, inferring the design of the Lorenz machine without ever seeing it. He started by looking for periodicity in sections of the key stream, using methods similar to the common Kasiski examination, and detected a period of 41, which he called χ1. Together with the rest of the Research Section found further periods of 31, 29, 26 and 23 for the other χ wheels. Additionally, they found periods of 43, 47, 51, 53, and 59 for the ψ wheels. This led them to propose that the machine’s structure consisted of two sets of five wheels. Additional complexity arose from periodic adjustments to the ψ wheel positions by an unknown mechanism, which caused them to rotate erratically. Further work allowed the team to determine that these periodic perturbations came from another pair of motorised wheels. Now that they had the machine architecture nailed down, they still needed a way to determine future message keys. They needed a computer.

The Design of Colossus

Colossus was created to reduce the drudgery and time required to perform cryptographic analysis of the high-value ‘Tunny’ wireless traffic. Searching (cribbing) messages by hand or by electromechanical means was simply too slow and unreliable to provide useful intelligence. The British needed a way to access these messages as quickly as possible. The longer it took to decrypt the messages, the less valuable the intelligence, so the race was on. Various teams set to work on automating this, but it took a telecoms engineer, Tommy Flowers, to design a reliable machine. Tommy was familiar with the new technology of vacuum tubes, which he’d used to great effect in telecoms applications whilst working for the Post Office Research Station at Dollis Hill. Initially, he was refused permission to use such newfangled and unreliable technology, so Tommy set about designing and building a prototype electronic computer in a storeroom in his spare time, even sourcing the components himself from the Post Office’s stocks of relays and vacuum tubes. After he demonstrated its computational speed to his shocked superiors, their initial concerns about the reliability of vacuum technology faded, and they gave him the go-ahead to build a full set of improved Mark 2 machines. In total, they built and installed nine additional machines at Bletchley Park and upgraded the original prototype to a Mark 2. They still had an eleventh Mark 2 machine under construction when the war ended.

Architecture

Colossus is not a general-purpose stored-program electronic computer; such machines did not yet exist. It is better thought of as a special-purpose, streaming electronic statistical analyser. It has no program to store; the machine has a single purpose and is hard-wired, though it can accommodate small configuration changes if needed. It didn’t even store the message under analysis; instead, the machine continuously wound a long paper tape through it at high speed, with the message punched onto it. The rest of the machine simulated the Lorenz machine’s rotations, specifically the chi-wheel streams, applied configurable Boolean tests, and counted statistical results. The machine was designed to test hypotheses about the Lorenz wheel settings by counting correlations between the intercepted ciphertext and the simulated Lorenz keystream. Even so, decrypting the message still required a lot of work, but Colossus took over the labour-intensive part and sped up the process.

In terms of construction, Colossus used about 2400 electronic valves, mostly standard thermionic types from existing telecoms equipment, including 501 gas-filled switching valves known as thyratrons, used to model the simulated Lorenz encoder wheels. The tape itself was also innovative. Earlier machines, like the “Heath Robinson”, also used tapes but struggled to keep multiple tapes synchronised. Colossus, by contrast, made the single tape reader the machine clock source. The tape had a clock track in the centre that was read and sent to the rest of the machine, so no matter the tape’s current speed (especially important when it was stretching), the data was always available at the right moment. Additionally, tape positions for stop-and-start signals let each pass sync with the calculation state, and results could be sent to the relay-based output storage to prepare for changing the wheel settings for the next pass.

Colossus programming was done with switches and plugboards. Operators and cryptanalysts configured which logical functions to test, which wheel patterns to generate, what counts to accumulate, and what thresholds to print. That makes Colossus programmable in an important but historically specific sense: its operation could be reconfigured for different cryptanalytic runs, but its architecture was not that of later stored-program machines such as Manchester Baby, EDSAC, or the machines that led directly to what would become conventional computers.

Impact

Colossus matters on several fronts. First, access to Tunny traffic gave the Allies insight into the German high command’s thoughts, concerns, ambitions, and strategic decisions, and it certainly contributed greatly to the war effort. Whether this single invention shortened the war or reduced its impact is a matter for historians to debate, but its impact on the development of computing systems at the time cannot be overstated. Colossus showed that unreliable electronic vacuum tubes could build computers and other digital systems, and that they could be reliable if left powered up. It showed that vacuum tubes could outperform electromechanical means, that programmable electronic machinery could solve real problems on a larger scale, and that it was not merely a research curiosity. For the first generation of high-speed electronic computers, valves remained the dominant active device until transistors became practical.

Its recognition was delayed by secrecy. After the war, the machines were dismantled or destroyed, records were classified, and those who built and operated them could not explain what they had done. This distorted the public history of computing for decades. Other early computers were developed openly, published, photographed, and remembered. Colossus remained largely hidden. Thanks to a few fragments of documentation and the memories and skills of surviving members of the original design and operations team, we have an accurate replica machine to admire today.

Further Reading

EDSAC Replica

The EDSAC, or Electronic Delay Storage Automatic Calculator, was one of the machines that turned electronic computing from an experimental wartime art into a practical scientific service. Designed by the team at the University of Cambridge Mathematical Laboratory and supervised by Professor Sir Maurice Wilkes, it ran its first successful program on 6 May 1949. Although it was not the first stored-program electronic computer, it is considered the first practical machine of its kind. It was created to provide centralised computing services to the University’s engineering and scientific departments and proved highly useful. The University created the Mathematical Laboratory to support its need for numerical calculation. Before electronic computers, people did this work with human “computers”, mechanical desk calculators, punched-card equipment, differential analysers, and mathematical tables. This was slow, skilled work, and in many fields the limiting factor was not the mathematics itself but how much calculation could realistically be carried out. EDSAC combined knowledge from earlier computers, ENIAC in the US, EDVAC, Turing’s work on the ACE, and the Manchester Baby. It essentially culminated up-to-date ideas about computing into a practical machine that could help solve real-world problems across many disciplines. By “help,” I mean it was estimated to be about 1500x faster than existing calculation methods, a game-changer for some disciplines.

Design

EDSAC is a fully electronic, thermionic valve-based stored-program computer that used mercury delay tubes as memory elements. Architecturally, we now call it a Von Neumann machine, with a unified program-and-data memory space. It used about 3,000-3,400 valves (depending on the source), took up 20 feet by 2 feet of rack space, and consumed about 10-11 kW of electricity, mostly for the tube heater coils. Architecturally speaking, the CPU was a bit-serial machine, with a single 18-bit instruction word and an optional second word for greater precision. This means the ALU is single-bit-wide, which simplifies hardware but makes it rather slow, especially for 35-bit multiplication!

Travelling Wave Storage

EDSAC originally used sixteen delay lines to form its 512-word main memory. Each five-foot-long metal tube had a pair of quartz-based piezoelectric transducers, one at each end, and was completely filled with mercury. Mercury was chosen because the speed of sound in mercury is relatively stable, about 1450 m/s, so a five-foot tube provided a usable delay of about one millisecond that didn’t vary much with PVT. Mercury gave an effective clock speed of about 500 kHz, which is the bit clock, not the memory ‘cycle time.’ Anyway, the tube length let a travelling wave of 32 words, 18 bits each (plus timing bits), fit in the tube and be read out reliably. The signal from the receiving end was amplified and conditioned before being fed back to the sending end, where additional vacuum-tube-based logic let new data, or the existing delayed data, be fed back in, depending on the operation. This meant accessing data in memory had some nuance, because of the time it took for the targeted word to reach the receiver. It was a neat solution to the problem of creating a cost-effective, reliable memory system that aligned well with the wider system’s bit-serial requirement. However, it wasn’t always plain sailing. Sometimes air would leak into the tubes, forming bubbles. These ruined performance, and the team often had to tilt the tubes and carefully tease the bubble out. The tubes were also temperature-sensitive, so on warmer days the team had to open windows to keep the machine’s timing from drifting. The museum’s reproduction machine, however, does not use mercury tubes, as they are too hazardous and expensive for this setting. Instead, they substituted slightly more modern magnetorestrictive steel-wire delay lines, similar to those used by the Elliott 803B described later.

One interesting story goes that Wilkes, when first realising how often programs would need debugging, took a walk and reflected on the inevitable time programmers would spend correcting errors. This was an early realisation of debugging’s central role in computing, and what the future would be like for those of us engaged in creating software.

Alan Turing allegedly suggested the use of gin as a travelling wave medium.

Instruction Encoding and Addressing

The 18-bit instruction word is broken into a five-bit opcode, 10 bits of addressing (though only 9 bits are used), and a single-bit modifier that indicates whether the following word is also part of the operand. The initial EDSAC architecture had only 512 words of memory, so 9 bits were sufficient, but the extra bit helps simplify decoding.

Programmers wrote on paper tape and punched it manually on a teletype machine. Opcodes used a single-character specifier, followed by a numeric address and terminated with either ‘F’ for short operands and ‘D’ for double operands. The supported opcodes, from the programmer’s viewpoint, are:

A   Add
S   Subtract
H   Load multiplier operand
V   Multiply-add
N   Multiply-subtract
T   Store result and clear
U   Store result
C   Collate (logical AND)
R   Divide by powers of two (Right bitshift by n)
L   Multiply by powers of two (Left bitshift by n)
E   Branch if positive or zero
G   Branch if negative
I   Input from tape
O   Print to teleprinter
F   Output verify
X   Round A to 16-bits
Y   Round A to 34-bits
Z   Stop

There are no indirect, indexed or other fancy addressing modes. All operations move data directly from (or to) memory with an explicit address. However, since the machine is Von Neumann, programmers could implement indexed addressing (or more complex modes) by rewriting addresses or having the program modify itself, a common technique in the early days, more out of necessity than anything else.

A typical instruction sequence might look a bit like this:

A100F      ; Add X: A <- A + m[100]
V101F      ; Multiply/Add by Y: AB <- AB + R * m[101]
S102F      ; Subtract Z: A <- A - m[102]
T103F      ; Store result: m[103] <- A; ABC <- 0
Z000F      ; Stop & Ring bell

Since all operations shown are ‘short’ versions, the ‘A’ represents the accumulator upper 17 bits, ‘AB’ is the upper 35 bits, and ‘ABC’ is the complete 71 bits. ‘R’ represents the upper 17 bits of the 35-bit multiplication register.

All operations use a single 71-bit (plus-sign bit) accumulator and optionally memory. Multiply operations use a dedicated 35-bit register that writes its result to the 71-bit accumulator (hence the accumulator’s substantial length). One multiplicand is held in the multiply register, with the other fetched from memory. This was considered quite advanced for 1949, with most contemporary machines implementing multiplication in software as a loop, which consumed precious program memory and was also slow due to memory-access overhead. The 35-bit length was chosen to maintain precision, since the machine was designed for scientific and engineering applications. There was nothing to be gained from being tight with bits for such applications.

To avoid using vast numbers of expensive vacuum tubes for these long registers, EDSAC also used mercury delay tubes for the registers, including what they called the ‘sequence control tank’ (what we would call the program counter today) and the (hidden) registers associated with machine sequencing and control. This strategy still required a few vacuum tubes, as delay tubes require control logic for timing and synchronisation. Still, a fully tube-based 71-bit register would require far more tubes, and it wouldn’t necessarily be much faster, given the machine’s bit-serial nature.

One interesting detail is that the first programs were entered manually in symbolic form using paper tape. An ‘initial orders’ routine was implemented mechanically to load programs from tape and into memory. It was essentially the very first concept of a bootloader. To help detect errors, EDSAC played musical tones on a loudspeaker corresponding to instructions. Skilled operators could recognise patterns by ear, making it a form of early auditory debugging.

Impact

EDSAC helped to establish the idea of computing as a service. Users could prepare programs, submit them to the machine, and receive results in a revolutionary turnaround time. For Cambridge researchers, this changed what was practical. Calculations that had been too long, too error-prone, or too tedious to do by hand could now be attempted. Researchers used EDSAC in fields including genetics, meteorology, radio astronomy, X-ray crystallography, numerical analysis, and mathematical physics. Some of these applications later led to work associated with major scientific recognition. EDSAC helped researchers make these discoveries by forming part of the computational infrastructure that enabled new research approaches. Multiple major discoveries in science were helped by the computing power of EDSAC, notably John C. Kendrew (1962 Nobel Prize, Chemistry) with the work on globular proteins, Andrew F. Huxley (1963 Nobel Prize, Medicine), who worked with calculations of nerve-membrane behaviour, as well as Martin Ryle (1974 Nobel Prize, Physics), who linked the development of EDSAC I, II and more powerful later machines with the development of synthetic aperture radio systems, essential for astrophysics research.

The 1951 book by Wilkes, Wheeler, and Gill, The Preparation of Programs for an Electronic Digital Computer, helped codify these practices. It treated programming not merely as making a machine obey instructions, but as a discipline of preparation, checking, reuse, and organisation. That was a profound shift. EDSAC was not just an early computer; it was also a platform on which early software engineering began to take shape.

References and Further Reading

EDSAC emulators:

Elliott 803B

The large machine gallery includes several interesting transistor-based computers. The Elliott company began in the early 19th century as a manufacturer of drafting tools and scientific instruments. It later moved into military applications, particularly instrumentation, including mechanical computers that calculated firing tables for warships. After WW2, Elliott established the Borehamwood Research Labs and built hardware for secret development programs, especially fire control and radar for the Admiralty.

By the late 1940s, Elliott Brothers had been secretly building their own stored-program electronic computers, several of which became commercially available. The 803B is arguably the best-known Elliott machine, likely because, by 1961, Elliott made half of all computers sold in the UK. Many of them were 803Bs. The machine marks a turning point in computing history, shifting from a laboratory-only resource to a product that could be installed in a wide variety of locations. People used them widely in banking, industry, science, and universities across the UK and beyond. Many computing pioneers will have cut their teeth on one of these machines. An earlier Elliott 803A had a similar but inferior bit-serial CPU. They shelved it because it was simply too slow to be practical. This particular example was rescued from a barn where it had been stored after being decommissioned. This wasn’t the best place to store a computer, given the UK’s damp, cold climate, but after the TNMoC team restored it, it seems to be working just fine and runs every weekend.

Design

Architecturally speaking, the 803B is an interesting machine that sits at the transition point between drum-based and ferrite-core memory. It came at a time when computer builders didn’t yet fully trust the relative reliability of transistors (compared to valves), so its architecture looks very much like an earlier era (i.e., a valve machine). Transistor usage was minimised to reduce the impact of their failure. In another sense, it used no valves at all, so it’s moving towards a second-generation machine, but it’s not quite fully transistorised by the standards of the latter part of the 1960s. It uses a 39-bit word width and a bit-serial CPU supporting fixed-point arithmetic. The instruction format is rather simplistic, with most operations tied to the accumulator register, rather than register-to-register operations. It also includes additional registers to support multiplication and division, as well as a novel indexing method, making the machine well suited to scientific computing, though it was still a little too clunky to implement high-level languages like ALGOL-60, which required some changes for performance reasons. All said, it’s not all that different from the EDSAC.

[aside: The Elliott Algol compiler was the first commercial product of its type, and Elliott’s Chief Programmer, Tony Hoare (yes, that Professor Sir Tony Hoare FRS), oversaw its design; it ran on this very machine. Prof. Hoare is famously the inventor of the QuickSort algorithm, the CSP computing system and one of the originators of formal verification. He also worked as a consultant to INMOS on the Transputer – see below!]

The machine sported either 4k or 8k words of magnetic core memory, manufactured by either Mullard or Plessey. The main CPU cabinet contained one core stack, with its X & Y decoder circuits. The extra 4k was kept in a separate nearby cabinet. Although it was sold as a transistor-based computer, the CPU logic was actually core logic, using transistors only as drivers and amplifiers. Transistors were still relatively new, expensive and quite variable in performance. The core logic is naturally sequential, with logical values represented by the polarity of voltage pulses. This worked well with the CPU’s serial data path. CPU registers were not parallel flip-flop-based as on a more modern machine; instead, they used magnetostrictive delay-line modules to store bits in a circulating wave. These devices used a nickel wire between a pair of transducers to send an acoustic pulse along the wire and read it out at the other end after a delay. The logic would either send the last bit read back in or modify it, depending on what was needed. This is the same principle as that used by the mercury delay tubes of EDSAC and other earlier machines. For the same reason as EDSAC, the 803B, being a serial machine, made expensive parallel registers pointless, and the compact modules helped keep the machine relatively small.

The core store stack has 40 arrays of 4096 bits, one for each bit of the 39-bit machine word, plus a parity bit. The parity bit detects errors in a stored word. On a read operation, if the machine detects incorrect parity, it illuminates a lamp on the operator console and stops automatically. Of course, this scheme is quite simplistic by modern standards, as it can only detect, not correct, a single-bit error (or, more correctly, an odd number of bit errors). That said, it was a step in the right direction for building resilient systems.

There was still no keyboard or VDU in the modern sense, as interactive computer use had not yet been invented. All standard I/O was via paper tape, using an Elliott-designed tape reader and a CREED tape punch. The standard machine came with these as a minimum, but it could support a second reader, a second punch and a teletype printer. It can also handle a graphical plotter (as demonstrated by the TNMoC team) and the unusual film-handler storage device described below. Anyway, without the directly connected teletype, a separate teletype machine would be needed to read the tape if a hard copy were required. This was standard practice for the period.

Core Logic

Well, you’ve heard of core memory, but what about core logic? As the name suggests, you can build logic circuits with ferrite cores, but you first need to adjust your thinking a bit. In the 803B era, transistors were still expensive and varied widely in quality. Magnetic cores are much cheaper and can be used in a pulse-based system to perform logical operations, similar to core memory, except they don’t store state; they perform summation operations, with the result held in the core until it is destructively read out. The system state is temporarily held in transistor-based flip-flops (known as staticisors at the time!) where needed, but core logic elements can generally be cascaded. Elliott called such a system “Mag-Logic” or magnetic core-transistor logic. The 803B used many types of logical elements, a few of which are shown below. Each board used custom-made, point-to-point-wired multi-tap ferrite modules. The base PCBs were standardised to provide power rails, allowing a custom circuit to be attached and wired in place. All circuits in the 803B were built this way, except for the interfaces to the film handler and the paper tapes, which used “Minilog” RTL (resistor-transistor-logic) modules made by Mullard.

In core memory, the core stores a bit for later use; in core logic, the core acts as a pulse transformer and a threshold/summing element in a timed logic chain. Core logic combines multiple inputs into a single core. Each input can have one of two polarities. Pulses arrive at each input coil coincidentally, so they either add constructively (increasing the core magnetisation) or interfere destructively and cancel out. Once the logical operation is complete, a separate trigger pulse arrives and transfers the core’s state to the output coil. If the signal is strong enough, a transistor buffer amplifies it and passes it to the next element in the chain. The trigger signal is common to all logic elements in a functional group, but not necessarily all circuits on a single board. The state may be passed on and stored in one of several types of flip-flops, which can then provide pulse gating to other circuits. To prevent race conditions caused by inconsistent timing paths across a circuit, the 803B is a dual-phase-clocked system. Within the CPU, a pair of antiphase clocks, denoted alpha and beta, arrive at alternating logic elements in a chain. This lets the first clock set up a pulse for the next element, but it takes a half-clock cycle to become valid. The common clocks are used to derive gated triggers (one per phase), which are passed to the subcircuits. Local clock trees are derived from these base clocks, depending on the circuit’s function. It is not clocked in a directly symmetric fashion, as in a modern CMOS VLSI dual-phase system. (I say ‘modern’ in the loosest possible way!) Essentially, many local clock subtrees serve specific circuit functions, rather than a single overarching clock driving everything. It’s still a synchronous system, but instead of a single global clock and carefully managed physical placement, a modern ASIC uses two clocks that operate in an alternating pair, with local clocks, gate signals, and triggers explicitly derived from them as part of the design. The final outcome is roughly the same, as long as the room temperature doesn’t drift too far outside operational bounds!

The example page here comes from the official Elliott 803B service manual and describes a few logic elements and other functions. This describes these elements:

ElementFunction
SP1-6General circuit of the first six types of logical elements. Can implement functions such as trigger AND A AND NOT B. Logical OR operation derived from De Morgan’s theorem. A OR B=NOT(NOT(A) AND NOT(B)). This requires using the output of the SPx element as the pulse-inhibit input to the following element.
SP7Timing commutator element, used to build pulse distributors or other timing chain elements. This allows special triggers to be generated that align to word boundaries, digit positions or other control triggers. The ‘long’ pulse output passes the pulse to the next SP7 element; the ‘short’ pulse output is for local triggering, such as on each individual bit in a sequence.
SP8This looks like a trigger-pulse resynchroniser, which takes a trigger as input and propagates it to the output when the second trigger samples it.
SR2Pulse-shaping gated amplifier. This module takes a pulse input, cleans it up, and outputs it through a buffer transistor.
SW1This is a transistor-based Set/Reset latch, with direct and inverted outputs.
SW3As above, but with an additional enable for the set input.
SS2This simple transistor buffer takes the signal from the switches (key) of the control panel’s word generator and retimes it into a suitable clock domain using a connected SP7 element. Retiming external signals this way is crucial to prevent errant pulses from entering the logic chains.
VBThis shows the amplifier circuit on the receive side of a nickel delay line.

Power Supply

The power supply was unusual for a computer and more like the charger used to charge the batteries of electric milk-delivery floats! It used a simple circuit to charge a large nickel-cadmium battery, the type used in 24 V, 400 Hz aircraft systems. This was handy, since the battery supplied with the machine was not salvageable after all that time in storage, but similar batteries are still in production today for use in current aircraft, making replacement easy. The idea was that the battery could supply the hefty 40A (peak) current the computer needed during the frequent power brownouts common in industrial settings. It was essentially an early UPS, and a common arrangement in UK telephone systems at the time. The circuit is interesting because it uses saturable magnetic elements to control the output voltage as part of its regulation scheme. This enables high power handling of around 1.3 kW without using any power transistors or tubes in the main DC path. This is just as well, as transistors capable of this level of power handling did not yet exist.

The circuit supplies the computer load at 26 Vdc, assuming the battery is fully charged and floating on the output. The battery handles any transient loads because it has very low impedance. The main DC path runs horizontally from the main transformer TR1 through D1/2, L1/2, and the current-sensing transformer L4. The lower part of the circuit is the regulator. Everything here is low power. The far-right part of the circuit (a simple DC bridge) senses the output voltage and the current from L4. It passes a voltage feedback signal to an amplifier formed by T1 & T2, which steers DC current from the auxiliary DC power supply into the magnetic element L3. This is the clever bit.

The DC current through the right side of L3 saturates the magnetic core, reducing the reactance of the left side of L3 in the mains primary circuit. This means that when the reactance is lowest, the inductor has the least effect, and more mains voltage reaches TR1’s primary windings, increasing the secondary voltage and thus the output DC value sent into the battery and on to the computer. If the output DC voltage is too high, the bridge network applies an adjustment voltage to T1/T2, thereby reducing the DC current. This reduces L3 core saturation, increases the primary-side reactance, reduces the primary voltage on TR1 and, in turn, its secondary voltage, and brings the system into balance. Of course, such a scheme can only adjust at 100 Hz or less, resulting in a rather poor transient response. This doesn’t matter, however, as the battery can handle that! Additional circuit elements implement an output current limit and load compensation, which is quite neat. This latter adjustment boosts the output voltage to the battery under heavy load conditions, preventing power-supply droop. This control scheme is an example of a magnetic amplifier, a common high-power control circuit rarely seen today, especially since power supplies have moved away from massive transformers toward smaller, more efficient switched-mode designs.

The Elliott Film Handler

Paper tape might have been the standard for loading programs, but for serious data, especially data that needed modification, it fell short. The Elliott Borehamwood laboratory was next to the Elstree film industry, but was backed up by a very curious machine with roots in the UK film industry. Sadly, as of the time of writing, the TNMoC does not own the necessary interface board to connect the film handler to the CPU, although a reproduction interface cabinet is being considered.

The handler uses repurposed (so-called ‘full-coat’) 35 mm sprocketed film stock with a special iron-oxide coating that allows it to work with a multichannel magnetic read/write head. Each spool could store approximately 1.3 megabytes of data, which was considerable for the time. The machine predates the 803B and was used on the older Elliott 400-series valve computers. The 803B was the last computer to support it before the whole industry moved to standardised tape handlers of a more familiar design.

As with other areas of Elliott design, it has a few cunning tricks that let it work effectively. Rather than streaming data serially onto the tape, it presents the data in blocks. In the centre, a dedicated clocking track runs alongside address tracks on the outer edges. This means the storage is actually block-addressable, and the hardware supports automatic seeking to a particular block address, up to 4k. It also has an unusual layout. The logical and physical addresses don’t align perfectly. The first physical block is the first logical block (0), but blocks alternate along the tape: odd block numbers go one way, and even numbers go back toward the start. The physical end of the tape is actually block 2048, not 4095 as you would expect. Finally, the last block is actually located at the physical start of the tape, but only when read from the end! This may seem odd at first, but it’s a smart engineering hack. The alternating blocks mean each block is physically separated by a space, giving the machine room to decelerate when stopping at the required block. The machine stops in the gap, perfectly lined up to access the next block. It prevents the unnecessary back-and-forth shuttling you see in period videos, reduces film wear and stretch, and gives the electronics more time to react. Despite the clever design, it still wasn’t particularly fast and was eventually superseded by faster, more standardised machines.

Instruction Encoding and Addressing

The 803B is still quite simple in terms of registers, with a single 39-bit accumulator (A), represented as a sign bit followed by 38 fractional bits. It treated numbers as binary fractions, so programmers had to choose scale factors explicitly unless using a floating-point library or optional hardware support. A 38-bit auxiliary register (AR) extends the accumulator’s precision for certain operations. If A+AR is used, the accumulator forms the most significant component, and AR the least significant. There is also a program counter (also called the sequence control register or SCR)

Each 39-bit word is decoded as two instructions with an additional bit between them known as the “B-line modifier.” The 19-bit opcode consists of a 6-bit opcode specifier, followed by a 13-bit address or function parameter. By convention, instructions are written in pairs, in numeric form. The opcodes are written as a two-digit octal number, followed by a space and an integer operand. The opcodes are separated by a colon (:), which represents B=0, or a slash (/), which represents B=1. A typical instruction pair looks like this:


30 5 : 55 3  ; load accumulator from m(5) , double accumulator N times, clear AR
^^ ^ ^ ^^ ^
|| | | || |.. Instruction (2) Memory address
|| | | ||.... Instruction (2) Operation code
|| | | |..... Instruction (2) Operation group
|| | |....... B-line modifier
|| |......... Instruction (1) Memory address
||........... Instruction (1) Operation code
|............ Instruction (1) Operation Group code 0-3 for basic, 4-7 for specialised

The machine has a much more complex instruction set than earlier machines such as EDSAC, with a 6-bit opcode field encoding up to 64 instructions. The base model 803B has 52 unique instructions, with the optional floating-point board adding six more. They are written in octal to group them functionally by behaviour. Essentially, there are eight basic instruction groups, of which 0-3 are symmetric, with each group comprising 8 basic operations. For these lower groups, the group code essentially selects where the result is written. For the upper groups (4-7), each opcode has specialised behaviour. For the lower groups, four memory operations specify how the accumulator (A) and the referenced memory (N) are updated.

0 Base
1 Exchange
2 Write
3 Replace

Simply put, each instruction can update both the accumulator and the referenced memory location, but how it does so depends on the group selected by the first digit. In the base case, the result ends up in the accumulator, and memory is unchanged. Remember that this machine has only one basic register, A, and that the second operand (if any) is read from the specified memory location. The exchange group instruction immediately transfers the initial memory content into the accumulator and writes its result back to memory. The write group doesn’t touch the accumulator; it writes the result straight to memory. Finally, the replace group first copies the memory contents to the accumulator, then writes the result back to memory.

a = old accumulator contents; n = old contents of memory location N.
a' = new accumulator contents; n' = new memory contents.

RowGroup 0Group 1Group 2Group 3
000 Do nothing
a' = a
n' = n
10 Exchange
a' = n
n' = a
20 Write
a' = a
n' = a
30 Replace
a' = n
n' = n
101 Negate
a' = -a
n' = n
11 Exchange and negate
a' = -n
n' = a
21 Write negatively
a' = a
n' = -a
31 Replace and negate memory
a' = n
n' = -n
202 Replace and count
a' = n + 1
n' = n
12 Exchange and count
a' = n + 1
n' = a
22 Count in memory
a' = a
n' = n + 1
32 Replace and count in memory
a' = n
n' = n + 1
303 Collate
a' = a & n
n' = n
13 Write and collate
a' = a & n
n' = a
23 Collate in memory
a' = a
n' = a & n
33 Replace and collate in memory
a' = n
n' = a & n
404 Add
a' = a + n
n' = n
14 Write and add
a' = a + n
n' = a
24 Add into memory
a' = a
n' = a + n
34 Replace and add to memory
a' = n
n' = a + n
505 Subtract
a' = a - n
n' = n
15 Write and subtract
a' = a - n
n' = a
25 Negate store and add to store
a' = a
n' = a - n
35 Replace, negate memory and add
a' = n
n' = a - n
606 Clear
a' = 0
n' = n
16 Write and clear
a' = 0
n' = a
26 Clear memory
a' = a
n' = 0
36 Replace and clear memory
a' = n
n' = 0
707 Negate and add
a' = n - a
n' = n
17 Write, negate and add
a' = n - a
n' = a
27 Subtract from memory
a' = a
n' = n - a
37 Replace and subtract from memory
a' = n
n' = n - a

Group 4 Instructions are the branch group. In 803B-era language, “transfer” refers to a jump.

40	Transfer, unconditionally, to first instruction.
41	Transfer to the first instruction if A is negative.
42	Transfer to the first instruction if A is zero.
43	Transfer to the first instruction if the overflow indicator is set. Clear the overflow indicator.
44	Transfer, unconditionally, to second instruction.
45	Transfer to the second instruction if A is negative.
46	Transfer to the second instruction if A is zero.
47	Transfer to the second instruction if the overflow indicator is set. Clear the overflow indicator.

Group 5 Instructions are for the multiply and divide operations.

50	Halve the double-length number N times (with sign digit regeneration).
51	Shift A right N places (without sign digit regeneration). Clear AR.
52	Multiply A by m(N), with double-length product.
53	Multiply A by m(N), with single-length rounded product. Clear AR.
54	Double the double-length number N times.
55	Double A, N times. Clear AR.
56	Divide the double-length number by m(N), with single-length quotient. Clear AR.
57	Read AR.
(Clear accumulator sign digit, and replace other digits of A by a copy of the AR. content).

Group 6 Instructions are no operation for the base model and are reserved for the optional floating-point board. This particular 803B machine does have the floating-point option installed.

Group 7 I/O Operations

70	Read the Number Generator
71	Read the Tape Reader (normally attached to Channel 1) (logical OR one character into the 5 right-hand positions of C(A).)
72	Channel 2 function.
73	Write the address of this instruction (in the right-hand part of location N.)
74	Punch the specified character on Output Channel 1.
75	Channel 2 function.
76	Channel 2 function.
77	Channel 2 function.

The “B-line modifier” is cunning and key to programming this machine. When B=0, the instructions execute sequentially, as you’d expect, nothing clever. But when B=1, the first instruction executes; when it finishes, the contents of the address it points to are added to the address specified in the second instruction. This seemingly simple hack lets you implement all manner of addressing modes. An example appears in the hardcoded bootstrap routine. The 803 doesn’t have a boot ROM in the modern sense, but instead modifies the instructions read from core locations 0-3 as below:

0:  26 4 : 06 0  ; Clear m(4), clear A
1:  22 4 / 16 3  ; m(4)++, B-modify: write-and-clear m(m(4) + 3)
2:  55 5 : 71 0  ; Left shift A 5 places, Read 5-bits from tape into A
3:  43 1 : 40 2  ; Jump to 1 if overflow set, (else) jump unconditional to 2

Core address m(4) follows the bootstrap routine and serves as a write pointer into the core, effectively starting at address 5. How these four words work will take a little more explanation. Location (0) initialises the loop, ensuring the write pointer m(4) is zero. This counter points to the start of the writable part of the core memory, after the initial orders and the write pointer. Location (1) handles memory writes. Since the b-line bit is set, it will add the write pointer to the fixed value (3) in the second instruction. It increments the write pointer first, then writes the accumulator to the memory address pointed to by the write pointer plus 3, and finally clears the accumulator. For the first pass around the loop, this will overwrite the write pointer with zero, then drop into the next instruction to actually start reading the tape. Location(2) first left-shifts the accumulator five bits, then overlays the accumulator’s lower five bits with the first five bits from the tape. Finally, Location(3) checks if the accumulator has overflowed. Since the accumulator is 39 bits long, and 39 is not divisible by 5, the overflow bit is set if the first non-zero byte in the block has its MSB set, without affecting the word written to memory. We handle five bits at a time because of the number of holes per line on the tape. Trying to make this much denser with 1960s technology wasn’t reliable. This overflow mechanism also lets the system ignore blank areas of the tape. This is a so-called ‘leader’ section of blank tape (all zeros) before the data section, which makes loading and handling tapes practical. It could also store multiple data blocks on a single tape, but it is unclear whether that was done in practice.

Because the computer had a loudspeaker attached to its instruction register, it ‘warbled’ as it ran repetitive programs, and it was a thrill to come into work on the morning after a soak test and hear the machine warbling the welcome news that it hadn’t failed in the night. — Graham Phillips

This means that each 5-bit tape line is divided into 8 line groups for each word written to memory. The MSB of the last line will be ignored. Location(3) will jump to Location(1) on overflow, when a full word is available; else, it will jump to Location(2) to grab the next line from the tape.

However, remember that the write pointer was set to zero by the first two instructions in the loop. This means that the first word from the tape will be written to the write pointer before the next word is fetched. This is a clever way to control where in memory a tape is written: simply ensure that the first word on the tape is four words before the desired write location. The write pointer will be updated, causing subsequent words to be written to the selected region. This lets you load multiple tapes into different memory locations, depending on the application requirements.

Now you might be wondering what happens after the tape is loaded? Well, the tape reader would simply hurl the tape onto the floor, and the machine would sit idle, waiting for more data. In this case, the operator could press the ‘System Reset’ button and use the word generator to enter a manual jump instruction pointing to the program start location, and off it would go. But an even more ingenious mechanism could be employed. By aligning the program on the tape to load at the top of memory, more data can be appended after the program. This will cause the write pointer to wrap around the 8k boundary and snap back to zero. The system reads and writes dummy words to addresses 0-3. These locations cannot be written, as they are the hard-coded initial orders, but once Location(4) is written, then more magic can happen. Since the write pointer value is added to a fixed 3 value, the adder isn’t constrained to the address field; if the value is large enough, it can overflow into the instruction’s opcode field and modify the instruction being executed. The write-and-clear (16) can be bumped up to a jump (40), and the address component can be set to correspond to the program start address! Once the modified instruction executes, the program starts, and the tape reader stops moving. Very cunning! This is a strong example of self-modifying programming combined with hardware behaviour exploitation to achieve a mechanism essentially for free. No need for special boot code.

This ‘initial orders’ routine was generally not used for final application loading, however. In practice, it loaded a second-stage bootstrap program, usually called T23, from the Elliott standard software library. This often prepended application software tapes to enable more robust program loading with checksumming.

Subroutines

The 803B also has limited hardware support for subroutine programming. Programming complex applications without such support is tedious and inefficient, as subroutines cannot (efficiently) be shared between different code paths (OK, you actually can implement a subroutine-like feature with plain jumps, but it’s really messy), and all code needs to be essentially ‘fully unrolled.’ The key to implementing subroutines is simple: store the current program counter in memory, then redirect to the subroutine; the subroutine terminates by reading the return address and jumping back. In the simplest implementation, the 803B instruction 73 stores the SCR in a memory slot, often by convention immediately before the subroutine, called the ‘link address.’ A common sequence looks like this:

caller:
C:      73 LINK : 40 SUBR
C+1:    ... next code after return ...

subroutine:
LINK:   00 0 : 00 0          ; reserved link cell
SUBR:   ... body ...
        00 LINK / 40 1       ; return to C+1

The calling routine uses the 73 instruction to save its address, C, to m(LINK), then jumps to SUBR. To return to the caller, the subroutine uses the NOP instruction that references the link slot, which b-modifies the following jump. The jump value of 1 is needed so that the return address resolves to the address immediately following the call. It’s simple, but too simple. There is no call stack, no automatic return-address storage, and no support for recursion, but you can implement all of this in software as long as you have a way to capture the SCR. That’s what instruction 73 does, and it’s all you need. You can implement arguments by storing them in a defined location, such as immediately after the call, and then compensating for the extra memory on subroutine return.

Similarly, the 803B also supported rudimentary interrupts. When triggered, the instruction at Location(5) was executed, but crucially, without updating the SCR. The instruction was expected to be of this form:

5:        73 ILINK : 40 IHANDLER

which would save the SCR to a dedicated location (usually before the interrupt handler subroutine) and then jump to the handler. The handler would need to save the current state before running its own code, then restore it so it could return. Returning from an interrupt would work in the same way as a normal subroutine. Because it is exactly that. Interrupts were generally not used in the machine’s normal operation but appeared to have been added for industrial control applications. TNMoC volunteers didn’t test this feature until the machine had been operational for quite some time, and they were pleasantly surprised when it worked without any debugging.

Impact

The Elliott 803B’s impact was primarily practical, coming at a time (the early 1960s) when computers were starting to move from specialised laboratories into industry, universities, banks, and technical organisations. It gave a wider class of engineers, students, and programmers experience with a computer that was relatively easy to understand and not intimidating to use. It introduced features that enabled the development of practical high-level languages, which in turn allowed newly minted computer scientists to make progress in this new field. Although Tony Hoare discovered the Quicksort algorithm before the 803 ALGOL compiler existed, ALGOL’s support for recursion gave him a clean way to express it. The Elliott ALGOL project helped the 803 sell well in academic markets. Hoare later said the compiler became a key driver of the 803’s commercial success, especially in the academic market. Architecturally, several aspects of the machine were dead ends, such as core logic and the B-line modifier, but they didn’t matter because they helped pave the way for later developments.

Emulators

References and Further Reading

https://www.billp.org/ccs/gtp803/gtp803.html

https://hoc.lgfl.org.uk/resource.html

https://en.wikipedia.org/wiki/Elliott_803

https://www.computerconservationsociety.org/resurrection.htm

Elliott 903

Building on the experience gained from the popular 803B and similar machines, the 900 series shrank in size and improved in reliability, without deviating too far from the user experience of its older relatives. These were deliberately budget-friendly, small machines that, in base form, would fit inside something resembling a standard-size desk, but still used paper tape for basic I/O and an optional teleprinter. The 903 machine featured here traces its heritage to the original Elliott 901 and the 920A military computer. The 903 belongs to the 900-series line that began with the 901/920A architecture; later variants included the 920B, 920M, 905, and 920C. The 903 is a close architectural relative of the military/mobile 920 machines, repackaged for desk or laboratory use. It sold the most, particularly in the UK.

Although the minimum-specification machine came with paper-tape I/O, an ASR33 teletype was a common addition for practicality. The machine also supported graph plotters, magnetic tape drives, line printers, and card readers, all sold with the Elliott 4100 series.

The machine is much smaller than earlier models, designed specifically for low cost and compact size. This matters for military applications, especially in aircraft systems. The 920 family included rugged and aircraft-suitable versions; the 920M was explicitly aimed at advanced aerospace applications, and the 920C material shows rugged/mobile power options.

The CPU has an 18-bit instruction width and a single-address, accumulator-based programming model. Like the 803B, it uses fixed-point arithmetic by default, with an auxiliary register to support hardware multiplication and division. However, floating-point support was only available as a software library option. It does, however, include a rather advanced feature: multiple priority-encoded interrupts with automatic (partial) state saving, an important architectural choice for a machine destined for real-time control applications. Military specifications likely drove this requirement.

Design

Physically, this 18-bit computer consists of multiple PCBs that plug into a wired backplane. The desk unit housed backplanes in modules mounted in a standard 19-inch rack. Each PCB hosted multiple standardised daughterboards that implemented logic gates and other digital elements. Like the 803B, these PCBs are standardised units that provide power connections but little else. The wiring is point-to-point. The 903 has no core logic; it is fully transistorised, built from about 3000 identical germanium transistors, plus a large number of resistors and diodes of at least three varieties. Interestingly, the transistors are mounted upside down inside the PCB body, with the leads bent around and soldered. They did this for stability: physically constraining the cans reduced vibration sensitivity, a serious concern in a military application. The TNMoC volunteers told me that when they replace failed transistors (which they say has happened fewer than ten times during the period they’ve hosted their machine), they don’t attempt to desolder and remove the daughterboards. The older phenolic resin-type PCB substrates are very heat-sensitive, so instead, they clip the leads and solder the replacement part directly to the old leads.

Memory is by default a single 8k-word asynchronous-access core memory stack. It was specified with a 2 us access time and a 6 us cycle time. Additional memory modules required separate desk units and supporting infrastructure. 16k appears to be the minimum recommended for running high-level languages such as ALGOL-60 and a 900-specific version of FORTRAN in a performant manner (so-called load-and-go operation), but it can be expanded up to a dizzying 64k words, given enough space. Sources suggest the core stack used a 4-dimensionally wired design (i.e., 4 wires per core for addressing), using four sets of 8-channel drivers. This engineering trade-off made core wiring more difficult, but reduced the number of driver channels to only 32, which would have helped keep costs as low as possible.

Architecturally, the 903 has a microprogrammed CPU that uses diode matrix boards to generate internal actions for each instruction. Each function (what we would now call an instruction) visible to the programmer is implemented by numerous microinstructions encoded in the diode matrix. One microinstruction executes on every master timer cycle. The system timer (we usually call this the system clock) is provided by CPU board 4 and is built from a circuit comprising six 100 ns delay elements that provide separate timing pulses (named t1…t6) to the microcode sequencer. The first six delays are followed by a 470 ns delay which generates an additional 100 ns pulse named tz1. An optional 330 ns delay is added if the F-unit is in use to allow for an arithmetic carry to be handled. This yields a master clock period of around 1 us, occasionally extending slightly when required. Additionally, a clock-control element allowed the clock generator to be delayed or stopped if necessary. For the current microinstruction, multiple actions (microoperations) are performed, each one triggered by the delay pulses t1…t6. These are the microcoded ‘waveform’ outputs from the CPU matrix cards. The individual microinstructions are very simple, so each function takes several timer cycles to complete, especially complex instructions such as MUL (multiply) and DIV (divide). Despite the high clock rate (for a transistor machine), the fastest operations, ADD and LD, still take 23 us, extending by another 7.2 us or longer if address modification is in use.

The 903 had simple hardware support for multiple program ‘levels’ with levels 1-3 associated with the three interrupt inputs, and level 4 being the ‘normal’ operation level. There are only 16 basic instructions. The CPU used 2’s complement fixed-point arithmetic by default, with no hardware floating-point option, only a software library. Despite its microprogrammed architecture, the model visible to the programmer is very basic: a single 18-bit accumulator (A) and an 18-bit auxiliary register (Q) for double-length shifts, multiplication, and division. It also uses an additional 18-bit ‘B’ register purely for address modification. Finally, the SCR register tracks the currently executed memory location. Curiously, the SCR and B registers are not separate physical sets of flip-flops; they share an internal register. The core stores their values, with one SCR/B pair for each of the four operating levels, held in core locations 0-7, with the SCR in the lower location. These two registers are fetched from core memory at the start of every instruction cycle! This is a very slow way to implement the required features, but it is also very economical in hardware, and such trade-offs were necessary for cost and compactness.

LSAs and CPU Architecture

The 903 physically resembles a step-up from the 803 B’s discrete-wired, large PCBs. The logic boards now have edge connectors and use standard power routing, as in the 803B design. Logic was implemented on Logic Sub-Assembly (LSA) PCBs, which were small, simple daughterboards soldered directly to a motherboard and then point-to-point wired on the rear surface. Each LSA could host up to three simple logical operations, or another more specialised function. The 903 design uses quite a few standard LSA modules, and I’ll list them all for completeness. Unfold the block below for all the details

LSAFunction
01Three 2-input NAND gates
02Two 3-input NAND gates
03One 4-input NAND gate plus two inverters
04Three high-noise-threshold control-matrix waveform amplifiers
05Triple 2-input AND/NOR gate
06Dual 2-input AND/NOR gate plus one 2-input NAND gate
07, 09, 13, 14, 34, 129, 130, 131, 134, 135, 137, 138Two 3-input pulse generators; variants differ mainly by timing capacitor/pulse width
08+2.4V reference supply for LSA pulse generators
11Three 1-input inverting cable transmitters
12Three 1-input inverting cable receivers
15One 2-input NAND gate plus two inverting drivers
16Three 1-input F-Minilog drivers
17Two 1-input paper-tape receivers
18Three 1-input noise-rejecting inverters, often for key/contact-bounce cleanup
19Second/following element in delayed-start circuits
20, 21, 24, 25First/timing elements in delayed-start circuits, paired with LSA 19
22Three 2-input non-inverting transmitters, used to drive LSA 23
23Three gated receivers with signal and inhibit inputs
26Two 2-input NAND gates plus a 28V, 40mA lamp driver
27Regenerable monostable
28Three 2-input NAND/gated driver elements with larger fan-out
29Teleprinter receiver, converting Type 33 20mA line signal to logic
30Teleprinter line driver plus AND/OR gate
31NPL interface inverting delay circuit
32Schmitt trigger for cleaning slow/noisy NPL interface signals
33Three level shifters, converting 0V/-6V inputs to 0V/+6V logic
35Three 1-input inverting NPL transmitters
36Three 1-input inverting NPL receivers
37, 39, 40, 41, 42Two 3-input pulse generators with added noise rejection
38Single edge-triggered pulse generator
43Voltage-rail sensing; described as specialised and not normally encountered
44Three 2-input NAND gates, a direct-link variant intended to be driven by LSA 23
45Modified fast cable driver, derived from LSA 126
46Counter bistable; usable as a shift-register element or binary counter
47115-ohm balanced-pair transmitter
48115-ohm balanced-pair receiver
492.5 Mc/s crystal oscillator and driver
50Delay element plus 3-input NAND gate
51Variable pulse-delay element
54Three 2-input transmitters with larger output swing, about 0V to +15V
120Three 4100 standard-interface receivers
1214100 standard-interface transmitters: AND/OR plus inverting transmitter, and one 1-input transmitter
122Two 3-input open-wire receivers
123Two 2-input NAND open-wire transmitters
124Fast cable receiver, slave; three 1-input inverting receivers
125Fast cable receiver, master; same basic role as 124 with different base resistor
126Two 1-input non-inverting fast cable transmitters
132, 133Miscellaneous timing components used with LSA 134 to vary pulse width
136Three level shifters, converting 0V/-10V inputs to 0V/+6V logic

CPU Logic boards fall into three physical types: the so-called ‘standard’ type, which has two versions, the DP “mother” board with 14 LSA areas and the NV board with 21. The third type was the ‘matrix’ board, which had positions for only six LSAs, with the remaining space occupied by the diode array that encoded the CPU microprogram. The matrix proper consisted of 10 boards, each with its own 10 Y-ordinates feeding into its diode matrix. Y-ordinates are synonymous with microprogram addresses. Each board provided 28 X-ordinates, or output waveforms. These output signals generate the timing and sequencing waveforms that dictate microprogram actions as the CPU executes the selected program function. Some X-ordinates were reserved to select the next matrix address, so the diode matrix directly encodes the sequencing of hardware microoperations.

Microarchitecture

From the programmer’s perspective, the accumulator (A) and the auxiliary register (Q) were the only real physical registers. The architectural SCR and B registers were not separate physical CPU registers; they were specific core-store locations. The real hardware data path had a few more real registers, constructed from transistor flip-flops:

  • J-register: 16-bit store address register
  • G-register: 18-bit internal bus/staticising register
  • M-register: store-access buffer between core store and processor
  • I-register: function-code register
  • P-register: peripheral addressing/control register

The G-register served as a common transfer path between registers and isolated the function-unit input from its output. The M-register held either instruction words or data words, depending on the microprogram point. In the language of the Elliott 903, the ‘function code’ is the logical instruction held in core. The F-unit, or function unit, is the 903’s arithmetic core. In modern terms, think of it as the processor’s 18-bit ALU, but the manual mainly describes it as an 18-bit parallel adder plus associated collate and shift/overflow paths. It has two 18-bit input groups, X and Y, and one main carry/control input, 1TF. 1TF acts like a carry-in at the least significant bit. When true, it adds 1 to the adder. The F-unit is a shared resource for all internal operations that require addition, including the incrementing of counters such as the SCR. This hardware sharing is common on other computers, as another way to save hardware and, thereby, costs.

The 903 microprogram matrix addresses several outputs, such as MTF, FTG, GTM, READ, and WRITE. Those outputs move data between registers, drive the F-unit/collate unit, test conditions, or control the store or peripherals. Microprogram operation has two distinct phases. The first is a fixed cycle of operations labelled C2…C7 that fetch the SCR/B-modifier values for the current program level from the core, increment the SCR, and write it back. This read-then-write sequence is needed because reading the core is destructive, so it saves time by writing back the incremented value in preparation for the next cycle, assuming the current instruction is not a jump. Next, the temporary SCR value is decremented by 1 to restore its original value before a core read-rewrite cycle fetches the next function code. This section of microprogram is called the ‘Function Control.’ The C-address microprogram physically resides on CPU matrix card 19, but matrix-address selection cards 21 and 22 provide the sequencing that selects the next microprogram address. Once the function code is loaded into the I-register, execution can begin. Each function code has unique microoperations distributed across all the CPU cards. Obviously, complex functions like multiplication and division have much longer, more complex microprograms than shorter functions like addition.

The following optional block lists all the CPU waveforms generated by the Y-outputs of the diode matrix, and their actions. As you can see, the operations are as simple as possible, so they complete quickly.

Most names are compact register-transfer mnemonics:

PatternFunction
XTYTransfer/gate register or source X to destination Y.
XTGGate source X into the G buffer register.
OTXClear/reset register X.
F / ITFDrive special F-unit inputs for decrement or increment/complement arithmetic.
T…Test a condition.
AA1…AA3Select the next matrix address.

Core matrix outputs:

OutputMeaning
MTFGate M register to the F-unit/collate X inputs. Used for arithmetic, address extraction, and bypass copies.
ATFGate A register to the F-unit Y inputs. Used for add/subtract/shift arithmetic.
QTFGate Q register to the F-unit Y inputs. Used in address modification, multiply/divide, shifts.
FTGGate F-unit output directly into G. This is the normal “result to buffer” transfer.
LTGGate F-unit output into G shifted left one bit.
RTGGate F-unit output into G shifted right one bit, with sign/overflow logic involved.
VTGOpen the collate/bypass path into G; commonly used to copy fields from M or J without arithmetic.
GTMGate G into M. Often completes “calculate result, put it back in store-access register”.
GTAGate G into A. Used when a computed result becomes the accumulator.
GTQGate G into Q. Used in B-modification, multiply/divide, shifts.
GTJGate G into J, the store address register.
MTIGate function bits from M into I to select the machine instruction function.
MTPGate address/peripheral field from M into P, selecting a peripheral.
OTM/G/J/I/A/QClear/reset M/G/J/I/A/Q
READRead store at address in J, loading the result into M.
WRITEWrite M back to the addressed store location.
1TFAdd one into the F-unit carry input. The manual describes this as equivalent to carry-in zero, used for increment and two’s-complement operations.
DTF1Force part of the F-unit Y input to ones; used for field extraction/decrement.
DTF2Force the other part of the F-unit Y input to ones; with DTF1, lets the F-unit subtract/decrement by using -1.
ETJSet J to the address of the relevant SCR or B-register via level-selection logic.
K1 / KTJSelect the current level’s B-register address path for B-modification.
JTCLoad the process counter from J.
1TCDecrement the process counter.
WFRWait for restart; quiescent/control wait state.
WFPWait for peripheral reply; holds the timer after peripheral select.
SFDSet Function Drive; enables function decode from the I register.
DTEDemand/test entry or interrupt/program-level selection during function control.
AA1, AA2, AA3Matrix-address sequencing outputs; select the next microprogram address.
TM18 / TMI8Test bit 18 of M, the B-modifier bit.
TM12M13Test whether M12 and M13 differ; used to route function 14 between shift and block transfer.
TWGATest word-generator-to-accumulator manual entry.
TCOTest process counter for zero.
YTXTransfer shift/overflow Y bistable into X.
XTFGate shift/overflow X state into the F/shift path.
OTXClear shift/overflow X bistable.

A typical sequence makes the naming clear. For example, to increment the SCR, the microprogram uses:

OTG, MTF, 1TF, FTG, OTM, GTM, WRITE

Meaning:

  1. Clear G.
  2. Gate M into the F-unit.
  3. Add one with 1TF.
  4. Put the F-unit result into G.
  5. Clear M.
  6. Move G back into M.
  7. Write M back to store.

For B-modified addressing, the sequence is roughly:

MTF, DTF1, VTG, GTQ ; copy address part of instruction into Q
ETJ, K1, READ ; read current B-register
MTF, QTF, FTG, GTM ; add B + address, put modified address into M
SFD ; permit function decode


To illustrate how a single microinstruction works, let’s look at matrix address C3, which increments the SCR in one matrix cycle:

OTG(1) clear G at t1
MTF gate M to F-unit input
1TF add carry-in / +1
FTG(2) gate F-unit result to G at t2
OTM(3) clear M at t3
GTM(4) gate G back to M at t4
WRITE write M back to store

The numbers in brackets correspond to tn timing pulses within one timer cycle, so each of these operations is staggered by only 100 ns. The full C-microinstruction sequence looks like this:

C-microinstructionAction
C0Reads/tests the word-generator path during manual or initial control. Decides whether to enter or obey the word-generator contents.
C1AEnters the word-generator value into the accumulator A, then returns to C2.
C1BObeys the word-generator contents as an instruction, then proceeds into the normal control path.
C2Selects the relevant SCR for the current program level and reads it into M. Also handles interrupt/program-level selection.
C3Increments the SCR value by 1 and writes the updated value back to the store.
C4Decrements the fetched SCR value back to the current instruction address, loads that address into J, then reads the instruction word into M.
C5Tests bit M18 to see whether B-modification is required. If set, move to phase C6A then C7; else, move to phase C6B.
C6BNo B-modification path: loads the function code from M into I, extracts the operand address, leaves it in M, and enables function decode with SFD.
C6AB-modification path, first step: loads function code into I, extracts the address field into Q, selects the relevant B-register, and reads it into M.
C7B-modification path, second step: adds the B-register value in M to the address field in Q, leaves the modified address in M, and enables function decode with SFD.

The normal execution sequence starts at C2, continues to C7, and then hands over to the function microprogram. Here is an ADD function being executed:

PhaseMatrix row Actions
Function-control finishC6BThe instruction function bits are loaded from M into the I register. The operand address field is extracted and left in M. SFD is asserted to enable function decode.
Function selectionend of C6BFunction Drive becomes active. The I register is decoded. Since I = 1, the rows of the ADD function matrix are enabled.
ADD operand fetch10The operand address in M is transferred to J; the store at address J is read into M.
ADD execute11The F-unit adds M and A. Result goes to G, then back to A.
Returnafter 11AA1-AA3 select return to Function Control, so the next row is C2, to start fetching the next instruction from the core.

Instruction Encoding and Addressing

An instruction is one 18-bit word, arranged as:

bit 17bits [16:13]bits [12:0]
(B) modifier(F) function(N) address

Addressing is simple, but not as basic as it first seems. The 13 address bits encoded in the instruction are relative to the current 8k region (or core unit) from which the program is executing. The SCR register is 16 bits long; the upper three bits [15:13] are prepended to the 13 bits from the instruction to form a full 16-bit address. This means that any block of code in any core can access the full size of the core it resides in. To access beyond the current 8k region, the B-modifier bit is set, and the 16-bit local address is added to the low 16 bits of the B register to form a new 16-bit address that can point anywhere within the 64k words of addressable memory. This is why the four interrupt levels store both the SCR and the B register in core, to allow quick switching between them without losing addressing accuracy. The hardware uses the Q register internally to temporarily store the original address before modification, so programmers should be wary of relying on Q’s contents after a B-modified instruction executes.

The small instruction set codes 20 instructions into 16 opcode values to fit the four-bit F field, using address (N) qualifiers to encode additional related instructions.

CodeMASIR mnemonicEffect
0LDBLoad B modifier register; Q is modified by the microprogram
1ADDAdd A := A + M[N]
2NEGNegate and add A := -A + M[N]; Q loaded from operand
3STQStore Q auxiliary value to memory
4LDLoad A := M[N]
5STStore M[N] := A
6COLCollate A := A AND M[N]
7JZJump if zero to N if A = 0
8JUnconditional jump to N
9JNJump if negative to N
10INCIncrement addressed store word by one least-significant unit
11STSStore sequence-control state
12MULMultiply Double-length A, Q := A * M[N]
13DIVDivide double-length A, Q by operand
14
SH
SH
Shift double-length A, Q; address selects left/right count
Block input/output if 2048 < N < 4095 or 4096 < N < 6143
15

IPO
IPO
IPO
TER
Reader input if N = 2048 teleprinter input if N = 2052
Punch output if N = 6144
Teleprinter output if N = 6148
Terminate current program level if 7168 < N < 8191
The 903 instruction set

Bootstrapping

Similar to the 803B, the 903 was bootstrapped with a hard-coded loader (or ‘initial Instructions’) that overrides some core locations. It consists of twelve words that occupy locations 8180 to 8191. These are stored in a diode matrix on physical CPU boards 35 and 36 and are sent to the M-register via matrix amplifiers. To start the loader, the operator sets up a manual jump instruction to address 8181. The first part of a tape is formatted to contain three words of blocks, before control is passed to 8177. These three instructions usually reconfigure the loader for the real loading process.

The tape format has multiple blocks of 7-bit characters, starting with fixed marker code ’76 ‘. The read loop left-shifts the read data by 7 bits and applies the next 7-bit character to the accumulator. The ’76’ character, when left-shifted 7 times, makes the accumulator negative (in 2’s complement), triggering the jump at address 8184. This then loads the final character of that word before storing it in the core and looping back. When all words are read, it jumps to 8177.

The idea is that, on the first pass, location 8180 contains a word which is interpreted as -3 when loaded into B. (Oddly coded as an instruction in the listing below). This causes the data write (address 8187) to start at address 8177 (B-modified, so 8180 + (-3) ), with writing continuing until B is zero; then it jumps to the fixed location 8177. This preamble tape header sets a new initial B value (again negative) but doesn’t store it at 8180. Next, it jumps to 8182, bypassing the instruction at 8181. The tape then continues to be read, loading the application starting from lower down in the core, and ends at 8177. This final location must contain a new jump that points to the actual application start address. When B is zero, the tape reader stops and jumps to 8177, which then jumps to the application. Simple, but clever.

The initial instructions look like this:

8180 /15 8189 Used as data, not normally executed. As an 18-bit word it is -3.
8181 0 8180 Set B from c(8180), so B := -3.
8182 4 8189 Load A from c(8189), giving the marker-detection seed pattern.
8183 15 2048 Shift A left 7 and read one paper-tape character.
8184 9 8186 If A is negative, jump to 8186.
8185 8 8183 Otherwise loop back to read another character.
8186 15 2048 Read the final character; A now holds one complete 18-bit word.
8187 /5 8180 Store A at address 8180 + B.
8188 10 0001 Increment location 1, the level-1 B-register storage location.
8189 4 0001 Load A from location 1, so A := B for the loop test.
8190 9 8182 If A is still negative, read another word.
8191 8 8177 When B has reached zero, jump to 8177.

The three-word preamble looks like this. The size of the application, including the extra ‘jump word ‘, is denoted by ‘x’

8177   0  8179   B := c(8179), so B := -x
8178   8  8182   jump back into the Initial Instructions read loop
8179      -x      number of following words to input

This means that loaded applications always sit at the top of the first 8k core, ending at 8176 to align with the initial instructions. In practice, the first loaded application was more likely a sophisticated secondary loader that could load program data into multiple blocks across multiple cores, usually with error-checking codes. Such a program was T23, from the Elliott software library. Program T22 usually produced it by prepending the T23 loader to a fresh tape before dumping the configured core section onto it. Data were laid out on the tape in a series of ‘directories’ where each directory specified a core start address, followed by multiple data words. A final ‘false directory’ record signified the end of the tape, and was immediately followed by a pair of checksum values to test the validity of the read data. An interesting observation from reading the manuals showed that there was a mechanism in place for sparse-coding runs of zeros, so they did not need to be punched onto the tape. When loading relocatable binary files (RLBs) produced by MASIR (see below), they used their own special RLB loader/linker instead of T23.

Programming

Software was still paper-tape-oriented, loaded from tape, with optional configuration tapes sent afterwards. The simplest way of creating software was via symbolic assembly, using either SIR (Symbolic Input Routine) or the later MASIR. SIR was already quite a capable assembler, supporting symbolic labelling, allocated named storage locations, constants, and so-called load-and-go support. However, MASIR is much more powerful, supporting parameterised macros, conditional assembly, function naming, and fully complete, relocatable binary support (RLB), with a linker-loader workflow. It also properly supported integration with FORTRAN and ALGOL-60 programs. Regardless of the assembler, the 903 shipped with a fairly comprehensive software library: QF/QFMATH for floating-point maths, including basic transcendental functions, logarithms, and similar, all in double precision (with QDLA). There was an SIR library for character I/O-based devices, as well as a specialised library for handling the magnetic tape device. A small collection of higher-level software was also supplied, including PERT (project planning and critical path analysis), ALMAT (ALGOL matrix library), ESP900 (ALGOL-based discrete-event simulation framework), and SHELLSORT (an implementation of the sift-sort record-sorting algorithm). Software libraries could be delivered as either source code or RLBs and linked into a program under development. The 903 era saw the early adoption of ASCII, though the standard was still in flux.

This particular machine was being used in a wet room, standing on its side, as a table for a model railway!

The machine also included ALGOL-60 and FORTRAN-II. These two high-level languages required 16 kwords of core store to operate in a single-pass “load and go” mode, but could run in only 8 kwords with two tape passes. I imagine that would become tedious quite quickly. Curiously, the Algol-60 implementation is not derived from the 803B version, but was based on the book “ALGOL 60 Implementation” by Randall and Russell. It did not allow recursion by default, but software patches were developed to disable the compile-time check and work around other limitations. Similarly, the 903 FORTRAN-II implementation was bespoke for the machine, but performance was apparently rather lacklustre, with Elliott recommending that speed-critical areas be written directly in SIR and linked in afterwards. Normally, the 8k version’s flow involved a first translation pass that produced a tape of SIR code. Next, the system loaded it into the SIR assembler/linker/runtime package to launch the program. Once the program was in core, it could be dumped back to another tape as a binary. There were two versions of FORTRAN for the 16-kword 903: the first was a 16k LG (load-and-go) version, with a reasonable maximum program length of about 120 lines, similar to the 8-K two-pass version. Finally, the 16k LP version is optimised for maximum program space (almost a full 8k core) but at the expense of the tedious two-pass translate-and-assemble flow. One extra option, available to the lucky owners of the 9 kc/s magnetic tape handler, was to use the FAS operating system to manage and store programs. Although not mentioned in the official manual set, the system also implemented the CORAL-66 language, geared toward real-time control applications and used in RADAR processing, among countless other similar areas. Finally, BASIC was also implemented, which was well received when second-hand 903s ended up in schools in the later years of its useful life.

Interrupt Handling

As mentioned earlier, the 903 has four operation levels, the first three of which are associated with interrupt inputs. These input signals can come from peripheral devices or from the switches on the operator panel if the machine is set to ‘operate mode’. Level one is the highest priority, and four the lowest. Asserted interrupts redirect normal program flow to one of three handlers, with interrupt handlers themselves interruptable by a higher-priority input. The hardware contains additional ‘interrupt demand’ bistable circuits to store pending interrupts from lower priorities, which will be serviced when the current higher-priority level has finished execution. Although the SCR and B register were saved automatically, the handler program still had to stash the accumulator and Q register somewhere in core before running its own code. When completed, it would also need to restore those registers before executing the TER instruction, which terminates all levels of the program. The programming manuals explicitly state that this functionality is not for ‘general’ applications, and they clearly nod to unspecified military applications of the functionally identical 920M, where such capability is critical to operations.

I/O and Peripherals

Two independent 18-bit I/O interfaces exist, one dedicated to the paper tape reader and teleprinter controller. The second is uncommitted and supports up to 2048 peripheral devices. The paper-tape and teleprinter controller was another standard 19″ rack inside the desk, providing logic and power for the paper-tape reader, punch, and teleprinter equipment. A basic paper-tape setup used a 250 cps reader and 110 cps punch mounted on the desk; the teleprinter stood separately and had its own 10 cps reader and punch. The standard peripheral interface was parallel and word-oriented: 18 data-out lines, 18 data-in lines, 11 address lines, two select lines, three interrupt lines, reply, block-transfer/last-word signals, miscellaneous lines and spares, for a total of 63 signal lines.

For multiple peripherals, the 903 could use a multiplexer providing up to eight peripheral socket channels divided into two groups. Peripheral class numbers used bits 8-11 of the instruction-code address, with bits 1-11 transmitted along address lines. In addition to the usual paper tape I/O, the 903 could be equipped with a 9 kcps magnetic tape drive and several digital pen plotter models. Finally, with a special adaptor board (the 4100 IMU), the 903 could also use peripherals designed for the Elliott 4100-series, such as a ‘scientific’ line printer and a card reader. All of these were connected via the rear panel. All these devices were still character-oriented, and the faster ones also used the interrupt lines.

Impact

The 903’s impact was not that it was a dominant mainframe. It mattered because it brought a serious 18-bit computer into places that could not justify, house, or monopolise a large central system: university departments, colleges, schools, small research laboratories, hospital and laboratory-equipment installations, and industrial process-control sites. The 900 series solved a related but wider problem: compact, rugged, real-time computing. Elliott’s own 920A fact book describes the target as on-line real-time work in mobile air-traffic control, navigation, weapon/fire control, satellite-tracking antenna control, and industrial systems. The architecture supported that by combining an 18-bit parallel processor, core store, paper-tape/software tooling, asynchronous I/O, and priority interrupt levels so a higher-priority program could take control when needed. The 903 was the civilian expression of that architecture, closely related to the 920 military machines. It made the same general computational style usable for teaching, scientific calculation, instrument control, plotting, line printing, magnetic-tape work, and process monitoring. In schools and colleges, it also provided an unusually direct route into real machine operation: paper tape, front-panel loading, SIR/ALGOL/FORTRAN, and visible peripherals made computing concrete before microcomputers became cheap.

The 903 bridged the large-machine computing culture of the 1960s and the later personal or departmental computer world. The 920 branch bridged early transistor computers and embedded real-time avionics/defence/process-control computing. Together, the 900 series shows Elliott turning one compact architecture into a family spanning education, science, industrial control and military systems.

Emulators and Software

References and further reading

Marconi TAC or Transistorised Automatic Computer

The TAC, also known as the Marconi type S3301, is a very interesting machine. It’s not quite a general-purpose office computer; it’s closer to a real-time controller, used for industrial or military applications. This particular example is one of the two identical machines used in a redundant configuration that formed the core of the Wylfa reactor monitoring system for the (now decommissioned) nuclear power station at Wylfa, on Anglesey, North Wales. Originally, these two computers were part of a five-machine consignment delivered to the Swedish government to implement the “fur hat” early-warning radar air defence system. However, they decided they needed only three machines to meet their design goals, and they ‘reallocated’ these two to civilian use, where they operated on Anglesey for almost 40 years. This likely makes them the longest-running operational computer system in the world. The machine is rare. Aside from the five built for Sweden, only two more (cut-down) and derived machines were built for the PANIC system, bringing the total installation base to just seven examples, if you count the last two. Online documentation is also rather scarce, with the only known set of original system documentation being held offline by the Computer Science department at the University of Manchester. Perhaps one day I’ll be permitted to access and digitise it for posterity, but for now we’ll have to roll with the limited details I could find online.

Physically, the TAC is a 20-bit-word machine that uses discrete (mostly) germanium-alloy junction transistors and diodes to implement logical elements. Of the four large cabinets, the first contains two banks of 2k-word magnetic core memory and the unusual two-phase 500 kHz clock generator.

The second cabinet holds the CPU, specifically the ALU, register files and the associated control logic. The third cabinet is the most interesting feature, containing the diode-matrix ROM which implements the microprogram store. This gives the TAC a simple, reliable way to implement complex instructions such as division, square roots, and trigonometric functions (sin, cos, tan, etc.). This means that the TAC is theoretically capable of customisable microcoding at the hardware level, although it isn’t known if this was actually done. In practice, this technique was used to minimise design complexity and improve reliability and speed.

By moving complex mathematical operations out of the software library and into hardware, the TAC could use its limited 4k words of core memory very efficiently, while operating at maximum speed. These are key aspects of a computer designed to model incoming bomber tracks in the context of national defence. Finally, let’s not forget cabinet four. It’s not exciting, but it is essential, containing the power supplies and I/O circuits to interface with peripherals and the wider application. The TAC was a paper-tape-based machine, as was standard for the era, using a discrete reader and tape punch, along with a magnetic drum memory system. This is also where the connections to the nuclear reactor’s turbine hall or the air defence radars were made, as specified in the original design brief. Such connectivity would have combined digital and analog interfaces. The TAC was apparently fed with hundreds of analog values in its monitoring capacity. Again, the designers custom-engineered such connectivity for the specific application.

An interesting detail in the logic design is that the designers adopted a non-homogeneous strategy in selecting components. Rather than using the fastest transistor type everywhere, the TAC uses the fastest (and by far most expensive) parts only where essential, and cheaper, slower parts elsewhere. The fastest parts of the computer actually use early silicon transistors (the 2N1257 part), which were very expensive, as well as newer so-called “micro-alloy” junction germanium transistors. The cheaper, slower germanium-alloy junction parts handled everything else. Don’t forget these newer transistors were incredibly expensive in the late 1950s/early 1960s, so it made economic sense, even if it meant added complexity in the power supply cabinet to support an additional set of power supply rails.

The machine was also designed in 1959-60, a few years before the Elliott 900 series. The TAC machines were delivered either in 1962 or 1963 (references differ) and were operational by 1964, a year before the Elliott 903 entered production.

Transistor1964 price2026 Equivalent [1]
Germanium alloy junction£0 7s 0d£9.20
Germanium micro-alloy junction£1 13s 6d£44
Silicon (2N1257)£6 4s 0d£163
Price equivalents of the three transistor types. [1] Adjusted for approximate CPI/composite index, but data from the 1960s on this is low-quality

The modular design of the TAC resulted in a staggering 40 individual power supply modules to feed its hungry circuits!

Final Thoughts

This machine is very rare; few were even built, let alone survived to this day. This rarity also means there is little public information about its technical details. Only people with access to the relevant archive at the University of Manchester Computer Science department, and a handful of people with first-hand experience, can expand on this. In the meantime, I’ll have to leave this section as it is.

References and Further Reading

ICL 2966

The ICL 2900 series was Britain’s answer to IBM’s dominance and a reaction to the 1968 merger that formed ICL from the remains of ICT, Elliott Automation, and English Electric. This required rationalising several incompatible computing architectures, such as the 1900, System 4, and Elliott 4100 lines. This machine sits in the upper-mid range of the 2900 series and is believed to be the last remaining example of its kind. It occupies a large portion of the museum’s largest room. Everything about it is big. The CPU alone is five huge cabinets, and its power consumption is shocking. This machine also generates enormous heat and noise, so it runs only occasionally, usually on weekends or special event days. When I visited, it wasn’t powered up, but the attached dumb terminal still showed activity. On these power-down days, the terminal is connected to a Raspberry Pi-based emulator running the ‘George 3’ operating system. This emulates a 1900-series mainframe, as this particular 2966 was configured to perform its original duties (actually running George 2+, not George 3) for Tarmac at their Ettingshall site near Wolverhampton until it was decommissioned in 1999. Volunteers rescued the machine and stored it for ten years before the TNMoC formed. Bob Whittaker alerted Tony Sale to Tarmac’s decision to decommission the machine (due to Y2K bug fears); ICL funded transport, and former Tarmac engineer Alasdair Lewis helped preserve the software, cables, and spares.

Interestingly, this machine was originally two 2950s, upgraded on site to 2966 specification. Although built in 1984, this machine remains sophisticated even now, especially with its virtual memory, protection, descriptors, and compatibility architecture. This machine was firmly in the mainframe era of computer design; it emphasised efficiently implementing high-level languages through a complex, highly parallel architecture rather than raw clock speed. It would have been used as a shared resource within an institution or large company, serving everyone from programmers to admins running payroll, as well as remote stations in satellite offices.

The machine supports up to two processor units, or Order Code Processors (OCPs), which have a 32-bit virtual address space. Up to 64 MB of DRAM could be installed, in the so-called ‘super-dual’ configuration. The OCPs support hardware stacks, descriptor-based addressing, segmented virtual memory, and at least sixteen hardware protection layers. These advanced features made it ideal for implementing high-level language features.

The hardware protection worked like a modern MMU, allowing the kernel and user applications to coexist in memory while remaining isolated from each other. The instruction set, or Primitive Level Interface (PLI), was the native architecture which allowed it to run different microcode sets (such as the older DME), enabling backwards compatibility with older systems such as the 1900 series. Older 1900 software could run alongside the advanced virtualised VME applications designed specifically for the 2900 series.

Design

Hardware-wise, the OCP electronics used MECL 10k logic, while the CAFS-ISP unit used proprietary VLSI, programmable logic arrays, and discrete logic. Memory was standard DRAM ICs, nothing special, just lots of it. Public information about the internals is rather sparse, but we can infer a few details. The CPU and supporting I/O controller processor occupy five large cabinets. In 2900-speak, the base 2966 single version contained one OCP (a CPU) dedicated to pure processing, plus a separate SCU (Store Control Unit) and one or two SCPs (System Control Processors). On top of this, the base model 2966 could also host up to four DCUs (Device Control Units), or DSCs (Decision Support Controllers). Dual and superdual configurations could handle up to six such units. The cabinet also housed the main memory. As the architecture makes explicit, one or two dedicated I/O processor units handle all I/O processing. This is a good thing, as a typical 2966 (like the TNMoC example here) was usually connected to a plethora of peripherals of varying types. Because the machine sat in storage for a long time and endured harsh conditions, restoration is still ongoing. In particular, the sensitive hard disk units don’t work well in the dusty museum space, so a storage emulator was constructed which uses an SD card.

One of the most distinctive features was descriptor-based addressing. A descriptor did not merely point at data; it described the kind of thing being addressed and the permitted way to use it. The architecture included descriptors for strings, code, system calls, and other structured objects.

The processors featured an instruction scheduler feeding a microcode processor, a two-stage pipeline, and a separate store-accessing unit. References suggest that while the OCP instruction pipeline was dual-staged, the microcode processor and store controller could support six simultaneous instructions. The 2966 memory system used 64 k-bit MOS devices arranged in store modules as 2, 4, or 8 MB blocks, with 2 MB expandability. Maximum memory ranged from 16 MB to 64 MB, depending on the exact model year and system configuration. The read cycle time was 750 ns, fetching 8 bytes per cycle. However, it did not support memory interleaving. All the advanced memory features, such as access control, translation, and traffic management, were implemented in the OCP store-access logic and the dedicated Store Control Unit (SCU). Peak bandwidth is reported as 19.6 Mb/s. The memory path included reliability features. All data paths between the processor and main storage were byte-parity-checked; when data was stored, parity was replaced with an error-correcting code: an 8-bit modified Hamming code per 8-byte doubleword, correcting single-bit errors and detecting most multiple-bit errors. From a software perspective, memory was organised with a 14-bit segment address and an 18-bit offset. The Store Accessing Unit used two fast-access slave stores: the Data Slave and Current Page Register Slave. The Data Slave had 64 cells arranged in pairs, each pair holding up to 32 bytes of data plus 32 bytes of addressing information, using a hashing/least-recently-used scheme, essentially a simple cache-like memory access accelerator.

A segment table contained the real physical address, segment length, and protection and access control information. This was hardware-assisted virtual memory with hardware-enforced access. One distinctive feature was descriptor-based addressing. A descriptor did not merely point at data; it described the kind of thing being addressed and the permitted way to use it. The architecture included descriptors for strings, code, system calls, and other structured objects. That made the machine especially friendly to high-level languages because the machine model could represent array bounds, procedure calls, stack frames, and protected system entries directly, rather than simulating them entirely through compiler convention.

Protection was also more elaborate than the simple user/supervisor split familiar from smaller machines. The 2900 architecture used a four-bit access-control register, providing sixteen protection classes, along with read/write locks and execute permissions. This let the operating system be structured as layers of trusted and less-trusted code, with controlled calls between them. It wasn’t identical to a modern Unix-style kernel/user split, but the family resemblance is clear: many programs could coexist in memory, and the hardware helped prevent one from corrupting another.

The operating system associated with the 2900 Series was VME (the Virtual Machine Environment). VME was built around the idea that each job should run inside a protected virtual machine, with its own view of memory, files, devices, and services. The hardware and system software were designed together: segmented virtual memory, descriptors, stacks, interrupts, and controlled procedure entry all existed to make those virtual machines efficient and reliable.

Processing speed was helped by 17-layer printed circuit boards providing matched interconnections and reducing pulse distortion

I/O Devices

The 2966 was configured with either one DCU/DSC pair or two DCUs. DCU1 was a general-purpose device controller, but DCU2 had higher throughput and supported up to 32 disk drives. The DSC was similar to DCU2 but incorporated CAFS-ISP, or ‘Content Addressable File Store – Information Search Processor,’ a co-processor designed to retrieve file information directly as a self-contained task, independent of the central processor. This was intended for workloads such as personnel enquiries, telephone directories, incident-report analysis, and other high-query datasets. The point was to let customers query their existing disks automatically, without rewriting them in a special format.

A typical 2966 had 8 MB of RAM, a DCU1, a DSC, an ‘operating station’, a 15-channel communications adaptor, some fixed and some exchangeable hard disks, tape drives, and usually an LP1130 line printer. In 1984 this would have cost approximately £560,000, which is more like £2.35 million in 2026 terms. Quite a big chunk of change.

According to the available catalogue information, fixed disks ranged from 160 MB to 651 MB, while removable units were smaller, from 79 MB to 200 MB. Tape controllers ranged from a snail-paced 30 KB/s to 780 KB/s. A super-fast (for the time) laser printer was also an option. The communications adaptor interface included up to two Synchronous Multi-Line Communications Couplers (SMLCC) and could handle 15 simultaneous lines at 9600 bps. The optional Network Processor System could expand this to 256 lines. These used ICL’s proprietary XBM protocol, but you could install additional adaptors to support the more interoperable X.25.

As with many contemporary computers, installing a 2966 was no small task. It demanded a dedicated power supply, extensive air conditioning, and careful monitoring to keep operating parameters within sensible bounds. The TNMoC has no air conditioning, so the team developed an alternative hot-air extraction scheme for ‘on steam’ days, but they still set an upper operating temperature limit of 42 °C, beyond which they shut it down to prevent damage. Apparently, in winter, when the machine is operating, the large machine gallery is the most popular place to hang out, simply because it’s the warmest spot in these old wartime buildings!

When I visited, the ICL emulator was running an early version of the classic text adventure game, Colossal Cave Adventure, with someone on hand to demonstrate. I admit, I’d never actually heard of this game before. It’s a little before my time, but that didn’t stop me from spending several months playing with it for another project. Check it out here, fully playable!

The 2900 architecture evolved into the Series 39, and later into Fujitsu-era systems after the ICL acquisition.

References and Further Reading

EAI PACE TR-48 Analogue Computer

Analogue computers have a special place in computing history. They don’t work the same way as digital computers. They aren’t programmable in the usual sense; instead, they are reconfigurable. Instead of building a fixed-function, general-purpose CPU and memory system and implementing the application in software, analogue computers are analogues of the system they simulate. This means they are somewhat limited in the types of problems they can solve, but for compatible problems, they are the perfect tool. Analogue computers originally were mechanical devices, and whole books have been written about them. But the more interesting (to me) kind are reconfigurable electronic simulators, programmed by wiring together fixed-function electronic building blocks such as integrators, summers, amplifiers, and related circuits.

The idea is to model a problem’s dynamics, for example, a car suspension system, write the system equations that model the motion, and then map those functions onto electronic building blocks. Next, set initial conditions and run the model, watching the simulated variables trace a response on an oscilloscope or plotter. Then you have your answer. Tweak the conditions or parameters, then run it again and again until you tune your system to perfection.

The TR-48 unit is named for its 48 transistor-based operational amplifiers. It was intended to support applications in satellite and aerospace, chemical plants, control and power systems, and education and research.

The TR-48 does not have dedicated summers or integrator blocks, as my vague introduction implied; these 48 op-amps are uncommitted and can be configured into any desired operating mode during ‘programming’. This makes this device very flexible.

Construction

The TR-48 consists of 12 modules. Each module has five basic positions. Every module has two dual op-amps and either one or two dedicated integrators. The integrator slots can be changed to swap in other nonlinear functions, such as comparators, multiplication, and ‘diode’ functions log x and x2. Some slots also have ‘trunk’ input and output blocks and connect to the readout panel. The fifth slot hosts the connections to the potentiometer group for setting coefficients or other parameters. The potentiometer group includes five multi-turn potentiometers for improved accuracy. The potentiometers are the device’s main interface, used to set operating parameters, initial conditions, and other input variables.

The machine’s patching area is removable, a common feature of these larger computers, to reduce labour-intensive patching. These ‘program boards’ can be stored until needed, enabling quick, easy switching between configurations for different use cases. This matters in a shared laboratory context, as the cost of the expensive machine may not justify individual projects or users.

Configuration

The machine is very flexible, with two slots in each group that can accept one of the alternative function modules. Changes like this obviously require coordination among the various users and projects that use the machine, but once a standard configuration is established, it should be straightforward to design around it. To swap a module, remove the pre-patch panel from the machine (including its patching cables), then undo a couple of screws and slide out the module. The new module slides in place and is screwed down. Next, change the matching part of the pre-patch panel to match the module. This ensures the correct signal configuration and makes the front-panel labelling match the actual connectivity.

The DFG (Diode Function Generator) modules can synthesise configurable transfer functions using a linear piecewise-approximation method. A series of potentiometers on the slide-out shelves mounted behind the control panel sets the function’s breakpoints and slopes.

That configures the machine, but you can only do the second part of the configuration once the problem has been mapped into blocks and patching has started. I will elaborate on that after we learn how to program this thing.

Programming

Programming an analogue computer like this requires a different mindset. Firstly, you need a mathematical model of your target simulation. This will likely be a system of differential equations. First, rewrite them as a set of first-order equations through mathematical manipulation. Next, select scaling factors for each variable and ensure they fit within the machine’s operating voltage range. Once you’ve rewritten all the equations and calculated the coefficient scaling factors, you can map the equations onto the amplifiers, configuring them as integrators where needed.

Programming the TR-48 and other similar analog computers requires quite a bit of mathematical manipulation of the system equations, so I’ve worked out a simple example on this linked page.

References and Further Reading

You can find reference reading at the end of the worked example page.

INMOS Transputer Development System

The INMOS Transputer Development System is less a system than an ecosystem of development boards and adaptors, often intended to run inside a PC or a dedicated VME rack. This unit appears to be an INMOS Transputer Evaluation Module (ITEM) model B201. I didn’t look closely enough to find a manufacturer’s mark, so I can’t be certain, but the basic structure looks about right. This case has ten double-height Eurocard slots and is clearly populated with eight INMOS B003 transputer cards. Each card hosts four T414 transputers coupled with 256 KB of DRAM. These are older 32-bit transputers that lack the built-in FPU of the T800 and later devices. The other card on the far right occupies two slots mechanically and is most likely a later B012 TRAM motherboard, which can host up to sixteen size-1 TRAM modules. I couldn’t determine much more from my short visit.

The TNMoC website briefly describes the machine, implying it has an array of ‘up to’ 64 T800 chips, but I don’t agree with the evidence from this image. The eight identical boards are very clearly older B003 cards, not later TRAM motherboards like the B012. It is possible that the T414s were field-upgraded to T800s at some point, but there are still only four sockets per card and eight cards, giving a total of 32 processors. The B012 card (if that is what it is) could host an additional sixteen T800s, each mounted on its own TRAM daughterboard. It isn’t quite the full 64 claimed, but it still would be a pretty exciting machine to own!

The Transputer

The Transputer was Britain’s attempt to enter high-performance computing. It had a radically different design philosophy from that of contemporary general-purpose microprocessors, designed from the ground up for parallelism and connectivity. The idea behind a transputer-based computing platform was that the CPU network itself was the computer, and that you could add more processing power to your application by simply adding more transputers. This idea works up to a point, until you realise that connectivity, not the individual processing elements, becomes the performance bottleneck; regardless, it was a radical and quite brilliant idea for the period. Anyway, instead of the traditional multiprocessing approach of multiple CPUs attached to a common backplane, with all the complexity that entails, transputers were designed to talk directly to local devices, and could be wired in many interconnect topologies, from simple chains and arrays to sophisticated hypercube nets.

Oxford Prof. Tony Hoare, who worked at Elliot on the 803B software was also a consultant to INMOS. His academic work on CSP (Communicating System Processes) became the foundations of the Transputer process model. Hoare’s other ideas around formal verifcation were used to great effect to verify the T800 floating-point hardware implementation against the formal IEEE 754 specifications, reputedly saving almost a year of manual effort. See this biography for more details.

Architected by (now Professor, Bristol University) David May, the early prototype chips (Simple 42, 43) were 16-bit, but demonstrated most of the features that typified the T400-series devices when they were released. The first commercial device was the 32-bit T414, with a mere 2 KB of fast on-chip RAM and an external 32-bit multiplexed data/address bus, giving it access to a whopping 4 GB of memory. Most importantly, it sported four dedicated serial link channels. Its unique architecture makes it less a traditional bus-oriented processor and more a message-passing processor. The chip has hardware support for occam light processes, with minimal overhead. According to Prof. May, INMOS implemented the software and hardware in parallel (an example of software/hardware co-design). They were so deeply intertwined that neither made much sense without the other. The Transputer was born as a multithreading, multiprocessing collaborative system; these features were not an afterthought, unlike with the x86 PC architecture most technical people are familiar with. Multiple occam processes could run on a single Transputer, communicating with memory-to-memory transfers or via chip-to-chip serial links. From a software perspective, there was little difference. Essentially, a single occam application could run across any network of any number of physical devices. This meant development could start on a small desktop system, then, when ready for deployment, easily transfer to a much larger ‘super cluster’ installation for the real task. As history will show, however, few of these massive superclusters of transputers were actually deployed.

The decision to use point-to-point links and on-chip memory was driven more by the limits of VLSI technology and electronics in general: multiple devices sharing a bus suffer from capacitive loading effects that limit bandwidth and fanout. Similarly, when many CPUs compete for centralised memory, the system slows down, especially since a signal leaving the chip and travelling across a PCB is inherently slowed down. On top of this are access-arbitration considerations, which add cost and complexity and also slow things down. It’s much faster to embed such memory on the same chip as the CPU. This also offers scaling benefits: doubling the transputer count doubles memory size and effective memory bandwidth. At least for compatible problems, since not all problems can scale in this linear fashion. External memory local to the transputer would also scale in the same way, although it would be significantly slower.

The T414

The T414 CPU core is stack-based and quite compact, with only 32 core instructions and a few specialised ones for long arithmetic and process scheduling. The core is microcoded and includes a scheduler that handles multiple concurrent processes, with two priority levels for automatic prioritisation, essentially split into foreground and background tasks. On-chip memory is 2k of static RAM with 80 MB/s bandwidth. Additionally, hardware timers support accurate process scheduling, and the system can boot from either ROM or a serial link. This is especially important for transputer network deployment. Whilst serial links are inherently slower than parallel mechanisms, those fitted to the T414 operate at up to 20 Mbit/s, which was considerable for the period. The T400 series transputers do not have hardware floating point, but do have a handful of floating-point support instructions to improve the performance of the software floating point library

Programming Model

The CPU has no conventional programmer-addressable general-purpose register file. Instructions instead use a small set of implicit internal registers. It has three registers: one to point to the workspace (W or Wreg), one to point to the next instruction (Ireg), and one temporary register to form operands (Oreg). All operands are stored in three 32-bit registers, accessed as a stack: A (top), B (middle), and C (bottom). Operations typically pop one or more arguments off the stack and push the result. Each running process has a memory area called the workspace, pointed to by the Wreg register. The workspace stores local variables, procedure parameters, and a few other items the compiler emits. The hardware provides no stack-depth checking or mechanism to handle evaluation-stack overflow. The compiler orders expressions and introduces workspace temporaries when necessary. The workspace also stores the instruction pointer when a process is descheduled, along with the channel, timer, and scheduling state used by the hardware scheduler. The workspace replaces a ‘normal’ frame stack, and the actual hardware stack replaces dedicated registers. This trades some register-allocation flexibility and may increase memory traffic, but gives compact code and exceptionally small process-switching state. There are also some additional registers to handle process queues (Fptr0/1 and Bptr0/1) as well as timers. Finally, there are a pair of single-bit error flags, called Error and HaltOnError, which are bits in the StatusReg.

The timers increment at fixed intervals of 1 us and 64 us, respectively, with the scheduler time slicer operating at 1024 us. These are the fundamental time periods used within a typical Transputer application. The system has two process priority levels. High-priority processes generally run until they are blocked or reach a designated scheduling point. Low-priority processes (or background processes) are time-sliced, although not arbitrarily; they are scheduled at defined points in execution and can run for one or two time slices at most. Of course, time-slicing matters only if such low-priority processes run on the same Transputer!

Transputers are intended to be programmed using occam; in fact, in the early years there was no documentation of the hardware registers or instructions, and only the occam compiler was provided. After user complaints, INMOS eventually relented and provided a full set of manuals and compilers for other, more common, high-level languages. But nothing really makes as much sense on a Transputer as occam. Many Transputer instructions exist only to implement specific occam features; this is the degree of co-design between hardware and software.

Occam Process Model and Hardware Support

Occam and the Transputer are designed to be multiprocess-oriented. To work with this system, you need to abandon the prevalent single-thread mindset and think more in parallel. The process is the fundamental building block, and you can build it from multiple child processes. Processes communicate across named channels by sending data or triggering events, either internally between processes on the same chip or externally to another process on a different chip via the communication links. The neat part of the design is that the code looks the same whether communication is on-chip or not; only the channel address differs. It isn’t magic; you still need to split the task across chips yourself, but occam makes it really simple. The inter-chip connection topology defines how data from one chip (or node) reaches a remote node, but as long as a viable route exists, it will work.

Iann Barron was one of the co-founders of INMOS, developing the original Transputer product concepts, system-level architecture as well as some of the parallel processing concepts. He hired the developement team and arranged the funding. He was also the chap (at age 21!) tasked with the design of the Elliot 802 and later the Elliot 803 computer described earlier!

Five transputers can be fully connected using all four links, but one node needs special consideration for boot-from-link if required.

For example, you may have created a simple network with four devices linked in a simple chain like this: 0 -> 1 -> 2 -> 3. If you need to send a message from, say, node 1 to node 2, no problem, since they are directly wired. But sending a message from node 1 to node 3 has no direct route. This requires node 2 to act as a router and pass the message to its neighbour. This kind of routing and connectivity problem helps dictate the network topology for a particular set of problems, but as long as a forwarding mechanism is in place, a route always exists. The bigger problem is configuring nodes for maximum efficiency without sending most data through intermediaries. One solution that works for five nodes, each with four links, is a fully connected net, where each node connects directly to its four neighbours. This leaves no spare link for a permanent external host connection; link boot would require switching or reusing one connection, or booting from ROM. I’ll talk more about that later. Anyway, this illustrates one aspect of Transputer programming: ensuring messages get to where they need to go, preferably without some tortuous route.

SEQ, PAR, and Processes

Occam requires an explicit structural declaration of intention when describing processes. There are two main classes of process constructs, the SEQ and PAR blocks. The SEQ, or SEQUENTIAL, statement is used to declare the following indented code block as a series of sequential statements, i.e. actions that proceed linearly from top to bottom. This is what you might expect when you read a block of C code or Python. For example, in occam:

SEQ
      result := x * y
      result := result + 1

This takes variables X and Y, multiplies them, then adds one to the result. Actions are performed one line at a time, from top to bottom. The SEQ block requires its code below to be indented with two spaces. The SEQ block above is a single process. It may also be embedded within a named procedure like this:

PROC calculate (VAL INT x, y, INT result)
  SEQ
    result := x * y
    result := result + 1
:

If a procedure has only a single statement as its body, then the SEQ statement is not required. Obviously. This isn’t particularly interesting, however. The PAR (or PARALLEL) statement is where things get more spicy. PAR specifies that all following processes should be executed as separate tasks, managed by the hardware. The PAR statement creates workspaces and sets up the scheduler. Essentially a cheap fork() but for tiny fragments of code which can spin off quickly, hook up to other processes and even communicate off-chip. All within a simple block of occam code. The point is to make this cheap and fast, with minimal overhead during task switching. The hardware architecture and supporting instruction set were specifically designed to support this. In addition to SEQ and PAR, there are a few more basic constructs that complete the set: IF/WHILE and ALT. The first are the basic conditionals. ALT is a little more interesting.

Before continuing with the ALT construct, it makes sense to first talk about channels and occam applications. Data are sent between processes using the ‘!‘ (OUT) and ‘?‘ (IN) operators like this:

  PROC local.example ()
    VAL INT X IS 42:
    INT received:
    CHAN OF INT local.channel:
    PAR
      local.channel ! X
      local.channel ? received
  :

This obviously contrived example does no useful work. However, it does illustrate the syntax nicely. Where you see periods in identifiers, they don’t refer to an OOP paradigm; they’re simply a common occam naming convention, since the period is permitted in named procedures and variables. This example creates a local named channel (called local.channel) capable of sending type INT. It uses a PAR construct to send the value of X (initialised to 42, obviously) and receives it into received on the other process. In practice, these two processes would be much more separated in the code. Although the two processes within the PAR run in parallel as two independently scheduled processes on the same processor, the receive side blocks until the send side transmits its data. The scheduler automatically puts the receiving process to sleep. When the sending side has completed, it terminates. The send operation on the channel wakes the receiving process, which the scheduler queues by priority. When it reaches the execute stage, it wakes, receives the value, and promptly terminates. Similarly, the receiver doesn’t have to be the one put to sleep waiting on the sender; if the receiver isn’t ready to take data, the scheduler puts the sender to sleep instead. It all just depends upon which side is ready first.

When the sender and receiver are on separate physical devices, the code will obviously need to be a bit different, but logically it’s the same. Here’s a simple example with two source files, one per device and a separate configuration file to wire up the hardware. This configuration file also links procedure names to the application code (red highlight); the individual nodes (or Transputer devices) are declared and linked (blue highlight) by association with the physical link channels, as wired on the PCB. This config file is the clever bit because it declares the complete hardware topology. In later toolchains, the compiler can automatically connect named procedures across devices, regardless of the underlying connectivity details. For earlier versions, the configuration file defines connectivity explicitly. Anyway, the bottom line is that channels are unbuffered, synchronised, unidirectional, point-to-point communication paths with hardware-supported interlocks.

  sender.occ:
  PROC remote.sender (CHAN OF INT output)
    INT X:
    SEQ
      X := 42
      output ! X
  :

  receiver.occ:
  PROC remote.receiver (CHAN OF INT input)
    INT received:
    input ? received
  :

A configuration file, say pair.pgm, places them on two connected T414s:

  #INCLUDE "occonf.inc"
  #USE "sender.lku"
  #USE "receiver.lku"

  NODE sending.transputer:
  NODE receiving.transputer:
  ARC host.arc:
  ARC data.arc:

  NETWORK pair
    DO
      SET sending.transputer
        (type, memsize := "T414", 1 * M)
      SET receiving.transputer
        (type, memsize := "T414", 1 * M)

      CONNECT HOST TO
        sending.transputer[link][0]
        WITH host.arc

      CONNECT sending.transputer[link][1] TO
        receiving.transputer[link][0]
        WITH data.arc

  CONFIG
    CHAN OF INT remote.channel:
    PLACE remote.channel ON data.arc:
    PAR
      PROCESSOR sending.transputer
        remote.sender (remote.channel)

      PROCESSOR receiving.transputer
        remote.receiver (remote.channel)

The astute may have noticed that this example declares two ARCs; one is our process-to-process link and the other is declared as ‘HOST TO’. This connects the first physical processor (our ‘sender’) back to the system host controller. We use it to boot, deploy applications from the development host, and debug when things don’t work as expected. The configuration file is more than just a description of the physical hookup. It’s actually conceptually closer to a main() routine. It instantiates application processes, defines which procedures run on which processors in the network, and describes the communication channels and their connectivity. Anyway, now that we know about processes, channels and connectivity, we can finally talk about the ALT construct.

The ALT Construct

[aside: that’s ALT construct, not VOID Construct, the early 2000s Southampton-based, electro-industrial/EBM band, which was where my mind was wandering off to.]

ALT works similarly to the UNIX select() call, in that it can wait on channels associated with processes. Each alternative begins with a ‘guard’. In classic occam 2, that’s a channel input, delayed timer input, or SKIP, optionally preceded by a Boolean condition. UNIX select() can take a list of file descriptors (essentially I/O channels) to watch, and blocks until data is available to read (or space to write) or a timeout expires. When the call returns, you usually execute a long case statement or an IF...ELSE chain to determine what happened, then take the appropriate action. I can illustrate this with a contrived example:

  WHILE TRUE
    ALT
      keyboard ? char
        handle.key(char)
      network ? packet
        handle.packet(packet)
      clock ? AFTER deadline
        handle.timeout()

The conceptual Unix equivalent is:

  for (;;) {
      select(...keyboard_fd..., ...network_fd..., ...timeout...);

      if (FD_ISSET(keyboard_fd, ...)) {
          read(keyboard_fd, &c, ...);
          handle_key(c);
      } else if (FD_ISSET(network_fd, ...)) {
          read(network_fd, &packet, ...);
          handle_packet(packet);
      } else {
          handle_timeout();
      }
  }

The example waits for a keyboard character to be available, a network packet to arrive, or a timeout to occur. The UNIX version could actually be written as a list of IF statements, since it is possible for multiple file descriptors to be ready for each call to select(), but our version here is closer to the behaviour of the occam version. An ALT is one process examining several guarded alternatives. If none of its enabled guards is ready, that single ALT process is descheduled. The alternatives are not separately scheduled processes.

When one or more guards are ready, exactly one input and its associated process are performed. They do not proceed in parallel. If multiple guards are ready, ordinary ALT makes an unspecified choice; PRI ALT selects the first ready guard in source order. You normally wrap it in an infinite loop so it captures all incoming events. If a process isn’t ready, the scheduler automatically puts it to sleep. When they wake up because data is available, they are pushed to the back of the runnables queue and will eventually get processor time.

One neat hardware trick that makes the ALT construct efficient is how context saving works. When the ALT runs, all blocked processes are descheduled. In this case, the single process executing the ALT saves its resume instruction pointer at workspace offset −1 if it must wait. Its descriptor may then be registered on each enabled channel guard. For each allocated channel, a word in memory holds the process descriptor for the associated channel. This means that when a channel is ready, it can quickly identify the process and move it to the back of the runnable queue, ready to execute. Essentially, this mechanism relies on hardware-assisted data pipes: processes automatically sleep when waiting, then wake to process data before sleeping again. It requires no software intervention, has minimal task-switching overhead, and uses automatic rendezvous synchronisation to avoid many conventional shared-memory races. It’s a very clever architecture, well thought out and executed.

Instruction Encoding and Addressing

The T414 has a variable-length, byte-oriented instruction word. Instructions are fetched from memory in 32-bit blocks but accessed byte by byte. Two basic groups exist: direct and indirect. There are sixteen direct instructions, all of which are a single byte and encoded as a function code in the high-order nibble, and an operand fragment in the low-order nibble:

Opcode (Hex)Mnemomic Function
0xJRelative jump
1xLDLPLoad local pointer
2xPFIXPositive prefix
3xLDNLLoad non-local
4xLDCLoad constant
5xLDNLPLoad non-local pointer
6xNFIXNegative prefix
7xLDLLoad local
8xADCAdd constant
9xCALLRelative call
AxCJConditional jump
BxAJWAdjust workspace
CxEQCCompare with constant
DxSTLStore local
ExSTNLStore non-local
FxOPRExecute secondary operation
Base direct instruction set.

None of these instructions operates on data; they set up the environment, move data, and control execution flow. Data loading and prefixing are fundamental to understanding the Transputer machine code, so let’s go deeper on that next.

Loading a 32-bit immediate constant

LDC constructs the constant four bits at a time through Oreg, which is a real 32-bit register used as an intermediary. A full arbitrary 32-bit constant needs eight operand nibbles, which are prefixed with either the PFIX (Positive) or NFIX (Negative) prefix instruction. The following assembler instruction is encoded as follows:

LDC #12345678

is encoded in memory as:

0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x48

Equivalent assembly:

PFIX #1 ; 0x21 shift in nibble 0x1
PFIX #2 ; 0x22 shift in nibble 0x2
PFIX #3 ; etc...
PFIX #4
PFIX #5
PFIX #6
PFIX #7
LDC #8  ; shift in nibble 0x8 and stack the result 0x12345678

So that’s eight bytes or two words to store a single word on the stack. This may seem inefficient at first, but when most code manipulates only bytes, instruction density can be very high, and prefix-oriented encoding also makes the CPU core very small and efficient.

The majority of instructions, however, are indirectly encoded using the PFIX instruction to extend the opcode length and the final OPR instruction byte to specify the final nibble. It’s quite an elegant solution to variable-length instruction encoding:

OpcodeEncoding in memoryMnemonicFunction
4624F6ANDBitwise AND
4824F8ORBitwise OR
3323F3XORBitwise XOR
3223F2NOTBitwise invert
4124F1SHLShift Left
4024F0SHRShift Right
05F5ADDAddition
0CFCSUBSubtraction
5325F3MULSigned Integer Multiply
7227F2FMULFractional Multiply, format 1.31
2C22FCDIVDivision
1F21FFREMRemainder
09F9GTGreater than
04F4DIFF(Unchecked) Difference
5225F2SUMSummation
08F8PROD(Unchecked) Product, modulo 232
Indirectly encoded arithmetic and logical operation instructions; note the highlighted instructions in bold are only a single byte.

INMOS chose to encode the most likely or frequently encountered instructions as single bytes; reference material implies that, in tested code, about 80% of opcodes were single-byte, significantly boosting code density. There are three different multiply operations; MUL and FMUL are checked multiplies that can overflow. Both operate on the top two stack values, and stack a 32-bit result. For larger values, there are long-multiply instruction variants. The fractional (FMUL) version operates with a single bit before the decimal and 31 bits of fraction, so has an input range -1…+1. The PROD instruction is unchecked and is useful for array-subscript calculation. The unchecked DIFF is useful for modulo arithmetic as well as address calculations, and of course GT is fundamental to loops, bounds testing and conditionals. Although not specifically intended by design, these single-byte opcodes are also useful for dense DSP-style programming, which INMOS was keen to point out in marketing materials.

Most binary operations work like this: the stack has three values preloaded, A, B, and C, with A on top.

A := B operation A
B := C

So, the checked addition ADD consumes A and B from the stack, adds them, pops the stack to push the next value C into position B, then pushes the result into A. The old C value is now one of the operands of the next operation. The result in A must be written to memory with STL or STNL to save it. A subsequent instruction may consume it. Essentially, as each binary operation is processed, the stack is popped twice and pushed once with the result.

Finally, the single unary operator, NOT, doesn’t pop the stack, so simply negates A and writes the result back to A.

There are also long variants of the basic arithmetic and logical operations.

OpcodeEncoding in memoryMnemonicFunction
1621F6LADDLong addition
3823F8LSUBLong subtraction
3723F7LSUMLong summation
4F24FFLDIFFLong difference
3123F1LMULLong multiply
1A21FALDIVLong division
3623F6LSHLLong shift left
3523F5LSHRLong shift right
1921F9NORMNormalise
Indirectly encoded long arithmetic and logical operations.

Long arithmetic is more interesting. With these operations, each value on the stack has a specified usage. For example, LSUM and LADD combine together to allow arbitrary-length addition, like this:

LSUM performs an unsigned limb addition operation on 32 bits. A & B are the two operands, with the LSB of C the carry input (initially zero). The outputs are written to A for the limb sum and the LSB of B for the carry output. Multiple LSUMs are chained together to process all but the final 32-bit word, which is performed with LADD, which handles the final signed addition of the final two operands in A & B, again with a carry-in bit in C. This operation can overflow and sets the error flag appropriately. Similarly LDIFF and LSUB are paired for the equivalent long subtraction. LMUL performs a full 32 x 32 multiply of B x A with C providing the carry-in, and forms a 64-bit result by pairing two stack values, B : A. As with LSUM, LMUL also can perform limb multiplication for extended precision, in which case B is used as the carry out to subsequent LMUL operations. Other operations use different combinations of the three stack registers.

Several special opcodes support software-supported floating-point libraries, indexing, byte-oriented access, and even a single-instruction block-copy operation. Special high-level instructions also manipulate processes, channels, and timers, directly supporting occam constructs. Details are in the following references, for those suitably motivated.

Bootstrapping

Transputer booting is quite interesting. There are two modes, selected by the BootFromROM pin; when high, the processor jumps to address 0x7FFFFFFE. This is expected to contain a jump to the start of the boot ROM, below this point in memory. This allows for different-sized boot ROMs. When the pin is low, the transputer enters boot-from-link mode. In this mode, the transputer waits for a control byte on any link. If it receives one, it selects that link as the boot link. Regardless of the boot mode, the RAM, if present, is already initialised and ready for the bootloader to use. The first byte to be received is usually interpreted as a byte count. It is immediately followed by a stream of up to 255 bytes, loaded into internal RAM at the bottom of the address space, after the reserved area. This is the first-stage bootloader, which is launched as a normal low-priority task. It’s usually expected to fetch a larger, more capable bootloader from the host and jump to it. The occam compiler creates this second-stage bootloader, which understands the system topology. The second-stage loader passes a copy of the bootloader over the network to neighbouring nodes, which then propagate it. Once the network is fully booted, this second-stage loader can fetch the final application, deploy it across the network as required, and start the application processes. The Occam compiler also handles boot-program generation, configuration, and embedding the application into the bitstream.

Later Transputer Devices

While the T414 was the first practical device for large network deployment, it was by no means the last. The later T800 series added a 64-bit FPU, doubled the SRAM to 4 KB, and added a host of new integer instructions, such as 2D block moves, intended to support graphical applications. Contemporary reports indicate that, at the time of release, the T800 FPU was the fastest microcomputer floating-point implementation available. The integer-only T400 series evolved into the T425, which included all the T800 improvements except the FPU. Additionally, the low-cost 16-bit T200 series was extended, adding some new features from the T800. Beyond new Transputer devices, TRAM modules were developed, providing CPU and RAM, plus special features that made deployment easier and allowed field upgrades.

The Future…Or Not As It Turned Out

Hot on the heels of the faster T800 series came the much more advanced T9000. This was a complete reimplementation of the transputer architecture, planned to be a whopping ten times faster than a T805, but in practice it was closer to four times, according to a CERN report on their CPLEAR experiment. CERN created a network of 54 prototype T9000 devices connected via 20 C104 32 x 32 programmable virtual router devices. They reported many serious bugs, signal-integrity problems on the redesigned serial links, and comparatively slower FPU performance. By the time INMOS fixed many of the problems, the devices were so delayed to market that more conventional devices had already surpassed them in performance, and the Transputer, as well as INMOS, faded into obscurity.

Resources and More Reading

Online resources

  • INMOS collection at the Centre for Computing History — photographs, catalogue records and background material covering INMOS hardware and documentation.
  • TeaAndNotTea INMOS Transputer archive — manuals and other reference material, including the Transputer Development System.

Books

The following books may be available through the Internet Archive under its controlled digital-lending scheme. Borrowing normally requires a free account.

Acorn ARM610 CPU Card

This module is the main CPU card for the 1994 Acorn RISC PC 600 machine. It comes from an interesting period in the history of the Acorn Archimedes when progress in the development of the ARM CPU was so rapid that Acorn decided it was safer to place the CPU on a removable module so it could be replaced by the end user when a faster version became available, rather than risk obsoleting the wider machine so often. It was a shrewd marketing decision that spawned a whole series of ARM and StrongARM CPU cards from both Acorn and third parties. This module is not the first example of this CPU-card strategy, but it is interesting because of the processor it hosts. The CPU is an ARM 610 running at 30 MHz (see the 60 MHz crystal oscillator module); later versions ran slightly faster at 33 MHz. The card is quite simple, hosting only the CPU device, its local clock circuit, and some interfacing logic. Some third-party upgrades added memory to the card to counter the slow system memory that plagued earlier machines, but this card is an official Acorn unit and as simple as it can be. This card was produced during the early years of Advanced RISC Machines Ltd’s spin-off as a separate CPU provider, which still exists today and remains one of the largest providers of processor IP to chip designers. By mid-2025, ARM reported having shipped an astonishing 310 billion deployed devices, from low-end embedded systems to flagship mobile phones. Chances are you’re reading this on a device powered by an ARM core; if not, you’re likely not far from one.

Previous ARM2 and ARM3 Devices

The ARM2 was the first ARM device that had wide adoption. It was based on the same core architectural principles as the ARM6 series, including most of the instruction set and pipeline. The ARM3 added a 4 KB unified cache, the internal CP15 system-control coprocessor, and an atomic swap instruction. Both architectures combined the program counter with the status bits in R15, giving only 26 bits of addressing and limiting applications to a meagre 64 MB. Anyway, back to the ARM 610. This is a fully 32-bit RISC (Reduced Instruction Set Computing) device based on the ARMv3 architecture. It had a proper MMU, so it supports virtual memory, access protection, and demand paging. It had the same on-chip cache but added a write buffer to improve memory performance. Internally, the chip has a three-stage instruction pipeline, with 37 physical registers and 4 KB of unified cache (covering instructions and data). Curiously, it could also run in either big- or little-endian mode. Many instructions can be handled in a single clock cycle, while longer operations such as multiplication take multiple cycles. The CPU is very simple: a three-stage fetch-decode-execute pipeline and a single ALU. It lacks speculative execution, branch prediction, register renaming, and other features found in modern ARM cores.

Programming Model

The ARMv3 architecture allows thirteen general-purpose 32-bit registers (R0-R12). R13 is usually reserved for the stack pointer, R14 for the link pointer (return address), and R15 is the program counter. R13/R14 don’t actually have to be used this way; it is merely an ABI convention, but one you would be wise to adhere to. In fact, that’s not quite accurate; R14 is written to automatically by the BL (branch and link) instruction, so you can’t always use it freely. It also has a dedicated status register (CPSR), which is a big improvement over the combined 26-bit program counter and status register in ARM2/3. This gave ARM610 programs a much larger address space than the earlier 64MB limit for RISC OS applications. That said, the device has a backwards compatibility mode that lets it run older 26-bit applications, which was good, as the Acorn software back catalogue was considerable at the time. Curiously, in this mode RISC OS used 26-bit program addressing, but 32-bit data addressing. Alongside the register set are banked copies associated with the six operating modes (e.g., user, supervisor, IRQ), and some registers have dedicated copies for each mode. For example, Supervisor and IRQ operating modes have private copies of R13 and R14. The Fast Interrupt (FIQ) mode goes further, with its own copies of R8-R14. This reduces latency when handling high-priority interrupts from I/O devices that require prompt servicing. It lets the handler start immediately without first saving state to memory, making it ideal for embedded systems.

While I’m on the subject of operating modes, two special modes are worth mentioning: Abort and Undefined. Abort is triggered when a program cannot complete a memory access. This mechanism supports memory virtualisation, protection faults, and hardware memory failure. Abort can be triggered by either instruction fetching or data access, and the system handles both separately. This is an operating system feature, and user programs do not use it directly. The second mode, Undefined, relates to undefined instructions. This triggers when the CPU tries to decode an unknown instruction, fails, and instead throws this exception, branching to a dedicated handler. This enables software emulation of user-defined instructions, such as floating-point. This is especially helpful because the ARM610 lacks a hardware FPU and, more critically, doesn’t include the external coprocessor bus the ARM600 features. The larger ARM600 package provides the full bus, enabling connection to a wide range of coprocessors, such as the 2-5 MFlops FPA10 floating-point unit, but this CPU card likely omitted it for cost and complexity reasons.

Instruction Set

The ARMv3 instruction set predates the compact thumb instructions added in ARMv4T. All instructions are 32 bits, and all arithmetic operations are register-to-register, not directly from memory, in the typical ARM load/store style. To use operands from memory, you must first load them into registers. ARM has an ‘interesting’ definition of RISC, with some operations performing quite complex operations. The ALU has two separate components: a dedicated barrel shifter that operates on one argument before passing it to the main ALU, along with the second operand (if required). All ‘data processing’ instructions can take this second operand to perform a shift operation. In parallel, all instructions can conditionally test the status register to gate execution. This makes for some very compact code.

For example, this C fragment:

if (!<some test>) reg++

would be encoded as a single instruction:

ADDNE r0,r0,#1 ; ADD if zero flag reset

Which adds (1) to the R0 register only if the previous test resets the zero flag.

Similarly, a compound arithmetic statement such as this:

a = b + c * 4; asuming a = R0, b = R1, c = R2

Is encoded as a single instruction:

ADD r0, r1, r2, LSL #2

The compiler would implement the fixed multiply-by-four as a left-shift-by-2 (c << 2) operation, effectively for free. Of course, you can apply both the free barrel shift and conditional execution to the same instruction for even more functionality per clock.

Condition Codes

The condition code flags are important, so let’s dig deeper. Every test, compare, or arithmetic operation can set flags in the status register (CPSR). There are four flags, with standard names and functions:

CodeMeaning
ZZero. The operation resulted in a zero value or a comparison tested true.
NNegative. The result is less than zero in a signed operation, or simply bit 31 is set.
CCarry. An operation produced a carry-out (or no borrow) of the MSB from an unsigned operation.
VOverflow. A signed arithmetic overflow occurred.
The standard ARMv3 condition flags in the CPSR register.

The instruction opcode has a reserved 4-bit field at the top that can code for one of sixteen condition codes, one of which codes for ‘always’ and another is undefined. The remaining fourteen useful codes are:

MnemonicMeaningMnemonicMeaning
EQEqualVCNo Overflow
NENot EqualHIUnsigned Higher
CS/HSCarry Set / Unsigned Higher or sameLSUnsigned Lower or same
CC/LOCarry Clear / Unsigned lowerGESigned Greater than or equal
MINegativeLTSigned Less than
PLPositive or zeroGTSigned Greater than
VSOverflowLESigned Less than or equal
Condition code mnemonic suffixes and their meanings.

These Mnemonic codes are suffixed to any instruction to form the conditional version, so ADD becomes ADDPL for the “if Positive, or zero” conditional version. The final piece of the mnemonic encoding is an optional ‘S’ suffix. If this is added, the CPSR is updated with the result of this instruction; otherwise, it is unchanged. Thus ADDPL becomes ADDPLS for the full “if Positive, add these, then update status”. This optional status update is curious, but it makes sense if you want to reuse an earlier test result to gate a whole sequence of instructions as a small block. Of course, you need to ignore the status of the operations in such a block, and this makes sense in some use cases. This conditional-execution behaviour is now a historical curiosity, as modern ARM cores can’t predicate all instructions this way. In modern implementations, it is more targeted and refined, or, in AARCH64, not possible at all.

The actual base instruction set really is quite RISC; it is very minimal:

ARMv3 Instruction Set Summary (screenshot from the ARM610 Datasheet)

As the table shows, there aren’t that many instruction classes, especially once you remove the three dedicated to programming the coprocessors. On the ARM610, you can use these only with the built-in CP15 system control coprocessor. That interests only operating system programmers. That said, you can also use this mechanism to access software-emulated coprocessors for compatibility reasons.

For the ‘data processing’ class, there are 16 possible opcode encodings, which cover the basic arithmetic and logical operations and the test and compare operations, all with optional shift operations. The instructions optionally set the status flags, which can in turn be tested by following operations using the condition codes. It’s really quite elegant.

Hardware

The Acorn RISC PC 600 motherboard has a pair of CPU slots on top. The front slot usually contains the host ARM-based CPU card, like the ARM610 card we’re discussing here. Later cards were faster, with the final versions hosting the much faster 233 MHz StrongARM CPU. The rear slot could host a second CPU card, often based on an x86 device such as the 486 or 586 series. It wasn’t intended to host a second ARM card for symmetric processing, in the modern multi-CPU or multi-core sense. The x86 card let RISC OS run many DOS and even Windows 3.x applications as a guest on the same desktop as regular RISC OS apps. It was very forward-thinking for the time. The motherboard has the necessary hardware support to make this happen, specifically the IOMD, which handled memory and I/O, especially the floppy and IDE interfaces. The VIDC20 is the video processor. It could also be optionally upgraded with up to 2 MB of dedicated dual-port video memory to substantially improve performance. The memory subsystem consisted of two 72-pin SIMM sockets that could support up to 256 MB of DRAM, though no RISC PC at the time had that much RAM. It had a dedicated network interface connector that could support Econet or Ethernet. Finally, it had multiple so-called podule connectors, which were later updated to support 32-bit access and DMA. Podules (or expansion cards) supported SCSI, Ethernet, MIDI interfacing, TV tuners, video digitisers, and all manner of other special application cards. Sadly, history shows that the lure of x86 and its software ecosystem was too much for the RISC PC to survive long.

Resources and More Reading

Data General Nova 8K Core Memory Module

This interesting piece of history is an 8K-word core memory module taken from an early 1970s Data General Nova minicomputer. At first glance, the board shows a curious technological dichotomy: magnetic-core memory sits alongside much more modern integrated semiconductor logic. However, there is logic (pun intended, nay, required) in such madness. When the computer was produced, Intel had just released the 1103 MOS DRAM chip. However, because this module provided 8k words x 16 bits of rugged, reliable, and well-characterised memory, a PCB with 128 individual unknown-reliability chips, while likely cheaper than the core version, would have been a considerable risk. Data General offered MOS memory modules alongside the core-based modules, but performance gains were limited until this new technology matured.

Simplified Nova 8k core array driver, showing either X or Y. Source: Data General Technical Manual for Nova 2.

Core Array

The Nova core array is nothing unusual for this type of memory. Each core plane in the stack is assigned to a single bit in the machine word. For the 16-bit Nova, there are obviously sixteen core planes. Each core plane has 8k bits, arranged in an X-Y array. At each wire crossing, a ferrite core lets both wires pass through. Each core’s magnetisation state stores a single bit of data, based on the magnetic field’s polarity.

As the simplified array driver circuit shows, each X or Y wire can be driven in either direction. Although the ICs aren’t identified, we can assume they have push-pull outputs using a bipolar output stage. This lets each end of the wire drive to power or ground, steering current in the required direction to alter the magnetisation of the ‘selected’ core. Although many cores are threaded onto each wire, the current through the wire is insufficient to change a core’s magnetic state. Only cores with both the X and Y lines carrying current see a strong enough field to change state due to magnetic hysteresis. This lets a limited number of drivers address many cores.

Each core in the array also passes a third wire: the shared sense-inhibit line. Older core styles used four wires, with separate sense and inhibit functions.

Read/Write Operation

By selecting a core and sending current through the corresponding X and Y lines, the core saturates in one of two orientations, representing a logical 0 or 1. The ferrites are ‘magnetically hard’ so they retain the magnetic orientation. However, all the X and Y lines for each core plane are driven together, making it impossible to write a different value to any individual bit without the inhibit function. Each core plane has an individual inhibit input, allowing you to write the desired bit pattern.

A write operation is formed from a read-writeback pair. First, the read operation forces all cores selected in all planes to zero, by Nova convention. An induced pulse on each of the sixteen sense lines reads the state of each bit in the word, then latches it. The write operation then reverses the current direction, forcing all selected cores to a one. However, the additional current from the inhibit lines cancels some of the select current, pushing it below the magnetisation threshold and preventing the core in that plane from changing orientation. This allows some bits in the word to retain their previous zero state. Uninhibited cores revert to a one, completing the write operation.

Reading and writing cores are essentially the same operation. For a straight read, you still need to rewrite the word. In this case, the latched read data are fed back to the inhibit lines, rewriting the memory state to its original pre-read value.

Simplified Nova 8k core array sense(1) / inhibit(2) wiring. Source: Data General Technical Manual for Nova 2.

The threading of the shared sense-inhibit line is interesting. Both ends of the single wire in a core plane connect to a differential amplifier to maximise sensitivity to the small electrical pulses induced by a selected core changing state. It is threaded in a crossed, looped manner to cancel the effect of partially selected cores. All cores on the shared X and shared Y wires produce a small pulse when they see current, based on their magnetic orientation, adding noise to the wire. This wiring scheme cancels out these cores’ contribution.

The inhibit driver is connected to the wire centre and driven single-ended. The clamping diodes at the ends of the wire ground it at the sense amplifier input.

Resources and More Reading

Anamartic Wafer Scale Memory Module

When I first walked by this exhibit, I thought, “Oh, that’s a fancy core memory module”. Then I looked closer and realised that isn’t a core array; it’s a full silicon wafer. That alone makes it interesting. Anamartic Ltd. was funded and founded by Sir Clive Sinclair, along with a few industrial partners and investors to commercialise the original wafer-scale technology invented by the unconventional engineer Ivor Catt. The name derives from the Greek word “anamartētos”, meaning “faultless”, which will make more sense as the story unfolds. Catt was an interesting chap, and rather contentious to say the least. He created a spiral-shaped serial routing structure (the “Catt Spiral”) that visited all the dies on a full wafer and baked in a mechanism to bypass ‘bad’ chips along the way, allowing the full good set of dies to be interconnected. The idea was to use many devices in series to create one large memory system. In the case of Anamartic, these wafers contained approximately 200 DRAM dies per 6-inch wafer. Anamartic built multiple products, with capacities ranging from 40 MB for a two-wafer stack to a whopping 160 MB for an eight-wafer module. Access times were on the order of 200 us, with an average transfer rate of 1.6 MB/sec average and a burst speed of 5 MB/sec. For the late 1980s, this was quite performant. However, this performance came at a cost. The module started at $11,680 for 40 MB and an enormous $33,590 for the 160 MB big stack. In modern terms, those figures are more than triple, at $33k and over $100k. A large investment for what is essentially just a fast hard drive.

Anamartic

Catt patented multiple ideas on WSI in the early 1970s and tried several times to get his work published in the usual academic journals, but they consistently blocked and rebuffed him. He eventually published the work on the Catt spiral in the July 1981 issue of Wireless World (PDF copy pg31), and that would have been the end of it, except for one Scottish research team and a chance advertisement. Malcolm Wilkinson had already been developing Catt’s ideas at Burroughs Corporation in Scotland, but an advert in the Observer newspaper, placed by Sinclair in the summer of 1983, caught Catt’s attention as he looked for an opportunity to develop his technology. Sinclair was trying to gather engineers for his proposed ‘MetaLab’ research centre, which he envisioned as an advanced research agency looking to develop potential breakthrough technologies. Catt replied to the advert, and after several meetings with Sinclair, Sinclair acquired the rights to his spiral idea (US patent) and employed him as a temporary consultant to the newly formed Anamartic entity. By early 1984, Wilkinson joined them, along with some of his team, and the rest is history, as they say.

The Catt Spiral

Catt’s idea starts with a modified silicon wafer with identical memory dies (though the technology can extend to non-memory devices, that’s another story). Normally, on a wafer, the dies are totally isolated from each other, with a clearance space between them wide enough to safely pass a diamond parting saw. In the modified case, the metalisation layer overlaps its neighbours, providing a mechanism to pass power and signals from die to die from a fixed outside point. Additionally, a grid of fusible links is associated with the power nets. An external controller, which Catt calls ‘chip Z’, is the system master. It directly tests the first connected die for functionality; if it passes, it connects to the next die on the wafer in a logical spiral fashion. If a die has a power-supply short, the associated fuse blows, disconnecting it from the global power. The bypass circuit around the die is then programmed to skip that, and the next die in the list is connected to and tested. This repeats at every system boot, allowing newly failing dies to be identified and swapped out, so by the end of the process the whole wafer has been considered and either added to the memory or bypassed. Initially, the entire die would be bypassed if a single fault was present. However, later Anamartic patents do point to methods for fault masking and other techniques to recover useful capacity from partially faulty die. Once this identification period was complete, the memory was available for use. As is clear, the memory is not addressed in a conventional parallel fashion, but serially, via ‘chip Z’, making it quite slow. As a result, these WSI memory products are closer to hard disks than normal DRAM in performance terms, and as such were even fitted with SCSI interfaces!

Resources and More Reading

And Finally

I had to cut this article shorter than originally intended and drop a few exhibits because, quite frankly, it’s already ridiculously long. However, I make no apologies for my interest in this subject and the number of deep rabbit holes I enjoyed diving into. At the TNMoC, there’s much more to see than the highlights above, and everything has an interesting story and technological contribution behind it. Some of the sections above are less detailed than I wanted, but that’s because of the lack of public information, not my persistence in getting to the nitty-gritty. If anyone has more information for me to digest, especially about the TAC, I’d be glad to receive it and make updates.

— GMG

Leave a Reply

Your email address will not be published. Required fields are marked *