
SOIC-28-to DIP
lolakkalol/6502-computer-project
A 6502-based computer project! Explore the docs » View Demo Programs · Report Bug · Request Feature

A 6502-based computer project! Explore the docs » View Demo Programs · Report Bug · Request Feature
6502-schematic is an open-source printed circuit board by lolakkalol, from the lolakkalol/6502-computer-project repository on GitHub. It is a 2-layer board with 57 parts on 191 nets.
It is built around the SC16C752BIB48, SN74LVC4245APW and 74AHCT1G32GV, with the 74HC14, 74HCT00D and AT28C64B-15PU among its other parts. Its parts include 29 resistors, 14 ICs, 9 connectors, 2 crystals and 1 capacitor. It belongs with the retro computing and games boards and the RP2040 boards of this library.
[blocked]
A 6502-based computer project!
Explore the docs »
View Demo Programs
·
Report Bug
·
Request Feature
This project started thanks to Ben Eater's video series on his 6502-based computer, which is the basis for my project and learning experience. The project has a very simple goal of me learning low-level embedded system development on hardware and software. To achieve this learning goal, a few project goals/milestones have been set up to steer the project in a satisfactory direction. The computer should also not be a carbon copy of Ben Eater's computer to promote self-learning and delving into documentation and learning by doing. I believe you remember things better when you fail at something and, in the end, solve the problems that made you fail.
These goals aim to create a 6502-based computer on a single PCB that can be expanded with modules later on.
These are the currently used programs and frameworks used for building the project, for both software and hardware.
To get a local copy up and running follow these simple example steps.
CC65 (Windows/Linux) Download and install the cross-development package CC65 (available for both Windows and Linux).
GNU Utils (Windows)
Download GNU make and CoreUtils from https://gnuwin32.sourceforge.net/packages.html and add them to your path.
6502-computer-project/programs/<program name>/ simple run makeThis project currently has three different areas: Schematics and KiCad symbols, hardware debugger, and programs, each will be explained below.
Found in the folder 6502-and-friends and 6502-schematic, here the schematic over the computer, the custom symbols and PCB design can be found.
Found, at the moment, in the folder bus-sniffer; this is simply a program for an Arduino Mega2560 sniffing and printing to the console the: Address bus, data buss and control bus.
It can also supply its own clock, which can be halted at the press of a button and send single clock pulses to support hardware debugging.
Found in the folder Programs, contain all the currently constructed programs and a template for creating a new program.
Each program comes with its own make file specifying how it is to be built together with throughout commenting.
All programs are written in 6502 assembly and most is created according to the specified template.
The template contain the following:
main.asm Here is the main code.lib.asm Here, the supporting code should be put, such as sub-routines, following the example sub-routines structure.start.asm holds the start-up code and is already written in the template; it is responsible for initializing memory segments at startup.makefile Specifies how to build and link main.asm, lib.asm and start.asm.target.cfg Specifies the address space, segments, and their location in memory for the linker to us.There are currently two main roadmaps, one for a Pi estimation program used to get familiar with the 6502 and another for the actual computer project. For the Pi estimation program the computer seen in the current KiCad schematic is used.
See the open issues for a full list of proposed features (and known issues).
Here a very small condenced documentation can be found only used as a quick reference. The code is often commented so do not forget to look there.
The floating point routines are all commented on and explained in the code but have also been planned before implementation using a high-level flowchart in draw.io found below.
Alexander Stenlund - alexander.stenlund@telia.com
Project Link: https://github.com/lolakkalol/6502-computer-project
| Qty | Value | Footprint | References |
|---|---|---|---|
| 14 | 220 | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_Vertical | R1, R2, R4, R5, R6, R7, R9, R10, R11, R12, R13, R14, R15, R16 |
| 4 | 1k | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_Vertical | R18, R21, R24, R28 |
| 4 | 2k | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_Vertical | R19, R20, R23, R29 |
| 3 | 500 | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_Vertical | R17, R22, R25 |
| 3 | Conn_01x08 | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J4, J6, J9 |
| 2 | 0 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R26, R27 |
| 2 | Conn_01x02 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J7, J8 |
| 2 | Conn_01x05 | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J1, J3 |
| 2 | SN74LVC4245A | Package_SO:SOIC-24W_7.5x15.4mm_P1.27mm | U15, U16 |
| 2 | ecs-2100x | 6502-and-friends:ECS-2100X | Y1, Y2 |
| 1 | 660 | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_Vertical | R8 |
| 1 | 74AHCT1G32 | Package_TO_SOT_SMD:SOT-23-5_HandSoldering | U11 |
| 1 | 74HC14 | Package_DIP:CERDIP-14_W7.62mm_SideBrazed_LongPads | U8 |
| 1 | 74HCT00 | Package_DIP:DIP-14_W7.62mm_LongPads | U13 |
| 1 | AS6C62256 | Package_DIP:DIP-28_W15.24mm_LongPads | U4 |
| 1 | AT28C256 | Package_DIP:DIP-28_W15.24mm_LongPads | U3 |
| 1 | AT28C64B-15PU | Package_DIP:DIP-28_W15.24mm_LongPads | U10 |
| 1 | C | Capacitor_THT:C_Disc_D9.0mm_W5.0mm_P10.00mm | C1 |
| 1 | CD74HC165E | Package_DIP:DIP-16_W7.62mm_LongPads | U7 |
| 1 | Conn_01x16 | Connector_PinHeader_2.54mm:PinHeader_1x16_P2.54mm_Vertical | J5 |
| 1 | D | Diode_THT:D_5W_P10.16mm_Horizontal | D1 |
| 1 | DE15_Plug_HighDensity_MountingHoles | Connector_PinHeader_2.54mm:PinHeader_2x08_P2.54mm_Vertical | J2 |
| 1 | Push_Button | Button_Switch_THT:KSA_Tactile_SPST | B1 |
| 1 | R | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_Vertical | R3 |
| 1 | Raspberry PI Pico v1 | 6502-and-friends:Raspberry_PI_Pico_Socket | U17 |
| 1 | SC16C752BIB48 | Package_QFP:LQFP-48_7x7mm_P0.5mm | U5 |
| 1 | W65C02S | Package_DIP:DIP-40_W15.24mm_LongPads | U1 |
| 1 | W65C22 | Package_DIP:DIP-40_W15.24mm_LongPads | U2 |
| 1 | ~ | Connector_PinHeader_2.54mm:PinHeader_1x16_P2.54mm_Vertical | U6 |

lolakkalol/6502-computer-project
A 6502-based computer project! Explore the docs » View Demo Programs · Report Bug · Request Feature

gcoonrod/circuit-tap
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


laenzlinger/granit
Custom carrier board for Raspberry Pi CM4/CM5 — minimal offsite backup appliance with JMS578 USB-to-SATA bridge


AJain9199/AOS16
Table of Contents About The Project Pictures Technical Details Directory Structure To-Do Acknowledgments


KITTY-6502/hardware
the KITTY is a 65c02 homebrew kit microcomputer designed around text mode graphics and cartridge media. It is fully open source, and uses exclusively in-production parts.

57 parts, built around the SC16C752BIB48, SN74LVC4245APW, 74AHCT1G32GV and 74HC14. 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.
From the lolakkalol/6502-computer-project repository on GitHub, at the commit this page was made from: the board is 6502-schematic/6502-schematic.kicad_pcb and its schematic 6502-schematic/6502-schematic.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask lolakkalol before reusing the design.