Skip to the content
2 layers79.5 × 99.9 mmIO Card, the printed circuit board in 3D

A simple 6502 single board computer

Size
79.5 × 99.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
29
Nets
103
Pads
321
Tracks, vias
1,004, 80
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
21 Sep 2023
Updated
2 Nov 2026

Overview

IO Card is an open-source printed circuit board by marianol, from the marianol/simple6502 repository on GitHub. It is a 2-layer board of 79.5 × 99.9 mm with 29 parts on 103 nets, routed with 1,004 tracks and 80 vias.

It is built around the 74HC595. Its parts include 8 connectors, 7 resistors, 6 capacitors, 4 ICs and 4 diodes. It belongs with the computers and single-board computers and retro computing and games boards and the PIC boards of this library.

Main components

1

README

README.md

simple6502

My own take on a simple 6502 single board computer, inspired on Garth Wilson's excellent 6502 Primer, Daryl Rictor, Ben Eater, and my own beautiful C=64 and all the classic 8-bit computers of the late 70s early 80s.

This project exists because of scope creep on my YAsixfive02 project, which is in its 10000 iteration. Which I don't think will ever end.

Organization

The project is organized as follows:

  • /hardware
    • /simple6502 The SBC computer motherboard a.k.a The Project
    • /IO_Card A 6522 IO card with 2 VIAs
    • /protoCard A protoboard card for the simple6502 to build your projects
    • /6502motherboard An untested but complete card connector backplane motherboard. I decided to abandon this in favor of the SBC, i may pick it up later
    • /schematics PDF schematics and renders
    • /gallery images of the completed PCBs
    • /3dmodels Kicad 3D models
  • /firmware
    • BIOS and ROM for the simple6502, check the ReadMe
  • /docs
    • docs will be here for now only datasheets

Design

The goal is to build a simple 6502 SBC with RAM, ROM, IO decoding and a serial interface. An expansion bus will carry all the address, data and supporting lines to allow adding IO and other hardware expansions. The PCB will be kept at 100x100mm to reduce cost.

For the serial interface I settled on the Motorola 68B50 ACIA, just because I had one lying around. This forced using a 1.8432MHz clock that drives both the CPU and the ACIA. I added a header for an FTDI card to convert the TTL serial to USB. The ACIA is connected to the IO_8 line locating it at 0x7F70 in the memory map. The jumper J2 next to the header allows you to run the board with the USB 5v rail from the FTDI. IMPORTANT!! This overrides the power switch SW2 and there is no protection built into the board so you should not connect this jumper at the same time as the 5V barrel J7 or the AUX Power header J8. The bus Slot connectors have pin 27 tied to IO_1 and IO_2 respectively allowing to design expansion cards that can be mapped into memory based on where they are plugged. You still have access to IO_3 to IO_7 in case you want to use those. The Expansion Port J1 is intended to be used with a 40 pin ribbon for ease of development of prototype boards.

Simple6502 Computer

I made the PCBs for Revision 1.6 on PCBWay. Simple6502 PCB

Status

Revision 1.6:

  • PCB built and tested.
  • BIOS 0.0.1 working on Rev 1.6. Minimal BIOS routines to control the ACIA

Memory Map

Momory Decocing is done using gates for RAM, ROM and IO. IO_CS line is sent to a 3-8 decoder to get 8 individual IO select lines. IO line $\overline{IO\textunderscore08}$ is used for the onboard ACIA for serial communication. IO lines $\overline{IO\textunderscore01}$ and $\overline{IO\textunderscore02}$ are sent to pin 27 of Slot 1 and 2 respectively. This allows cards that use this pin to get mapped to the memory based on the Slot they are inserted.

I should have mapped some IO on Zero Page for ease of programming and fast IO, but that is left for another revision, since is too convoluted with gates and better suited for a PAL/GAL.

Address Space

  • 0x0000 - 0x7EFF : RAM 32K - 256 bytes (31.75k)
  • 0x7F00 - 0x7F0F : IO_1 > SLOT 1
  • 0x7F10 - 0x7F1F : IO_2 > SLOT 2
  • 0x7F20 - 0x7F2F : IO_3
  • 0x7F30 - 0x7F3F : IO_4
  • 0x7F40 - 0x7F4F : IO_5
  • 0x7F50 - 0x7F5F : IO_6
  • 0x7F60 - 0x7F6F : IO_7
  • 0x7F70 - 0x7F7F : IO_8 > ACIA
  • 0x7F80 - 0x7FFF : Not Decoded
  • 0x8000 - 0xFFFF : ROM (32K)

Card Connector Design

The card connector is based on the EDAC 395 series. I decided on the 395-50-520-201 which I had from a previous Apple ][ repair. Exposed in the connector are:

  • Address lines A0..A15
  • Data lines D0..D7
  • Clock $\phi$ 2
  • $\overline{IO{\textunderscore}CS}$, $\overline{RAM{\textunderscore}CS}$ , and $\overline{ROM{\textunderscore}CS}$ chip select lines
  • $\overline{RD}$ and $\overline{WR}$
  • $\overline{RESET}$
  • Pin 27 is the slot IO select line. For Slot 1 is $\overline{IO\textunderscore01}$ mapping it to 0x7F00, and for Slot 2 is $\overline{IO\textunderscore02}$ mapping it to 0x7F10.
  • IO chip select lines $\overline{IO\textunderscore03}$ .. $\overline{IO\textunderscore07}$.
  • $\overline{IRQ}$ and $\overline{NMI}$
  • VCC and GND, this are set so if you insert a card backwards you will not short them.
  • Pins 21, 24, 33, and 34 are only connected between the 2 slots and have no connection to the mainboard

Licence

Licenced under CERN Open Hardware licence CERN-OHL-S v2, see CERN-OHL-S-v2.txt

(c) 2023-2024 Mariano Luna. All rights reserved

Parts

29
QtyValueFootprintReferences
4.1uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1, C2, C3, C4
31N6263Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD2, D3, D4
24K7Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R3
24K7Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR5, R7
2W65C22NxPPackage_DIP:DIP-40_W15.24mmU1, U2
11000ufCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC7
110KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4
1220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
12K2Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR6
14.7nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC8
16502 Edge6502_Components:BUS_EdgePCB_Apple_2J1
16502 Pinheader6502_Components:PinHeader_2x25_P2.54mm_Vertical_CounterClockWiseJ2
174HC595Package_DIP:DIP-16_W7.62mmU4
1IO Select6502_Components:PinHeader_3x06_P2.54mm_A_B_VerticalJ9
1Mini-DIN-66502_Components:J_Mini-DIN-6-ShieldJ5
1PIC10F202-IPPackage_DIP:DIP-8_W7.62mmU3
1POWERLED_THT:LED_D3.0mmD1
1VIA 1 Port AConnector_PinHeader_2.54mm:PinHeader_2x07_P2.54mm_HorizontalJ3
1VIA 1 Port BConnector_PinHeader_2.54mm:PinHeader_2x07_P2.54mm_HorizontalJ4
1VIA 2 Port AConnector_PinHeader_2.54mm:PinHeader_2x07_P2.54mm_HorizontalJ7
1VIA 2 Port BConnector_PinHeader_2.54mm:PinHeader_2x07_P2.54mm_HorizontalJ8

More from marianol/simple6502

4
  • 2 layers100 × 99.9 mmProtoCard, the printed circuit board in 3D

    ProtoCard

    marianol/simple6502

    A simple 6502 single board computer

    1,036 parts
  • 2 layers100 × 100 mmSimple6502, the printed circuit board in 3D

    Simple6502

    marianol/simple6502

    A simple 6502 single board computer

    46 parts
  • 2 layers100 × 100 mm6502motherboard, the printed circuit board in 3D

    6502motherboard

    marianol/simple6502

    A simple 6502 single board computer

    33 parts
  • 2 layers100 × 99.9 mm6502 PS2 Keyboard, the printed circuit board in 3D

    6502 PS2 Keyboard

    marianol/simple6502

    A simple 6502 single board computer

    13 parts

Similar boards

  • 2 layers45.7 × 31.8 mmLEDx16 board, the printed circuit board in 3D

    LEDx16 board

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    36 parts803MIT
  • 2 layers228.6 × 100 mmMongus48, the printed circuit board in 3D

    Mongus48

    ChrisChrisLoLo/beyblock20

    The magnetic, modular, 20-key macropad that can join together to form an ortholinear board

    124 parts335GPL-3.0
  • 2 layers245.1 × 160 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-64x4-Home-Computer

    My DIY TTL home computer with VGA and PS/2 and 4x the processing power of a Commodore C64 or Apple II.

    139 parts326
  • 2 layers100 × 95.1 mmProtoboard-6x4-breakout, the printed circuit board in 3D

    Protoboard-6x4-breakout

    electroniceel/protoboard

    Advanced protoboard layout with 1.27mm pitch for smd parts

    4,745 parts311CC-BY-4.0
  • 4 layers140 × 100 mmDc usv, the printed circuit board in 3D

    Dc usv

    TobleMiner/DC-UPS

    A small DC UPS, designed to keep small appliances like consumer network equipment running during power outages

    351 parts223CERN-OHL-P-2.0
  • 2 layers100.5 × 218.3 mmTraktorino, the printed circuit board in 3D

    Traktorino

    silveirago/traktorino

    The open-source DIY MIDI Controller for DJs.

    96 parts220
  • 2 layers287.8 × 126.7 mmNoName, the printed circuit board in 3D

    NoName

    AlaaSaadAbdo/battoota

    Keyboards

    267 parts188
  • 2 layers100 × 100 mmTommyPROM32-595, the printed circuit board in 3D

    TommyPROM32-595

    TomNisbet/TommyPROM

    Simple Arduino-based EEPROM programmer

    36 parts187

Questions

How big is the IO Card PCB?

It measures 79.5 × 99.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the IO Card use?

29 parts, built around the 74HC595. 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 IO Card KiCad files?

From the marianol/simple6502 repository on GitHub, at the commit this page was made from: the board is hardware/IO_Card/IO_Card.kicad_pcb and its schematic hardware/6502_PS2_Keyboard/6502_PS2_Keyboard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the IO Card design in my own project?

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