Skip to the content
2 layers100 × 80 mmMini8085, the printed circuit board in 3D

Simple Intel 8085 based Single Board Computer (SBC)

Size
100 × 80 mm
Copper layers
2
Thickness
1.6 mm
Parts
45
Nets
87
Pads
326
Tracks, vias
1,285, 62
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
10 Feb 2020
Updated
12 Jan 2022

Overview

Mini8085 is an open-source printed circuit board by skiselev, from the skiselev/minimax8085 repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 100 × 80 mm with 45 parts on 87 nets, routed with 1,285 tracks and 62 vias.

It is built around the MAX232ACSE+, 27C128-15 and 74HC573. Its parts include 15 capacitors, 8 ICs, 5 connectors, 3 resistors and 2 diodes. It belongs with the computers and single-board computers boards and the FPGA and CPLD boards of this library.

Main components

3

README

README.md

MiniMax8085

Minimal 8085 Single Board Computer

Table of Content

Introduction

The MiniMax8085 project has been brewing for almost three years. In the spring of 2014 my kids and I visited a local surplus store, where my kids found some Intel 8000 series parts in the kids-fill-your-bucket area. Among these ICs were there: an 8085 CPU, an 8155 RAM with I/O ports and timer, a couple of 8255 PPIs, an 8282 latch, and some 27C128 UV EPROMs. It looked like a good start for an 8085 based computer that can be used to teach my kids some computer design and programming basics. I wanted the project to be simple to build, with a minimal number of components, but yet to be a fully functional single board computer (e.g. to include the memory and an input/output device, for example a UART) with an extension bus. I checked the Internet for existing homebrew 8085 computers and found Roman Fülek's NCB85 and NCB85v2 projects, and Glitch Works 8085 projects. While I liked these projects, they didn't quite meet my project design goals:

  • NCB85 was the closest, but it doesn't have an extension bus
  • NCB85v2 is a little bit too complicated for my needs
  • Glitch Works 8085 project didn't have an on-board UART

The resulting design includes 8085 CPU, 8251 USART, 32 KiB SRAM, 32 KiB or 16 KiB ROM. It uses a GAL16V8/ATF16V8 simple programmable logic device (SPLD) instead of discrete logic ICs for the address decode and the frequency divider for USART. It reduces the number of components, allows for tweaking the configuration by re-programming the SPLD, and provides an introduction to the programmable logic devices.

MiniMax8085 Assembled Board

Specifications

  • 80C85A or 8085A CPU, 3.072 MHz, 4 MHz, 4.9152 MHz, 6.144 MHz, or 8 MHz CPU clock frequency
  • 82C51A or 8251A USART for console connection
  • 32 KiB of battery backed SRAM
  • Up to 32 KiB of ROM. EEPROM, UV EPROM or Flash ROM memory is supported
  • 40-pin extension bus connector, including most of 8085 signals and demultiplexed data and address buses

Hardware Documentation

Schematic and PCB Layout

Schematic - Version 1.0

PCB Layout - Version 1.0

Design Description

The MiniMax8085 is based on the Intel 8085A CPU (U1). The 74*573 octal latch (U6) is used to demultiplex the lower 8-bit of address and data bus. The board uses the Intel 8251A USART (U2) for serial input / output, for example for connecting a console. The MAX232A RS-232 driver/receiver (U7) is used to convert TTL logic levels to RS-232 voltage. The 62256 32 KiB SRAM (U4) is used for the system RAM. The RAM is battery backed using the DS1210 NVRAM controller (U8). The board supports a variety of ROM options (U3): The 28C256 EEPROM; UV EPROMs, such as 27C256 (32 KiB), 27C128 (16 KiB), and 27C64 (8 KiB); or The 29C256 Flash ROM ICs. Normally the ROM is mapped to the CPU memory beginning from the address 0x0000, while the RAM is mapped beginning from the address 0x8000. The ROM and RAM addresses can be swapped by pulling /SWAP_MEM signal low. This can be used, for example, to implement a CP/M extension card. The GAL16V8 simple programmable logic device (U5) implements all the required "glue" logic functions:

  • Address decode and chip select for the USART. The default USART I/O address is 0x08.
  • Clock divider that divides the CPU clock to obtain USART transmit and receive clock. The divisor value depends on the CPU speed. Fuse maps with divide by 10 and 20, divide by 13 and 26, and divide by 16 and 32 ratios are provided to support common 8085A CPU clocks: 3.072 MHz, 4 MHz, 4.9152 MHz, 6.144 MHz, and 8 MHz.
  • Address decode and chip select for the ROM and SRAM. The address decode logic include additional /SWAP_MEM input, which by default is configured to swap address mapping of ROM and RAM.

Please refer to the Simple Programmable Logic Device section below for more details regarding the SPLD configuration and programming.

The MiniMax8085 includes a 40-pin extension connector (P4), that features the 8085A address and data buses, and control signals. Please refer to the Jumpers and Connectors section below for the connector pinout and signals description.

Jumpers and Connectors

Jumpers JP1 and JP2 - ROM Configuration

These jumpers configure how pins 1 and 27 of the ROM IC (U3) are connected. The jumper settings are printed on the bottom side of the PCB.

ROM TypeJumper JP1 Position - ROM Pin 1 ConnectionJP2 Position - ROM Pin 27 Connection
27C128, 27C64, 27128, 27642-3 - pin 1 connected to VCC1-2 - pin 27 connected to VCC
27C2562-3 - pin 1 connected to VCC2-JP1 pin 1 (jumper installed vertically), pin 27 connected to A14
28C2561-2 - pin 1 connected to A142-3 - pin 27 connected to /WR
29C2562-JP2 pin 3 (jumper installed vertically), pin 1 connected to /WR2-JP1 pin 1 (jumper installed vertically), pin 27 connected to A14
Jumper JP3 - USART Clock Frequency

JP3 sets the USART input clock frequency

Jumper PositionCrystal Y1 Frequency (CPU Frequency)USART Clock FrequencyUSART Bit rate
1-26.144 MHz (3.073 MHz), 8 MHz (4 MHz), 9.8304 MHz (4.9152 MHz)307.2 kHz19200 bps (default) or 2400 bps, depending on USART configuration
1-212.288 MHz (6.144 MHz), 16 Mhz (8 MHz)614.4 kHz38400 bps (default) or 4800 bps, depending on USART configuration
2-36.144 MHz (3.073 MHz), 8 MHz (4 MHz), 9.8304 MHz (4.9152 MHz)153.6 kHz9600 bps (default) or 1200 bps, depending on USART configuration
2-312.288 MHz (6.144 MHz), 16 MHz (8 MHz)307.2 kHz19200 bps (default) or 2400 bps, depending on USART configuration
Connector P1 - POWER

Connect regulated +5V power supply to this connector.

PinDescription
tip (the inner contact)Positive terminal - +5V
barrel / sleeveNegative terminal - ground
Connector P2 - SIO

Connector P2 contains the 8085A CPU serial input and output lines.

PinDescription
1Ground
2SOD / Serial Output Data
3SID / Serial Input Data
Connector P3 - SERIAL

P3 is the serial port connector. It is normally used for connecting a console or terminal. P3 uses pinout similar to that of IBM AT serial port (with some signals missing). Use a null modem cable to connect to a PC.

Pin NumberSignal NameDescription and Notes
1DCDCarrier Detect; Not used - Not connected on the SBC
2RXReceive Data; Input to SBC
3TXTransmit Data; Output from SBC
4DTRData Terminal Ready; Not used - Not connected on the SBC
5Signal GroundConnected to the SBC GND signal
6DSRData Set Ready; Not used - Not connected on the SBC
7RTSRequest to Send; Output from SBC
8CTSClear to Send; Input to SBC
9RIRing Indicator; Not used - Not connected on the SBC
ShieldDE9 ShieldConnected to the SBC GND signal
Connector P4 - EXTENSION

Connector P4 contains the 8085A CPU address and data buses, and control signals.

PinSignalDescriptionPinSignalDescription
1TRAPNon-maskable interrupt input21AD5Address/data bus - bit 5 bi-directional
23.073 MHzCPU clock output22AD4Address/data bus - bit 4 bi-directional
3RST5_5RST5.5 interrupt input23AD7Address/data bus - bit 7 bi-directional
4INTRInterrupt request input24AD6Address/data bus - bit 6 bi-directional
5RST7_5RST7.5 interrupt input25/RDRead control output
6/INTAInterrupt acknowledge output26IO/MI/O / memory cycle status output
7ALEAddress latch enable output27/WRWrite control output
8/SWAP_MEMSwap ROM & RAM addresses input28RESETReset output
9A9Address bus - bit 9 output29A1Address bus - bit 1 output
10A8Address bus - bit 8 output30A0Address bus - bit 0 output
11A11Address bus - bit 11 output31A3Address bus - bit 3 output
12A10Address bus - bit 10 output32A2Address bus - bit 2 output
13A13Address bus - bit 13 output33A5Address bus - bit 5 output
14A12Address bus - bit 12 output34A4Address bus - bit 4 output
15A15Address bus - bit 15 output35A7Address bus - bit 7 output
16A14Address bus - bit 14 output36A6Address bus - bit 6 output
17AD1Address/data bus - bit 1 bi-directional37VCCPower - 5V
18AD0Address/data bus - bit 0 bi-directional38VCCPower - 5V
19AD3Address/data bus - bit 3 bi-directional39GNDPower - Ground
20AD2Address/data bus - bit 2 bi-directional40GNDPower - Ground
Connector P5 - VBAT

P5 is used to connect the battery for the SRAM backup. A 3-volt lithium cell, or 2-3 alkaline batteries connected in series can be used for this purpose.

PinDescription
1Battery voltage, 3V - 5V
2Ground

Simple Programmable Logic Device

SPLD Files and Programming

As described above, the MiniMax8085 SBC uses a GAL16V8 simple programmable logic device (SPLD) to implement all the necessary glue logic. The SLPD sources and images (fuse maps are available SPLD folder of this GitHub repository:

  • Mini8085-3.072MHz.pld - SPLD source code for a system with CPU running on 3.072 MHz or 6.144 MHz clock frequency.
    • Mini8085-3.072MHz.jed - SPLD fuse map for a system with CPU running on 3.072 MHz or 6.144 MHz clock frequency
    • When used with 6.144 MHz CPU clock frequency, the USART clock will be doubled. So that it will work on 19200 bps instead of 9600 bps, or 38400 bps instead of 19200 bps, depending on JP3 setting
  • Mini8085-3.9936MHz.pld - SPLD source code for a system with CPU running on 3.9936 MHz (4 MHz) or 8 MHz clock frequency
    • Mini8085-3.9936MHz.jed - SPLD fuse map for a system with CPU running on 3.9936 MHz (4 MHz) or 8 MHz clock frequency
    • When used with 8 MHz CPU clock frequency, the USART clock will be doubled. So that it will work on 19200 bps instead of 9600 bps, or 38400 bps instead of 19200 bps, depending on JP3 setting
  • Mini8085-4.9152MHz.pld - SPLD source code for a system with CPU running on 4.9152 MHz clock frequency

The SPLD IC has to be programmed using an EPROM programmer, such as a popular MiniPro TL866CS programmer. The process is very similar to programming regular EPROM ICs:

  • Select IC manufacturer: Lattice for GAL16V8 or Atmel for ATF16V8
  • Select the SPLD type: GAL16V8 or ATF16V8
  • Load the SPLD fuse map - pick one of Mini8085-3.072MHz.jed, Mini8085-3.9936MHz.jed, or Mini8085-4.9152MHz.jed files, depending on the CPU frequency (or the crystal resonator you are using).
  • Program the SPLD. You might want to disable "lock" option, so that SPLD will remain readable after the programming.
SPLD Implementation

The Mini8085-3.072MHz.pld, Mini8085-3.9936MHz.pld, and Mini8085-4.9152MHz.pld files contain the SPLD source code, that describes the logic equations defining the desired SPLD functionality. The source code can be divided into the following sections:

Header

This part contains the name of the SPLD and the project name:

text

GAL16V8       ; 8085 SBC Logic first line : used GAL
8085Mini      ;                second line: any text (max. 8 char.)
Pin Names Definition

This part assigns names to the SPLD pins. The names order corresponds to the pin numbers: the first line assigns names to the pins 1 - 10, and the second line to the pins 11 - 20. Note that several pins have fixed functions: pin 1 - Clock, pin 10 - GND, pin 11 - /OE, and pin 20 - VCC. Also pins 2 - 9 can be used as inputs only, while pins 12 - 19 can be used as either inputs or outputs.

text

Clock IOM    A15    SWAPMEM A7    A6    A5    A4    A3   GND
/OE   RAMCS  ROMCS  USARTCS Q4    Q3    Q2    Q1    Q0   VCC
Logic Equations - USART Clock Frequency Divider

The frequency divider is implemented as a synchronous counter, where all the outputs change their state simultaneously with the rising edge of the Clock signal. To achieve this, the SPLD is configured in registered mode (this is done automatically, by the SPLD assembler). In this mode the SPLD outputs with .R suffix (Q0.R - Q4.R) are configured as D flip-flops, and their logic equations describe the next state of the flip-flops (the values on their D inputs, that will be latched with the Clock signal). For example, in Mini8085-4.9152MHz.pld the next state of Q0 output is defined to be the inverse of its current state: Q0.R = /Q0. The Q0 - Q2 outputs are the outputs of intermediate stages of counter/divider, and they are not used in the MiniMax8085. The USART clock inputs are connected to either Q3 or Q4 output, depending on the position of the jumper JP3, resulting in divide by either 10 or 20 for 3.072 MHz CPU clock (using the Mini8085-3.072MHz.pld fuse map), divide by either 13 or 26 for 4.9152 MHz CPU clock (using the Mini8085-3.9936MHz.pld fuse map), or divide by either 16 or 32 for 4.9152 MHz CPU clock (using the Mini8085-4.9152MHz.pld fuse map).

Mini8085-4.9152MHz.pld: 5-bit binary counter, or divide by 32 frequency divider.

text

Q0.R =   /Q0
 
Q1.R =    Q1 * /Q0
       + /Q1 *  Q0

Q2.R =    Q2 * /Q1
       +  Q2 * /Q0
       + /Q2 *  Q1 *  Q0

Q3.R =    Q3 * /Q2
       +  Q3 * /Q1
       +  Q3 * /Q0
       + /Q3 *  Q2 *  Q1 *  Q0

Q4.R =    Q4 * /Q3
       +  Q4 * /Q2
       +  Q4 * /Q1
       +  Q4 * /Q0
       + /Q4 *  Q3 *  Q2 *  Q1 *  Q0

Mini8085-3.072MHz.pld: Q2-Q0 implement divide by 5 frequency divider, Q3 and Q4 stages divide the frequency further by 2 and 4 respectively.

text

Q0.R =   /Q2 * /Q0

Q1.R =   /Q2 * /Q1 *  Q0
       + /Q2 *  Q1 * /Q0

Q2.R =   /Q2 *  Q1 *  Q0

Q3.R =    Q3 * /Q2
       + /Q3 *  Q2

Q4.R =    Q4 * /Q3
       +  Q4 * /Q2
       + /Q4 *  Q3 *  Q2
Logic Equations - Memory Chip Select

These equations activate /ROMCS and /RAMCS signals: The /ROMCS is active (LOW) when 8085 IO/M signal is LOW, indicating a memory access, and either A15 is LOW (lower 32 KiB of memory address space) and SWAPMEM is inactive (HIGH), or then A15 is HIGH (upper 32 KiB of memory address space), and SWAPMEM is active (LOW). The /RAMCS is active (LOW) when 8085 IO/M is LOW, indicating a memory access, and either A15 is HIGH (upper 32 KiB of memory address space) and SWAPMEM is inactive (HIGH), or then A15 is LOW (lower 32 KiB of memory address space), and SWAPMEM is active (LOW).

text

/ROMCS =   /IOM *  SWAPMEM * /A15
         + /IOM * /SWAPMEM *  A15

/RAMCS =   /IOM *  SWAPMEM *  A15
         + /IOM * /SWAPMEM * /A15
Logic Equations - USART Chip Select

This equation activates the /USARTCS signal. It is active (LOW) when 8085 IO/M signal is HIGH, indicating an I/O port access, address lines A7-A4 are LOW, and address line A3 is high. So that USART is selected using 00001xxxb addresses (8h-0Fh).

text

/USARTCS = IOM * /A7 * /A6 * /A5 * /A4 * A3

Bill of Materials

MiniMax8085 project on Mouser.com - View and order all components except of the 8085A CPU, the 8251A USART, and the PCB.

MiniMax8085 project on OSHPark.com - View and order the MiniMax8085 PCB.

Component TypeReferenceDescriptionQuantityPossible Sources and Notes
PCBMiniMax8085 PCB Version 1.01OSH Park MiniMax 8085 V1.0
CapacitorC1 - C110.1 uF ceramic, 5.08 mm lead spacing11Mouser 594-K104K15X7RF53H5, 810-FG28X7R1H104KNT6; Jameco 15270
CapacitorC121 uF ceramic, 5.08 mm lead spacing1Mouser 810-FG28X7R1E105KRT6
CapacitorC1310 uF ceramic, 5.08 mm lead spacing1Mouser 810-FG28X5R1E106MR00. Note: Can be replaced with tantalum or electrolytic capacitors
CapacitorC14, C1533 pF ceramic, 5.08 mm lead spacing2Mouser 75-1C20C0G330J050B; Jameco 332217.Note: Install only when using CMOS 80C85A CPU. Do not install when using NMOS 8085A
ConnectorP1DC jack1Mouser 806-KLDX-0202-A; Jameco 101179, 101178
ConnectorP2, JP1 - JP33x1 pin header4Mouser 855-M20-9990345, 649-69190-103HLF, 649-78229-103HLF; Jameco 109576
ConnectorP3DE9M, right angle PCB mount1Mouser 806-K22X-E9P-N-99 (teal color), 806-K22X-E9P-N; Jameco 104943, 614459, 614432
ConnectorP420x2 pin socket1Mouser 517-929852-01-20-RB. Note: Optional, used for extension bus
ConnectorP52 pin header with friction lock1Mouser 571-6404562, 571-3-641126-2, 571-3-641215-2; Jameco 232266, 613931. Note: Optional, used for SRAM battery backup. Corresponding female connector: Mouser 571-13758202; Jameco 234798. Contacts (2 contacts needed): Mouser 571-14453361; Jameco 234923, 736501. It is recommended to use a polarized header to avoid incorrect power polarity.
DiodeD11N41481Mouser 512-1N4148TR, 512-1N4148, 78-1N4148; Jameco 36038, 179215
LEDD2LED Indicator, Dialight 566-0206F1Mouser 645-566-0206F. Note: Can be replaced with a standard 3 mm or 5 mm LED
ResistorR133 Ohm, 1/4 W1Mouser 240-CFR-25JT-52-33R; Jameco 690507
ResistorR2470 Ohm, 1/4 W1Mouser 603-CFR-25JT-52-470R; Jameco 690785
ResistorR3100 kOhm, 1/4 W1Mouser 603-CFR-25JT-52-100K; Jameco 691340
Resistor ArrayRR1, RR24.7 kOhm, 6 pin, bussed resistor array2Mouser 264-4.7K-RC, 652-4606X-1LF-4.7K
SwitchSW1Tactile switch, right angle1Mouser 653-B3F-3100, 653-B3F-3152, 706-95C06A2RAT, 706-95C06C2RAT, 706-95C06F2RAT; Jameco 2280495. Note: Switches can have different actuator length. You might want to select the switch according your own preferences, for example the enclosure type you want to use, and whatever you want the reset button to stick out of the enclosure or to stay hidden inside.
CrystalY16.144 MHz quartz resonator for 3 MHz CPU; 8 MHz quartz resonator for 4 MHz CPU; 9.8304 MHz quartz resonator for 5 MHz CPU; 12.288 MHz quartz resonator for 6 MHz CPU ; 16 MHz quartz resonator for 8 MHz CPU1Mouser 520-61-18-4XEN (6.144 MHz), 695-HC49US-983-U (9.8304 MHz), 695-HC49US-122-U (12.288 MHz), 815-ABL-16-B2 (16 MHz); Unicorn Electronics 6.144 MHz or 9.8304 MHz according to desired CPU clock frequency.
ICU180C85A, 8085A-2, or 8085A CPU1Jameco 8085A-2, 5 MHz - 52071, 8085A, 3 MHz - 52062; Unicorn Electronics 80C85, 8085A-2, or 8085A; eBay (search for 80C85 or 8085 CPUs, or IM1821VM85A / ИМ1821ВМ85А for Soviet 80C85 clone). Note: Use CMOS part - 80C85A for lower power consumption
ICU282C51A, or 8251A USART1Jameco 8251A - 52652 82C51A - 52370, NEC D8251AC - 52644; Unicorn Electronics 82C51 or 8051; eBay (search for 82C51 or 8251 USART, or 580VV51 / 580ВВ51 for Soviet 8251 clone). Note: Use CMOS part - 82C51A for lower power consumption
ICU328C256 EEPROM, 27C256 UV EPROM, 27C128 UV EPROM, 27128 UV EPROM, 27C64 UV EPROM, 2764 UV EPROM1Mouser 556-AT28C25615PU; Jameco 28C256 EEPROM - 74843, 27C256 UV EPROM - 39714; Unicorn Electronics 28C256-15 (EEPROM), 27C256 or 27C128 (UV EPROM). Note: EEPROM parts are recommended. UV lamp is required to erase UV EPROMs
ICU462256 SRAM1Mouser 913-AS6C62256-55PCN; Jameco CY62256LL-70PC - 391822, CY62256L-70PC - 391793, 62256LP-70 - 82472, 62256LP-10 - 42833, 62256LP-15 - 42850; Unicorn Electronics 62256LP-70 (or any other 62256)
ICU5GAL16V8, ATF16V81Mouser 556-AF16V8B15PU, Jameco GAL16V8D-15LP - 2290551, GAL16V8D-25LP - 876539; Unicorn Electronics 16V8 (10 ns, 12 ns, or 15 ns versions would work. Make sure to contact the seller and ask specifically for Lattice GAL16V8 part. iCT PEEL16V8 parts are not supported by MiniPro TL866CS programmer)
ICU674HCT573, 74ALS573, 74F5731Mouser 595-SN74HCT573N, 595-SN74AHCT573N, 595-SN74F573N, 595-SN74ALS573CN; Jameco 74HCT573 - 45090; Unicorn Electronics 74HCT573, 74F573, 74ALS573; eBay (search for 74HCT573, 74ALS573, 74F573, or KR1533IR33 / КР1533ИР33 for Soviet 74ALS573 clone)
ICU7MAX202, MAX232A1Mouser 595-TRS202ECN, 700-MAX202CPE, 700-MAX232ACPE; Jameco MAX202CPE - 142535; Unicorn Electronics MAX202
ICU8Maxim DS1210, or Maxim MXD12101Mouser 700-MXD1210CPA; Jameco DS1210 - 114198; Unicorn Electronics DS1210. Note: Optional, used for SRAM battery backup. If not populated - install two wire jumpers instead as shown on the PCB silk screen
IC SocketU140 pin 600 mil DIP socket1Mouser 517-4840-6000-CP, 649-DILB40P223TLF; Jameco 41111
IC SocketU2 - U428 pin 600 mil DIP socket3Mouser 517-4828-6000-CP, 649-DILB28P223TLF; Jameco 40301
IC SocketU5, U620 pin 300 mil DIP socket2Mouser 517-4820-3000-CP, 649-DILB20P-223TLF; Jameco 38608
IC SocketU716 pin 300 mil DIP socket1Mouser 517-4816-3000-CP, 649-DILB16P-223TLF; Jameco 37373
IC SocketU88 pin 300 mil DIP socket1Mouser 517-4808-3000-CP, 649-DILB8P223TLF; Jameco 112206
Replacement Notes
  • CMOS parts are preferred for lower power consumption.
  • 80C85 (CPU) - Any type in DIP-40 package will do. Use 6.144 MHz crystal for 3 MHz parts. Such parts usually don't have any numeric suffix in the part name. For example Intel P8085AH is a 3 MHz part, while Intel P8085AH-2 is a 5 MHz part.
    • CMOS parts: MSM80C85A or M80C85A (OKI), CA80C85B (Calmos, Tundra), IM1821VM85A (Soviet/Russian Clone)
    • NMOS parts: P8085A (Intel, AMD), P8085AH, P8085AH-2, P8085AH-1 (Intel, newer HMOS process, 3 MHz, 5 MHz, and 6 MHz parts respectively), M5L8085AP (Mitsubishi), TMP8085AP (Toshiba), and so on.
  • 80C51A (USART) - Any type in DIP-28 package.
  • 28C256 (EEPROM, EPROM) - The board support a wide variety of ROMs. Note that JP1 and JP2 jumpers need to be set according to the ROM type.
    • 28C256 EEPROM: Atmel/Microchip AT28C256, Xicor X28C256
    • CMOS UV EPROMs: 27C256 UV EPROMs (32 KiB), 27C128 UV EPROMs (16 KiB), 27C64 UV EPROMs (8 KiB)
    • NMOS UV EPROMs: 27256 UV EPROMs (32 KiB), 27128 UV EPROMs (16 KiB), 2764 UV EPROMs (8 KiB)
    • 62256-like NVRAM (32 KiB)
    • AT29C256 Flash ROM
  • 62256 (SRAM) - A low-power CMOS SRAM 32KiB, in DIP-28 wide (600 mils) packages. Here are some common parts:
    • In production: AS6C62256 (Alliance Memory), CY62256N (Cypress)
    • Old stock: HM62256LP (Hitachi), HY62256 (Hyundai), KM62256 (Samsung), UM62256 (UMC)
  • GAL16V8 (SPLD): Needs to be in DIP-20 package
    • In production: Atmel/Microchip ATF16V8
    • Old stock: Lattice GAL16V8 (any modification)
    • iCT PEEL16V8 might work, but it is not supported by common MiniPro TL866CS programmer
  • 74HC573 (Octal D Latch with 3-STATE Outputs) - Can be replaced with any 74-series family that works with 5V power supply voltage.
    • CMOS parts: 74HC573, 74ACT573, 74HCT573, 74AHCT573, 74AC573, 74ACT573
    • TTL parts: 74ALS573, 74F573, 74LS573
  • MAX232A (RS-232 Drivers/Receivers) - There is a variety of compatible ICs available from various manufacturers. Note that the original MAX232 part as well as some compatible ICs require 1 uF capacitors for charge pumps (C7-C11).
    • Maxim: MAX232A, MAX202, MAX232
    • Texas Instruments: TRS202, MAX232
    • Exar: SP232
    • Analog Devices: ADM202, ADM232
    • Intersil: HIN202, HIN232
  • LED D2 - Can be replaced by a 3 mm LED with pins bent at 90 degrees.

Firmware and Software

ROM Image

The pre-built ROM image for MiniMax8085 containing, the MON85 monitor, Tiny BASIC, and IMSAI 8K BASIC is provided in this repository. This ROM image has the following layout:

  • 0x0000 - 0x0FFF - MON85 Monitor. It will run automatically upon power-on or reset
  • 0x1000 - 0x17FF - Tiny BASIC. Use MON85 G 1000 command to run it
  • 0x1800 - 0x3FFF - IMSAI 8K BASIC. Use MON85 G 1800 command to run it The image size is 8 KiB, and it will work with either 16 KiB EPROMs (e.g. 27128), and 32 KiB EPROMs. It can be programmed into 8 KiB EPROM, leaving out the IMSAI 8K BASIC.

MON85 Monitor

MiniMax8085 uses MON85 Software Debug Monitor For the 8085/8080 written by Dave Dunfield. Specifically it was tested with the improved by Roman Borik version 1.2. This version adds support for undocumented 8085 instructions and flags.

Usage Notes
  • Use ? command to get a short summary of the MON85 commands
  • Press ESC button to interrupt currently running command and return to the command prompt
  • Addresses and data are typed in hexadecimal, without any preferences. For example M 18F0
Files

MON85 Screenshot

Tiny BASIC

The famous Tiny BASIC 2.0 written by Li-Chen Wang and modified by Roger Rauskolb, runs on MiniMax8085 with very little modifications: The 8251 USART I/O address needs to be updated, and its initialization parameters need to be slightly updated to use 1 stop bit instead of two, and to enable CTS/RTS flow control. Also the RAM addresses need to be updated to start from 8000h.

Files

IMSAI 8K BASIC

IMSAI 8K BASIC runs on MiniMax8085 with minimal modifications (memory and USART I/O addresses), and provides floating point support. With that being said, it is slower that Tiny BASIC.

Usage Notes
  • The operators and commands must be typed in upper case
  • After power-on, make sure to type NEW command before typing any other commands
  • The BASIC program in memory is preserved across reboots
Files

Test Programs

Minimal Test Code - Blink an LED

The code below blinks an LED connected to 8085's SOD output. The code is borrowed from Glitch Works 8085 SBC project

text

;Assembly                                 Address    Opcode

;Flash a LED on SOD


;Load C000h to SP
START:          LXI     H,0C000h        ; 0000       21 00 C0
                SPHL                    ; 0003       F9


FLASH:          MVI     A,0C0h          ; 0004       3E C0
                SIM                     ; 0006       30
                CALL    DELAY           ; 0007       CD 13 00
                MVI     A,40h           ; 000A       3E 40
                SIM                     ; 000C       30
                CALL    DELAY           ; 000D       CD 13 00
                JMP     FLASH           ; 0010       C3 04 00

;Delay, return to HL when done.
DELAY:          MVI     A, 0FFh         ; 0013       3E FF
                MOV     B,A             ; 0015       47
PT1:            DCR     A               ; 0016       3D
PT2:            DCR     B               ; 0017       05
USART Test Code

This code prints "8085" to the serial port, and then echoes received characters.

text

; USART registers
USART_DATA     EQU     08h
USART_CMD      EQU     09h

START:         LXI     H,0C000h
               SPHL
               CALL    USART_INIT

; write a banner
               MVI     A,38h           ; '8'
               MOV     C,A
               CALL    USART_OUT
               MVI     A,30h           ; '0'
               MOV     C,A
               CALL    USART_OUT
               MVI     A,38h           ; '8'
               MOV     C,A
               CALL    USART_OUT
               MVI     A,35h           ; '5'
               MOV     C,A
               CALL    USART_OUT
               MVI     A,0Dh           ; CR
               MOV     C,A
Files

Building the Software

The provided source code can be built using the AS macroassembler Here are steps to compile the code, assuming Windows host, and that AS installed in *C:\asw* folder:

  • Build: c:\asw\bin\asw.exe -L -cpu 8085 filename.asm
    • -L generates listing and writes it to filename.lst
    • -cpu 8085 - specifies CPU type
    • Output: filename.p
  • Generate binary image: c:\asw\bin\p2bin filename
    • Input: filename.p
    • Output: filename.bin
  • Generate Intel HEX: c:\asw\bin\p2hex -l 32 filename
    • -l 32 - line length - 32 bytes (default 16 bytes)
    • Input: filename.p
    • Output: filename.hex

3D Printable Enclosure

See 3D Printable Enclosure for MiniMax8085 page for the instructions, STL files, OpenSCAD source.

MiniMax8085 3D Printable Enclosure

Extension Boards

Keypad and VFD Extension Board

The Keypad and VFD (vacuum fluorescent display) extension board provides simple 20-key keypad and display for MiniMax8085 SBC.

Arithmetic and Extension Board

The Arithmetic Processor and Extension board adds to MiniMax 8085 SBC an AMD Am9511A / Intel 8231A Arithmetic Processor Unit (APU), Intel 8255 Programmable Parallel Interface (PPI), Intel 8254 Programmable Interrupt Timer (PIT), and switchable 32 KiB SRAM, that can swapped in instead of MiniMax 8085 on-board ROM

Frequently Asked Questions and Troubleshooting

  • Q: Board doesn't work. No output on the serial console.
    • A1: Make sure that the ROM type is configured properly using JP1 and JP2 jumpers.
    • A2: The firmware configures USART with RTS/CTS flow control enabled. Check that your terminal emulation software has RTC/CTS flow control enabled, and that you're using a null-modem cable with RTS and CTS signals on one side connected to CTS and RTS signals on the other side. Alternatively you can connect pin 7 (RTS) and pin 8 (CTS) on the P3 connector, and use a three wire serial cable with TX, RX, GND signals only.
  • Q: Board works unreliably, gets randomly stuck when board is touched, requires reset every so often.
    • A: Assuming that DS1210 is installed, make sure you have 3V-4.5V battery connected to connector P5 (observe polarity). Alternatively you can put a jumper across P5, or remove DS1210 and install jumpers instead as indicated on the PCB.

References

Parts

45
QtyValueFootprintReferences
60.1uFmy_components:Cap_Cer_508C1, C2, C3, C4, C5, C6
50.1uFmy_components:Cap_Pol_508_3C7, C8, C9, C10, C11
4CONN_1my_components:Hole_3mmHOLE1, HOLE2, HOLE3, HOLE4
233pFmy_components:Cap_Cer_508C14, C15
24.7kmy_components:Conn_SIL6RR1, RR2
1100kmy_components:Res_762R3
110uFmy_components:Cap_Pol_508_3C13
11N4148my_components:Diode_762D1
11uFmy_components:Cap_Pol_508_3C12
127C128my_components:IC_DIP28_600U3
133my_components:Res_762R1
1470my_components:Res_762R2
16.144MHzmy_components:Crystal_HC-49U_VertY1
162256my_components:IC_DIP28_600U4
174HC573my_components:IC_DIP20_300U6
180C85Amy_components:IC_DIP40_600U1
182C51Amy_components:IC_DIP28_600U2
1CLKmy_components:Conn_Pin_Header_3x1_2.54mmJP3
1DS1210my_components:IC_DIP8_300U8
1EXTENSIONmy_components:Conn_Pin_Header_20x2_2.54mmP4
1GAL16V8my_components:IC_DIP20_300U5
1MAX232Amy_components:IC_DIP16_300U7
1OSHW-logo_silkscreen-front_10mmOSHW-logo:OSHW-logo_silkscreen-front_10mmG***
1POWERmy_components:Conn_Power_Jack_Circular_PadsP1
1PWRmy_components:LED_Dialight_566-0206FD2
1RESETmy_components:Switch_Tactile_6mm_RightSW1
1ROM_1my_components:Conn_Pin_Header_3x1_2.54mmJP1
1ROM_27my_components:Conn_Pin_Header_3x1_2.54mmJP2
1SERIALmy_components:Conn_Dsub_DE9MP3
1SIOmy_components:Conn_Pin_Header_3x1_2.54mmP2
1VBATmy_components:Conn_Friction_Lock_2P_2.54mmP5

Similar boards

  • 2 layers99.9 × 99.9 mmEasy z80, the printed circuit board in 3D

    Easy z80

    skiselev/easy_z80

    An easy to build Zilog Z80 based single board computer

    61 parts180GPL-3.0
  • 2 layers53.3 × 66 mmBulkyMIDI-32 Amiga, the printed circuit board in 3D

    BulkyMIDI-32 Amiga

    tebl/BulkyMIDI-32

    A HW build of the MT32-PI project, allowing you to emulate a Roland MT-32 using a Raspberry Pi. Includes enough additional modules to build a MIDI-mountain as well as adapters for connecting to most things retro.

    23 parts80CC-BY-SA-4.0
  • 2 layers36.8 × 44.5 mmPontag, the printed circuit board in 3D

    Pontag

    hkzlab/pontag

    PONTAG is an active adapter that converts a mouse using PS/2 protocol into an RS232 mouse (Microsoft protocol), commonly used on IBM XT/AT and compatibles.

    32 parts9
  • 2 layers164.5 × 89.5 mmJupiter II, the printed circuit board in 3D

    Jupiter II

    ricaflops/Jupiter-II

    Another Jupiter Ace computer clone

    126 parts43MIT
  • 2 layers333.2 × 205.9 mmDragon64, the printed circuit board in 3D

    Dragon64

    danwerner21/Dragon64

    A clone board for the Dragon64 and Tandy Color Computer

    232 parts34
  • 2 layers164.5 × 71.8 mmJupiter II Expansion, the printed circuit board in 3D

    Jupiter II Expansion

    ricaflops/Jupiter-II-Expansion

    Expansion board for Jupiter-II computer

    99 parts15MIT
  • 2 layers222.3 × 88.9 mmSCSISidecar, the printed circuit board in 3D

    SCSISidecar

    schlae/a1000-scsi-sidecar

    Amiga 1000 SCSI sidecar adapter

    82 parts12CERN-OHL-P-2.0
  • 2 layers299.2 × 180 mm2layer, the printed circuit board in 3D

    2layer

    ceteras/CoBra

    A Z80 retro computer, ZX Spectrum compatible, can also run CP/M.

    369 parts11MIT

Questions

How big is the Mini8085 PCB?

It measures 100 × 80 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Mini8085 use?

45 parts, built around the MAX232ACSE+, 27C128-15 and 74HC573. 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 Mini8085 KiCad files?

From the skiselev/minimax8085 repository on GitHub, at the commit this page was made from: the board is KiCad/Mini8085.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mini8085 design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).