The C64’s keyboard is a grid of 64 keys read by the CIA chip at U1, plus a RESTORE key wired on its own. Most faults are dirty or worn contacts, and they are fixable without replacing anything.
How it works
The keys sit at the crossings of an 8 × 8 grid. The computer drives each column low in turn through one of U1’s ports and reads the rows back through the other. The joysticks share the same lines, which is why a joystick in port 1 can type characters.
- RESTORE isn’t in the grid: it has its own wire, which triggers the processor’s non-maskable interrupt.
- SHIFT LOCK is a latching switch wired across the left SHIFT key: the computer can’t tell them apart.
- The 20-pin connector has a blank position to stop it going on backwards, though it can still be forced. The LED’s plug works either way round.
What the fault tells you
| Symptom | Likely cause |
|---|---|
| One key hard to press or dead | a worn or dirty contact; SHIFT, SPACE, E and A wear first |
| A whole row or column of keys dead | CIA U1, or the cable or connector |
| A character appears at start-up, or a key repeats | a stuck key: spill residue, a broken key, a missing spring, or debris on the board. If unplugging the keyboard doesn’t clear it, suspect U1. Unplug joysticks and mice first. |
A keyboard fault never stops the start-up screen: the C64 starts with the keyboard unplugged, which is a quick way to tell a keyboard fault from a computer fault.
Opening it
- Undo the case screws and lift the top.
- Unsolder the SHIFT LOCK wires: they are soldered to the switch.
- Unscrew the keyboard’s circuit board, about twenty small screws, and lift it away carefully, keeping the keys and their plungers in place.
Cleaning the contacts
- Copper contacts on the board: clean them with isopropyl alcohol; a gentle pencil eraser is fine for corrosion.
- Black carbon contacts on the board: leave them alone. Rubbing removes the coating and ruins the board.
- The pads under the keys: polish them by drawing clean paper across them, or wipe them with isopropyl alcohol on a cotton bud. No abrasives, and don’t spray anything into the keyboard.
Keys that stay hard to press
A pad worn by years of use won’t recover with cleaning. A good pad measures 100–1,000Ω across its contact; a worn one 10K or more, and it looks shiny. The cure is to swap the plunger and pad with one from a key you rarely use, such as the up-arrow, back-arrow or £ key: all the plungers are the same. Tested used plungers are also sold.
Removing and refitting keys
- Pull keycaps straight up: twisting breaks the plungers. Don’t lose the spring underneath.
- Keep the circuit board in place while you work, or the plungers fall out of the bottom.
- To refit, put the spring under the cap and press it down until it clicks.
Different keyboards
Commodore used several keyboard designs. Some breadbin keyboards have a metal spring under every key; others use white plungers with grey rubber contacts, and only the space bar has a spring. Their parts aren’t interchangeable, and early and late plungers differ in the size of the fitting for the keycap. A C64C keyboard’s cable is usually too short for a breadbin.
See the CIA guide if the fault turns out to be U1.