Login
You're viewing the fosstodon.org public feed.
  • Apr 12, 2026, 8:33 PM

    Back on topic. Rainbow CGA project - right. So the clock reset works. This pattern is fixed on the screen with only some crawlies on the edges of the stripes. It's rather uncanny to look at, really.

    You can see the clock trying to drift, but being pulled back into alignment every 30 scanlines or so. I haven't wrapped my head around what those numbers mean yet.

    #retrocomputing #circuitbending

    a photo of a Commodore 1084D monitor showing the CGA game Alleycat again - this time with strange, fixed repeating stripes on the screen.
    💬 1🔄 1⭐ 0

Replies

  • 💬 2🔄 5⭐ 0
  • Apr 12, 2026, 8:41 PM

    Right, okay. I think I've just proven the theory. Now it's time to get down to the nitty gritty.

    Unlike the free-running clock of the Atari Pong IV console, the color clock is gated against the 14MHz dot clock.

    The effect of this is that the color clock normally can only produce a maximum of 16 possible phases. How many phases we get out of our modified clock just sort of depends where the edges line up, but there will be unavoidable banding like this as a result.

    💬 1🔄 0⭐ 0
  • Apr 12, 2026, 8:42 PM

    Here we can see we're only getting four unique phases, because the bands repeat green, blue, magenta, brown.

    my mind is still blown over ORANGE. have you ever seen a CGA emit ORANGE???

    💬 2🔄 0⭐ 0
  • Apr 12, 2026, 9:37 PM

    Okay, here's my plan.

    We're gonna skip the composite color chain entirely.

    This is a "New Style" CGA - meaning that it mixes some of the RGB colors into the luma signal. This was a redesign IBM made to the CGA in order to improve contrast on monochrome composite displays, but it also means that with a New Style CGA we have a plausible, standalone luma signal.

    If the color clock chain is gated with no fewer than three separate dot clock inputs - let's just skip it entirely.

    We just need to lift one leg of R8 and attach our custom color clock there.

    With our 157 still selecting the clock input based on DEN, this means we will get a yellow overscan (which should fool the CRT into detecting a color burst) and a smooth, out-of-phase spectrum gradient in the display area.

    a marked up section of the CGA schematics showing where gloriouscow plans to inject the custom clock from the Arduino Giga, at R8
    💬 1🔄 0⭐ 0
  • Apr 12, 2026, 10:15 PM

    So yeah, that works pretty well, but it's not exactly what I envisioned. Ideally I want white to stay white, and black to stay black, and everything else to be contrasting rainbows.

    But we're going to have to override three different clock pins in the composite color chain to pull that off. I probably have to put this aside for now and get ready for VCF east.

    #retrocomputing #circuitbending

    AlleyCat again on a Commodore 1084D monitor, in composite mode.  The color carrier has been overridden right at the beginning of the composite output circuit, creating a rainbow across the screen.
    💬 0🔄 2⭐ 3
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0