From: Philippe Detournay
Subject: Re: VESA video modes
The true answer is : "it depends".
The problem with VESA is that all the graphics cards are differents.
On my cirrus logic, i need to poke 3 bytes per pixel, and on the Matrox of
a friend of mine, i need to poke 4 bytes per pixel...
You can know all the details of the graphic card by calling the function 0
(for
the card) and
1 (for the screen mode in bx).
I have the full details in a text file, called vesasp.txt, i don't remember
where you can find it, so
just e-mail me and i'll reply it to you.
Have a look to the Ralph Brown's interrupt list at
http://www.ctyme.com/rbrown.htm
It contains the full info of all the dos interrupts, go to int 10h
Note : i suppose the 4byte/pixel mode is for speed, because it's much faster
for the computer
to poke 2bytes at a time and btw 4 is faster than 3
KB a *crit:
> >
>
> Wow, does this mean that 24bit mode is actually 32bit?
>
> KB
--
Philippe
"Pourquoi y a-t-il quelque chose au lieu
de rien, et pourquoi ce qui est est-il ainsi
et non pas autrement?"
*** QwkNews (tm) v2.1
* [TN71] Toast House Import
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|