Commodore 64 Keyboard Repair

Each key on the Commodore 64 keyboard pushes a plunger carrying a small conductive rubber pad down onto contact areas on a printed circuit board.[1] With use, the pads wear and dirt collects on the board, so keys need more force to register and finally stop working. Ray Carlsen finds the Shift keys, the space bar and common letters such as E and A go first.[1] Retroleum, a UK parts seller, describes the breadbin's two main keyboard designs: "Type 1", with metal springs under every key and black plungers carrying the pads, and "Type 2", with white four-pronged plungers and grey rubber bubble contacts. Their keys and plungers do not interchange.[2] The plunger steps below are for the Type 1 design; on a Type 2 keyboard the grey bubble contacts are loose and are likely to fall out when the board is lifted.[2]
Symptoms
[edit | edit source]- One or two keys need extra force, or do not work at all: worn or dirty pads, or dirt between a pad and the board.[1][2]
- A letter appears after the cursor at start-up, or a character repeats on its own: a stuck key, perhaps sticky after an old spill, broken, or missing its spring. A stuck key sits lower than the others and does not spring back.[1]
- A whole row or column of keys dead: usually the CIA that scans the keyboard (U1), or the cable, its connector or a broken wire.[1][2]
Two checks separate the keyboard from the computer. The start-up screen appears with the keyboard unplugged, so a keyboard fault never stops the machine starting. If a "stuck key" symptom remains with the keyboard unplugged, that is another sign of a failing CIA.[1] Joysticks share the CIA's lines with the keyboard, so unplug any joystick or mouse before testing.[3][1] The Commodore 64 Troubleshooting Guide covers the CIAs.
Safety
[edit | edit source]- Switch off the computer and anything connected to it, unplug the power supply from the wall, and unplug every cable and cartridge before opening the case.[4]
- The cut edges of a home-made tin keytop puller are very sharp; wrap them in tape.[1]
Tools and parts
[edit | edit source]- A Phillips screwdriver (some C64s need a T10 Torx driver),[4] a soldering iron for the Shift Lock wires, and a multimeter on its resistance range.[1]
- Isopropyl alcohol, cotton buds and a clean cloth; clean paper for polishing the pads.[1][2]
- A keytop puller. Carlsen makes one from a strip of tin about 2.5-3 in long and 0.5 in wide, bent into a U with a tiny lip at each end that hooks under the keytop; tape the sharp edges.[1]
- Replacement plungers with pads, or keytops and springs. Retroleum sells individually tested Type 1 plungers with springs in two versions, with an earlier 5 mm or a later 3 mm cross-point tip, and supplies a matching plunger with each keytop because a keytop made for one tip is not a perfect fit on the other.[5][2]
Procedure
[edit | edit source]Open the case and the keyboard
[edit | edit source]- Remove the three Phillips screws along the underside of the front edge.[1]
- Lift the top half-shell and unplug the keyboard connector and the power LED connector. Grip the keyboard plug by its ends and rock it gently while pulling straight up; do not pull on the wires. A blank pin at one end makes the plug hard, though not impossible, to fit backwards; the LED plug works either way round.[1][4]
- Separate the two halves. The rear fasteners are sometimes tight and "pop" when the top is folded back.[1]
- Rest the top half face down on a cloth or cushion.[1]
- Unsolder the two Shift Lock switch wires: heat each joint and pull the wire out when the solder melts.[1][2]
- Remove the small Phillips screws holding the circuit board to the keyboard. Carlsen counts 23; Retroleum gives about 20.[1][2] The keyboard need not be removed from the case top.[1]
- Lift the board out.[1]

Clean the board and pads
[edit | edit source]- Look for dirt, hair, fibres or spill residue on the board and the pads.[1]
- Wipe dust from the board with a clean cloth; do not scratch the contact areas.[1]
- On copper or gold contacts, rub stubborn marks or corrosion gently with a pencil eraser, then clean with isopropyl alcohol and wipe dry.[1][2] Carbon-coated or black-painted contacts must not be rubbed with an eraser or abrasive; if the coating comes off the board cannot be used.[1][2]
- Polish each pad by holding its key down with one finger and pulling a clean strip of paper across the pad with the other hand. Work along one side of the board, then turn it round for the other rows. The pads are thin; do not tear them.[1]
- Do not touch the pads with your fingers. Clean off any finger grease, or a spill, with isopropyl alcohol on a cotton bud. Do not spray anything inside the keyboard.[1][2]
Test and replace worn pads
[edit | edit source]- Measure each suspect pad across its two ends with an ohmmeter. Carlsen measures less than 1 kΩ on a new pad (100 Ω to 1 kΩ) and more than 10 kΩ on a worn one that needs a hard press; a worn pad also looks shiny where a good one is dull.[1]
- Cleaning does not restore a pad worn by use. Carlsen tested solvents, paper and emery cloth and found that none improved a worn pad.[1]
- Replace a worn pad by swapping its plunger with one from a rarely used key, such as up-arrow, left-arrow or the pound key, or fit a new plunger.[1] All the plungers are the same and fit any key position.[1]
- Keep the board in place, held by a few screws, while removing keytops, so the plungers do not fall out.[1]
- Pull the keytop straight up with the puller. Twisting or levering breaks the plunger or the keytop's shaft, and prying against a neighbouring key marks it. Catch the spring under the keytop.[1]
- Remove the board and slide the plunger out from underneath. If it sticks, look for residue or cracks.[1]
- Fit the new plunger, refit the board temporarily, put the spring in place and press the keytop on until it snaps home. Remove only a few keytops at a time so they go back in the right places.[1]
A keytop whose shaft has snapped can be glued, but only after the broken stub has been pulled out of the plunger with a small L-shaped hook; Carlsen reinforces the joint with a short wooden dowel cut from a toothpick. A cracked plunger cannot be repaired reliably; replace it.[1]
Reassemble
[edit | edit source]- Refit the board with its screws.[1]
- Resolder the Shift Lock wires: heat the joint and push the wire in as the solder melts.[1]
- Plug the keyboard connector back in with its blank position over the missing pin of the board header, and refit the LED connector.[4][1]
- Lay the rear edges of the two halves together with the rear tabs in their slots and fold the top down. Squeeze the rear of the case to seat the fasteners, then refit the three screws.[1][4]
Testing
[edit | edit source]Press every key at the start-up screen. A row or column that fails together points back to the cable, its connector or CIA U1.[2] The C64-Wiki's matrix, below, shows which keys share a line: each key joins one CIA 1 port A line to one port B line. RESTORE sits outside the matrix on the NMI line, and Shift Lock is wired to the same line as the left Shift key.[6] Carlsen also publishes a keyboard test program as a disk image.[7]
| Port A \ Port B | PB7 | PB6 | PB5 | PB4 | PB3 | PB2 | PB1 | PB0 |
|---|---|---|---|---|---|---|---|---|
| PA7 | STOP | Q | C= | SPACE | 2 | CTRL | ← | 1 |
| PA6 | / | ↑ | = | Right SHIFT | HOME | ; | * | £ |
| PA5 | , | @ | : | . | - | L | P | + |
| PA4 | N | O | K | M | 0 | J | I | 9 |
| PA3 | V | U | H | B | 8 | G | Y | 7 |
| PA2 | X | T | F | C | 6 | D | R | 5 |
| PA1 | Left SHIFT | E | S | Z | 4 | A | W | 3 |
| PA0 | CRSR down | F5 | F3 | F1 | F7 | CRSR right | RETURN | DELETE |
Related pages
[edit | edit source]References
[edit | edit source]- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 Ray Carlsen, "Commodore keyboards: troubleshooting and maintenance of C64 and C128", updated 17 November 2015, retrieved 2026-10-25. Repair notes: symptoms, cleaning, pad resistance, keytop removal tool, plunger replacement, broken keytops, and C64 disassembly and reassembly.
- ↑ 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 Retroleum, "C64 keyboard info", Retroleum blog: keyboard types, the repair of unresponsive keys, gold and carbon contacts, and dead rows or columns. Retrieved 2026-10-25.
- ↑ Ray Carlsen, "C64/128 control (joystick) ports - diagnostics and repair", updated 22 August 2015: joystick lines are shared with the keyboard.
- ↑ 4.0 4.1 4.2 4.3 4.4 Creative Micro Designs, JiffyDOS C-64 Installation Guide, pp. 1-5: tools (Phillips, T10 Torx on some machines), switching off and unplugging, opening the case, the keyed keyboard connector and reassembly. PDF.
- ↑ Retroleum, "Keyboard - breadbin", product notes on Type 1 springs and plungers with 3 mm and 5 mm fittings. Parts seller. Retrieved 2026-10-25.
- ↑ 6.0 6.1 C64-Wiki, "Keyboard", section "Keyboard Matrix". Retrieved 2026-10-25.
- ↑ Ray Carlsen, keyboard test program, keyboards directory ("keyboard test.d64"). Retrieved 2026-10-25.