VGA planes, off-screen pages, and why games left Mode 13h
Mode 13h is the famous VGA “easy mode”: one byte per pixel, 320x200, 256 colors, linear memory. It is perfect for first experiments and still great for teaching rendering basics. But old DOS games that felt smoother than your own early experiments usually did not stop there. They switched to Mode X style layouts where planar memory, off-screen pages, and explicit register control gave better composition options and cleaner timing.
This first article in the series is about that mental model. Before writing sprite engines, tile systems, or palette tricks, you need to understand what the VGA memory controller is really doing. If the model is wrong, every optimization turns into folklore.
If you have not read Mode 13h Graphics in Turbo Pascal , do that first. It gives the baseline we are now deliberately leaving behind.
Why Mode X felt “faster” in real games
The practical advantage was not raw arithmetic speed. The advantage was control over layout and buffering:
What looked like magic in magazines was mostly disciplined memory mapping plus stable frame pacing.
The key shift: from linear bytes to planes
... continue