Mail Archives: djgpp/1998/01/03/13:45:32
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 -