AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Buying for a business?Offer from Amazon

Get business pricing on monitors, keyboards and dev gear

  • Business-only prices and quantity discounts
  • Tax-exempt purchasing
  • Multiple users, one account, clear invoices
As an affiliate, we earn on qualifying purchases.

The z386 project is an open-source FPGA implementation of the Intel 80386 CPU, built around recovered original microcode. It can run DOS 6/7, protected-mode software, and classic games. This development offers both educational insight and practical emulation of early x86 architecture.

The z386 project has achieved a significant milestone by creating an FPGA-based 80386 CPU built around recovered original microcode, enabling it to run DOS 6, DOS 7, and protected-mode applications, including classic games like Doom.

The z386 is an open-source FPGA implementation of the Intel 80386 microprocessor, reconstructed from publicly available microcode disassembly. It can run real operating systems and software, including DOS 6/7 and protected-mode programs such as DOS/4GW and DOS/32A, and can execute classic games like Doom and Cannon Fodder.

This project is the fifth installment in a series exploring 386 architecture, with the current build performing at approximately 70MHz equivalent speed, comparable to a low-end 486. It features a 16 KB L1 cache, a microcoded control ROM of 2,560 entries, and maintains many original 386 structures, such as segmentation, paging, and protection units, while employing FPGA-specific optimizations.

Why It Matters

This development matters because it provides both an educational tool and a practical platform for emulating early x86 hardware, deepening understanding of microarchitecture and microcode. It also offers a foundation for hobbyists and researchers interested in hardware recreation and preservation of legacy software.

By reconstructing the 386 at this level, the project demonstrates the feasibility of detailed hardware emulation using open-source hardware and recovered microcode, potentially influencing future retro-computing and hardware research.

Products Worth Considering

Bose QuietComfort Wireless Noise Cancelling Headphones, Twilight Blue

Bose QuietComfort Wireless Noise Cancelling Headphones, Twilight Blue

LG UltraGear 27GX704A-B 27-inch QHD OLED Gaming Monitor, 240Hz

LG UltraGear 27GX704A-B 27-inch QHD OLED Gaming Monitor, 240Hz

Samsung 49-Inch Odyssey G9 G91F Curved Dual QHD Gaming Monitor, 144Hz

Samsung 49-Inch Odyssey G9 G91F Curved Dual QHD Gaming Monitor, 144Hz

As an affiliate, we earn on qualifying purchases.

Background

The 80386 was a pivotal CPU in the evolution of personal computing, introducing protected mode and hardware virtualization features. Its microcode was recently disassembled and shared, enabling projects like z386 to reconstruct the chip’s microarchitecture in FPGA form. Prior efforts focused on simpler CPUs like the 8086, but the 386’s complexity posed a greater challenge, requiring detailed understanding of its micro-operations and control logic.

This project builds on previous disassemblies and reconstructions, aiming to produce a functional, educational replica capable of running real software, not just emulators or simulators.

“z386 is now capable of booting DOS and running protected-mode programs, offering a new way to experience early x86 architecture.”

— Project developer

“Recreating the 386 microarchitecture from recovered microcode is a significant step for hardware preservation and educational purposes.”

— Hacker News contributor

What Remains Unclear

It is not yet clear how fully optimized or stable the current implementation is, and whether it can handle all features of the original 386, such as complex privilege and exception handling. Further testing and refinement are ongoing.

What’s Next

Next steps include extensive testing with a broader range of software, optimizing performance, and possibly expanding support for additional features like hardware virtualization. The project aims to refine microcode accuracy and stability for broader use.

Key Questions

Can z386 run all original DOS software?

It currently can run many DOS 6/7 applications and protected-mode programs, but full compatibility with all original software remains under development.

What hardware is needed to run z386?

An FPGA development board capable of supporting the z386 design, with at least 85MHz clock capability and sufficient memory resources, is required.

How accurate is the microcode reconstruction?

The microcode is based on publicly available disassemblies and reverse engineering, aiming for high fidelity but not yet perfect. Ongoing refinements are expected.

Is this project suitable for educational purposes?

Yes, it provides a detailed view of 386 microarchitecture and microcode, making it a valuable resource for students and hobbyists interested in CPU design and history.

Source: Hacker News

You May Also Like

Liquid Sealing and Nozzle Vacuum Sealers: What Changes?

What recent innovations in liquid sealing and nozzle vacuum sealers mean for your storage needs and how they can improve freshness and efficiency remain to be seen.

Offset Printing Vs Digital Printing

Considering the key differences between offset and digital printing helps you make the best choice for your project’s needs and expectations.

Mounting Prints vs Laminating Them: Which Problem Are You Solving?

Understanding whether mounting or laminating your prints best addresses your needs can significantly impact their durability and presentation; discover which method suits your goals.

China’s Pink Printer Suppliers: The Jaw-Dropping Trend Sweeping the Market

How are China’s pink printer suppliers revolutionizing tech trends and captivating a youthful audience? Discover the surprising details behind this vibrant phenomenon!