ESD Protection for the C64 Control Ports

The two 9-pin Control Ports located on the right-hand side of the C64 are used to connect joysticks and other input devices like paddles or even a mouse to the 8-bit computer. 

The two Control Ports.

The digital input pins are directly connected to one of the two 6526 Complex Interface Adapters (CIA) inside the C64, without any protection on the motherboard.

Continue reading

Commodore VIC-20 S-Video Mod

Last Summer, after a delay of mere 38 years, I finally acquired my first Commodore VIC-20, or VC 20 as it was called in Germany. Not all parts of the machine are in their original state as the connoisseur will notice on first sight. I don’t care too much about that because I didn’t want it as a collector’s item but as a technical gadget to play around with.

My first VIC-20, freshly supplied with a donor keyboard.

First thing I had to do to even test the machine was to make a new video cable to connect it to a monitor. The pin-out of the A/V jack differs from that of the C64: there is a Vcc output where the luminance signal should be and there is no S-Video output.

Continue reading

Bank Switching Cartridges

Cartridges for the C64 provide either 8K or 16K of ROM that will replace parts of the memory visible to the CPU when plugged into the expansion port. Either 8K or 16K, that is all the Commodore can see directly on a cartridge. Then there is an auto-start mechanism implemented in the Kernal that can be triggered to execute code contained in that ROM when the machine is powered on or reset. Jani features an excellent article about how to create such simple cartridges on his site which I have linked to before.

A simple ROM cartridge: the OpenC64Cart.

Continue reading

The XCPLA – Yet Another PLA Replacement

I’ve covered the PLA and the question how to replace a broken one before. First, when I repaired one of my C64 from back in the day, needed a quick replacement, and used an EEPROM on a simple adapter board. In a follow-up post I used a simple circuit suggested in a talk by Eslapion to test this PLA replacement for glitches and found plenty. Last but not least, I created a replica of the Super Zaxxon cartridge also to be used for testing the PLA. There is a lot more information online on this topic like the excellent Post on Breadbox64.

The broken PLA from a C64 mainboard.

Continue reading

The NeoRAM Remix

A quick market survey on RAM expansions for the C64

The Commodore 64 features a whopping 64kB of RAM, hence its name. Most of this is actually usable at least when programming in assembler. While this used to be quite a lot when compared to competitors in the market, even back in the day there were different external RAM extensions. Some of the popular “freezer” cartridges like later versions of the Action Replay or the Super Snapshot feature some additional RAM of their own.

Commodore 1764 REU. (photo by T. Conté)

Commodore started selling their RAM Expansion Units (REU) in 1985 when the C128 came out. The REU was actually quite sophisticated, with its own controller — the MOS8726, REC — that provides fast memory-transfer by DMA.

The GeoRAM cartridge. (photo by T. Conté)

Continue reading

Turn a BASIC Program into a Cartridge for the C64

The other day, I was researching the Jason-Ranheim Capture cartridges and browsing the DDI Projects on that topic. The capture cartridge is a freezer module for the C64 that allows the internal state of the machine to be saved or to be burned directly into an EPROM. These ROMs can then be installed in a cartridge that will run the frozen state. An interesting concept that I’ll probably explore closer at a later date.

In one of the archives I downloaded I came across a PDF document containing scans of a text, also by Jason-Ranheim Company, that caught my eye. The document is titled “Auto-Start BASIC Programs” and describes a simple process to convert a Commodore BASIC program into an auto-starting cartridge for the C64 or the VIC20. I got curious and decided to try this — but first I wanted to explore how it works in detail.

Continue reading

News Bits: Awards, Revisions, and Cases

An Award Winning Board

Today, I’d like to share some brief news and updates on multiple topics. First up is some exciting news. Last year, when I created and shared the Pi1541io layout I had those boards made by PCBWay and I entered their 2nd annual design contest on a whim with the popular revision 4 of the Pi1541io. And what do you know? Shortly before Christmas, I received an email from Eric of PCBWay who is letting me know that my board actually won first price in the category Most Popular Designs! Continue reading

Super Zaxxon Replica

A while back — following the repair of a C64 — I posted about testing the PLA replacement that I had used. In the great video on that topic shared by MindFlareRetro, Eslapion mentions two possible tests for a PLA replacement. One of these I covered in my post back then. The other test involves using a Super Zaxxon game cartridge.

Due to the unique way of bank switching implemented by that module, it seems to be particularly vulnerable to glitches produced by PLA replacements. Less-than-perfect replacements tend to produce crashes or skewed graphics when running that game. Continue reading

SD2IECplug v2.0

Last year I created my own rendition of the SD2IEC, dubbed the SD2IEC Pluggable. Version 1.0 left some room for improvement and recently I found the time to take on a new revision. The new version 2.0 is even closer related to the design published by Shadowolf while maintaining the “pluggable” layout with the pass-through tape connector.

Continue reading

The 32-Bit Tapecart

A few weeks ago, I built the through-hole version of the Tapecart based on an ATtiny44. The original and probably the most wide spread variant of the Tapecart is much smaller though. It is built from surface mount components and it is based on the much harder to get 32-bit AT SAM D09 controller.

I wanted some of those Tapecarts in my collection so I had “a few” boards made, ordered the components including a matching case and waited for everything to arrive. Soldering the SMD version is not hard, the smallest components have a 0805 footprint. Continue reading