IBM 305 RAMAC
The IBM 305 RAMAC was the first commercial computer that used a moving head hard disk drive (magnetic disk storage) for secondary storage. IBM introduced the storage unit on September 4, 1956 before unveiling the entire computer nine days later on September 13. RAMAC stood for "Random Access Method of Accounting and Control", or "Random Access Memory Accounting Machine". Its design was motivated by the need for real-time accounting in business. The first RAMAC to be used in the U.S. auto industry was installed at Chrysler's MOPAR Division in 1957. It replaced a huge tub file which was part of MOPAR's parts inventory control and order processing system. The 305 was one of the last vacuum tube computers that IBM built. It weighed over a ton. The IBM 350 disk system stored 5 million 7-bit (6 data bits plus 1 parity bit) alphanumeric characters (5 MB). It had fifty 24-inch-diameter (610 mm) disks. Two independent access arms moved up and down to select a disk, and in and out to select a recording track, all under servo control. Average time to locate a single record was 600 milliseconds. Several improved models were added in the 1950s. The IBM RAMAC 305 system with 350 disk storage leased for $3,200 per month in 1957 dollars, equivalent to a purchase price of about $160,000. More than 1,000 systems were built. Production ended in 1961; the RAMAC computer became obsolete in 1962 when the IBM 1405 Disk Storage Unit for the IBM 1401 was introduced, and the 305 was withdrawn in 1969.
The original 305 RAMAC computer system could be housed in a room of about 9 m (30 ft) by 15 m (50 ft); the 350 disk storage unit measured around 1.5 square metres (16 sq ft). The first hard disk unit was shipped September 13, 1956. The additional components of the computer were a card punch, a central processing unit, a power supply unit, an operator's console/card reader unit, and a printer. There was also a manual inquiry station that allowed direct access to stored records. IBM touted the system as being able to store the equivalent of 64,000 punched cards.
Programming the 305 involved not only writing machine language instructions to be stored on the drum memory, but also almost every unit in the system (including the computer itself) could be programmed by inserting wire jumpers into a plugboard control panel.
During the 1960 Olympic Winter Games in Squaw Valley (USA), IBM provided the first electronic data processing systems for the Games. The system featured an IBM RAMAC 305 computer, punched card data collection, and a central printing facility.
Currie Munce, research vice president for Hitachi Global Storage Technologies (which has acquired IBM's hard disk drive business), stated in a Wall Street Journal interview that the RAMAC unit weighed over a ton, had to be moved around with forklifts, and was delivered via large cargo airplanes. According to Munce, the storage capacity of the drive could have been increased beyond five megabytes, but IBM's marketing department at that time was against a larger capacity drive, because they didn't know how to sell a product with more storage.
System architecture was documented in the 305 RAMAC Manual of Operation. The 305 was a character-oriented variable "word" length decimal (BCD) computer with a drum memory rotating at 6000 RPM that held 3200 alphanumeric characters. A core memory buffer of 100 characters was used for temporary storage during data transfers.
Each character was 7 bits, composed of two zone bits ("X" and "O"), four BCD bits for the value of the digit, and an odd parity bit ("R") in the following format:
X O 8 4 2 1 R
Instructions could only be stored on 20 tracks of the drum memory and were fixed length (10 characters), in the following format:
- T1 A1 B1 T2 A2 B2 M N P Q
|T1 A1 B1||Source operand address – Track, low order AB character|
|T2 A2 B2||Destination operand address – Track, low order AB character|
|M N||Length of operands (each operand must be entirely on its specified track)|
|P||Program exit code; used to select test conditions, perform jumps, and initiate input/output. The 305's control panel programming determines the action(s) performed.|
|Q||Control code; modifies the operation (similar to an op code), the default operation being a copy from source to destination. Other operations were: "1" Compare, "2" Field compare, "3" Compare & Field compare, "5" Accumulator reset, "6" Blank transfer test, "7" Compress & Expand, "8" Expand, "9" Compress|
Data records could be any size from one character up to 100 characters.
Drum memory 
The drum memory was organized into 32 tracks of 100 characters each.
The color code of this table is:
- Yellow – Storage
- Blue – Arithmetic
- Green – Input/Output
- Red – Special function
|Track Specifier||Source Function||Destination Function|
|W X Y Z||General Storage|
|0 1 2 3 4 5 6 7 8 9
& A B C D E F G H I
|Instruction Storage, General Storage|
|L||Read accumulator||Add to accumulator|
|M||Read & clear accumulator||Subtract from accumulator|
|V||Multiplicand (1 to 9 characters) or Divisor (1 to 9 characters)|
|N||N/A||Multiply (1 to 11 characters)
Stores 2 to 20 character product
in accumulators 0 & 1
|K||380 Punched Card Input||N/A|
|S T||N/A||323 Punched Card Output,
370 Printer Output,
407 Printer Output
|Q||380 Inquiry Input/Output|
|J||N/A||350 File Address|
|R||350 File Data Input/Output|
|-||Core buffer||Character selector|
|$||382 Paper Tape Input/Output (option)|
L and M select the same track, containing ten 10-character "Accumulators". As a destination L specifies addition, M specifies subtraction. (Numbers in these accumulators were stored in ten's complement form, with the X bit of the most significant digit storing the sign. The sign of each accumulator was also held in a relay. However the 305 automatically converted between its standard signed magnitude format and this format without the need for special programming.)
J, R, and - do not select tracks on the drum, they specify other sources and destinations.
The 305's instruction set does not include any jumps, instead these are programmed on the control panel:
- Unconditional jump – the program exit code (P field) specifies a Program exit hub on the control panel, which has a wire plugged into it and the Program entry hub specifying the instruction to jump to.
- Conditional jump – the program exit code (P field) specifies a Program exit hub on the control panel, which has a wire plugged into it and the appropriate Condition selector common hub to be tested, the corresponding two Condition selector output hubs have wires plugged into them and the Program entry hubs specifying the instructions to jump to or the Program advance hub to continue in sequence. Complicated conditions involving many Condition selectors could be wired to execute in a single instruction (e.g., Testing the sign and zero states of multiple accumulators), with one of several Program entry hubs activated.
- Multi-way jump – the destination track (T2 field) is set to "-" and the appropriate Character selector hubs on the control panel have wires plugged into them and the Program entry hubs specifying the instructions to jump to or the Program advance hub to continue in sequence.
All timing signals for the 305 were derived from a factory recorded Clock Track on the drum. The clock track contained 816 pulses 12 µs apart with a 208 µs gap for sync.
Reading or writing a character took 96 µs.
The 305's typical instruction took three revolutions of the drum (30 ms): one (I phase) to fetch the instruction, one (R phase) to read the source operand and copy it to the core buffer, and one (W phase) to write the destination operand from the core buffer. If the P field (Program exit code) was not blank, then two (D phase and P phase) additional revolutions of the drum (20 ms) were added to the execution time to allow relays to be picked. The Improved Processing Speed option could be installed that allowed the three instruction phases (IRW) to immediately follow each other instead of waiting for the next revolution to start; with this option and well optimized code and operand placement a typical instruction could execute in as little as one revolution of the drum (10 ms).
Certain instructions though took far longer than the typical 30 ms to 50 ms. For example, multiply took six to nineteen revolutions of the drum (60 ms to 190 ms) and divide (an option) took ten to thirty seven revolutions of the drum (100 ms to 370 ms). Input/Output instructions could interlock the processor for as many revolutions of the drum as needed by the hardware.
Hardware implementation 
The logic circuitry of the 305 was built of one and two tube pluggable units and relays.
Related peripheral units 
A basic system was composed of the following units:
|IBM 305||–||Processing unit||The magnetic process drum, magnetic core register and electronic logical and arithmetic circuits|
|IBM 350||–||Disk Storage unit|
|IBM 323||–||Card Punch|
|IBM 380||–||Console||The Card Reader and IBM Electric typewriter model B1|
|IBM 340||–||Power Supply|
See also 
- "IBM Archives: IBM 350 disk storage unit". Retrieved 2007-09-01.
- "IBM Details Next Generation of Storage Innovation". 2006-09-06. Retrieved 2007-09-01.
- Preimesberger, Chris (2006-09-08). "IBM Builds on 50 Years of Spinning Disk Storage". eWeek.com. Retrieved 2012-10-16.
- 305 RAMAC Manual of Operation, IBM, April 1957.
- I. B. M. TO PUT OUT NEW 'THINK' UNITS, New York Times, September 14, 1956
- IBM RAMAC promotional film
- Steven Levy, "The Hard Disk That Changed the World" Newsweek, August 7, 2006
- Lee Gomes, "Talking Tech" The Wall Street Journal, August 22, 2006
|Wikimedia Commons has media related to: IBM 305 RAMAC|
- IBM 305 RAMAC Data Processing System
- IBM Archives on the 305
- IBM 350 RAMAC site originally prepared under the supervision of the Storage Special Interest Group of the Computer History Museum