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

74HCT6526

Size
100 × 100 mm
Copper layers
4
Thickness
1.6 mm
Parts
3
Nets
50
Pads
60
Tracks, vias
0, 4
Pours
6
Routed
Not yet
KiCad
KiCad 5 (file 20201220)
Created
12 Sep 2021
Updated
8 Nov 2023

Overview

Template 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 3 parts on 50 nets.

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

3
QtyValueFootprintReferences
3Conn_02x10_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_VerticalCONTROLBUS1, DATABUS1, ENABLEBUS1

More from dmolinagarcia/74HCT6526

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

    74HCT6526

    dmolinagarcia/74HCT6526

    74HCT6526

    93 parts14
  • 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

Similar boards

  • 4 layers44.7 × 29 mmPcb motor prototype 1, the printed circuit board in 3D

    Pcb motor prototype 1

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    3 parts915
  • 4 layers14.8 × 21 mmUsb splitter, the printed circuit board in 3D

    Usb splitter

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    3 parts397Apache-2.0
  • 4 layers27.3 × 13.2 mmSiw, the printed circuit board in 3D

    Siw

    loxodes/vna

    Under development open hardware microwave vector network analyzer

    3 parts205
  • 4 layers33.5 × 15 mmCover c, the printed circuit board in 3D

    Cover c

    solokeys/solo-hw

    Hardware sources for Solo 1

    3 parts195CC-BY-SA-4.0
  • 4 layers19 × 9 mmSma dcblock, the printed circuit board in 3D

    Sma dcblock

    azonenberg/starshipraider

    Open hardware test equipment

    3 parts193BSD-3-Clause
  • 4 layers80 × 40 mmGround truth, the printed circuit board in 3D

    Ground truth

    Hongcheng-Gao/EngiWorld

    Engiworld: What Can Frontier Agents Deliver in Professional Engineering Environments?

    3 parts52MIT
  • 4 layers22.5 × 10 mmTransformer, the printed circuit board in 3D

    Transformer

    oresat/oresat-live-handheld-ground-station

    MCAD, ECAD, software, firmware, build instructions, and everything else you should need for the OreSat Live Handheld Ground Station project.

    3 parts20GPL-3.0
  • 4 layers6.5 × 7 mmQspi dfn8-host, the printed circuit board in 3D

    Qspi dfn8-host

    azonenberg/dumptruck

    FPGA based dumper for flashes and more

    3 parts17BSD-3-Clause

Questions

How big is the Template PCB?

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

What parts does the Template use?

3 parts. 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 Template KiCad files?

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

Can I use the Template design in my own project?

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