IBM System/360 Model 20

The IBM System/360 Model 20 is the smallest member of the IBM System/360 family announced in November 1964. The Model 20 supports only a subset of the System/360 instruction set, with binary numbers limited to 16 bits and no floating point arithmetic.[1] In later years it would have been classified as a 16-bit minicomputer rather than a mainframe, but the term "minicomputer" was not current, and in any case IBM wanted to emphasize the compatibility of the Model 20 rather than its differences from the rest of the System/360 line. It does, however, have the full System/360 decimal instruction set, that allows for addition, subtraction, product, and dividend of up to 31 decimal digits.

IBM System/360 Model 20
An IBM System/360 Model 20, with IBM 1442 at right and IBM 2203 line printer on left
ManufacturerInternational Business Machines Corporation (IBM)
Product familySystem/360
Release dateNovember 1964 (1964-11)
Memory4–32 KB Core

Developed by IBM in Böblingen, Germany,[2]: pp.217–218, 352  the system was intended for data processing and as a replacement for tabulating equipment. An incompatible small computer, the IBM 1130 introduced the following year, was designed for scientific and engineering computing.

The design of the Model 20 was the result of a tug of war within IBM. John Haanstra had wanted a low-end machine that could execute IBM 1401 instructions. Fred Brooks wanted the machine to have System/360 architecture. The final result was a compromise where cost concerns predominated: the system leased for under $2000 per month (equivalent to $19,648 in 2023) including Multi-Function Card Machine and line printer, compared to around $3000 (equivalent to $29,472 in 2023) for a comparable 1401 system.[2]: p.446 

Based on number of systems sold, the Model 20 was the most successful model of System/360. According to Pugh "The number of Model 20 processors installed by the end of 1970 in the United States exceeded 7,400."[2]: p.639  Other models, however, brought in greater revenue. Despite their popularity there are relatively few Model 20s in existence in working condition in 2020.[3]

Another IBM System/360 Model 20 CPU.
An IBM System/360 Model 20 (with front panels removed), with IBM 2560 MFCM (Multi-Function Card Machine) at right

Architecture

edit

The Model 20 was available with six memory sizes: 4, 8, 12, 16, 24 and 32 KB. As in other models of System/360, memory is byte-addressable.[1]: p.1  It has eight 16-bit general purpose registers numbered R8 through R15 which can be used in computations as base registers. All of memory is also directly addressable through a feature, called direct addressing, that combines the twelve-bit displacement and the low-order bits of what would normally be the base register field of the instruction (R0-R7) to form a combined fifteen bit address.[1]: p.4  No storage protection is provided, except for the low 144 bytes of "protected area".

The instruction set is a subset of System/360 consisting of 37 instructions instead of 143,[1]: pp.7–25 [4]: p.384  with some incompatible instructions, such as a BASR (Branch And Store Register) rather than BALR (Branch And Link Register).

  • Binary arithmetic uses the S/360 "halfword" instructions to operate on 16-bit quantities. Load Halfword, Add Halfword, Subtract Halfword, Compare Halfword, and Store Halfword were available, along with Add Register and Subtract register,
  • Decimal arithmetic includes the complete S/360 decimal instruction set for operations on packed decimal operands of up to 31 digits plus sign in storage.
  • Logical instructions are Move Characters, Move with offset, Move Immediate, Move Numerics, Move Zones, Compare Logical Immediate, Compare Logical Characters, Edit, And immediate, Or immediate, Test under Mask, and Translate. One particularly unusual logical instruction, not present in other System/360 models, is "Halt and Proceed" (HPR, operation code X'99') which will quiesce input/output and stop the processor displaying a code to the operator. Operation can be restarted by pressing the "start" button.
  • Branch instructions include standard S/360 Branch on Condition. Instead of "Branch and Link" the instruction set uses "Branch and Store" (BASR, X'0D', and BAS, X'4D') which functions similarly except that a 16-bit link address is stored. "Set PSW" (SPSW, X'B1'), which loads a 32 bit Program Status Word (PSW) replaces the standard "Load PSW". The Model 20 has no concept of privileged instructions or a distinction between supervisor state and user state so SPSW is available to user programs.
  • Input/output instructions are unique to the Model 20. Lacking I/O channels all peripherals are directly controlled by the processor.
    • "Test I/O and Branch" (TIOB, X'9A') which tests a specified device for any combination of four hardware-dependent conditions.
    • "Control I/O" (CIO, X'9B') performs a control (non data) operation on a device.
    • "Transfer I/O" (XIO, X'D0') performs a data transfer operation on a device. XIO starts a transfer and specifies the number of bytes to be read or written. Data transfer can optionally be performed by cycle stealing (IBM documentation calls this time-sharing), that is taking processor cycles from the user program as necessary to perform the operation.

Like most other models of System/360 the Model 20 is microprogrammed; it uses transformer read-only storage (TROS).

Peripherals

edit

As of 1967 the following peripherals were supported:[1]: pp.36–110 

The system can also have an integrated communications adapter. Two adapter versions were available, one for Synchronous transmit-receive (STR) and one for binary synchronous communications (Bisync).

2311 Disk Storage

edit

Model 20 disk storage uses IBM 2311 disk drives, model 11 or 12, attached to an integrated "storage control feature" on the CPU.[1]: pp.58–76  If multiple drives are attached they have to be the same model. Both models use the 1316 disk pack which provides a maximum of 203 cylinders with 10 tracks per cylinder. The model 11 uses all cylinders, the model 12 uses only the outermost 103. Each track is divided into ten sectors of 270 bytes each. The model 11 has a formatted capacity of 5.4 million bytes, and the model 12 of 2.5 million.[5]

IBM 2560 Multi-Function Card Machine

edit

The IBM 2560 Multi-Function Card Machine (MFCM)[6] is a peripheral first offered on the Model 20. Due to its reliability problems, often involving card jams, the acronym was frequently interpreted as referring to many less favorable names.

The 2560 has two hoppers into which punch cards can be placed. The cards in the second hopper can contain punched cards to be read or blank cards to be punched. Two models were offered:

  • Model A1: five card stackers, and an optional printing/interpreter, with two, four or six print heads.[7]
  • Model A2: four card stackers.

Card flow is: a read station, a punch station, and on the A2 a print station allowing text to be printed on cards. Cards then flowed into one of the stackers after being processed.[1]: 41–43  This allows it to function as a card reader and a card punch. As a program can issue a Write Card instruction to print on the card after reading card data with a Read Primary Card or Read Secondary Card instruction, it can also, under program control, function as an interpreter and, as a program can issue a Primary Card Stacker Select or Secondary Card Stacker Select instruction to select the stacker into which a card should be put after reading card data, it can function as a card sorter. This allows the Model 20 to replace several separate pieces of punched-card equipment.

IBM's announcement proclaimed the 2560 as providing "a card-handling capability never before possible on a single pass through the system."[8][7]: 13 [9] Since all I/O is performed by the processor, the system is particularly suited to controlling timing-dependent devices such as the 2560, where a card can be read, punched into, printed on, and sent to a specified output stacker with tight timing requirements if full rated speed is to be maintained.

Software

edit

Disk Programming System

edit

The Disk Programming System (DPS) is a control program for a Model 20 with at least 12 KiB of memory and one disk drive. The components of DPS are:[10]

  • The Initial Program Loader (IPL).
  • A small resident monitor which handles disk input/output, error recovery, and job-to-job transition, and loads programs to be executed from the core-image library on disk.
  • A Job Control Program loaded by the monitor between jobs handled job setup.
  • Service programs for library management, I/O device table maintenance, linkage editing, and for loading and copying the systems residence disk, backing up and restoring other disk drives.

Rollout/Rollin allows the computer operator to interrupt a running batch program, execute an inquiry program, and then restart the batch job where it was interrupted.

Tape Programming System

edit

Tape Programming Support (TPS) supports systems with magnetic tape drives but no disk drives. The minimum configuration for TPS is 4096 bytes of main storage, a card reader, a card punch, a printer and two magnetic tape drives. On such systems TPS provides an assembler and tape manipulation utility programs. Additional capabilities are provided on systems with 8192 bytes of main storage, and still more with four or more magnetic tape drives.[11]: 42–43 

Card Programming Support

edit

Card Programming System (CPS) is a set of control programs for a Model 20 computer system with only card input/output devices.

Languages

edit

Other IBM programs

edit
  • Sort/Merge.
  • Disk and tape utility programs such as initialize disk, initialize tape, clear disk.

Clones

edit

The UNIVAC 9200 and 9300 computers were clones of the Model 20.

Remaining machines

edit

Despite having been sold or leased in very large numbers for a mainframe system of its era, only a few of System/360 Model 20 computers remain. These are primarily the property of museums or collectors. Examples of existing systems include:

  • Two Model 20 processors along with numerous peripherals (forming at least one complete system) located in Nürnberg, Germany were purchased on eBay in April/May 2019 for €3710 by two UK enthusiasts who, over the course of some months, moved the machine to Creslow Park in Buckinghamshire, United Kingdom. The system was in a small, abandoned building left untouched for decades, and apparently had been used in that building since all peripherals were still fully wired and interconnected.[13] As of September 2024 the systems have been moved on a long-term loan basis to the System Source Computer Museum in Hunt Valley, Maryland, USA for display and restoration.[14]
  • As of 2020, a Model 20 processor along with some peripherals is on public display at the Deutsches Museum in Munich, Germany.[15]

A running list of remaining System/360s can be found at World Inventory of remaining System/360 CPUs.

See also

edit

References

edit
  1. ^ a b c d e f g IBM System/360 Model 20 Functional Characteristics (PDF). IBM. 1967. A26-5847-3.
  2. ^ a b c Pugh, Emerson W.; Johnson, Lyle R.; Palmer, John H. (1991). IBM's 360 and Early 370 Systems. MIT Press. ISBN 0-262-16123-0.
  3. ^ Bradley, Adam; Blackburn, Christopher; Vaughan, Peter. "IBM 360 Model 20 Rescue and Restoration". Retrieved Mar 2, 2020.
  4. ^ Pugh, Emerson W. (1995). Building IBM: Shaping an Industry and Its Technology. MIT Press. ISBN 0-262-16147-8. Archived from the original on 2012-05-05. Retrieved 2012-10-15.
  5. ^ IBM Field Engineering Theory of Operation 2311 Disk Storage Drive Models 1, 11 and 12 (PDF). IBM. Y26-5897-4. describes the IBM 2311, including models 11 and 12, used on System/360 model 20
  6. ^ C. E. Spurrier (1966). "The IBM 2560 multi-function card machine". Proceedings of the April 26–28, 1966, Spring joint computer conference - AFIPS '66 (Spring). pp. 315–321. doi:10.1145/1464182.1464221. ISBN 9781450378925. S2CID 24960497.
  7. ^ a b IBM System/360 System Summary. IBM. Model 20. A22-6810.
  8. ^ "IBM 360 Model 20 customer engineering announcement" (PDF).
  9. ^ IBM Field Engineering Manual of Instruction, System/360 Model 20 2020 Processor (PDF). IBM.
  10. ^ IBM System/360 Model 20 Disk Programming System Control and Service Programs (PDF) (Fifth ed.). IBM. March 1969. C24-9006-4.
  11. ^ IBM System/360 Model 20 Tape Programming System Operating Procedures (PDF) (Fourth ed.). IBM. March 1969. C24-9009-3. This publication provides Model 20 operators with the information required to operate their systems using the Model 20 Tape Programming System (TPS)
  12. ^ IBM System/360 Model 20 Disk Programming System PL/I (PDF) (First ed.). IBM. December 1968. C33-6007-1.
  13. ^ "Project History". IBM 360 Model 20 Rescue & Restoration. 2019. Retrieved 2019-05-20.
  14. ^ "The 360's have a new home!". IBM 360 Model 20 Rescue & Restoration Blog. September 11, 2024.
  15. ^ "Deutsches Museum - Computers with semiconductor components". 2020. Archived from the original on 2020-06-01. Retrieved 2020-03-18.

Further reading

edit