Skip to the content
4 layers100 × 100 mm74HCT6526, the printed circuit board in 3D

74HCT6526

Size
100 × 100 mm
Copper layers
4
Thickness
1.6 mm
Parts
93
Nets
222
Pads
795
Tracks, vias
1,839, 287
Pours
6
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
12 Sep 2021
Updated
8 Nov 2023

Overview

74HCT6526 is an open-source printed circuit board by dmolinagarcia, from the dmolinagarcia/74HCT6526 repository on GitHub. It is a 4-layer board of 100 × 100 mm with 93 parts on 222 nets, routed with 1,839 tracks and 287 vias.

It is built around the 74HC244D, 74HCT125PW and 74HC00D, with the 74HC74D, 74HC08D and 74HC32D among its other parts. Its parts include 43 capacitors, 42 ICs and 1 switch.

Main components

12

README

README.md

DISCLAIMER Everything you see here is the result of the work of an amateur hobbyist. I had no knowledge in any required field for this project when I started, so I offer no guarantee that, if you replicate my work, you may end burning up you Commodore, your fingertips, or your whole house. So far, no Commodore equipment (or fingertips, or whole house) have been permanently damaged in any way. But I can't promise to keep it that way.

74HCT6526

The 74HCT6526 is a very amateur attempt at building a MOS6526 replica using discrete logic. This repo is publicly shared just for educational purposes, and I can offer no guarantee on the correct behaviour of this implementation. So far, it's working great for me, but I can't promise anything.

Current Status

As of v0.2.2, the 74HCT6526 is extremely cycle accurate when compared to a real 6526. Some VICE test still fail on edge cases, but it has been tested against multiple games with very satisfactory results.

History

Work on the 74HCT6526 began in the summer of 2018. I was so impressed by other attempts at replicating Commodore chips, that I wanted to give it myself a try. I chose the CIA, as it wasn't replicated back then, even though it seemed the simplest chip. I had no previous knowledge in electronics, only some lessons back in college more than 20 years ago.

Important note

Please visit http://forum.6502.org/viewtopic.php?f=4&t=5593 for more information

Versioning

74HCT6526 is released under the following versioning scheme:

MAJOR.MINOR.REVISION

For a stack to work properly, is mandatory that all boards share the same MAJOR.MINOR versión. Any change than renders a board incompatible with the previous releases triggers a new MINOR version. If a version only includes fixes, but does not alter the buses, it's only a new revision. There may be some cases where boards with different MAJOR.MINOR version can actually work together, but this is not something I can guarantee or predict. A deep look at the schematics to understand the differences between releases is needed to actually confirm this.

Under the current scheme, I don't think I'll ever need a new MAJOR version, but it is nice to have it there, just in case.

Upgrades

In the upgrades folder, there's a guide for each version/board pair, with instructions to upgrade the board up until the latest version. You'll see theres no file for the latest version (As there's no upgrade path for it).

Whenever a new release is published, upgrade path for the now second-oldest release will by published.

WARNING! I offer no guarantee on anything on this project, but, specially on the upgrades part.

Manufacturing

All boards are tested against JLCPCB and PCBWAY capabilities. For PCBWAY, there is no increase in cost compared to the standard 4 layer board.

Releases

  • v0.1.0 First production run. Only includes B0 (DDR and PORTs)
  • v0.1.0a First production run for B1. (TIMERA and CREGA)
  • v0.1.1 Second production run for B1. Fixes TASTART issue. First B2 (TIMERB and CREGB)
  • v0.1.2 First production run for B3. (SDR and ICR)
  • v0.2.0 First MINOR advance. B0+B1+B2+B3 tested and validated.
  • v0.2.1 Fixes for Reload under Underflow issue.
  • v0.2.2 First production run for B4 (TOD). It now passes test 01 and 02 in both NEW and OLD modes.

Changelog

[0.2.2 ] - 23-Jun-2023

  • B0. Some HCT parts are changed to HC
  • B1. Split TIMER into modules for improved readability
  • B2. Split TIMER into modules for improved readability
  • B3. Issue #12. Fixed all issues for test 02
  • B3. Master Switch for Mode Change. (Old vs NEW)
  • B3. Some HC parts are changed to HCT
  • B4. Added TOD PCB and SCH
  • All boards. Published upgrade procedures

[0.2.1 ] - 26-Mar-2023

  • All boards. Added pdfs for all schematic and pcbs for all versions for ease of access
  • B1. Changes to Reload portion of TimerA pipeline to fix 01cmpold issue
  • B2. Changes to Reload portion of TimerA pipeline to fix 01cmpold issue
  • B3. Added switch to select OLD or NEW CIA

[0.2.0 ] - 24-Jan-2023

  • All boards. Removed TARUNMODE from the ControlBus
  • All boards. Updated for JLCPCB and PCBWAY capabilities
  • All boards. Minor aesthetic changes to schematics
  • All boards. Updated PDFs on the release
  • B1. Optimized CNT edge detector
  • B2. Optimized CNT edge detector
  • B3. Fixed FLAG edge detector in ICR
  • B3. Fixed SDR input and output issues from v0.1.2 (not sending nor receiving)

[0.1.2 ] - 01-Nov-2022

  • B3. First release. SDR and ICR
  • B2. Updates for JLCPCB capabilities
  • All boards. Schematic review. Added /RES capacitor to prevent false restarts

[0.1.1 ] - 24-Aug-2022

  • B2. First release.
  • B1. Fixed additional cycle on forceload by removing second flipflop in the chain (rolled-back)
  • B1. Added additionad dFF to Start before being fed into the timer
  • B1. D and DZ moved to separate buses on schematic.
  • B0. Routing optimized. D and DZ moved to separate buses on schematic. Silkscreen improved.

[0.1.0a] - 06-Jun-2022

  • B1 with TimerA and Control Register A. Ready for production.

[0.1.0 ] - 19-Oct-2021

  • Mounting holes pads were covered with soldermask. Soldermask removed and pads properly labeled.
  • Silkscreen fixes
  • Updated gerber files
  • B0 with DDRs, PORTs, and bus interface

Status updates

  • June 23, 2023. v0.2.2 released. Adds TOD (B4) and fixes more NEW to OLD issues. Now passes tests 01 and 02.
  • March 26, 2023. v0.2.1 released. Fixes a missing IRQ issue on reload while underflowing. It also adds a selector for OLD vs NEW cia in ICR
  • January 24, 2023. v0.2.0 released. Fixes a potential problem on B1 and B2 with CNT edge detector. It also fixes some bugs on B3. A cleanup of schematic, PCBs and PDFs for all boards has been done. TARUNMODE is removed from controlbus as it is not needed. This triggers a new MINOR version
  • November 01, 2022. v0.1.2 released. Includes B3 (SDR+ICR) and some minor tweaks to all boards
  • August 24, 2022. v0.1.1 released. Fixes a bug in B1 (TASTART) and adds B2. Minor routing fixes to all boards
  • June 06, 2022. v0.1.0a released. It adds B1 to v0.1.0
  • October 19, 2021. v0.1.0 is released. It add B0 to v0.1.0
  • September 12th, 2021. Repository is now public. B0 schematic is 100% done. PCB layout is 100% done. It's currently being reviewed before sending it into production

Parts

93
QtyValueFootprintReferences
43100nCapacitor_SMD:C_0603_1608MetricC300, C301, C302, C303, C304, C305, C306, C307, C308, C309, C310, C311, C312, C313, C314, C315 +27
1074HC00Package_SO:SO-14_3.9x8.65mm_P1.27mmU301, U309, U316, U320, U321, U322, U323, U324, U328, U329
1074HC74Package_SO:SO-14_3.9x8.65mm_P1.27mmU303, U304, U317, U330, U331, U332, U333, U334, U340, U342
574HC08Package_SO:SO-14_3.9x8.65mm_P1.27mmU318, U325, U326, U337, U339
474HC32Package_SO:SO-14_3.9x8.65mm_P1.27mmU306, U314, U319, U338
374HC244Package_SO:SOIC-20W_7.5x12.8mm_P1.27mmU310, U312, U336
3Conn_02x10_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_VerticalCONTROLBUS3, DATABUS3, ENABLEBUS3
274HC193Package_SO:SO-16_3.9x9.9mm_P1.27mmU308, U315
274HC299Package_SO:SOIC-20W_7.5x12.8mm_P1.27mmU307, U313
274HC377Package_SO:SOIC-20W_7.5x12.8mm_P1.27mmU311, U327
2GNDMountingHole:MountingHole_2.2mm_M2_DIN965_PadGND101, GND102
2VCCMountingHole:MountingHole_2.2mm_M2_DIN965_PadVCC101, VCC102
174HC157Package_SO:SO-16_3.9x9.9mm_P1.27mmU341
174HCT04Package_SO:SO-14_3.9x8.65mm_P1.27mmU335
174HCT125Package_SO:SO-14_3.9x8.65mm_P1.27mmU302
174HCT74Package_SO:SO-14_3.9x8.65mm_P1.27mmU305
1SW_SPDTButton_Switch_SMD:SW_SPDT_PCM12SW301

More from dmolinagarcia/74HCT6526

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

    74HCT6526

    dmolinagarcia/74HCT6526

    74HCT6526

    80 parts14
  • 4 layers100 × 100 mm74HCT6526, the printed circuit board in 3D

    74HCT6526

    dmolinagarcia/74HCT6526

    74HCT6526

    77 parts14
  • 4 layers100 × 100 mm74HCT6526, the printed circuit board in 3D

    74HCT6526

    dmolinagarcia/74HCT6526

    74HCT6526

    66 parts14
  • 4 layers100 × 100 mmTemplate, the printed circuit board in 3D

    Template

    dmolinagarcia/74HCT6526

    74HCT6526

    3 parts14

Similar boards

  • 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 layers210 × 170 mmTB04addr8bit ctrl, the printed circuit board in 3D

    TB04addr8bit ctrl

    Myuu1967/TB-04

    4bitCPU(TB-04)に関するリポジトリです

    102 parts
  • 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 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 layers200 × 150 mmMicro, the printed circuit board in 3D

    Micro

    jurendono/VMC

    A Versitile 6502 Based Microcomputer

    235 parts
  • 4 layers100 × 100 mmEth, the printed circuit board in 3D

    Eth

    imihajlow/ccpu

    A 8-bit computer made of 74xx series logic gates and memory ICs.

    101 parts145

Questions

How big is the 74HCT6526 PCB?

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

What parts does the 74HCT6526 use?

93 parts, built around the 74HC244D, 74HCT125PW, 74HC00D and 74HC74D. 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 74HCT6526 KiCad files?

From the dmolinagarcia/74HCT6526 repository on GitHub, at the commit this page was made from: the board is B3/B3.kicad_pcb and its schematic 74HCT6526.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the 74HCT6526 design in my own project?

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