FairLight - Home of the Real Crackers
This episode of FairLight TV explores four fundamental graphics programming tricks on the Commodore 64, primarily leveraging the VIC-II chip's $D011 (Y-scroll) register, along with D018 and D000. These techniques allow for impressive stretching, squeezing, and zooming effects previously thought impossible on the 42-year-old hardware, showcasing how new insights continue to push the boundaries of C64 demoscene graphics.
The video covers:
N (e.g., 7 for 7 lines), a bad line is forced after N pixel lines.
N value (e.g., from 7 down to 1 or any fractional value in between) across the screen lines. This effectively stretches or compresses the vertical display.
N consecutive rows, effectively stretching out the first pixel line of a character/bitmap.
N stretched lines, the programmer "relaxes" for 7 rows, allowing the VIC-II to naturally complete its 8-pixel character row and increment its internal counters (the "little X" event). This allows new character/bitmap data to be read for the next segment of the display.N lines, followed by a raster interrupt to set up the "relaxed" section.