Stories
Slash Boxes
Comments

SoylentNews is people

posted by janrinok on Thursday July 23, @06:38AM   Printer-friendly
from the seems-like-only-yesterday dept.

https://www.tomshardware.com/tech-industry/zilog-z80-turns-50-as-open-source-replacement-heads-for-drop-in-dip40-silicon

Iconic 8-Bit CPU Launched In July 1976 And Was Discontinued In 2024

The original Z80 packed 8,500 transistors on a 4μm process and typically ran at 2.5 MHz, with later CMOS variants reaching 20 MHz. Binary compatibility with the Intel 8080 let it absorb the existing CP/M software base, with an on-die DRAM refresh counter that cut the number of support chips a system needed. Development of working prototypes cost roughly $400,000 against $500,000 in funding from Exxon, per the Computer History Museum.

However, Renaldas Zioma's FOSS Z80 project, launched shortly after the end-of-life notice, now has working silicon. The first version, fabbed on SkyWater's 130nm node through Tiny Tapeout 7 on a die of just 0.064mm2, has been confirmed as functional via the project’s GitHub repository. A QFN64 version with all 40 pins exposed followed on the Efabless CI2406 shuttle, two further runs then went through IHP's 130nm process, and the current run targets the classic DIP40 form factor using chip-on-board assembly on GlobalFoundries' 180nm GF180MCU node via Wafer.Space. The end goal here is to fab a drop-in replacement for machines like the ZX Spectrum and RC2014 kits.

The design is built around Guy Hutchison's TV80 Verilog core, and the project's Tiny Tapeout page says the 130nm CMOS implementation should support clocks up to 50 MHz, against 4 MHz for the original NMOS part.

Zilog is trimming the Z80's official successor line as well. A product change notification from last October put the eZ80L92, along with several Z8F-series microcontrollers, on end-of-life, citing "little to no demand." Last-time-buy orders closed on January 20 this year, with shipments scheduled through April 20, on non-cancelable, non-returnable terms. The eZ80L92 is the only eZ80 part named in the notice; the pipelined eZ80 architecture, introduced in 2001 and still inside TI's current TI-84 Plus CE calculators, otherwise remains in Zilog's catalog.

Hobbyists keep finding work for the original chip regardless. For example, earlier this year, a developer ran a tiny conversational AI on a Z80 with 64KB of RAM.


Original Submission

This discussion was created by janrinok (52) for logged-in users only, but now has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
  • (Score: 3, Informative) by sneftel on Thursday July 23, @07:39AM (7 children)

    by sneftel (29787) on Thursday July 23, @07:39AM (#1449060)

    Hm. What’s the benefit of this over, say, the PicoZ80, which likewise works as a drop-in cycle-accurate replacement for a 40-pin Z80? Is it just the coolness factor of making a microchip?

    • (Score: 2) by looorg on Thursday July 23, @12:44PM (6 children)

      by looorg (578) on Thursday July 23, @12:44PM (#1449083)

      There is probably a factor in it all. There are often a lot of projects that does the same things when these things come out, as an example the onslaught of SID chip replacements. In this specific case perhaps just as useful after all Z80 is still around even if discontinued in mainstream production, but if that only stopped a couple of years ago there might still be current products about that might need on of these in a few years.

      "The end goal here is to fab a drop-in replacement for machines like the ZX Spectrum ..." but as also citing there is "... little to no demand."

      • (Score: 2) by turgid on Thursday July 23, @02:59PM (5 children)

        by turgid (4318) Subscriber Badge on Thursday July 23, @02:59PM (#1449091) Journal

        I bought a Spectrum 128 not long after they came out. It was an improvement on the original (better keyboard, more RAM, three-channel sound) but I wished they'd made the graphics better and put in a faster CPU (the SAM Coupe had a 6MHz Z80, but way too late). I often wonder what they could have done with a 16-bit improved Z80 variant. The original Z80 already had 16-bit register pairs, two 16-bit index registers and a 16-bit stack pointer, but it would have been great if they had made a newer one with a 24-bit address bus and maybe more registers etc. Maybe something more like a 68000 internally?

        • (Score: 2) by Rich on Thursday July 23, @05:16PM (4 children)

          by Rich (945) on Thursday July 23, @05:16PM (#1449107) Journal

          Around the time a Z80 successor was due, it was entirely unclear how the future architectures would look. The whole 16-bit generation, with the exception of the 68000 and the too little too late NS 16032, had segmented memory. Zilog made no exception with the Z8000. Intel went completely off the rails with the iAPX432 and only offered linear 32 bits from 1985 on with the 386 (that considered linear memory only as an option).

          Funnily enough, and even with its awful ISA that compilers couldn't sensibly generate code for, the primitive 6502 would have been extensible in a way we consider "clean" today (unlike the '816). It has these nice orthogonal gaps in the opcode space where an information-holding (operation width and register selection) prefix codes could find their place. Iits non-compromising 8-bit-ness means the operation widths can be cleanly extended. I once laid out such a design as a mental exercise, and if I had to learn Verilog, I'd use that as practical exercise, dig out my II+, and see how far I'd get. I think it wouldn't even be entirely useless, because I estimate its code to be seriously dense, likely even more compact than x86, and, unlike the original very well mapping to real-life high level code (e.g. c = str[idx] -> LD A, ($78),Y -> "B1 78", two bytes, with a Z base at the local stack frame, and enabled 32/64 bit addresses).

          • (Score: 2) by turgid on Thursday July 23, @05:44PM (2 children)

            by turgid (4318) Subscriber Badge on Thursday July 23, @05:44PM (#1449114) Journal

            Was there not a 16-bit successor to the 6502? Did Apple not use it?

            • (Score: 0) by Anonymous Coward on Thursday July 23, @07:15PM (1 child)

              by Anonymous Coward on Thursday July 23, @07:15PM (#1449122)

              Yes, that was the 65816 alluded to. It was used in the Apple //gs and also the Super NES as well as embedded devices. It was a real 16-bit processor with 16-bit registers but it still used segmented memory, which was the style at the time. The 24-bit address space was divided into the usual 6502 16-bit address space but with two 8-bit registers for data and program page selection. Basically it had bank switching built in instead of having to do it on the motherboard like the //e, but that's essentially what segmented memory is. Since the 65816 used all 256 opcodes available in an 8 bit instruction length I'm not sure what options exist that would be better while still preserving 8 bit compatibility but there's no reason to not try.

              There was also a 65802 which had all the 16 bit registers and the new opcodes but only a 16 bit address bus, so the segment registers didn't do anything. This probably seemed like a reasonable thing to design because there had certainly been a market for reduced bus width 6502s and it was a drop in replacement for the 6502, but it was never very popular. The obvious market would have been as an upgrade for the Apple //e but the whole 8 bit Apple platform was worn out by then so it wasn't commonly done.

              The 65816 data bus is still only 8 bits (only 44 pins in the package) so 16 bit opcodes would kill the performance.

              • (Score: 2) by Rich on Thursday July 23, @07:45PM

                by Rich (945) on Thursday July 23, @07:45PM (#1449124) Journal

                I was one of the what must have been very few people to actually have a job writing software for the //gs. The ‘816 is the bare minimum of what was viable to run compiled code, it has two awful state bits in the P register that indicate 8 or 16 bit operations, and it's still register starved, so the //gs hit the memory bandwidth wall. See https://www.youtube.com/watch?v=UDUQEKxfGEw [youtube.com] for why it couldn't go past 2.8 MHz on affordable 150ns RAM. This hits you bad, if everything has to be shuffled between memory and registers. The Transwarp and Zip cards went to great lengths with fast cache as afterthought.

                For the "what-would-have-been" considerations, assuming the 816 had gotten a decent internal register set, and would have initially been available in better than 3 MHz steppings, they could've run the CPU at 8 MHz and fed it from 16-bit FPI fetches with cycle stretching, and it would have been very comparable to other contemporary machines. The original Mac, up to the Plus, had a very conservative memory timing. From my memory, 1 MHz, as the Apple II, just with 16 bits, and the Brazilians who tried (and managed) to clone the Mac for the local market (they just did not get to ship it), had this tuned up, and it was like 20% faster on the same CPU.

          • (Score: 2) by turgid on Thursday July 23, @05:53PM

            by turgid (4318) Subscriber Badge on Thursday July 23, @05:53PM (#1449117) Journal

            I really must learn to "do hardware" at some point (FPGA stuff).

  • (Score: 2) by Rich on Thursday July 23, @09:14PM

    by Rich (945) on Thursday July 23, @09:14PM (#1449138) Journal

    I would have expected Rochester Electronics to pick up the masks and have it made if stocks run out. There must be legacy industrial or military systems which require an original DIP Z80. They've bought up the masks and everything of other parts and continue to have them made, to sell at a solid premium. Heck, you can still get a HD63C09E from them.

  • (Score: 2) by Bentonite on Friday July 24, @08:03AM

    by Bentonite (56146) on Friday July 24, @08:03AM (#1449208)

    Fabbed a decent CPU for once instead?

    8 bit CPU's are really a pain in the neck to program, even if there are 16-bit registers available.

    It's not even actually 8-bit - it has a 4-bit ALU? Yikes

(1)