Graphics mode findings

Discuss just about anything else
Post Reply
User avatar
DOSGuy
Website Administrator
Posts: 1063
Joined: September 2nd, 2005, 8:28 pm
Contact:

Graphics mode findings

Post by DOSGuy »

The discussion of graphics modes in this thread led to my using the DOSBox debugger to determine the graphics modes of games on the site, whereas I had always used resolution and color depth in the past. The previous approach led to a few accidental errors, but it also revealed that a lot of games that appeared to be using Mode 13h were not actually using Mode 13h. Mode 13h is a planar memory mode that was introduced with MCGA. VGA supports "unchaining" the video memory, which allowed for resolutions other than those permitted by Mode 13h and the other BIOS modes. I had assumed that any game using 320x200x256c graphics was in Mode 13 because... why not use Mode 13h if you want 320x200x256c graphics? The answer is that unchaining the memory allows for faster fills -- potentially speeding up drawing by 4x -- and allows for things like double and triple buffering, which greatly reduce flicker and tearing in games that have a lot of action. That being the case, a lot of games unchained the video memory even if they retained Mode 13h's 320x200 resolution (known as "Mode Y").

Using the debugger to determine video mode also ended up being useful for text mode games. It turns out that you can't assume that any 40 column ASCII game is using Mode 0 if there's no color or Mode 1 if there is, or that any 80 column ASCII game is using Mode 2 if there's no color and Mode 3 if there is; some games were using Mode 1/3 and just not using any colors, and Mode 0/2 games will display color if you have a color monitor and grayscale if you have an analog monitor. Additionally, I had no way of knowing if a monochrome 80 column ASCII game was in Mode 2 or Mode 7 -- other than the fact that Mode 7 isn't available if you're running an emulator in CGA mode. I used the debugger to determine the correct mode of each ASCII game on the site. There are a few games that don't set any video mode, which means that they can be played with any video card, whereas any game that sets a video mode other than 7 cannot be played under MDA/Hercules, and any game that sets Mode 7 cannot be played under CGA/MCGA. I felt that there should be a list of games that don't set a video mode. You can technically set any video mode you want before running these games but, for the purposes of screenshots for the site, I used the default video mode for each standard (7 for MDA, 3 for all others).

After all that work was done, I realized that while it was now possible to search for ASCII games by their exact BIOS mode, I realized that searching for a CGA graphics game that uses Mode 4/5 tells only a quarter and half of the story, respectively. Mode 4 has two different palettes, and both Mode 4 and 5 can be set to high or low intensity, so different Mode 4/5 games can look very different each other. Additionally, the background color can be changed from the default black to any of the 16 CGA colors, though few games chose to do so. I decided against allowing Mode 4/5 games to be searchable by palette and intensity, but I did want to have a record of it somewhere.

So, I'm creating this thread to make a list of the palette, intensity, and background color of all Mode 4/5 games, and also to compile a list of VGA games that have 320x200x256c graphics but don't use Mode 13h. Why bother with a list of unchained 320x200 VGA games? Most people don't bother to make a distinction between MCGA and VGA, but they're different. MCGA doesn't support VGA Mode 12h but, more importantly, it probably doesn't support unchained memory, so all of those games that I erroneously listed as Mode 13h probably won't work under MCGA!

So, below is a list of my findings for CGA Mode 4/5 games, the actual BIOS mode of all 320x200x256c VGA games (games that use unchained memory change to Mode 0Dh instead of 13h), and games that don't set a video mode.

ASCII

Games that don't set a video mode

DND
Dungeons of the Necromancer's Domain
Mines

CGA

Mode 4 games
Adventure Fun-Pak (Raiders of the Forbidden Mine)Palette 1Low intensityBlack
Alive SharksPalette 1High intensityBlack
Arcade VolleyballPalette 1Low intensityBlack
Arctic AdventurePalette 1Low intensityBlack
Banyon WarsPalette 1High intensityBlack
BassTourPalette 0High intensityBlack
CatacombPalette 1High intensityBlack
Chopper Commando (day missions)Palette 0Low intensityBlack
Chopper Commando (night missions)Palette 1Low intensityBlack
CratesPalette 0High intensityBlack
Crazy ShufflePalette 1Low intensityBlack
Dangerous DavePalette 1High intensityBlack
GalactaPalette 1High intensityBlack
Googol Math GamesPalette 0High intensityBlue
Googol ReviewPalette 0High intensityBlue
Indiana Jones and the Last CrusadePalette 1High intensityBlack
Jill of the JunglePalette 0High intensityBlue
LoomPalette 1High intensityBlack
Magic PocketsPalette 1High intensityBlack
Monuments of MarsPalette 0Low intensityBlack
Moraff's EntrapPalette 0Low intensityBlack
Moraff's RevengePalette 0Low intensityBlack
OverkillPalette 0High intensityBlack
PaganitzuPalette 0Low intensityBlack
PC-JigsawPalette 0Low intensityBlack
Pharaoh's TombPalette 0Low intensityBlack
Prince of PersiaPalette 1High intensityBlack
Puzzle Fun-Pak (Maze Machine)BothBothBlack
Robomaze IIPalette 1High intensityBlack
Secret of Monkey Island, ThePalette 1Low intensityBlack
Sink'emPalette 1Low intensityBlack
Talking ABC's: A Day At The BeachPalette 1High intensityBlack
TelengardPalette 1Low intensityBlack
TurboPalette 0High intensityBlack
Word GalleryPalette 0High intensityBlue
Mode 5 games
Cisco HeatHigh intensityBlack
LemmingsHigh intensityBlack
VGA

320x200x256c games
1993 Holiday LemmingsD
Abuse13
Adventure Math13
Adventures of Robbo13
Alien Carnage13
Alien Rampage13
Alone in the Dark13
Alone in the Dark 2?
Amazing Learning Games With Rayman13
Aquanoid13
Arcy 213
Argo Checkers13
Aspetra13
Astro3D?
Atomic Tetris13
Block Man 2?
Blood13
Body Blows13
Boppin'13
Brix13
Bubble Pop13
Cargo Bay13
Catch, If You Can!13
Charlie II?
Charlie the Duck13
Cisco Heat13
Color Wizard, The?
Command & Conquer?
Cool Spot13
Cybersphere13
Cybersphere Plus13
CyClones?
D/Generation13
Dangerous Dave13
Death Rally13
Descent II?
Detroit13
Disney's Aladdin13
Disney's Beauty and the Beast13
Doom13
Duke Nukem IID
Electranoid13
Epic Baseball13
Evasive Maneuvers13
Flight of the Amazon Queen13
FramedD
Fuzzy's World of Miniature Space Golf13
Galacta13
Galactix13
Gobliiins13
Gobliins 2: The Prince Buffoon13
Goblins Quest 3?
GobMan13
Heartlight PC13
Heroes13
Hexen: Beyond Heretic13
Hexxagon13
Hocus Pocus13
Holiday Lemmings 1994D
Hubie13
Hyper 3D Pinball?
Indiana Jones and the Fate of Atlantis13
Inner Worlds?
Iron Blood?
Jetpack Christmas Special!?
Jill of the Jungle?
Jumpman Lives!13
Kiloblaster13
Lion King, The13
LemmingsD
Magic PocketsD
Mega Man X13
Mortal Kombat II?
Mystic Towers?
NASCAR Racing?
Need for Speed, The?
NHL Hockey?
Night Raid?
Nitemare-3D?
One Must Fall 2097?
Out of This WorldD
Pinball Dreams?
Prince of Persia13
Prince of Persia 2: The Shadow and the Flame13
Putt-Putt Goes to the Moon?
Putt-Putt Joins the Parade?
Quadnet13
Raptor: Call of the Shadows13
Rayman?
Rings of the Magi13
Putt-Putt Goes to the Moon?
Sam & Max Hit the Road13
Sango Fighter13
Scubaman’s Quest?
Shadow Warrior?
ShadowCaster?
Shooting Gallery?
Skunny?
Skunny Kart13
Skunny: Save Our Pizzas?
SkyNET?
SkyRoads13
Snake (IM)13
SnowWhite’s Voyage?
Spit Wad Willy?
Squarez Deluxe!?
Star Wars: Dark Forces?
Star Wars: TIE Fighter?
Strife13
Super Angelo?
Super Ball!?
Super Street Fighter II Turbo?
Super Worms?
Tank Wars?
Teenagent?
Terminator: Future Shock, The13
TerraFire13
Thor’s Hammer?
Three?
Tomb Raider?
Tube?
Tubes13
Tubular Worlds13
Tyrian 2000?
Ultimate Body Blows13
Tube?
VGA Concentrate13
VGA Jigsaw?
VGA Sharks?
VGATetris13
Vinyl Goddess From Mars13
Wacky Wheels13
Warcraft: Orcs & Humans13
Wolfenstein 3D13
Word Gallery?
World Rally Fever13
Worms13
Xatax?
Xerix?
Xmas Lemmings: 1991 Christmas EditionD
Xmas Lemmings: 1992 Holiday EditionD
Z13
Zorro?
Last edited by DOSGuy on August 3rd, 2015, 1:06 am, edited 21 times in total.
Today entirely the maniac there is no excuse with the article.
Malvineous
8-bit mega nerd
Posts: 292
Joined: March 17th, 2007, 6:40 pm
Location: Brisbane, Australia
Contact:

Re: Graphics mode findings

Post by Malvineous »

Because I love throwing spanners in plans, what would you classify the games in the Learning Fun One series? They are all CGA games from 1986-1988 and they come with a handy-dandy utility to change the CGA palette so the games can be played with your preferred colours:

Image Image Image

If you're going to be classifying a lot of games, I wonder whether it might be worth grabbing the DOSBox source and sticking a few 'print' statements in various places, so you can run your games without having to worry about using the debugger? Although if using the debugger isn't too much hassle it might not be so necessary.
User avatar
DOSGuy
Website Administrator
Posts: 1063
Joined: September 2nd, 2005, 8:28 pm
Contact:

Re: Graphics mode findings

Post by DOSGuy »

That's pretty neat! I see the three palette options at the top of the screen. Can you also set the intensity or change the background color? Between Mode 4 and 5, there are only six palette/intensity options, but with the background color there are a total of 96 ways you can set up the color. Of the games on this site, so far only 6 have been used. Mode 4 games use only black or blue backgrounds, and there are no Mode 5 games that use low intensity or change the background from black. Since the background color can be changed at any time, there are apparently commercial games that changed it often so that the game would have more than four colors -- just never more than four at a time. Swapping colors in and out of the palette was common in old video game consoles that could only display 16 or 64 simultaneous colors from a larger palette, and some emulators (such as Meka) let you see the current palette. You have to cover most of the screen with the three foreground colors and use the "empty" space wisely if you're going to do that with CGA, since only one color can be swapped, but CGA is more versatile than people think.

A former high school teacher of mine, who is still a friend, noticed that whenever I would look at an old computer, I would figure out what was the fastest CPU it could take, how much RAM, how good a graphics card, etc. I was all about pushing old computers to their limits and making them as good as they could possibly be. I'm the same with software, now. I love when people make games like Paku Paku and make a "graphical" CGA game that uses all 16 colors at the same time. When I was working on the Chopper Commando code this summer -- and ultimately released v2.57 -- I did try setting it to Mode 5, but I didn't think it was an improvement. I just like to think about "what can this game do that it doesn't do?" I like that there's a series of games out that there lets you play with the options.
Today entirely the maniac there is no excuse with the article.
Malvineous
8-bit mega nerd
Posts: 292
Joined: March 17th, 2007, 6:40 pm
Location: Brisbane, Australia
Contact:

Re: Graphics mode findings

Post by Malvineous »

Those are all the options you get. I'm not sure whether the third palette is mode 5, or whether it stays in mode 4 and toggles the colour-burst bit, but I guess doing that is effectively the same as mode 5 anyway. You can't change the background colour but there are situations in the game where the screen flashes brightly so it wouldn't surprise me if that's a palette effect.

It's funny you mention maxing out old computers to be the best the hardware can handle - I do the same thing. I have a bunch of old DOS computers (not that old, Pentium II era) so it's always about putting the most RAM in, or the best sound card in (but not so new you need special drivers to emulate an older standard) so you end up with the best possible computer within the available limitations. I think working within those limitations is the fun part, just like modding DOS games where you try to do something new and unique the original game didn't do, but working within the same limitations that existed at the time.
User avatar
DOSGuy
Website Administrator
Posts: 1063
Joined: September 2nd, 2005, 8:28 pm
Contact:

Re: Graphics mode findings

Post by DOSGuy »

Neat game. I tried it out in the debugger, and it does indeed switch to Mode 5.
Today entirely the maniac there is no excuse with the article.
Post Reply