Soviet Programmable Calculators
Abstract
For many Soviet teenagers and engineers of the 1980s the first computer they could own was a programmable pocket calculator. The Elektronika B3-21 of 1977 was the first; the B3-34 of 1980, sold for 85 roubles, set the instruction set and architecture for the MK-54, MK-61, and MK-52 that followed, with about a hundred program steps in reverse Polish notation. In 1985 the Komsomol magazine Tekhnika Molodezhi, with 1.5 million subscribers, serialised a science-fiction story by Mikhail Pukhov whose instalments set calculator programming puzzles, and readers began mapping the machines’ undocumented functions, which announced themselves with the display “ะะะะะ”. An MK-52 flew on the Soyuz TM-7 spacecraft in November 1988.
The Machines
Soviet microelectronics made calculators by the millions from the mid-1970s. The first programmable model for mains power, the Iskra 123, appeared early in the decade; the first programmable battery-powered pocket calculator, the B3-21, was developed by the end of 1977. It held sixty program steps in memory that was lost when it was switched off, ran three to five steps a second, and cost 350 roubles at first, falling to 80 by late 1981, when an engineer earned about 120 a month.
The B3-34, released in 1980 for 85 roubles, was not compatible with it and became the standard. It used reverse Polish notation, had 98 steps of program memory, a four-level stack, and fourteen addressable registers, each holding eight digits of mantissa and two of exponent. Its instruction set, hardware, and microcode were carried on in the MK-54, a slightly improved B3-34; the MK-56, its desktop version; and the MK-61 and MK-52, made from 1983 with 105 program steps, fifteen registers, and more functions. The MK-52, made at the Kvazar and Kvadr plants in Ukraine and sold for 115 roubles, added 512 bytes of non-volatile EEPROM and a slot for plug-in program modules. In November 1988 one went into space on Soyuz TM-7 as a possible back-up to the on-board computers.
At the end of the 1980s more powerful machines appeared, such as the MK-90 hand-held computer with a graphic display and a Basic interpreter, a small PDP-11. They were expensive, the ZX Spectrum clones were arriving, and the B3-34 family stayed the one that many people remember as their first computer (see Soviet Home Computers and ZX Clones).
Kon-Tiki
Tekhnika Molodezhi (“Technology for Youth”), published by the Komsomol for teenagers, began a programming section built around the B3-34 in January 1985, as part of the computer-literacy campaign whose school course Andrei Ershov had designed (see Andrei Ershov). The response from readers was disappointing. In August 1985 the magazine began serialising Kon-Tiki: A Path to the Earth by Mikhail Pukhov, editor of its science-fiction section, a graduate of the Moscow Institute of Physics and Technology who had worked at a radio-engineering research institute before he turned to writing.
The story was built on the American game Lunar Lander, known in its Soviet version as “Lunolet”: an engineer and a pilot try to fly a lunar lander from the Moon back to Earth, and end up in the ocean sending an SOS. Each instalment came with tasks to solve on a programmable calculator, from the physics of spaceflight to tricks for programming the B3-34; the landing game itself took 97 program steps. Pukhov had explored the calculator’s functions and malfunctions before he wrote, and the story celebrated “fishing” for unusual symbol combinations. Readers answered with discoveries of their own.
Errorology
The display showed “ะะะะะ”, the word error as far as a seven-segment display could spell it, and the message also appeared when a user drove the calculator into states its designers had not documented. Tatarchenko calls the hunt for these states “errorology”. Readers wrote to Tekhnika Molodezhi with their finds; one described a method for producing combinations of the symbols ะ, ะ, ะก, L, and the minus sign on the display. Calculator users in the West found similar undocumented features in their own machines.
The historian Ksenia Tatarchenko, who has studied the Tekhnika Molodezhi community, notes that its readers were overwhelmingly male, and that the calculators served as stand-in computers in a country where the schools were promised a million computers for the new course and did not receive them.
Dead End: The Calculator as a Computer
The programmable calculator was the right machine for the Soviet 1980s: cheap, made in quantity by an industry that could make it, battery-powered, and personal. It was a dead end as a platform. Each program had to be typed in again by hand, except on the MK-52, and the step limit kept programs small; when Spectrum clones and IBM PCs reached Russian households in the 1990s, the calculator programs and games stayed behind with the B3-34.
๐ Sources
- Tatarchenko, Ksenia: “How Programmable Calculators and a Sci-Fi Story Brought Soviet Teens Into the Digital Age”, IEEE Spectrum (27 September 2018; print October 2018 as “The Great Soviet Calculator Hack”) (millions of calculators from the mid-1970s, B3-34 at 85 roubles, Tekhnika Molodezhi and 1.5 million subscribers, the programming section from January 1985, disappointing response, Pukhov’s biography, Kon-Tiki from August 1985, Lunar Lander and “Lunolet”, the plot, the tasks, 97 steps, “fishing”, ะะะะะ and errorology, the reader’s method, Ershov’s course, the male readership, the promised million computers)
- Tatarchenko, Ksenia: “‘The Man with a Micro-calculator’: Digital Modernity and Late Soviet Computing Practices”, in Exploring the Early Digital, Springer (2019)
- Elektronika B3-21, Wikipedia, Elektronika B3-34, Wikipedia, Elektronika MK-61, Wikipedia, and Elektronika MK-52, Wikipedia (finding aids: Iskra 123, B3-21 at the end of 1977, 60 steps, prices 350/190/80 roubles and the 120-rouble salary, B3-34 with 98 steps, stack and 14 registers, MK-54 and MK-56, MK-61 and MK-52 from 1983 with 105 steps and 15 registers, Kvazar and Kvadr, 115 roubles, 512-byte EEPROM, Soyuz TM-7 in November 1988, MK-90, the “first computer”)