http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



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

Re: 640x480 mode




>I have made a game but its graphics mode just 320x200. I set the mode with 
>interupt 10h. But I can not set higher than 320x200.
>How to set to 640x400, 1024 x 768,..or higher.
>
>Thanks
>

DOS interrupt 10 is the software interrupt dedicated to Video BIOS.  The 
trap vector executed when the interrupt is called depends on the value(s) 
stored in other registers. To set the video mode,  you set the high byte of 
AX to 0x00 and copy the desired mode into the low byte of AX. I suggest that 
you check out Ralph-Browns interrupt list:
            http://www.ctyme.com/intr/rb-0068.htm
I am not sure if there is a standard mode that supports 256 colors in 
640x480, so you may have to consider a tweeked mode......



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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