Page 1 of 16

The strange case of the Commodore 64 colour bands.

Posted: Sat Apr 02, 2022 10:05 am
by stephen_usher
Well, the pristine C64 I picked up a couple of weeks ago does actually have a problem, the display output.

It has a very rare (it seems) issue where the chroma signal has jailbars, alternating between a red tint and a bluish tint across the screen. Also, just last night I found that it has issues if you have a dark screen and then change to a light screen. For about 5 seconds the light screen is dim and then it suddenly lightens.

You can see the issue in this video:



My first guess is the two electrolytic capacitors in the VIC-2 tin as they are part of the video clock circuitry, and they're almost 40 years old.

Re: The strange case of the Commodore 64 colour bands.

Posted: Sat Apr 02, 2022 12:04 pm
by rubber_jonnie
Definitely worth a try changing the caps. Must check my 64C.

Re: The strange case of the Commodore 64 colour bands.

Posted: Sat Apr 02, 2022 12:40 pm
by stephen_usher
No, the caps are fine and they seem to be there just for power smoothing.

At one point, after removing, Electrolubing and refitting the VIC-2 I thought I'd fried it as nothing was working, but it was due to the very poor single-wipe socket. Phew!

Anyway, popping off the top of the modulator helped. Firstly, as per Adrian Black's sharpness mod video, I removed the capacitor on the luminance line and that sharpened the display massively, but it didn't change the colour banding.

So, as I test I thought I'd put a composite video cable onto the connections to the modulator. Composite video gave the normal results. I then connected the luminance only. This should give a black and white image and sometimes it did, but more often than not I got colour! Not only that but the coloured banding was even more prominent than in the composite signal. I couldn't take a picture as I needed two hands just to get it to work.

So, I think the issue is somewhere in the modulator. This is a pain as getting the modulator out will be difficult. But first I need to take a look at the modulator schematic.

Re: The strange case of the Commodore 64 colour bands.

Posted: Sat Apr 02, 2022 1:07 pm
by stephen_usher
It looks like the design merely has a resistor between the composite output and the luma, so that's why the colour information is bleeding over.

Looking at the pure chroma signal in the same way shows the bands, so that's where I'm going to have to concentrate.

Re: The strange case of the Commodore 64 colour bands.

Posted: Sat Apr 02, 2022 1:25 pm
by stephen_usher
I wonder if the 74LS629N is iffy. The colour clock adjustment voltage seems to make no difference to the clock frequency, though this could be the Hantek 'scope as it's not good at frequency measurement. It's bouncing between 7.75MHz and 8MHz but the trace looks stable. I might get the Tektronix down for this.

Re: The strange case of the Commodore 64 colour bands.

Posted: Sat Apr 02, 2022 2:20 pm
by stephen_usher
OK, got the Tektronix down and the colour clock is now set perfectly. The clock circuits are fine.

It looks like it's either the VIC-2 itself or the circuitry in the modulator.

Re: The strange case of the Commodore 64 colour bands.

Posted: Sat Apr 02, 2022 3:22 pm
by rubber_jonnie
Interesting stuff, be good if you can find a fix for it, I'm sure you're not the only person suffering this.

Could be the VIC-II for sure too, they do die, or like the VIC in my VIC-20, just stop behaving properly.

Re: The strange case of the Commodore 64 colour bands.

Posted: Sat Apr 02, 2022 10:17 pm
by stephen_usher
After more investigation with the Tektronix oscilloscope, which I'm sort of getting the hang of despite the illogical menu system, I've discovered that the 17.7344MHz crystal is not that stable. Although it's averaging roughly that value it's actually swinging between 17.4MHz and 18.3MHz. That variation would definitely cause the colour tint to change markedly as the frequency of the PAL chroma signal shifted frequency.

Now, to try to find a replacement. I can see some on Mouser for about 51p +VAT each, but that's Mouser in the USA and the cost of buying just one thing would be high. I'll hae to make a list of things to buy. I know they sell dual-port SRAMs which would be useful for my Apricot hard disk project to store the fake WD1010A registers, and they're not cheap, so that might be a good item to put into the basket.

Re: The strange case of the Commodore 64 colour bands.

Posted: Sat Apr 02, 2022 11:57 pm
by rubber_jonnie
stephen_usher wrote: Sat Apr 02, 2022 10:17 pm After more investigation with the Tektronix oscilloscope, which I'm sort of getting the hang of despite the illogical menu system, I've discovered that the 17.7344MHz crystal is not that stable. Although it's averaging roughly that value it's actually swinging between 17.4MHz and 18.3MHz. That variation would definitely cause the colour tint to change markedly as the frequency of the PAL chroma signal shifted frequency.

Now, to try to find a replacement. I can see some on Mouser for about 51p +VAT each, but that's Mouser in the USA and the cost of buying just one thing would be high. I'll hae to make a list of things to buy. I know they sell dual-port SRAMs which would be useful for my Apricot hard disk project to store the fake WD1010A registers, and they're not cheap, so that might be a good item to put into the basket.
Do you have a signal generator that you could use to replace the crystal as a temporary test? What about the caps in the oscillator circuit? C70 perhaps?

Re: The strange case of the Commodore 64 colour bands.

Posted: Sun Apr 03, 2022 7:53 am
by stephen_usher
From what I understand, if the capacitance is changed slightly you just get a slightly different resonant frequency rather than one which varies, but I s’pose you could get further resonance at a lower frequency too. I haven’t got any 10pF caps at the moment. However, I could desolder it and test it in my multimeter, which has a capacitor tester. Having said that, Commodore probably sourced the cheapest possible crystals they could. :-)