Scoopfeeds — Intelligent news, curated.
computer-science

z386: An Open-Source 80386 Built Around Original Microcode

Hacker News · May 23, 2026, 2:25 PM · Also reported by 1 other source

Key takeaways

  • This is the fifth installment of the 80386 series.
  • The core is not an instruction-by-instruction emulator in RTL.
  • In current builds, z386 performs like a fast (~70MHz) cached 386-class machine, or a low-end 486.

This is the fifth installment of the 80386 series. The FPGA CPU is now far enough along to run real software, and this post is about how it works. z386 is a 386-class CPU built around the original Intel microcode, in the same spirit as z8086.

The core is not an instruction-by-instruction emulator in RTL. The goal is to recreate enough of the original machine that the recovered 386 control ROM can drive it. Today z386 boots DOS 6 and DOS 7, runs protected-mode programs like DOS/4GW and DOS/32A, and plays games like Doom and Cannon Fodder. Here are some rough numbers against ao486:

In current builds, z386 performs like a fast (~70MHz) cached 386-class machine, or a low-end 486. It runs at a much higher clock than historical 386 CPUs, but with somewhat worse CPI (cycles per instruction). The current cache is a 16 KB, 4-way set-associative unified L1, chosen partly to keep the clock high. Real high-end 386 systems often used larger external caches, typically in the 32 KB to 128 KB range.

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories

Also covered by

Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop