delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/03/13:45:32

From: swarsmatt AT aol DOT com (SWars Matt)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro and SVGA
Date: 3 Jan 1998 18:34:42 GMT
Lines: 18
Message-ID: <19980103183400.NAA16357@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
Organization: AOL http://www.aol.com
References: <34ADF1FB DOT DD3FADA6 AT cnl DOT com DOT au>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

 rdt AT cnl DOT com DOT au wrote:

>Walter Luke wrote:
>
>>    I've written a procedure using Allegro to read in a 256 color bitmap
>> from disk and display it on the screen. Using GFX_AUTODETECT, the colors
>> came out all wrong. Upon further exploration, I discovered that the
>> colors come out wrong when I use VESA2B or 2L modes, but work fine with
>> VESA1.
>>
>>    Does anyone have any reason why VESA 2.0 isn't working properly?
>> Also, how concerned should I be? Using the VESA 1.x mode the code should
>> run on any decent computer, no?
>

Are you sure that your video card supports VESA 2.0? And yes, I think VESA 1.x
code should run properly on most computers.

 one element.  (I'm not sure if
it does any good to have a one-element array.)

There is an excellent tutorial on pointers by Ted Jenson at:
http://pw2.netcom.com/~tjensen/pointers.htm

Check it out!

--Ed (Myknees)

- Raw text -


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