Jump to content

Commodore 128 80-Column Video Repair

From RetroTechCollection
Commodore 128 board video section, 8563 U22, U23-U25, Y1
The video section of a 310379 board with its cover off. The 8563 at U22 is the large chip on the left; U24 (74LS244) and the 16 MHz module Y1 sit beside it, and the two 4416 video DRAMs, U25 and U23, are below. CN10, the RGBI connector, is at the top left.

The Commodore 128 produces its 80-column picture from a separate video system: the 8563 video display controller (VDC) at U22, 16 KB of video memory in two 4416 DRAMs at U23 and U25 on the VDC's own local bus, a 16 MHz oscillator module at Y1 for the dot clock, and a 74LS244 buffer at U24 that drives the 9-pin RGBI connector, CN10.[1][2] When the 80-column screen is blank, scrambled or missing a colour while the 40-column screen works, the fault is in this circuit, in the monitor or in the cable between them. The checks below follow the signal from U22 to CN10, and the repairs cover each of these parts. The positions and parts are the same on both revisions of the flat C128 main board, PCB assembly 310379 rev. 6 and rev. 7.[2][3]

Symptoms

[edit | edit source]

Commodore's diagnostic manual notes that its diagnostic cartridge runs only in 40-column mode and does not fully test the 80-column display, and that an 80-column fault normally leaves the 40-column display working and can almost always be traced to the 8563.[4] Ray Carlsen lists these symptoms by part:[5]

80-column faults by part (Ray Carlsen)
Part Symptom
U22, 8563 40 columns normal; 80-column screen blank, or the whole picture shifted sideways. The machine may not switch from 128 to 64 mode with the reset switch.
U23, U25, 4416 80 columns only: blank screen or some characters garbled. A shorted chip may get hot.
U24, 74LS244 One colour, such as red, missing from the 80-column screen.
Y1, 16 MHz oscillator Blank screen in 80 columns only.

Faults that look similar:

  • The 40/80 key is a latching switch. Left down, it starts the machine in 80-column mode, so a monitor connected only to the 40-column output stays blank.[6] That is the opposite of this fault; check which output the monitor is on.
  • The RGBI connector carries digital TTL-level signals, not analogue RGB or VGA.[7] A monitor that cannot take TTL RGBI will show nothing. Ruben Schade's converter box showed no picture on any of four displays; he proved the converter was not at fault by building a cable from pin 7 of the RGBI connector to a composite input, which also gave no picture, and then found a corroded pin on his 8563.[8]
  • A long cable can stop a sensitive monitor locking. On a C128DCR with a 6-foot shielded straight-through cable, Carlsen measured the horizontal sync at under 1.5 V peak to peak instead of the normal 3.2 V, with video breaking into it; the picture tore or blanked as the brightness of the screen content rose. A shorter unshielded cable cured it, and so did a new 74LS244 at U24. He expects the same on the flat C128.[9]

If the 40-column screen is also faulty, work through the Commodore 128 Troubleshooting Guide first.

Commodore's 80-column symptom table

[edit | edit source]

For a picture that is present but wrong, Commodore's table names the 8563 signal to check. Where Commodore marks one line of a group as the most probable, it is shown here as checked first.[4]

Selected entries, C128 diagnostic manual section 3.4
Symptom on the 80-column screen Check at U22
Solid black, white or coloured snowy screen at power-up DCLK
Power-up message correct but rolling vertically VSYNC
Power-up message rolling horizontally HSYNC
Coloured crosshatch pattern, which may disappear within 60 seconds R/W
Power-up message scrambled DA0-DA7, DA0 first
Cursor only, no power-up message DA0-DA7, DA3 first
Full screen of symbols DD0-DD7
Solid coloured screen, usually blue DD0-DD7, DD6 first
Power-up message in green characters, or screen dark blue G
Power-up message in blue, or screen green B
Screen red R
Random pattern, usually crosshatch or vertical lines, which may fade within 60 seconds RAS, CAS
Random flashing characters, screen possibly split into halves CAS
Black screen CS8563

Safety

[edit | edit source]
  • The computer runs from an external supply; unplug it before opening the case.
  • Reseat or remove the 8563 with care. Schade found one of its pins bent and darkened, and it crumbled when he lifted the chip.[8]

Tools and parts

[edit | edit source]
  • An oscilloscope. Commodore takes all its readings with an oscilloscope, to ±10 %.[10] Adam Wilson used a logic probe to find a floating address line on a C128 board, and one is useful here for checking that a line is switching.[11]
  • Replacement 8563 VDC. Commodore's parts lists give 8563-R7, part 315014-01, for both board revisions.[2][3]
  • Video DRAM: 4416 (16K × 4), 150 ns in Commodore's list.[2] Carlsen fits 4464 (64K × 4) chips at U23 and U25 instead, which also gives the VDC 64 KB of video memory; 120, 100 and 80 ns parts all work. Fit 18-pin sockets.[12]
  • 74LS244 for U24.[2][9]
  • Y1 is a 16 MHz clock oscillator module, Commodore part 325566-01.[2]
  • A desoldering tool and a soldering iron of about 25 W; Carlsen warns against an old soldering gun on this board.[12] See Recommended Tools.

Procedure

[edit | edit source]

Check the monitor and cable

[edit | edit source]
  1. Confirm that the monitor accepts digital RGBI. Commodore's pin assignment for CN10 is in the table below.[7]
  2. Use the shortest cable available. If the picture tears or blanks as the screen gets brighter, try an unshielded cable before opening the computer.[9]
  3. For a quick test without an RGBI monitor, take pin 7 (monochrome) and ground from CN10 to a composite monitor input, as Schade did.[8] Commodore specifies this output as 2.0 V for full intensity, 1.5 V for half intensity and 0.5 V for sync, into 75 Ω.[7]
CN10 RGBI connector and where each signal comes from (rev. 6 schematic)
CN10 pin Signal Level 8563 (U22) pin U24 input / output pin Ferrite bead
1, 2 Ground
3 Red TTL 46 2 / 18 FB44
4 Green TTL 45 4 / 16 FB45
5 Blue TTL 44 6 / 14 FB46
6 Intensity TTL 43 8 / 12 FB47
7 Monochrome Composite, 75 Ω Mixed from the colour and sync signals by U54, U57, Q1, Q4 and Q5 FB48
8 Horizontal sync TTL 3 Second half of U24 (inputs 11 and 15, outputs 9 and 5), then gates in U57 (7407) and U29 (7406) FB49
9 Vertical sync TTL 20 FB50

Pin functions and levels are from Commodore's video interface page;[7] the 8563, U24 and ferrite-bead pins are read from schematic sheet 3.[1]

Open the computer

[edit | edit source]

These steps are Carlsen's for the flat C128.[13]

  1. Unplug the power supply and every cable.
  2. Turn the computer over and remove the six screws from the bottom of the case. They may be Phillips or Torx; Torx screws take a T10 driver.
  3. Turn the computer over and lift the top half at the front edges. Two plastic snaps hold each side; pressing in on the sides near the top row of keys releases them.
  4. Lift the left side of the top, reach under and unplug the power LED lead from the main board.
  5. Slide the top to the left to expose the keyboard lead. Grip all of its wires close to the plug and pull up, rocking gently; the plug is recessed and tight.
  6. Remove the small Phillips screw holding the ground strap to the right-hand side of the main board, and set the top aside face down on a cloth.
  7. Lift off the metal cover over the video section in the middle of the board, the "tin can" that holds U22 and U24.[9] Schade found the original thermal paste between his shield and the chips dried out and renewed it when he refitted the shield.[14]

Inspect U22

[edit | edit source]
  1. Check that the 8563 is fully seated. Schade found his riding higher in its socket than the VIC beside it, with one pin bent out and discoloured.[8]
  2. If a pin is bent or corroded, do not press the chip home. Lift it out with an IC extractor and inspect the socket.[8]

Follow the signal path

[edit | edit source]
Commodore 128 schematic 310378 rev 6 sheet 3, 80-column video circuit
Commodore's schematic 310378 rev. 6, sheet 3. The 8563 (U22) is at the left with its two 4416 DRAMs (U23, U25) above on the DA and DD lines; the 16 MHz module Y1 is at the bottom left; U24 and the monochrome transistors Q1, Q4 and Q5 are in the middle; the beads FB44-FB50 and CN10 are at the right. The 556 at U27 in the lower right is the reset timer, not part of the video circuit.

Take each measurement with the computer on and switched to 80 columns. The pin numbers are from schematic sheet 3.[1]

  1. Measure +5 V at U22 pin 37 (Vcc), with pin 12 as ground.[1]
  2. Measure the dot clock at U22 pin 2 (DCLK). Commodore expects 16 MHz.[10] The diagnostic manual's step prints "8564 VDC - U22"; U22 is the 8563.[10][2]
  3. If DCLK is wrong, measure pin 8 of Y1, the oscillator output. With 16 MHz at Y1 pin 8 but not at U22 pin 2, Commodore points to an open trace to U22; with no 16 MHz at Y1, it names U22 and Y1.[15]
  4. Measure +5 V at Y1 pin 14. The module is fed through inductor L4 (2.2 µH) and decoupled by C88, C87 and C122; pin 7 is ground.[1]
  5. For a black 80-column screen Commodore names the chip select, CS8563, at U22 pin 7.[4] With its diagnostic cartridge fitted, Commodore expects a 4-5 V level with negative pulses there from power-up until the diagnostic initialises, and names U3 and U22 if it is wrong.[16]
  6. Check for activity on the colour and sync outputs of U22: R at pin 46, G at 45, B at 44, I at 43, HSYNC at pin 3 and VSYNC at pin 20.[1]
  7. Follow each signal through U24 using the pins in the table above. A signal present at a U24 input and missing at the matching output points to U24; Carlsen names U24 for a single missing colour.[5][1]
  8. Check continuity from each U24 output through its ferrite bead to the CN10 pin.[1]
  9. For a scrambled or symbol-filled screen, use Commodore's symptom table to pick the DA or DD line and check it between U22 and U23/U25. DA0-DA7 are U22 pins 26-33 and DD0-DD7 are pins 34-36 and 38-42.[4][1]

Replace U24

[edit | edit source]

Carlsen's method, which avoids lifting traces:[9]

  1. Cut each pin of the old 74LS244 close to the body.
  2. Desolder the pin stubs one at a time and clear the holes.
  3. If a trace lifts, repair it before fitting the new chip or a socket.
  4. Fit the new 74LS244, or a 20-pin socket and the chip, with the notch the same way as the original.

Replace the video DRAMs

[edit | edit source]

Carlsen gives this procedure for fitting 4464 chips; the steps are the same for new 4416s.[12]

  1. U23 and U25 sit inside the video section and are usually soldered in. Remove each one, either by desoldering it whole or by cutting off the pins and removing them one at a time, which is easier on the board.
  2. Clear the holes with braid or a solder sucker.
  3. Fit an 18-pin socket at each position.
  4. Fit the new chips with the notch the same way as the originals; mark the board first if needed.
  5. Inspect the area under magnification for solder splashes and bridges between traces before powering up.

Replace the 8563

[edit | edit source]
  1. Lift the 8563 out of its socket a little at a time from each end.[8]
  2. Fit the replacement with its notch matching the socket, check that no pin has folded under, and press it fully home.

Reassemble

[edit | edit source]

Refit the video cover, then the top case in reverse order: the ground strap screw, the keyboard plug, which goes on only one way, the power LED plug, which works either way round, and the six case screws. Do not overtighten them; the plastic strips easily.[13]

Testing

[edit | edit source]
  1. Power up with the 40/80 key down, or type GRAPHIC 5 in 40-column mode, and check the 80-column start-up screen.[6][8]
  2. Check each colour. Commodore's table lists the screen colour that results from a missing R, G or B output.[4]
  3. If 4464 chips were fitted, Carlsen's check, typed in 80-column mode, confirms the 64 KB: POKE DEC("D600"),28:POKE DEC("D601"),63:SYS DEC("FF62"):SCNCLR. With 64 KB the screen shows READY and looks normal; with 16 KB it fills with zeros.[12]
  4. Leave the machine running in 80 columns for a few minutes. Two of Commodore's symptoms, the crosshatch pattern and the random pattern, may fade within 60 seconds.[4]

Board revisions

[edit | edit source]
  • PCB 310379 rev. 6 and rev. 7: U22 8563-R7 (315014-01), U23 and U25 4416, U24 74LS244, Y1 16 MHz oscillator (325566-01) in both parts lists.[2][3]
  • Carlsen lists the 8563 under part number 315014-09.[5] The board in the photograph above carries an 8563R9.
  • The C128DCR board, assembly 250477, uses an 8568 controller at U22 and 64K × 4 DRAMs at U23 and U25, and is not covered here.[17] Carlsen's sync fault was found on a C128DCR, whose buffer is also U24, a 74LS244.[9]
[edit | edit source]

References

[edit | edit source]
  1. ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 Commodore Business Machines, Service Manual C-128/C128D Computer, PN-314001-08, November 1987, schematic 310378 rev. 6, sheet 3 of 4, "Video, Clock, Reset", printed p. 68 (PDF p. 74). Hosted as File:Commodore 128 128D Service Manual 314001-08 (1987 Nov).pdf. 8563 pin numbers, U23/U25 connections, Y1 supply and output, U24 pins, Q1/Q4/Q5, FB44-FB50 and CN10.
  2. ↑ 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 Service Manual C-128/C128D (1987), parts list for PCB assembly 310379 rev. 6, printed pp. 64-65: U22 8563-R7 CRT controller 315014-01; U23, U25 4416 dynamic RAM 150 ns; U24 74LS244; Y1 16 MHz clock oscillator 325566-01; CN10 9-pin female D connector, RGBI, 252024-01.
  3. ↑ 3.0 3.1 3.2 Service Manual C-128/C128D (1987), parts list for PCB assembly 310379 rev. 7, printed pp. 71-72: the same entries for U22-U25 and Y1.
  4. ↑ 4.0 4.1 4.2 4.3 4.4 4.5 C128 Diagnostic Instruction and Troubleshooting Manual (1986), section 3.4, "80 column display problems, diagnostic not installed", pp. 3-7 to 3-9.
  5. ↑ 5.0 5.1 5.2 Ray Carlsen, "C128 chips and common symptoms", updated 8 August 2013: U22, U23/U25, U24 and Y1.
  6. ↑ 6.0 6.1 Tynemouth Software, "Commodore 128 keyboard repairs", December 2018: the 40/80 latching switch and machines thought broken because it was left down.
  7. ↑ 7.0 7.1 7.2 7.3 Service Manual C-128/C128D (1987), "The Video Interface (Continued)", printed p. 32: RGBI connector pin assignment and signal levels (TTL for R, G, B, I and sync; composite 2.0 V full intensity, 1.5 V half intensity, 0.5 V sync, 75 Ω).
  8. ↑ 8.0 8.1 8.2 8.3 8.4 8.5 8.6 Ruben Schade, "Troubleshooting my Commodore 128's 80-column mode, part one", 6 March 2021: 40/80 key and GRAPHIC 5, the RGBI-to-VGA converter, the pin 7 composite test cable and the bent, corroded 8563 pin.
  9. ↑ 9.0 9.1 9.2 9.3 9.4 9.5 Ray Carlsen, "C128, DCR & 1084S: picture distortion (or no picture) in 80 columns", updated 21 February 2024: H sync measurements, cable, U24 replacement and its position next to the VDC inside the shield.
  10. ↑ 10.0 10.1 10.2 Commodore Business Machines, C128 Diagnostic Instruction and Troubleshooting Manual, Assembly #314060-01/02 (1986), section 2.1, "Basic preliminary checks", pp. 2-1 and 2-2: readings with an oscilloscope to ±10 %, and step 9, DCLK 16 MHz at pin 2 of U22. Hosted at Commodore 128 Diagnostic Instruction and Troubleshooting Manual (314060).
  11. ↑ Adam Wilson, Adam's Vintage Computer Restorations, "Commodore C128 board repairs", 18 May 2021: logic probe on the SID lines of board 4.
  12. ↑ 12.0 12.1 12.2 12.3 Ray Carlsen, "Upgrading the C128 from 16K to 64K of video RAM", 6 June 2006: removing U23 and U25, 4464 replacements, sockets and the 64 KB test.
  13. ↑ 13.0 13.1 Ray Carlsen, "Commodore keyboards: troubleshooting and maintenance of C64 and C128", updated 17 November 2015, section "Disassembly / reassembly... C128 computer".
  14. ↑ Ruben Schade, "Fixing my unbootable Commodore 128", 21 February 2021: dried thermal paste between the shield and the chips.
  15. ↑ C128 Diagnostic Instruction and Troubleshooting Manual (1986), section 2.4.6, "Incorrect 16 MHz clock", p. 2-5.
  16. ↑ C128 Diagnostic Instruction and Troubleshooting Manual (1986), section 2.15, step 1, p. 2-18: pin 7 (CS8563) of U22.
  17. ↑ Service Manual C-128/C128D (1987), C128D component parts list and board layout, PCB assembly 250477: U22 8568, U23 and U25 64K × 4 DRAM.