The CPU That Will Never Die

Why the Z80 CPU has endured for the last 48 years, and what we're going to do now it starts to finally show hints of retirement.

By Matt Lee

Today in Tedium: Like me, you probably have used a Z80 CPU every day without realizing it. I, on the other hand, was fully cognizant that I was using a Z80 back in the day. Growing up as an Amstrad enthusiast, how could I not? All that said, as the Z80-based Amstrad CPC turns 40, let’s dive into a brief-history of the chip that powered it, and many other machines I’ve owned since. Midlife crisis averted? Just maybe. In today’s Tedium, We take a look at some of the interesting and obscure uses for this little chip. So, Z80, “this is your life (so far).” — Mattl @ Tedium

Today’s GIF comes from a video by Anas Kuzechie featuring his Z80 breadboard programming efforts.

$200

The initial price for the original Z80 CPU, about $1,127 today with inflation. The first customer? NEC. In that era Japanese companies were well-known to take US chip designs and clone them without a license. Something which spurred the designers to take action before the chip was finished. According to a Z80 oral history published by the Computer History Museum, it quickly became clear that they may have overpriced the chip somewhat.

2581851629 eb4bcb49a3 c

(Seth Morabito/Flickr)

The chip was developed by a bunch of ex-Intel and Fairchild engineers who felt they were being ignored at Intel

Federico Faggin was a key figure in the development of Intel’s soon-to-be-dominant microprocessor business, but it was a brief moment when Intel took its eye off the ball that led to his creation of the Z80.

In the mid 70s, before Intel would become the company we know today their primary interest was selling static RAM and ROM chips. There was also a recession going on and Intel had to lay off a number of people. Faggin was soon looking towards the exit himself. The computer revolution was coming, but Intel wasn’t (yet) interested. Microprocessors were just seen as a way for Intel to sell more memory chips. Faggin would say that the 8080 took nine months of negotiations before it was allowed to happen.

Irritated, Faggin invited colleague Ralph Ungermann out for drinks to see if he was interested in starting a company of their own. He was—and soon enough, both engineers resigned, with Ungermann leaving Intel just a few weeks before Faggin’s Halloween 1974 exit. They would be soon joined by transistor-level designer Masatoshi Shima, but initially told him to stay at Intel until they had a product, or some money.

As Faggin would later say in an interview with the Computer History Museum:

Microprocessor marketing, under the direction of Bill Davidow, was beginning to assert its own rights to develop chips. Now that was absolutely correct. They should’ve been defining chips from Day One, but that was a job that I had done from just about from the beginning after the 4004 and the 8008. And so I felt boxed in at Intel. Also I was working very hard and I felt that I could do better if I started my own company.

The newly formed company (as yet unnamed) began designing a microcontroller chip instead called the 2001. After meeting with Synertek to discuss fabrication of the microcontroller it became clear that they would be unable to compete with Intel with this product. This spurred them to begin creating a real microprocessor. It also gave them a business plan and put them in a good position to talk to investors.

One of those investors turned out to be Exxon. Yes, that Exxon, the one with the gas stations and infamous oil spills.

Namecheap

Blogger on the cheap? Get to know Namecheap

If you’re like me, you’re looking for a way to keep your online writing habit cost-effective and easy to manage. This is a spot where Namecheap excels—something that you likely know well if you have a domain through them. (I, personally, have several.)

But they don’t just do domains. Did you know, for example, you can set up an LLC with NameCheap’s help, or manage your website’s SEO presence? Oh, and they offer a bunch of web hosting services, too. I know, right?

This week, in honor of its Bloggers’ Week, the service is offering discounts on its entire array of services, which include website hosting, social media management, and even security services. It’s everything a blogger needs to get going. Check out the sale prices before May 13!

2230010178 40c2741290 c

You can blame Exxon for Scantrons AND graphing calculators. (Josh Davis/Flickr)

Five tech companies (besides Zilog) that Exxon invested in during the 1970s

  1. Scantron, the optical recognition system for automating examinations, and a mainstay of standardized tests that is still around today. (Funny enough, one of the Z80’s major use cases, later on, was also standardized testing.)
  2. Qume, a maker of daisy wheel printers, floppy disks and computer terminals. Qume was a particularly big player in daisy wheels, which was a dead-end technology as soon as inkjet and laser printers began to emerge.
  3. Vydec, a company that made dedicated word processors (notably some of the first models that used floppy disks), and would later adopt Zilog’s chips.
  4. Ramtek, a maker of computer display terminals which notably has a tie to the original Pong machine. A friend of Ramtek’s CEO and later the company’s CFO owned Andy Capp’s Tavern, the Sunnyvale bar where Pong made its debut. (It’s now a comedy club.)
  5. Daystar. A New England based solar company. Exxon would get into solar in 1969 and would acquire another New England based company, Solar Power Corporation betting big on solar.

14746291679 c7f089dcf0 c

Ah, Exxon, that oil company that seeded the computer industry. (Mike Mozart/Flickr)

Big-oil seeds the 8-bit revolution

Early on the industry newsletter Electronic News published a story on the newly formed company, which led to an investment of $500,000 in June 1975 from Exxon Enterprises, Exxon's high-tech investment arm.

With money and a new plan for a microprocessor, Shima finally joined in February 1975. He immediately set about producing a high-level design, while Ungerman began working on the myriad peripheral chips that would complement Shima's work, with an early version of the design ready a few months later. By the end of 1975 things were almost ready.

Meanwhile, Faggin was looking for someone to fabricate the new chip. Approaching Synertek again, but plans fell through when the company asked for a second source license, which would allow Synertek to sell their own Z80 chips. Faggin then approached Mostek, who agreed to an exclusivity deal and later received a second source license of their own. Synertek would later get their own second source license, amongst several other companies. More on that in a bit.

In July 1976 the Z80 went on sale. One of Zilog's very first customers was a buyer who, unbeknownst to them, worked for NEC.

NEC z80 Chip

The NEC UPD780C, which is compatible with the Z80. (Wikimedia Commons)

As Ralph Ungermann tells it in the excellent oral history of Zilog:

When we were packaging the product up for shipment, somebody knocked on the door of the office and it was an NEC guy with four $100 bills for two chips. And then right after that a very successful Japanese computer company came in with four $200 bills. That was just the start of the copying.

It turns out that Zilog had been caught in the middle of a broader technology trend during the period—and had planned for it. See, Japanese companies would make unauthorized clones of chips made elsewhere, which Shima was well-aware of because of his time working with NEC minicomputers. Faggin and Shima added a number of “traps” to the design which slowed down NEC’s copying, but ultimately didn’t stop it.

With a successful launch, Faggin would approach their funders at Exxon with a view to opening their fabrication facility. Exxon agreed, which allowed Zilog to capture approximately 70% of the Z80 market while giving the go-ahead for Mostek to begin producing their own Z80-compatible chip known as the MK3880. This also provided stability for the overall Z80 market as an established company was also producing the chips should the plucky startup fail, despite the hesitation of Exxon.

As Faggin recalled:

We had a hard time finding acceptance at Exxon Enterprises of the idea of second sourcing. Second-sourcing was a necessity for us, because being a startup company, we couldn’t see how we could get into large accounts where people had to bank on a small company, invest in software development, and risk that the company disappear. So it was essential for us to have a second source. And it took a while to figure out the strategy how to do that. And that was weaved in with the design of the Z80 that started in detail when Shima joined the company.

Second sourcing wasn’t uncommon during this time—famously, AMD started as a second source of Intel, only for it to later blow up in Intel’s face. But in many ways, it shaped the long-term fortunes of the Z80 more fundamentally than Intel’s second-sourcing ever did.

Zilog Battle Of The80s

(Computer Design/Internet Archive)

The ad that shows that Zilog was aiming big with the Z80

It’s the late 1970s and you have a hot new computer chip. How do you catch the eye of your potential customers and take a swipe at your competitor, too?

By portraying it as a historical wargame between the Intel 8080 and the Zilog Z80, of course.

In a two-page ad spread that emerged around 1976, Zilog called called this CPU conflict "The Battle of the 80s," inviting you to think of your next computer as "a weapon against horrendous inefficiencies, outrageous costs and antiquated speeds" with a not-so-subtle reminder that the Z80 contains all of the low-level instruction set of the Intel 8080A, plus 80 new instructions.

Admittedly this worked very well on me, a lifelong miniature wargamer. Maybe Apple should spend some of its vast reserves and buy up Games Workshop next? (We’ll see what eventually plays out here, when Apple’s homegrown processor line hits the M41 and a slew of Warhammer 40,000 players find another thing to complain about—female Space Marines notwithstanding.)

Exxon had their own ideas too. I think it’s safe to say that Exxon was betting on the future, but all was not so apparent to the team at Zilog. As Faggin would later say in the oral history of Zilog for the Computer History Museum:

Exxon had an intention, which we were not privy to, they did not tell us that in the early days. They had a master plan to create a major information technology company that was going to compete with IBM. And in fact, they started doing advertisements, presenting their company in advertisements in the ’78-’79 timeframe. Basically presented themselves as a challenger to IBM. They had a company called Vydec that was making word processors, Quiz that was making electronic typewriters, Quip that was making fax machines. There was Zilog that was making, of course, chips. And they had another 20 companies in the wings that many of them had started themselves in all areas, from printers like Qume, in the area of displays, and so on and so forth.

While the Intel 8080 would go on to influence the still commonplace Intel x86 architecture, it would see relatively little use. While the Altair 8800 Computer that gave Microsoft its first big break would use one, alongside the Wargames-famous IMSAI 8080, the Z80—with its compatibility and greater performance—would quickly take over as the processor of choice for early CP/M based machines until around 1983.

That’s around the time that the Intel x86 and CP/M "inspired" MS-DOS would take over and create the modern PC ecosystem.

$9.72

The current cost of buying a Z80 chip, according to Mouser Electronics, which still has plenty of them in stock if you, for some reason, want to build your own NABU. In roughly 48 years, the price of a Z80 has fallen by slightly more than 50 percent, while not keeping up with the price of inflation.

Pac Man

Pac-Man, a notable exampe of a Z80-based game. (sei/Unsplash)

From arcade cabinets to graphing calculators: The Z80’s gradual evolution away from the mainstream

Admittedly, most of us don’t use Z80s in the computers on our desks in the modern day—but there were still plenty of places where the Z80 would continue to see use well into the modern day.

For one, the Z80 was a common choice for creators of video games with a Z80 powering Pac-Man, dual Z80s in Scramble, and three in each Galaga machine. Admittedly, I'd love to tell you about some mythical modern game with 4096 Z80s inside it, but sadly, this trend of adding more CPUs to an arcade game didn't continue.

In Europe, meanwhile, the home computer market fell in love with the Z80, with machines such as the failure of the Tatung Einstein (although it did see use as a development tool for other Z80 machines), Sinclair's ZX80, ZX81 and ZX Spectrum and my beloved Amstrad CPC would see various Z80 machines released between 1980 and 1990 with Amstrad even producing the ill-fated dedicated Z80 based games console the Amstrad GX4000 and a range of Z80-based dedicated CP/M-based business machines in the form of the Amstrad PCW.

And over in Japan, where Z80 cloning had become commonplace, saw its own Z80-based machines in the form of the MSX-standard, a collaboration between Microsoft and ASCII Corporation. Many MSX machines were built, with some (especially Toshiba models) around a selection of custom system-on-a-chip offerings called the MSX-Engine which often integrated a Z80-clone alongside other needed chips. After all, the MSX was more like the VCR, with many companies producing machines so cheap that readily available hardware greatly helped.

(Console marketing like a VCR? It was a trick later attempted by the 3DO company in the 90s, as featured in a recent Tedium.)

In the US things were a little different, while the Z80 would have initial success with Digital Research's CP/M operating system, some early business machines from the era were also Z80-based including Heathkit H89, the luggable Osborne 1 and the Kaypro series.

The original model of Radio Shack's TRS-80 would use a Z80, while DEC's Rainbow 100 and the Seequa Chameleon would feature a Z80 alongside a custom version of MS-DOS and compatible Intel 8088 chip (slower variant of the later infamous x86 founding model, Intel 8086) allowing them to run both the wealth of Z80 CP/M software as well as somewhat compatible software.

In terms of dedicated games hardware, the Z80 would power much of Sega's early forays into home video game consoles as the central processor Sega's SG-1000 (1983), Master System (1986) and Game Gear (1990). Even Sega's first successful system in the US, the Sega Genesis (1989) released a year earlier in Japan as the Sega Mega Drive would have a Z80 onboard to handle sound (and by virtue of a cartridge pin-adapter, backward compatibility with earlier systems, a hallmark of Sega's 8 and 16-bit systems). Such was the commonality amongst Z80 based systems that after the 1983 video game crash a system would be produced that could play both Coleco's 1982 Colecovision and Sega SG-1000 games, the Telegames Dina. The ill-fated Colecovision add-on to turn it into a home computer, the Coleco Adam would not see the same love.

Portable Z80 machines were produced from RadioShack's TRS-800 Model 100 to the later Amstrad NC-range (rebadged as the Dreamwriter and used in schools in the US) and Clive Sinclair's Cambridge Z88. Both machines would offer some limited built-in programming ability and a rare conceit by Sir Clive to his own history by way of a built-in version of BBC BASIC. In recent times, David Given ported a CP/M-like operating system (but not CP/M itself due to licensing restrictions) to the Amstrad NC-200 after discovering an undocumented keypress that would let it boot software from the built-in floppy drive.

Graphing Calculator

(Aaron Lefler/Unsplash)

As technology progressed and home computer hegemony arrived, the Z80 found a second life in various personal devices, calculators and pocket computers. Since the early 90s, Texas Instruments has been producing the very popular TI-8x range of graphing calculators most of which contain a Z80-based CPU, with models released as recently as 2015 containing a modern, faster variant of the chip.

(Infamously, TI held a de facto monopoly on the calculator market in the U.S., due to their required use in standardized testing, which likely helped sell a lot of Z80s.)

Meanwhile, Sharp, a second-source manufacturer of the Z80, has been producing Z80-based small computers for decades, starting with the Sharp MZ-series and X1 machines from the early 80s, through to later models in the Wizard line of personal organizers (as gifted to Jerry's father in a 1998 episode of Seinfeld).

Remember the Apple Newton? Amstrad released their own similar device six months earlier, and yep, it used a Z80. Good luck finding a usable one now, the soft touch material used on the PDA 600 as it was officially known has turned into a sticky mess. Amstrad’s swan song for the Z80 would come when it attempted and failed to entice people into buying the doomed emailer, (sorry e-m@iler) line of landline phones, with later models featuring downloadable ZX Spectrum titles as one of the myriad reasons to buy one.

A good reason to not buy one: it would dial a premium rate number every day to collect your email. A device that sold so poorly that the CEO—the guy who came up with the idea for the product, to his later regret as Alan Sugar became obsessed with the idea—quit Amstrad after 25 years.

In many ways, the Z80 being discontinued by Zilog only serves to highlight the resiliency of the chip. In preparing this article word of a project to create an open hardware drop-in replacement CPU hit Hacker News. The project hopes to start fabrication of the chips in June, despite only being recently announced.

Kits such as the RC2014, which let you build a Z80-based machine in modern times, feel like a nod to the early Sinclair machines which were also available as kits for the hobbyist market they were selling into. I’m about to order one myself, after countless hours spent watching StezStixFix on YouTube and accidentally ordering two soldering irons in the process. I hope to use it to update my personal website using the same tools I used when I first started it back in 1994.

The SymbOS project also seeks to produce a multitasking operating system complete with graphical user interface capable of running on a slew of the Z80-machines from the original Amstrad CPC to the ZX Spectrum Next, an FPGA-based enhancement of the original ZX Spectrum from 1982.

In the near future, I’ll be running (and streaming) some of this myself on my MiSTER FPGA kit at least until I can find an Amstrad 6128plus at a decent price on eBay.

The original makers of the Z80 may be done with them, but I’m not.

--

Find this one an interesting read? Share it with a pal! And be sure to check out Namecheap’s Bloggers’ Week deals before they fade away.

Editor’s note: An earlier version of this misstated the original price with inflation of the Z80. Additionally, we reworded a section of this after a reader raised concern about it being too close to what was written in Wikipedia. (I know, I know. But to be fair, Matt was pulling from the same source.) Anyway, that has been updated as well. We apologize for the issues.

Matt Lee

Your time was just wasted by Matt Lee

Dr. Matt Lee is a monkey movie director who spends his free time thinking about the NeXT/Apple merger and tinkering with old computers. He helped start the Fediverse and runs the music community Libre.fm. He lives in New England with his wife & cat.

Find me on: Website