

6502-computer
A 65C02-based homebrew computer
- Size
- 116.8 × 99.7 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 39
- Nets
- 87
- Pads
- 360
- Tracks, vias
- 1,510, 105
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 15 Aug 2021
- Updated
- 7 May 2022
Overview
6502-computer is an open-source printed circuit board by mike42, from the mike42/6502-computer repository on GitHub. It is a 2-layer board of 116.8 × 99.7 mm with 39 parts on 87 nets, routed with 1,510 tracks and 105 vias.
It is built around the 74LS00SC, DS1813-5+ and HM62256BLP-7, with the L7805 among its other parts. Its parts include 10 capacitors, 9 ICs, 6 connectors, 4 resistors and 3 switches. It belongs with the retro computing and games boards of this library.
Main components
474LS00SC
-0℃~+70℃ 15ns@5V,50pF 2 2.7V 2V 4 4.75V~5.25V 400uA 500mV 74LS 800mV 8mA NAND Gate - Logic Gates ROHSTexas InstrumentsLogic GatesDS1813-5+
TO-92-3-40℃~+85℃@(Ta) 1 1.2V~5.5V 150ms 4.75V Active Low No Open Drain Voltage Monitor Yes TO-92-3 Supervisor and Reset ICs ROHSAnalog DevicesSupervisor And Reset ICsHM62256BLP-7
DIP28DIP28 New Arrivals ROHSHITUncategorisedL7805
TO-220ST0℃~+125℃@(Tj) 1 1.2A 20V 2V@(1A) 42uV 500uA 5V 73dB@(120Hz) Fixed Positive Short Circuit Protection TO-220ST Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSOSENVoltage Regulators - Linear, Low Drop Out (LDO) Regulators
README
README.md6502 computer
This repository contains the hardware and software for my home-built 65C02-based computer. At its heart, this computer is a 1980's design, and is approximately as powerful as the Apple II. It is powered over USB, and operated via a serial connection.
It features an SD card interface, simple audio interface, and two user-selectable ROMs. One ROM contains a port of EhBASIC, which is the only proprietary component in this repository. The other ROM contains a shell, written from scratch to be free and open source, which can be used to load machine-language programs from a modern PC.
Take a look at the hardware/ directory for how it's made, or rom/ for the firmware source code.
Basic specs
- 1.8432 MHz 65C02 processor
- 32 KiB RAM
- 32 KiB ROM in two 16 KiB banks
- 65C22 VIA (general purpose I/O) chip
- 65C51N ACIA (UART) interface
- Custom PCB and 3D printed case
Image of completed build
Blog series
This project started out on breadboards, and I have been blogging about it as I have progressed the hardware, software, and my electronics knowlege. Posts I've written about this project include:
- IntelliJ plugin for 6502 assembly language
- Building a 6502 computer
- Adding a serial port to my 6502 computer
- Upgrades and improvements to my 6502 computer
- Porting BASIC to my 6502 computer
- 6502 computer – from breadboard to PCB
- Re-creating the world’s worst sound card
- Designing a 3D printed enclosure for my KiCad project in Blender
- Implementing the XMODEM protocol for file transfer
- Adding an SD card reader to my 6502 computer
- Assembling my 6502 computer
- Rendering my 6502 computer project in Blender
Licenses & acknowledgement
With the exception of the files noted below, this work is © 2021 Michael Billington, and is licensed under a Creative Commons Attribution 4.0 International License.
The design is an extension of Ben Eater's 6502 computer tutorial, which is itself based on the work of the 6502.org community.
6502 KiCad Library
The files hardware/kicad/65xx.dcm and hardware/kicad/65xx.lib are modified versions of the 6502 KiCad Library. Copyright 2018, Nicholas Parks Young. All Rights Reserved. The 6502 KiCad Library library is licensed under the GNU LGPL v2.1, which can be found in file licenses/LGPL.txt.
EhBASIC
The files in rom/basic/ are derived from EhBASIC, developed by Lee Davidson. The EhBASIC license allows for non-commerical use only. The most recent release and manual is hosted here, and a mirror of Lee's website can be found here.
EhBASIC is free but not copyright free. For non commercial use there is only one restriction, any derivative work should include, in any binary image distributed, the string "Derived from EhBASIC" and in any distribution that includes human readable files a file that includes the above string in a human readable form e.g. not as a comment in an HTML file.
Parts
39| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | C | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm | C1, C2, C3, C4, C5, C6, C7, C8, C10 |
| 4 | MountingHole_3.2mm_M3_Pad_Via | MountingHole:MountingHole_3.2mm_M3_Pad_Via | H1, H2, H3, H4 |
| 4 | R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2, R3, R4 |
| 2 | Conn_02x06_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x06_P2.54mm_Vertical | J4, J5 |
| 2 | SW_SPDT | project:SW_THT_DPDT | SW1, SW2 |
| 1 | 1N5819 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1 |
| 1 | 28C256 | Package_DIP:DIP-28_W15.24mm_Socket | U8 |
| 1 | 74LS00 | Package_DIP:DIP-14_W7.62mm_Socket | U4 |
| 1 | 74LS138 | Package_DIP:DIP-16_W7.62mm_Socket | U2 |
| 1 | Barrel_Jack | Connector_BarrelJack:BarrelJack_Horizontal | J2 |
| 1 | CP | Capacitor_THT:C_Radial_D4.0mm_H7.0mm_P1.50mm | C9 |
| 1 | CXO_DIP8 | Oscillator:Oscillator_DIP-8 | X1 |
| 1 | Conn_01x06_Female | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J6 |
| 1 | Conn_02x02_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_Vertical | J3 |
| 1 | Conn_02x20_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x20_P2.54mm_Vertical | J1 |
| 1 | DS1813-5+ | Package_TO_SOT_THT:TO-92 | U7 |
| 1 | HM62256BLP | Package_DIP:DIP-28_W15.24mm_Socket | U9 |
| 1 | L7805 | Package_TO_SOT_THT:TO-220-3_Horizontal_TabDown | U5 |
| 1 | LED | LED_THT:LED_D5.0mm | D2 |
| 1 | SW_Push | Button_Switch_THT:SW_Tactile_Straight_KSL0Axx1LFTR | SW3 |
| 1 | W65C02SxP | Package_DIP:DIP-40_W15.24mm_Socket | U1 |
| 1 | W65C22SxP | Package_DIP:DIP-40_W15.24mm_Socket | U3 |
| 1 | W65C51NxP | Package_DIP:DIP-28_W15.24mm_Socket | U6 |
Questions
How big is the 6502-computer PCB?
It measures 116.8 × 99.7 mm and has 2 copper layers, 1.6 mm thick.
What parts does the 6502-computer use?
39 parts, built around the 74LS00SC, DS1813-5+, HM62256BLP-7 and L7805. 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 6502-computer KiCad files?
From the mike42/6502-computer repository on GitHub, at the commit this page was made from: the board is hardware/kicad/6502-computer.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the 6502-computer design in my own project?
Its repository states no licence, so its author keeps all rights: ask mike42 before reusing the design.
Similar boards
- 2 layers80.1 × 75 mm

- 2 layers149.9 × 99.9 mm

Planck-6502
jfoucher/planck-6502
This is a mirror of https://gitlab.com/planck-6502/planck-6502
91 parts2 - 2 layers160 × 100 mm

- 4 layers100 × 100 mm

6502-min sbc
gcoonrod/retro-stack
A retro computer project based on stackable PCB boards.
54 partsApache-2.0 - 2 layers100 × 100 mm

- 2 layers118.1 × 73.7 mm

- 2 layers100 × 100 mm

- 2 layers96.5 × 74.9 mm

MirrorDeflectionDriver
ElectronicsTinkerer/3D-Printable-MEMS-Mirror
Files for a 3D-printable MEMS mirror.
47 parts5MIT