用原始微码复刻80386 CPU
推荐指数 46.0 NO. 012 · 2026.05.24
发布2026/05/23Score76Comments16
为什么值得看
z386 是一个基于原始 Intel 80386 微码构建的开源 FPGA CPU,已能启动 DOS 6/7 并运行保护模式程序。对硬件复古和 CPU 架构研究者来说,这是用真实微码理解 x86 演进路径的罕见机会。
媒体预览
编辑判断
之前复刻经典 CPU 的项目(如 MISTer 上的 ao486 或 various 8088/8086 实现)大多用现代 RTL 重新描述指令行为,而 z386 走的是「让原始微码自己跑起来」的路线,这需要逆向工程恢复控制 ROM 并重建执行引擎的时序环境。
这个项目的真正价值在于验证性:如果原始微码能在新硬件上驱动功能等价的核心,说明我们对 386 内部状态机的理解是完整的。对于做二进制翻译、虚拟化或漏洞研究的团队,这提供了一条验证 x86 行为语义的独立路径。
如果你在做 CPU 形式化验证或教计算机组成原理,z386 的源码比 Intel 手册更适合当参考实现。
社区反馈
正面 16 条评论
核心争论:复古386能否运行Linux等复杂系统,以及老旧工业设备
Did the microcode disassembly find any useful backdoors to read microcode without decapping?
Not really. The 386 does not have an interface to read the ROM direclty. Instead, it uses the Built-In Self-Test (BIST) to verify the ROM's contents. It's basically a checksum-like mechanism that verify the integrity of the CROM.
there are several iterations of 386 and only one was disassembled so there's still a chance