Re: Simple program cwitching thru all video-modes craps-out ...



R.Wieser wrote:
> I would love it to be able to check which modi are available. Alas, there
> is no standard graphics-bios command (int 10h) for that. And thus my idea
> to set-and-check. Strange though, that the driver for a specific video-card
> does not have the knowledge about which modi can, and cannot be set ....

Your method of setting the video mode has nothing to do with the
driver. In the case of the mode that locks most systems (ega mono,
mode 7), that has nothing whatsoever to do with the video driver of
your running operating system. Don't blame the driver, blame your
faulty method of figuring out which video modes are available :-)

> Funny : that was the very modus I started from (and wanted to leave in
> search for "better" resolutions).

Then VESA BIOS is your best bet. I first started seeing VESA BIOS
routines in hardware (meaning, you didn't have to run a program in DOS
to get them) when I purchased my ATI 3D Expression+PC2TV card in 1996.
So 1996 and later cards should have VESA BIOS in hardware that you can
query from any OS before you enter protected mode.

.