StockDuty ← Dashboard Nov 11, 2026 01:09 PM ET
SignalMacro

A great old-timey game-programming hack (2013)

High-priority alert based on source significance and keyword relevance.

What happened: A 2013 blog post recounts an 8-bit PC era game-programming hack. A friend's side-scroller ran too slowly, and after the code was found already tightly optimized, the author explains how graphics hardware of the time required copying screen data byte by byte. Key numbers: Tiles were 28 by 28 pixels, 16 colors at half a byte per pixel, 14 bytes per row. Why it matters: The post illustrates that on this hardware, drawing the background consumed most of the game's time, so programmers counted cycles in inner loops to reach playable speeds.
A 2013 blog post recounts an 8-bit PC era game-programming hack. A friend's side-scroller ran too slowly, and after the code was found already tightly optimized, the author explains how graphics hardware of the time required copying screen data byte by byte.
The post illustrates that on this hardware, drawing the background consumed most of the game's time, so programmers counted cycles in inner loops to reach playable speeds.
Sources