delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/26/00:12:35

From: "Gautam N. Lad" <gautam AT interlog DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro Vesa mode graphics
Date: 26 Jan 1997 02:19:03 GMT
Organization: InterLog Internet Services
Lines: 24
Message-ID: <5ceeun$f1t@news.interlog.com>
References: <32e9265d DOT 3993736 AT news DOT primenet DOT com>
NNTP-Posting-Host: ip203-68.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
>
> I am having trouble doing graphics in Vesa graphics modes.  I am
> trying to display in 640x480 colors, what I display to the screen
> displays, yet it also displays garbage over it.
> 
> this is what I use to set the mode, should i change something?
> 
> set_gfx_mode(GFX_VESA2B, 640, 480, 0, 0);
> 
Why don't you just try this:
set_gfx_mode(GFX_AUTODETECT,640,480,0,0);

Bye!
****************************************************
* Gautam N. Lad                                    *
*--------------------------------------------------*
*                                                  *
* E-Mail	: gautam AT interlog DOT com              *
* Website	: http://www.interlog.com/~gautam  *
*                                                  *
* OS/2, DOS/Windows, Graphics Gallery, Software,   *
* Links, Rayzor Editor/2, POV-Ray,  and more.      *
****************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019