delorie.com/archives/browse.cgi | search |
Message-ID: | <3DE1E53F.12D3DE54@acm.org> |
From: | Eric Sosman <esosman AT acm DOT org> |
X-Mailer: | Mozilla 4.72 [en] (Win95; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Setting video mode with GRX |
References: | <reCcnUFko8i2SHygXTWc2Q AT prvlb DOT net> |
Lines: | 17 |
Date: | Mon, 25 Nov 2002 13:53:44 GMT |
NNTP-Posting-Host: | 12.91.3.186 |
X-Complaints-To: | abuse AT worldnet DOT att DOT net |
X-Trace: | bgtnsc04-news.ops.worldnet.att.net 1038232424 12.91.3.186 (Mon, 25 Nov 2002 13:53:44 GMT) |
NNTP-Posting-Date: | Mon, 25 Nov 2002 13:53:44 GMT |
Organization: | AT&T Worldnet |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"J. David Kent" wrote: > > I'm working on a DOS based priority system. I need to have 640x480 with 256 > colors. When setting the video mode with GrSetMode should I use > GR_width_height_graphics using 640 and 480, GR_width_height_color_graphics > using 640, 480, and 256, or GR_width_height_bpp_graphics with 640, 480, and > 8? GR_width_height_graphics might give you something other than 256 colors, so that's out. GR_width_height_color_graphics has worked for me. I haven't used GR_width_height_bpp_graphics, so I'm not sure about it. Good luck! -- Eric Sosman esosman AT acm DOT org
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |