Skip to the content
2 layers96.2 × 55.9 mmArd8088, the printed circuit board in 3D

An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

Size
96.2 × 55.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
85
Pads
171
Tracks, vias
365, 28
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
23 Dec 2022
Updated
7 Mar 2026

Overview

Ard8088 is an open-source printed circuit board by dbalsom, from the dbalsom/arduinoX86 repository on GitHub. It is a 2-layer board of 96.2 × 55.9 mm with 14 parts on 85 nets, routed with 365 tracks and 28 vias.

It is built around the PN2222A. Its parts include 3 resistors, 3 diodes, 2 capacitors, 2 ICs and 1 transistor. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

arduinox86_logo

About ArduinoX86

I've written a blog article that gives an overview of this project and how it is used.

https://martypc.blogspot.com/2023/06/hardware-validating-emulator.html

This project was originally called Arduino8088, but then I expanded it to support the 8086, 80186, 80286, with plans for the 80386, so it is now named the suitably generic ArduinoX86.

Description

This project expands on the basic idea of controlling a CPU via GPIO pins to clock the CPU and read and write control and data signals. This can be used to validate an emulator's accuracy, but also as a general method of exploring the operation of CPU instructions and timings.

This project currently supports the following CPUs:

  • CMOS variants of the 8088 (Oki, Harris 80C88, etc.)
  • AMD D8088
  • CMOS variants of the 8086 (Intel 80C86, Harris 80C86)
  • NEC V20
  • NEC V30
  • Intel 80L186
  • Harris 80C286
  • Intel 80386EX

Where it differs from existing Raspberry Pi-based projects is that it uses an Arduino Giga for the expanded number of GPIO pins available. The Giga has enough GPIO to operate 808X-compatible CPUs in Maximum mode. This enables several useful signals to be read such as the QS0 & QS1 processor instruction queue status lines, which give us more insight into the internal state of the CPU. We can also enable inputs such as READY, NMI, INTR, and TEST, so we can execute interrupts, NMIs, emulate wait states, and potentially even simulate FPU and DMA operations.

I have been using this project to validate the cycle-accuracy of my PC emulator, MartyPC, and produce CPU test suites for emulators, covering the 8088, V20 and 8086 and 286 to date.

This project has three main components:

  • The CPU server software, which runs on the Arduino, and establishes a serial protocol to reset the CPU, load and store register state, as well as interactively operate the CPU if desired;
  • The CPU client software, which runs on your computer and controls the CPU after the CPU server has set up initial register state as desired, or uploads an entire program to be run automatically with register state collected at the end of execution;
  • The CPU socket PCB shields, which seat on top of the Arduino, and provide a physical interface between the CPU and GPIO lines.

The original "Arduino8088" project utilized an Arduino MEGA, but this board no longer supported. It is painfully slow and limited to a serial UART instead of fast native USB communication. As of the current release, an Arduino Due, or preferably, an Arduino GIGA should be used instead. A GIGA is required to operate 5V CPUs such as older 80186's and the 80286. Despite Arduino's official warnings, the STM32 GPIO in the Giga is 5V tolerant (with a few exceptions). You will likely void your warranty and I take no responsibility for any damage to your Arduino that occurs attempting to use a 5V CPU with your Arduino.

8088,8086,V20,V30 Support

Revision 1.1 of the 808X shield supports the 8086 and NEC V30 by adding a connection for the 8086's BHE pin.

The Due can operate the 8088, 8086, V20 and V30, despite these chips being 5V. The current 8088 shield feeds those CPUs 3.3V which they tolerate quite well at low clock speeds.

The Giga can operate the 8088, 8086, V20 and V30 directly at 5V if desired. The Giga requires the 3V supply pin to be cut off the shield's pin headers and external power supplied due to the lower available overall power budget.

[!WARNING]
Do not attempt to use the 8088 shield with a Giga without using external power, or you may damage your Arduino.

80186 Support

The ArduinoX86 cpu_server sketch supports operation of a low-voltage 80L186 on an Arduino Due.

There is no shield yet for the 80186, you will need to use a breakout board and connect directly to the Arduino Due's headers. See Using an 80186 for more information.

image

80286 Support

A shield for the 80C286 is in the design phase, located in /shields/286_5V

Current support for the 80286 has been performed via breadboard.

image

80386 Support

A shield for the 80386EX CPU is provided in /shields/386EX_V4

386ex_shield_v4

Can the CPU be clocked fast enough with an Arduino?

In short, no. We are well past the published minimum cycle times when executing programs via a serial protocol, cycle by cycle. Some chips tolerate this better than others. When working with an Intel branded 8088, I noticed that effective address calculations were failing to add the displacement or index register, but otherwise functioned. I have had more luck with the AMD second-source 8088 CPUs, which seem to function perfectly under slow clocks, although they will hang and need to be reset if not cycled for a several milliseconds. The issue is "dynamic logic" - logic gates that lose their state if not refreshed electrically within a frequent enough interval. To be absolutely safe, it is best to use a fully CMOS process CPU such as the 80C88. CMOS versions of most x86 chips are available.

To use

An example application for cpu_server is provided, written in Rust, in the /crates/exec_program directory. It demonstrates how to upload arbitrary code to the ArduinoX86 and display cycle traces. The client will emulate the entire address space and set up a basic IVT.

Project Structure

/asm

Assembly language files, intended to be assembled with NASM. To execute code on the ArduinoX86, one must supply two binary files, one containing the program to be executed, and one containing the register values to load onto the CPU before program execution.

/crates/arduinox86_client

A library crate that implements a client for the ArduinoX86's serial protocol.

/crates/arduinox86_cpu

A library crate built on top of the arduinox86_client crate, this provides a RemoteCpu struct that models CPU state and can execute programs.

/crates/arduinox86_gui

A GUI (written in egui) for ArduinoX86, supporting the 386EX. It allows you to write and assemble assembly-language programs and execute them on the CPU with an easy-to-use interface.

/crates/exec_program

A binary implementing an interface for the arduinox86_cpu crate that will load a provided register state binary and execute the specified program binary.

/crates/test_generator

A program that generates CPU tests for emulator authors.

/shields

Contains the KiCad project files and Gerber files for the various ArduinoX86 shields. See the README.md in each shield directory for more information and BOMs for building each.

/platformio/ArduinoX86

The main server code that runs on the Arduino Due or GIGA. You must have platformio installed to build and upload the project to your Arduino.

Archived Directories

/sketches/cpu_server

The original cpu_server Arduino IDE sketch. Development has since moved to platformio.

/sketches/run_program

The original sketch for Arduino MEGA only demonstrating how to control an 8088. It does not contain a serial protocol server - code is run directly from an array defined within the sketch.

Ordering Boards

  • Ordering boards from any of the KiCad projects is extremely simple using PCBWay's KiCad fabrication plugin.
    • From the Plugin and Content Manager, go the Fabrication Plugins tab, find the PCBWay plugin and install.
    • image
    • Open the PCB editor and click the PCBWay Button
    • image
    • A browser window will open to PCBWay's website with the project uploaded and acceptable defaults selected.
    • If you like you can change the board color, or get a nicer finish with gold (ENIG).
    • image
    • You can then proceed to ordering. Part of your purchase goes back to help fund the KiCad project, which is cool.
    • image

Credits

Inspired by the Pi8088 validator created by Andreas Jonsson as part of the VirtualXT project:

https://github.com/andreas-jonsson/virtualxt/tree/develop/tools/validator/pi8088

Other Cool Projects

Parts

14
QtyValueFootprintReferences
20.1ufCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2
2LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD1, D2
2RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R3
11N4148Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolderD3
18088_Max_ModePackage_DIP:DIP-40_W15.24mmU1
18288Package_DIP:DIP-20_W7.62mmU2
1Arduino_Mega2560_ShieldArduino_Library:Arduino_Mega2560_ShieldXA1
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1LOGOcow:cowG***
1PN2222APackage_TO_SOT_THT:TO-92_InlineQ1
1R1Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1

More from dbalsom/arduinoX86

10
  • 4 layers93.3 × 60.3 mmArduino 386EX V5, the printed circuit board in 3D

    Arduino 386EX V5

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    56 parts114
  • 2 layers135.9 × 59.1 mmArduino 386 387, the printed circuit board in 3D

    Arduino 386 387

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    54 parts114
  • 2 layers93.3 × 60.3 mmArduino 386EX V4, the printed circuit board in 3D

    Arduino 386EX V4

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    54 parts114
  • 4 layers92.7 × 59.7 mmArduino 286 V3, the printed circuit board in 3D

    Arduino 286 V3

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    51 parts114
  • 2 layers129.5 × 57.1 mmArduino 286 5V, the printed circuit board in 3D

    Arduino 286 5V

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    35 parts114
  • 2 layers102.9 × 57.1 mmArduino 386, the printed circuit board in 3D

    Arduino 386

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    20 parts114
  • 4 layers71.8 × 56.5 mmArduino 387SX V2, the printed circuit board in 3D

    Arduino 387SX V2

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    20 parts114
  • 2 layers96.2 × 55.9 mmArduino 808x v3, the printed circuit board in 3D

    Arduino 808x v3

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    7 parts114
  • 2 layersArduino 80186, the printed circuit board in 3D

    Arduino 80186

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    5 parts114
  • 4 layers90.2 × 55.9 mmArduinox86 486 shield, the printed circuit board in 3D

    Arduinox86 486 shield

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    2 parts114

Similar boards

  • 2 layers152.4 × 101.6 mm8088-FE2010A SBC, the printed circuit board in 3D

    8088-FE2010A SBC

    skiselev/micro_8088

    Micro 8088 - IBM XT Compatible Processor Board based on Faraday FE2010 chipset

    72 parts412GPL-3.0
  • 2 layers33.7 × 66 mmSmartbell, the printed circuit board in 3D

    Smartbell

    Staacks/there.oughta.be

    Projects featured on my blog at https://there.oughta.be

    27 parts108GPL-3.0
  • 4 layers100 × 100 mm2063-Z80, the printed circuit board in 3D

    2063-Z80

    Z80-Retro/2063-Z80

    Retro Z80 CPU Board

    86 parts96
  • 2 layers30.7 × 76.1 mmRepeater v2, the printed circuit board in 3D

    Repeater v2

    plusvic/simplebus2-intercom

    General description of the Simplebus2 protocol used by some Comelit's intercoms. Hardware for retransmitting Simplebus2 messages over UART.

    17 parts95CC0-1.0
  • 2 layers28.8 × 43.8 mmAdv pcb, the printed circuit board in 3D

    Adv pcb

    Vail-CW/vail-adapter

    Adapter for cw morse keys to USB

    13 parts81MIT
  • 2 layers23.2 × 52.1 mmOpenC64Saver, the printed circuit board in 3D

    OpenC64Saver

    SukkoPera/OpenC64Saver

    Protect your Commodore 64 from killer power supplies!

    17 parts79
  • 4 layers184.2 × 169.5 mmSB mini II, the printed circuit board in 3D

    SB mini II

    simonboak/SB-mini-II

    A homebrewed Apple II clone

    97 parts76MIT
  • 2 layers49.5 × 30 mmAirpcb smd old, the printed circuit board in 3D

    Airpcb smd old

    issalig/toshiba_air_cond

    AB protocol decoder for toshiba air conditioners

    30 parts65

Questions

How big is the Ard8088 PCB?

It measures 96.2 × 55.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Ard8088 use?

14 parts, built around the PN2222A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Ard8088 KiCad files?

From the dbalsom/arduinoX86 repository on GitHub, at the commit this page was made from: the board is shields/808X_V3/kicad/ard8088.kicad_pcb and its schematic shields/286_5V/kicad/arduino_286_5V.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ard8088 design in my own project?

Its repository states no licence, so its author keeps all rights: ask dbalsom before reusing the design.