Color Effects

Post Reply
Thomas
Posts: 105
Joined: Tue May 30, 2023 8:53 am

Color Effects

Post by Thomas »

Occasionally, I have observed color fringes on scrambled video screens on a standard SB600.
It turns out, that in such a case, a more or less valid color burst signal was present after the horizontal blanking signal.

If you place the characters 147 and 161 into the first two columns of the video memory (the columns are usually not visible), you can create a 2,8 µsec color burst signal (see pictures). If you set the machine clock to NTSC 4.43Mhz, all characters would show up in a fixed color. Unfortunately, a NTSC monitor will not sync at this frequency any more, due to the SB600 video circuit divider setup.
Also, without the ability of a phase shift for individual pixels, no other colors can be generated. (This was solved in the Apple II)

Instead, if your machine clock is other than the NTSC 4.43Mhz clock, and the monitor is still able to sync to the video signal, color effects can be generated. This is due the shift in frequency causing a continuous phase shift over the horizontal trace.
The Color test below show, how this looks like. The effective color depends on the clock frequncy and horizontal position of the pixel and may change form blue to red within one character or over larger sections.
If you remove the two bytes form the first two columns of the screen (color burst), the video signal returns to black & white.

Is this useful?, I don't know, probably not but interesting to know, that a standard SB600 is capable to enable/disable colors by software.
ColorBurst.png
ColorBurst.png (62.65 KiB) Viewed 7692 times
ronin47
Posts: 298
Joined: Thu Dec 14, 2023 2:17 pm

Re: Color Effects

Post by ronin47 »

Isn't this the same as artifacting on other computers like the Apple II and Atari 800 etc, or is this something different?
Thomas
Posts: 105
Joined: Tue May 30, 2023 8:53 am

Re: Color Effects

Post by Thomas »

Yes and no. Other computers have color systems and the color burst signal comes with it. Artifacts in color systems are caused by limited bandwidth during the change from one to another color. This effect is stronger, when the color contrast is high.
For the SB600, there is no color burst, so a monitor will display such a video in monochrome. It depends a bit on the manufacturer, on how they handle color versus monochrome signals.
Just one correction to my above description. It must be NTSC 3.58 Mhz. 4.43Mhz is PAL.
Thomas
User avatar
CommodoreZ
Posts: 57
Joined: Wed Oct 17, 2018 11:16 am
Contact:

Re: Color Effects

Post by CommodoreZ »

Man, that is super cool! Any plans for this color video output? Are you taking any resolution penalties for it?
Superboard Replica (400, 420C, 440) | C4P (502, 540) | Mini OSI-300 | https://www.commodorez.com 🌵
ronin47
Posts: 298
Joined: Thu Dec 14, 2023 2:17 pm

Re: Color Effects

Post by ronin47 »

Interesting, do you think it'll work on a Klyball 600D? I guess I could try when I have a moment.
Thomas
Posts: 105
Joined: Tue May 30, 2023 8:53 am

Re: Color Effects

Post by Thomas »

No further plans from my side. I just wanted to share my observation and figure out, why sometimes the color decoding of the monitor kicks in.
Post Reply