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



Jim Leonard <spamtrap@xxxxxxxxxx> schreef in berichtnieuws
1125437786.183808.222900@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hello Jim,
[snip]
> Trying to SET all modes is not safe. QUERYING them is.
> For non-VESA modes, there are various ways to query,
> but since you are programming for a modern environment
> it is probably safer to:

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 ....

Sometimes the ignorance of people creating software for <you name it> for
the obvious amazes me.

> 1. Use VESA mode query commands to determine modes and capabilities

Actually, I allready thought of that, and am currently trying to see what I
can do with it. Although I have Ralf Brown's Interrupt-List next to me it
some of the stuff is not really clear to me. Int 10h, ax=4f01h : "Window
granularity" [04h,05h] seems to be another name for "bank size". But what
than does "size of bank" [1Ch] indicate ? And what does "size of window"
[06h,07h] indicate ? Not the actual size of the window, as it doesn't
change when I select another resolution ....

Oh, well, luckily Google is at hand, and I'm sure I will be able to figure
it out eventually.

> 2. Fall back to stock VGA 640x480x16 if VESA BIOS is not present

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

Thanks for your response.
Rudy Wieser




.



Relevant Pages

  • Re: DNS is slow
    ... This is the wrong query because it will first query for ... DNS cache on the client before the second query? ... Do you want to say that "name resolution via Internet Explorer is ... Wireshark is the way to go. ...
    (microsoft.public.windows.server.dns)
  • simple SQL query problem...
    ... I could do with a little help on a sql query. ... browser and resolution they are using. ... can't seem to get it to work with the distinct keyword or group by. ...
    (microsoft.public.sqlserver.programming)
  • Re: Problem with Ranking
    ... Director of Text Mining and Database Strategy ... RelevantNOISE.Com - Dedicated to mining blogs for business intelligence. ... I have a problem with the ranking in my query.. ... 00004 in Resolution Description ...
    (microsoft.public.inetserver.indexserver)
  • Re: simple SQL query problem...
    ... > SELECT TOP 100 PERCENT resolution, COUNT(DISTINCT ipaddress) AS ... >> I could do with a little help on a sql query. ... >> Chris Dangerfield ...
    (microsoft.public.sqlserver.programming)