Skip to content

Releases

z86_pc 0.1 - Initial Public Release

Choose a tag to compare

@nand2mario nand2mario released this 01 Dec 13:54

First public release of z86_pc and the companion z86 open-source superscalar out-of-order IA-32 (i686 + x87 FPU) FPGA CPU.

This release supports two boards: the full performance AMD Xilinx ZCU104 and the $250 AMD Xilinx KV260 - insert the SD card into your board to boot directly into a Linux console ready to launch DOS, Windows, or 32-bit Linux guest images over 1080p DisplayPort.

Highlights

  • Open-Source Out-of-Order IA-32 CPU (z86 v0.1):
    • Full IA-32 (i686: Real, Protected, VM86, 4 KiB & 4 MiB PSE/PGE paging, TSC/PMU/MCA MSRs) + full 80-bit x87 FPU. No MMX/SSE.
    • Two profiles from one codebase: 3-wide Z86_PROFILE_FULL on ZCU104 and 1-decode/2-issue Z86_PROFILE_LITE on Kria KV260.
  • Complete PC-Compatible SoC:
    • 1080p DisplayPort direct scanout with VGA and Tseng ET4000 SVGA (1024×768), Sound Blaster 16 + OPL3 FM audio over DisplayPort, IDE HDD (.img and fixed/dynamic .vhd), and USB keyboard & mouse mapped to PS/2.
    • Bundled BIOS and VGA BIOS.
  • Dynamic Runtime Clock Switching (75–150 MHz):
    • Use z86-run --clock ... to select clock speed. Default is 100MHz.
  • Verified Guest Operating Systems:
    • MS-DOS 6.22 / FreeDOS, Windows 3.11 + EMM386, Windows 95 OSR2, Windows 98 SE, Windows NT 4.0 Workstation, and 32-bit i686 Linux 6.18.
  • Verified Games: Quake 1, DOOM, DOOM II, SimCity 2000 and Duke Nuken 3D

Quick Start

  1. Flash the image to a microSD card (no pre-installed SSH keys; rootfs auto-expands to fill the card on first boot):
    xzcat z86-pc-v0.1-sdcard.img.xz | sudo dd of=/dev/sdX bs=4M status=progress conv=fsync
    (Or flash z86-pc-v0.1-sdcard.img.xz directly with BalenaEtcher / Raspberry Pi Imager.)
  2. Boot your board:
    • ZCU104: Set SW6 boot mode switches to ON, OFF, OFF, OFF (SD boot). Video is output from the DisplayPort port (not the HDMI port). If you need HDMI, you need to use an active DP-to-HDMI adapter.
    • Kria KV260: Should boot automatically from onboard QSPI U-Boot. Here both DisplayPort and the HDMI ports should work.
    • Both boards support USB keyboard/mouse.
  3. Log in & launch a disk image:
    • After boot you should see the Linux console. Log in as root (no password).
    • USB drive and wired ethernet should work out of the box.
    • Use a USB drive or copy .VHD disk images over the network. Then run:
      z86-run dos.img                               # 100 MHz default, 16 MiB RAM
      z86-run win98.vhd --ram-mb 64                 # 100 MHz, 64 MiB RAM
      z86-run quake.vhd --clock 150 -r              # 150 MHz, read-only disk
      z86-run --list-clocks                         # list available PL0 frequencies
    • Press Ctrl+Alt+Esc at any time to stop the guest and return cleanly to the Linux console.