9

In Michael Abrash's Graphics Programming Black Book, many chapters are dedicated to fast drawing of primitives, fills and copies using the 320x240 256-colour Mode X.

What MS-DOS games used Mode X?

There are many articles which refer indirectly to games using Mode X ('many games', 'popular games'), but I can't find any that name a game as using Mode X.

The only game that I've seen suggested is Doom, and that game doesn't use the resolution of Mode X (320x240), but the resolution of 13h (320x200) with some of the Mode X features, resulting in a mode referred to as 'Mode Y'.

  • 3
    Mode X was supported by the Allegro games library — en.wikipedia.org/wiki/Allegro_(software_library) — leading to a plentiful supply of freeware games you've never heard of (including my own). Beyond that I can't think of anything that isn't already in Stephen Kitt's linked Moby list. Of those, Car & Driver was particularly impressive for me at the time, going up to something like 320x400 if memory serves, and being a 3d game so that really was just more detail, no negative side effects. – Tommy Jan 29 at 16:24
  • 5
    Coincidently, I recently found an off-by-two error from the Abrash's Mode X setting code by accident. Abrash's code sets vertical total lines registers to value of 525 lines as there should be 525 lines in total per frame. But according to several VGA register manuals, the registers needs to be set to total lines minus 2, or value of 523, to have 525 total lines per frame. Not a big deal, but the two extra lines slow down the refresh rate slighly when compared to 640x480 60Hz mode, while their timing parameters should be identical. – Justme Jan 29 at 17:36
  • 2
    Somewhat related: Mode 13h vs. Mode X – Raffzahn Jan 29 at 20:58
  • 1
    @Justme That might be an error in Abrash's code, or an error in the VGA manuals. The only way to know is to try the code, and see if it works - while keeping in mind that VGA cards at the time weren't exactly compatible (I remember we had to use something like five different versions of the VGA code for some trickery to get things to work right on every machine we had access to). – Luaan Jan 30 at 7:24
  • 2
    @Luaan Both will probably work, at least on the analogue monitors of the time that didn't expect timings to be exact. – Ross Ridge Jan 30 at 7:38
13

Many PC pinball games use Mode X, notably Pinball Fantasies, Pinball Illusions and Epic Pinball.

Nerdly Pleasures also has a comprehensive post on games using “unofficial” resolutions, which includes a number of other games which support 320×240: Quake, Earthworm Jim, The Lost Vikings, Norse by Norse West, and Scorched Earth.

On Moby Games, such games are listed as supporting “tweaked VGA” modes (although that probably includes more than Mode X games). Moby Games lists 149 games supported tweaked VGA.

  • Appreciated! I was wondering what cases would be the most applicable to Mode X, and pinball games are a natural fit, yes - not a lot of sprites moving; small number of types of moving object to let you precalculate single-pixel-X-scrolled objects for copying; scrolling - specifically vertical. Makes a lot of sense. – Carr Jan 29 at 21:36
  • 2
    When displaying 256 colors without using mode-X-style bit planes, a VGA card will be limited to showing 65,536 total pixels, which would limit the number of lines to 204 when using 320 dots/line, or the number of pixels per line to about 272 when using 240 lines. Mode X makes vertical scrolling effortless over an 816-line virtual screen. – supercat Jan 29 at 22:59
  • Came here to see if Scorched Earth was in the list. Great game and it was widespread. – Prof. Falken contract breached Jan 30 at 9:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.