The Zilog Z80 has turned 50
280 points
• 1 day ago
• Article
Link
Zilog Z80 处理器在 2026 年 7 月迎来 50 周年,纪念其对微型计算领域半个世纪的影响。 Z80 于 1976 年问世,成为 8 位时代的基石,驱动了无数个人电脑、业余爱好者项目和工业嵌入式系统。它的发展脉络与 8008 和 8080 处理器紧密相连,后者为微处理器领域早期的硬件与软件标准奠定了基础。即便在 Zilog 转向其他架构之后,Z80 在工业领域仍保持重要地位,其量产直到两年前才最终停止。
Z80 的渊源可追溯到 Datapoint 2200——这款可编程终端促使 Intel 开发出 8008 。 8008 是基础但功能有限的处理器,采用 14 位地址空间和 8 级内部堆栈,因此性能受限。 Intel 随后推出的 8080 由 Federico Faggin 和 Masatoshi Shima 设计,改用外部内存堆栈、扩展到 16 位地址空间,并采用 40-pin 设计,省去了数据与地址线的多路复用,尽管仍需复杂的多电压电源。
因不满 Intel 内部的官僚作风与拖延,Federico Faggin 离职并共同创立了 Zilog,着手打造所谓的"Super 80"。最终的 Z80 在保持与 8080 二进制兼容的同时,对架构进行了显著现代化:通过寄存器组的银行切换实现更快的中断处理,引入两个索引寄存器以简化内存寻址,并增加了一套强大的块复制与字符串处理指令。对开发者而言,Z80 最重要的改进之一是简化了系统设计——只需单一 5V 电源并提供专用控制信号,使得与内存和外设的接口比以往容易得多。
Z80 的影响超出了纯粹的性能提升。它支持内建的 DRAM 刷新等功能,减少了对外部支持芯片的依赖,从而降低了构建实用计算机的成本。尽管 Zilog 试图以 Z8000 等 16 位架构继续发展,但与 Exxon 的关系引发了与 IBM 等公司的竞争压力,最终行业向 Intel 的 x86 路线倾斜,以抢占新兴的 PC 市场。即便如此,Z80 依然是工程史上的传奇,连接了早期的逻辑替代芯片与随后更复杂的微处理器。
The Zilog Z80 processor marked its 50th anniversary in July 2026, commemorating a half-century of influence on microcomputing. Launched in 1976, the Z80 became a cornerstone of the 8-bit era, powering countless home computers, hobbyist projects, and industrial embedded systems. Its legacy is tied to the evolution of the 8008 and 8080 processors, which established early standards for hardware and software in the micro-processing world. Even as Zilog moved toward different architectures, the Z80 remained relevant in industrial settings, with production finally ceasing only two years ago.
The roots of the Z80 trace back to the Datapoint 2200, a programmable terminal that led Intel to develop the 8008. The 8008 was a foundational yet limited processor, utilizing a 14-bit address space and an internal 8-level stack, which constrained its performance. Intel later improved upon this with the 8080, an architecture designed by Federico Faggin and Masatoshi Shima. The 8080 moved to an external memory-based stack, expanded to a 16-bit address space, and adopted a 40-pin design that eliminated the need for multiplexed data and address lines, though it still required complex multi-voltage power supplies.
Dissatisfied with the bureaucracy and internal delays at Intel, Faggin departed to co-found Zilog, where he set out to create the "Super 80." The resulting Z80 maintained binary compatibility with the 8080 while significantly modernizing the architecture. It introduced bank-switched register pairs for faster interrupts, two index registers for easier memory addressing, and a powerful set of block-copy and string-processing instructions. Perhaps most importantly for developers, the Z80 simplified system design, requiring only a single 5V power supply and providing dedicated control signals that made interfacing with memory and peripherals far more straightforward than its predecessors.
The Z80's impact extended beyond its immediate performance improvements. It supported advanced features like built-in DRAM refresh cycles, which lowered the cost of building functional computers by reducing the need for external support chips. While Zilog attempted to follow up with 16-bit architectures like the Z8000, its association with Exxon created a competitive tension with companies like IBM, ultimately steering the industry toward Intel's x86 line for the burgeoning PC market. Nevertheless, the Z80 remains a legendary piece of engineering that bridged the gap between early logic replacement chips and the sophisticated microprocessors that followed.
116 comments • Comments Link
学习 Z80 架构通常需要亲自动手做硬件实验:爱好者们用套件、逻辑探针和示波器去弥合 BASIC 等高级抽象与机器实际执行之间的鸿沟。
很多人把 Z80 当作进入编程世界的入门平台,用它制作个人外设、在仅有 1KB 的内存限制下实现飞行模拟器,甚至在转向现代编译器之前手工用十六进制汇编代码编程。
TI-84 系列计算器仍是广泛使用且颇具争议的教学工具,借助 Z80 和 eZ80 架构向几代学生介绍基础编程,尽管其高昂成本和过时硬件常被诟病。
尽管原版 Z80 硅片已停产,该架构仍通过 FOSS 克隆、开源硅片项目和周期精确的模拟器得以延续,使爱好者能够继续研究并用于复古计算项目。
Z80 与 8080 指令集的差异,尤其在标志寄存器与未记录操作码方面,为早期程序员带来了复杂挑战,迫使他们掌握这些硬件行为的细微差别。
Z80 有时被作为向后兼容的桥梁整合进更大的系统,例如 Game Boy Advance 中包含的 Z80 内核,用以保证对旧游戏的兼容性。
像 "Turing Complete" 这样的数字逻辑模拟器为现代用户重现这些传统体验提供了途径,允许人们从 NAND 门开始逐步搭建架构,直至实现可用汇编程序的指令集。
爱好者常谈及经典技术著作的影响,例如 Rodnay Zaks 所著的 "Programming the Z80",该书有助于阐明像 WZ 寄存器这样的复杂内部机制。
硬件设计的限制——例如 TRS-80 Model 1 中 "TEST" 引脚直接接到总线缓冲器——迫使早期工程师想出创造性变通办法,或掌握精确的时序以安全操控硬件。
对许多人而言,Z80 是一个基础性的里程碑:从因图书馆书籍和本地电脑商店而萌生的童年好奇,发展成长期的软件与系统工程职业生涯。
Z80 CPU 的持久影响在于它对早期爱好者的易用性以及在教育硬件(尤其是图形计算器)中的长期实用价值。它搭起了从简单的 BASIC 编程到汇编语言与数字逻辑复杂性之间的桥梁,许多从业者都把自己的职业起点归功于这一平台。尽管原厂硅片已停产,该架构仍是研究热点,并通过现代模拟器、 FOSS 克隆以及活跃的复古计算社区得以传承保存。 • Learning the Z80 architecture often involved hands-on hardware exploration, with enthusiasts using kits, logic probes, and oscilloscopes to bridge the gap between high-level abstractions like BASIC and actual machine execution.
• Many developers cite the Z80 as their entry point into programming, using it to build personal peripherals, flight simulators within 1KB of memory, and even hand-assembled hex code before eventually transitioning to modern compiler development.
• The TI-84 calculator series remains a ubiquitous, albeit controversial, educational tool, utilizing Z80 and eZ80 architecture to introduce generations of students to basic programming, despite frequent criticism regarding its high cost and outdated hardware.
• While the original Z80 manufacturing has ceased, the architecture remains relevant through FOSS clones, open-silicon projects, and cycle-accurate emulators, ensuring hobbyists can continue to study and build with it for retro-computing projects.
• Differences between the Z80 and the 8080 instruction set, particularly regarding the flag register and undocumented opcodes, provided an early, complex challenge for programmers who had to learn the nuance of specific hardware behavior.
• The Z80 was occasionally integrated into larger systems as a legacy bridge, such as the inclusion of a Z80 core in the Game Boy Advance to ensure compatibility with older titles.
• Digital logic simulators like "Turing Complete" serve as modern conduits for these traditional experiences, allowing users to build an architecture from NAND gates up to an assembly-programmable instruction set.
• Enthusiasts frequently recount the formative impact of legendary technical literature, such as Rodnay Zaks' "Programming the Z80," which helped clarify complex internal mechanisms like the WZ registers.
• Hardware design limitations, such as the TRS-80 Model 1's "TEST" pin being tied directly to bus buffers, forced early engineers to develop creative workarounds or master precise clock control to interact with hardware safely.
• For many, the Z80 represents a foundational milestone, transitioning from a childhood curiosity fueled by library books and local computer store visits to a lasting professional career in software and systems engineering.
The enduring legacy of the Z80 CPU is defined by its accessibility to early hobbyists and its sustained utility in educational hardware, specifically graphing calculators. It functioned as a bridge between simple, high-level BASIC programming and the complexities of assembly and digital logic, with many practitioners tracing their professional careers back to the platform. While the original silicon is no longer in production, the architecture remains a subject of study, preserved through modern emulators, FOSS clones, and dedicated retro-computing communities.