http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

TheGrumpyProgrammer



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DOS/4GW



In a message dated 5/18/00 3:03:39 AM Central Daylight Time, 663@fast.edu.pk 
writes:

<<  Any one know how to use dos/4gw and displaying of true colors in dos
 mode, 
    (If you have seen sea graphics viewer you will get my idea, it uses
 dos/4gw).
 
    I am in great need of this or else i have to write vga card driver
 for dos.
     >>

You don't need dos/4gw in order to display true-color mode. Dos/4gw is a 
32-bit extension of the 16-bit DOS architecture (EXE files are no longer 
limited to doing things 16-bits at a time). However, to show true-colors in 
DOS, you need to access VESA. VESA is an extension of VGA into higher 
resolutions and color depths. It is easy to program (though some tweaking is 
required for speed) and offers a standard to the many SVGA monitors. However, 
if the monitor isn't VESA-compliant, you need to access VESA in some other 
way. This can be done in a number of ways. Like already mentioned, UNIVESA 
works. Many graphics libraries also support true-color mode. Many times, 
certain monitors are VESA-compliant without the aid of a utility like 
UNIVESA. Note that for true-color mode to work, you need enough video memory. 
There is much information about VESA in the Internet. If you search, you'll 
find what you're looking for.
-Ender
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html