Raster bars

Version 2 of 5

Border rasters.

C64 · raster IRQ · 1980s

This version

Five classic C64 colour ramps race through the border while BASIC sits there, READY. The screen is untouched: only the border colour register changes per line.

How this version works

At 384 pixels wide, this version keeps a dark blue BASIC screen inside a separately coloured border. Five C64 palette ramps move vertically on phase-shifted sine paths, with each ramp entry occupying three rows. A temporary row-colour table records the bars, with later ramps overwriting earlier ones where they overlap. Rows outside the screen use the border colour across their full width, while rows inside use it only at the sides. BASIC text and a blinking block cursor complete the stationary screen.

The trick in this version

The effect emulates timed writes to the C64 border colour register, $D020, rather than changes to a bitmap. Its gradients use entries from the C64's fixed 16-colour palette.

Historical context · 8-bit

  1. 1980s · C64 coders

    C64 raster interrupts

    A raster interrupt at a chosen scanline lets code rewrite the border or background colour register mid-frame, gradients without touching a single bitmap byte.

  2. 1977 · Atari 2600 programmers

    Racing the beam

    The console has no frame buffer: programs set colours while the beam draws each line. Raster-bar-style colour changes were part of the hardware's everyday reality, on the 2600 and on Atari's 8-bit computers.

  3. 1992 · Rachy, TPSH, LBM · 48 Hours Party

    Kefrens bars on the Plus/4

    Part 3 is explicitly labelled ‘Kefrens Bars’: the effect migrates from the Amiga to another 8-bit architecture.

Platform
C64 · raster IRQ
Era
8-bit
Rendered on
CPU
Tags
$D020 · 16 colours
Sources
C64 raster interrupts (1980s)Kefrens bars on the Plus/4 (1992)