MS DOS Programming the Mode X Deviation

After learning about Mode 13h last time, I’ve been digging about in the ancient tomes of wisdom and discovered Mode-X. Let’s make a PC’s VGA card do odd things it was never designed for.

Watch the video


Get the code from my Github repo

When IBM created the original VGA adaptor, they never intended it to produce high colour real time graphics. However by cleverly altering the card it is possible to unlock an undocumented video mode known simply as Mode X.

I came across the Graphics Programming Black Book by Michael Abrash and printed out chapter 49 to read, which describes how this mysterious Mode-X actually works, including source code to play with.

Subscribe

Support

Related Content

  • Chromebook Facial Control Is Cool August 21, 2025

    thumbnail image
  • Davinci Resolve Proxy Files March 6, 2025

    thumbnail
  • Davinci Resolve Collaboration March 3, 2025

    thumbnail
  • Borland C Dos Programming February 27, 2025

    thumbnail
  • About Me January 3, 2025

    thumbnail
  • Support January 3, 2025

    thumbnail

Recent Content

  • Chromebook Facial Control Is Cool August 21, 2025

    ...
  • The Reason You Quit Coding Projects and What to Do About It August 21, 2025

    ...
  • The Dark Art of DOS Audio: PC Speaker Tricks and PWM Madness August 11, 2025

    ...