This version
Every scanline gets its own background colour from the 128-colour NTSC palette, and a mirrored 20-block playfield is reprogrammed on the fly, there is no frame buffer to draw into.
How this version works
The CPU renderer fills each row of a 160-pixel-wide image with one background colour. A scrolling row index selects a hue every eight lines and steps through eight luminance levels using an approximate NTSC palette. Dark four-pixel playfield blocks are drawn across the left half and mirrored onto the right. A sine function changes their positions with height and time, forming symmetrical moving outlines.
The trick in this version
This emulates the Atari 2600's scanline colour changes and mirrored playfield. The original hardware had no frame buffer, whereas this implementation builds the image in a pixel array.
Historical context · 8-bit
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.
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.
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
- Atari 2600 · 160×192
- Era
- 8-bit
- Rendered on
- CPU
- Tags
- no frame buffer · playfield