IT lexicon › Programming › FLD

FLD

Programming På svenska → Updated: 2026-08-14

A C64 trick that pushes the screen downward line by line by cheating the VIC-II out of its bad lines.

Flexible Line Distance. By writing a fresh value to the VIC-II's vertical scroll register ($D011) on every raster line, a coder can postpone the next bad line indefinitely — the chip never fetches new character rows, and the picture slides downward by any distance you like. The effect became popular on the Commodore 64 around 1988 and drives wobbling logos, elastic raster bars, and gaps for sprites to roam in.

FLD is the vertical cousin of VSP. The cost is CPU time: the routine has to hit every line exactly, which is impossible without a stable raster interrupt.

← Back to the lexicon