Skip to the content
4 layers127.6 × 98 mmHomebrew6502Project, the printed circuit board in 3D

Homebrew6502Project

snorklerjoe/useful65021

A homebrew 65c02s-based computer and custom operating system, with a handful of modern features.

Size
127.6 × 98 mm
Copper layers
4
Thickness
1.6 mm
Parts
275
Nets
345
Pads
1,304
Tracks, vias
4,464, 1,864
Pours
91
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
16 Feb 2025
Updated
26 Oct 2025

Overview

Homebrew6502Project is an open-source printed circuit board by snorklerjoe, from the snorklerjoe/useful6502 repository on GitHub, published under the MIT licence. It is a 4-layer board of 127.6 × 98 mm with 275 parts on 345 nets, routed with 4,464 tracks and 1,864 vias.

It is built around the SN74LS07D, 74HCT125DB and 74AHC2G00DC, with the CD74HC4002M96, 74AHC08D-Q100J and 74HC04D among its other parts. Its parts include 90 resistors, 80 capacitors, 40 ICs, 17 connectors and 7 diodes. It belongs with the retro computing and games boards and the PIC boards of this library.

Main components

12

README

README.md

Useful 6502 Machine

The goal of this project is to build a 6502-based portable machine, running my own operating system.

Current Status

See the complete implementation plan and progress here: Implemementation Plan

PCB assembled, PIC is able to load code for the 6502 to execute, the 6502 can read/write to the 2-port SRAM.

Photo of the current (ish) assembled PCB

Main PCB rendering RAM Daughterboard rendering

Hardware Goals

These are some general points; for the full hardware specification, see here: Hardware Specification

I want the following end goals to categorize the machine as "useful":

  • At least 2 Megabytes of program memory and 2 Megabytes of data memory, of which at least 16k of memory can be used by a single process.
  • Protected memory (kernel and user run modes defined by hardware checking if kernel or user code is being executed)
  • PIC16 as peripheral coprocessor for fast i/o

Software Goals

  • Traps via "BRK" instruction for sys calls
  • Full preemptive multitasking with up to 255 processes, round robin scheduler (maybe mlfq eventually)
  • Filesystem: Tree, leaf nodes are devices or drivers.
  • Driver for FAT32-formatted SD cards for easy file storage & transfer
  • Standard library compatible with cc65 for creating high-level programs
  • Basic UNIX-like shell utilities
  • Simple web browser?
  • SSH client based on DropBear?

Faults

Faults will be detected by hardware and trigger a RESET, and the kernel will terminate the process.

Hardware Timers

A hardware timer using the 65c22 will be used to interrupt processes with an NMI. The kernel will maintain a global clock for user timing needs.

The PIC peripheral coprocessor may, perhaps, feature a watchdog timer to restart the kernel in the event of a crash.

Particularly Helpful References

There are many resources that have proven themselves indispensible to the progress of his project.
Here is a small subset of such resources:

Parts

275
QtyValueFootprintReferences
3733Resistor_SMD:R_0402_1005MetricR106, R108, R109, R110, R111, R112, R113, R114, R115, R116, R117, R118, R119, R120, R121, R122 +21
2310kResistor_SMD:R_0402_1005MetricR101, R102, R103, R104, R105, R107, R216, R217, R401, R402, R403, R404, R801, R802, R1001, R1002 +7
22.1uCapacitor_SMD:C_0402_1005MetricC102, C104, C105, C106, C208, C215, C218, C402, C404, C514, C516, C701, C1001, C1007, C1010, C1011 +6
17.01uCapacitor_SMD:C_0402_1005MetricC101, C103, C202, C205, C209, C213, C216, C217, C405, C802, C803, C804, C805, C806, C807, C1002 +1
160.1uCapacitor_SMD:C_0402_1005MetricC206, C211, C508, C509, C512, C513, C515, C517, C518, C519, C520, C521, C522, C601, C602, C1012
1110uCapacitor_SMD:C_0402_1005MetricC503, C504, C505, C506, C507, C510, C511, C523, C1003, C1004, C1009
91uCapacitor_SMD:C_0402_1005MetricC207, C210, C212, C214, C401, C403, C603, C604, C1008
80Resistor_SMD:R_0402_1005MetricR301, R302, R303, R304, R305, R306, R307, R308
7LEDLED_SMD:LED_0402_1005MetricD101, D401, D501, D502, D503, D601, D901
54.7kResistor_SMD:R_0402_1005MetricR204, R215, R219, R220, R221
5470Resistor_SMD:R_0402_1005MetricR405, R501, R502, R601, R901
5FaultClock SelJumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mmJP102, JP103, JP105, JP106, JP107
5SN74ABT574APWRPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU802, U803, U804, U805, U806
5SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mmJP104, JP601, JP602, JP1006, JP1007
4100Resistor_SMD:R_0402_1005MetricR213, R214, R218, R505
474AHC2G00Package_SO:TSSOP-8_3x3mm_P0.65mmU107, U503, U701, U702
4CD74HC4002M96Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU105, U507, U704, U705
4Conn_02x05_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical_SMDJ202, J203, J205, J206
4Jumper_2_Small_BridgedJumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mmJP101, JP109, JP201, JP901
4TestPointTestPoint:TestPoint_Pad_D1.5mmTP101, TP105, TP501, TP502
374AHC08D-Q100JPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU110, U703, U706
374HC04Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU101, U109, U1002
3NOPOPResistor_SMD:R_0402_1005MetricR201, R202, R203
21Resistor_SMD:R_0402_1005MetricR506, R507
2100nCapacitor_SMD:C_0402_1005MetricC501, C502
2510Resistor_SMD:R_0402_1005MetricR134, R504
274ACT139Package_SO:TSSOP-16_4.4x5mm_P0.65mmU801, U1001
274AHC2G32DPPackage_SO:TSSOP-8_3x3mm_P0.65mmU508, U510
274HC74Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU102, U103
2Conn_02x02_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_Vertical_SMDJ101, J104
2Conn_02x16_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x16_P2.54mm_VerticalJ301, J302
2Jumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mmJP1001, JP1005
2Jumper_2_Small_OpenJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP202, JP801
2NOPOPCapacitor_SMD:C_0402_1005MetricC203, C204
2SN74CBT3245CDBRPackage_SO:SSOP-20_5.3x7.2mm_P0.65mmU111, U112
2SN74LS07Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU106, U201
1+5VDCConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ501
110kPotentiometer_SMD:Potentiometer_Bourns_TC33X_VerticalRV1001
1120Resistor_SMD:R_0402_1005MetricR503
12N7002KPackage_TO_SOT_SMD:SOT-23Q1001
1300Potentiometer_SMD:Potentiometer_Bourns_TC33X_VerticalRV501
14.7uCapacitor_SMD:C_0402_1005MetricC201
174HC193Package_SO:TSSOP-16_4.4x5mm_P0.65mmU1004
174HC595Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU1003
174HC73DPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU505
174HCT125DPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU401
1BS_CTRLJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP204
1BS_CTRL2Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mmJP205
1CE_CTRLJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP208
1CY7C146-25JCcustom:845221B1RKTPU202
1Conn_02x03_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical_SMDJ403
1I2CConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ204
1ICSP HeaderConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ201
1ICSP modesetJumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mmJP203
1INTTestPoint:TestPoint_Pad_D1.5mmTP201
1KMDGX-6S-BSfootprints:KMDGX6SBSJ1006
1LCD_ENsConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ1002
1LD1117S33TR_SOT223Package_TO_SOT_SMD:SOT-223-3_TabPin2U502
1LD1117STRPackage_TO_SOT_SMD:SOT-223-3_TabPin2U501
1M95512-Axxx-MFPackage_SO:TSSOP-8_4.4x3mm_P0.65mmU402
1MemLockTestPoint:TestPoint_Pad_D1.5mmTP102
1Micro_SD_CardConnector_Card:microSD_HC_Wuerth_693072010801J402
1NOPOPCrystal:Crystal_SMD_2016-4Pin_2.0x1.6mmY201
1OE_CTRLJumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mmJP206
1PIC16F15385-xPTPackage_QFP:TQFP-48_7x7mm_P0.5mmU203
1Parallel LCDConnector_IDC:IDC-Header_2x08_P2.54mm_Vertical_SMDJ1001
1RW_CTRLJumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mmJP207
1RamClk SelJumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mmJP108
1UARTConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ210
1UART pin selJumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mmJP209
1W65C02SxPLPackage_LCC:PLCC-44U104
1W65C22SxPLPackage_LCC:PLCC-44U108
1phi1TestPoint:TestPoint_Pad_D1.5mmTP109
1phi2OTestPoint:TestPoint_Pad_D1.5mmTP108

The 272 most common of 275 parts.

More from snorklerjoe/useful6502

1
  • 4 layers69.9 × 95.3 mmRamBanks, the printed circuit board in 3D

    RamBanks

    snorklerjoe/useful6502

    A homebrew 65c02s-based computer and custom operating system, with a handful of modern features.

    102 parts1MIT

Similar boards

  • 2 layers120 × 98 mmPs2mkb, the printed circuit board in 3D

    Ps2mkb

    clydeshaffer/gametank

    design files for the gametank hardware implementation

    29 parts150
  • 2 layers100 × 100 mmWD1771 Board, the printed circuit board in 3D

    WD1771 Board

    roberto314/Unicomp3

    A modular 8-bit Computer able to recreate (nearly) every Retro computer of the late 70s to mid 80s.

    122 partsBSD-2-Clause
  • 2 layers178 × 711 mmMSAP-2 rev.A SMD, the printed circuit board in 3D

    MSAP-2 rev.A SMD

    mehrantsi/MSAP-2

    An 8-bit computer. Successor to MSAP-1

    658 parts13MIT
  • 2 layers297 × 210 mmCpu, the printed circuit board in 3D

    Cpu

    tetrix450/masic-cpu

    MASIC CPU schematics and PCB

    197 partsMIT
  • 4 layers100 × 100 mm74HCT6526, the printed circuit board in 3D

    74HCT6526

    dmolinagarcia/74HCT6526

    74HCT6526

    66 parts14
  • 4 layers88.9 × 43.2 mmCtrl rom ctrl, the printed circuit board in 3D

    Ctrl rom ctrl

    eryjus/16bcfs

    All material related to the 16bcfs project

    65 parts7
  • 2 layers233.4 × 280 mmCft board1, the printed circuit board in 3D

    Cft board1

    alexiosc/cft

    The CFT homebrew minicomputer

    269 parts6GPL-3.0

Questions

How big is the Homebrew6502Project PCB?

It measures 127.6 × 98 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Homebrew6502Project use?

275 parts, built around the SN74LS07D, 74HCT125DB, 74AHC2G00DC and CD74HC4002M96. 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 Homebrew6502Project KiCad files?

From the snorklerjoe/useful6502 repository on GitHub, at the commit this page was made from: the board is kicad_project/Homebrew6502Project/Homebrew6502Project.kicad_pcb and its schematic kicad_project/Homebrew6502Project/DMA_cpu_board_interface.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Homebrew6502Project design in my own project?

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