Commodore 128 Keyboard Repair

Each key on the Commodore 128 keyboard pushes a plunger carrying a conductive rubber pad onto a pair of carbon-covered contacts on a printed circuit board.[1] In 64 mode only the standard 66 keys are usable; 128 mode adds 24 more. Keyboard operations are controlled by the 6526 CIA at U1, and some of the extra keys are strobed by the VIC or tied to dedicated 8502 or MMU lines. The 40/80 DISPLAY and CAPS LOCK keys are separate switches outside the rows and columns.[2][3] The usual repairs are cleaning or replacing worn key pads, freeing a stuck key, replacing a broken plunger or keytop and repairing the three latching switches. The flat C128 and the original C128D use the same keyboard circuit board, with a pin header on the flat machine and a 25-way D connector on the C128D; Carlsen gives the board part number as 310401-01.[4][3] The C128DCR keyboard has its own housing; Carlsen describes it separately.
Symptoms
[edit | edit source]Carlsen separates the faults this way:[3]
- One or two keys need extra force, or work only sometimes: worn or dirty pads under those keys. The most-used keys, such as the Shift keys, the space bar, E and A, go first.
- A whole row of keys dead: usually a failed CIA or a bad connection between the keyboard and the main board, not the keyboard itself.
- A key that repeats, or a letter that appears on the command line at power-up: a key stuck down, a missing spring, or debris on the circuit board, often after a spill. If unplugging the keyboard does not clear it, suspect the CIA.
- No problem in the keyboard stops the start-up screen appearing. The C128 starts normally with the keyboard unplugged, which is a quick way to rule out a stuck key.[5]
Carlsen also notes that a stuck key shows up when another key is pressed: it either fails or both characters appear.[5] Tynemouth Software found that pressing an occasional dead key repeatedly can bring it back, but that a proper clean is the real cure.[1]
For the latching keys:
- 40/80 DISPLAY left down makes the computer start in 80-column mode, so a monitor on the 40-column output stays blank; Tynemouth wonders how many C128s are thought broken for this reason.[4] A blank 80-column screen is a different fault; see Commodore 128 80-Column Video Repair.
- Tynemouth found a C128D keyboard with the CAPS LOCK switch missing altogether, and a flat C128 keyboard whose 40/80 switch was broken. The top row of keys stands highest and is the row most often damaged in storage.[4]
Keys not recognised in 64 mode are not faulty: apart from the function keys, the extra keys in the top row work in 128 mode only.[4][2] For other faults, see the Commodore 128 Troubleshooting Guide.
Tools and parts
[edit | edit source]- A Phillips screwdriver, and a T10 Torx driver for machines with Torx case screws.[3]
- A key puller, or Carlsen's home-made puller: a strip of tin about 2½ to 3 inches long and ½ inch wide, with a small lip bent at each end, folded into a U over the keytop.[3][1]
- A soldering iron and solder for the three latching switches, and tweezers.[3]
- Alcohol and cotton buds, contact cleaner, clean paper and compressed air.[3][1]
- An ohmmeter for testing pads.[3]
- Spare plungers and pads. Carlsen found two versions of the flat C128 keyboard that look identical and share the board part number: one has green and white plungers 3/8 inch long, the other blue and black plungers 7/16 inch long. They are not interchangeable; a longer plunger will work in place of a shorter one, but its key will stand higher than the rest. C64 parts do not fit.[3] Tynemouth took key stems from little-used keys of a second keyboard to replace broken ones.[4]
Procedure
[edit | edit source]Open the computer
[edit | edit source]Carlsen's procedure for the flat C128:[3]
- Unplug the power supply and every cable.
- Remove the six screws, Phillips or Torx, from the bottom of the case.
- Lift the top half-shell, starting at the front edges. Two plastic snaps hold each side; press in on both sides near the top row of keys to release them.
- Lift the left side of the top shell, reach under and unplug the power LED lead from the main board.
- Shift the top half to the left to expose the wiring between the halves. Grip all the wires of the keyboard lead tightly between thumb and forefinger, close to the plug, and pull up while rocking gently. The plug is recessed and usually very tight.
- Remove the small Phillips screw holding the ground strap to the right-hand side of the main board.
- Set the top half face down on a cloth or padded surface.
Tynemouth took the keyboard out of the top shell before working on it. The LED board is held under the keyboard by a small spacer at the back, and some of the keyboard screws have spacers that stop them going through the front of the case; keep each screw with its spacer.[1]
Disconnect the latching switches
[edit | edit source]
SHIFT LOCK, CAPS LOCK and 40/80 DISPLAY are mechanical latching switches wired separately to the back of the keyboard, and their wires must be unsoldered before the board will come off.[1][3]
- Note or photograph which wire goes to which switch terminal.
- Heat each joint and lift the wire away with the iron or tweezers as the solder melts. The switches are plastic and melt if the iron stays on a terminal too long, so work quickly.[3]
- If a wire is wrapped round its terminal, unwrap it while the solder is molten. Cutting the wires is possible, but may leave them too short to reconnect.[3]
Remove the circuit board
[edit | edit source]- Remove the 27 tiny Phillips screws holding the circuit board to the key assembly.[3]
- Keep the frame face down while lifting the board, or the plungers fall out.[1]
- Lift the board away. A small spring at one side connects the metal keyboard frame to the board for static discharge; it falls out if the panel is turned over. Keep it and refit it.[3]
Clean the contacts and pads
[edit | edit source]- Wipe dust off the board with a clean, dry cloth or blow it off. Do not rub or scratch the contact areas; they are only a carbon coating and are easily damaged. Never use abrasives.[3]
- Clean spill residue from the board with alcohol on a cloth, without rubbing hard. Remove any hair or fibres left behind.[3]
- Clean each rubber pad by pulling a strip of clean paper across it while holding the key down with a finger: press the paper gently against the pad with a thumb and draw it across with the other hand. Turn the assembly round to reach the other rows.[3]
- Clean pads contaminated by a spill with alcohol on a cotton bud. Do not spray cleaner into the keyboard, and keep fingers off the pads.[3] Tynemouth cleaned the plunger contacts and the board with contact cleaner.[1]
Test and replace worn pads
[edit | edit source]- Measure suspect pads with an ohmmeter across the two ends of the pad. Carlsen measured new pads at 100 Ω to 1 kΩ and pads that need heavy pressure at about 10 kΩ or more.[3]
- Replace a worn pad, or the whole plunger with its pad. Carlsen found that no cleaning or abrasion made a worn pad better; good pads look dull and worn ones shiny.[3]
- Without spares, swap the plungers of heavily used keys with ones from keys that are rarely used.[3]
Remove keytops and plungers
[edit | edit source]- Pull each keytop straight up with the puller. Twisting or levering it can break the keytop shaft or the plunger, and prying against the next key marks it.[3]
- Keep the spring that sits under each keytop. Tynemouth found two additional smaller springs on the C128 keyboard; keep them separate.[1]
- Remove only a few keytops at a time unless their positions are recorded.[3]
- With the keytop off, take the plunger out from underneath. A plunger that will not slide out has residue or a crack.[3]
- The keytops can be washed in hot soapy water and left to dry before refitting.[1]
Repair a broken keytop or plunger
[edit | edit source]A cracked plunger cannot be repaired reliably; replace it.[3] A keytop whose shaft has broken off can be glued:[3]
- Pull the broken stub out of the plunger first, using a paper clip with a small L bent in the end, hooked into the hole in the shaft.
- Trim a wooden toothpick or cotton-bud stick to fit the hole tightly, push it into the keytop and press the broken shaft piece over it.
- When it sits straight, remove the shaft piece, apply superglue, refit it and wipe off any surplus at once.
- Leave it at least an hour, trim off any protruding wood and press the keytop back on.
Never glue a keytop without removing the stub from the plunger first: the key will be stuck for good, and the glue tends to wick into the plunger.[3]
Reassemble
[edit | edit source]- Refit each plunger, with its spring under the keytop. Hold the circuit board temporarily in place with a few screws, so that the plunger has something to push against when the keytop is pressed home.[3]
- Refit the ground spring, then the circuit board and its 27 screws. Do not overtighten them; the plastic strips easily.[3]
- Resolder the latching-switch wires. A tack joint is enough: hold the wire against the terminal and solder it, without re-wrapping it, and work quickly.[3] Tynemouth added tape over the points where the cable is soldered to the board, as Commodore did on the VIC-20 and C64 keyboards but not on these.[4]
- Refit the keyboard plug, which goes on only one way; take care not to bend its pins. Refit the power LED plug, which works either way round, and the ground strap screw on the right of the main board.[3]
- Close the case and refit the six screws.[3]
Testing
[edit | edit source]- Power up and type every key in 128 mode, including the numeric keypad, the separate cursor keys, HELP and the other top-row keys.[2][4]
- Check SHIFT LOCK: with it latched, letters should appear as if Shift were held.[2]
- Check 40/80 DISPLAY: latch it and power up; the computer should start in 80-column mode.[4]
- Switch to 64 mode and check that the 66 standard keys work.[2]
- If a whole row or column is dead, look it up on the matrix to see which keys share it. Carlsen traces that symptom to the CIA or the connection between keyboard and main board.[3][2]
Related pages
[edit | edit source]- Commodore 128
- Commodore 128 Troubleshooting Guide
- Commodore 128 General Maintenance
- Commodore 128 80-Column Video Repair
- Commodore 64 Keyboard Repair
- Recommended Tools
References
[edit | edit source]- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 Tynemouth Software (Dave Curran), "Commodore 128 Repair - Part 2 Keyboard", October 2014.
- ↑ 2.0 2.1 2.2 2.3 2.4 2.5 Commodore Business Machines, Service Manual C-128/C128D Computer, PN-314001-08, November 1987, "The Keyboard", printed p. 51 (PDF p. 54): 66 keys in 64 mode, 24 extra keys in 128 mode, control by the 6526 at U1, and the keyboard matrix. Hosted as File:Commodore 128 128D Service Manual 314001-08 (1987 Nov).pdf.
- ↑ 3.00 3.01 3.02 3.03 3.04 3.05 3.06 3.07 3.08 3.09 3.10 3.11 3.12 3.13 3.14 3.15 3.16 3.17 3.18 3.19 3.20 3.21 3.22 3.23 3.24 3.25 3.26 3.27 3.28 3.29 3.30 3.31 3.32 3.33 Ray Carlsen, "Commodore keyboards: troubleshooting and maintenance of C64 and C128 (including C128DCR)", updated 17 November 2015. Symptoms, cleaning, pad resistance, keytop removal and repair, and the "Disassembly / reassembly... C128 computer" section: six case screws, LED and keyboard plugs, ground strap, three switches, 27 board screws, ground spring, the two plunger lengths and board part 310401-01.
- ↑ 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 Tynemouth Software (Dave Curran), "Commodore 128 keyboard repairs", December 2018: shared circuit board for the flat C128 and C128D, missing and broken latching switches, the 40/80 key and spare key stems.
- ↑ 5.0 5.1 Ray Carlsen, "C128 chips and common symptoms", updated 8 August 2013, "Keyboard" entry.