Repository navigation
Releases
Releases · nand2mario/z86_pc
z86_pc 0.1 - Initial Public Release
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 (
z86v0.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_FULLon ZCU104 and 1-decode/2-issueZ86_PROFILE_LITEon Kria KV260.
- Full IA-32 (
- 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 (.imgand fixed/dynamic.vhd), and USB keyboard & mouse mapped to PS/2. - Bundled BIOS and VGA BIOS.
- 1080p DisplayPort direct scanout with VGA and Tseng ET4000 SVGA (
- Dynamic Runtime Clock Switching (
75–150 MHz):- Use
z86-run --clock ...to select clock speed. Default is 100MHz.
- Use
- 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-biti686Linux 6.18.
- MS-DOS 6.22 / FreeDOS, Windows 3.11 +
- Verified Games: Quake 1, DOOM, DOOM II, SimCity 2000 and Duke Nuken 3D
Quick Start
- Flash the image to a microSD card (no pre-installed SSH keys; rootfs auto-expands to fill the card on first boot):
(Or flash
xzcat z86-pc-v0.1-sdcard.img.xz | sudo dd of=/dev/sdX bs=4M status=progress conv=fsyncz86-pc-v0.1-sdcard.img.xzdirectly with BalenaEtcher / Raspberry Pi Imager.) - Boot your board:
- ZCU104: Set
SW6boot mode switches toON, 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.
- ZCU104: Set
- 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+Escat any time to stop the guest and return cleanly to the Linux console.
- After boot you should see the Linux console. Log in as