|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] SVGAlib and NM2160
Hello GPers
I was looking at Jay Link's book "Linux Graphics Programming with
SVGAlib" which states that the NeoMagic NM2160 (aka 128XD) is
supported. Does anyone know version of SVGAlib made this support
available. I have version 1.3.1 and when I run the following
program my machine tells me most all of the modes are not supported
and then hangs the machine.
#include <stdio.h>
#include <stdlib.h>
#include <vga.h>
int main(void)
{
int i;
for(i=0; i<145; i++){
if(vga_hasmode(i) > 0){
printf("Mode %d is supported.\n", i);
} else {
printf("Mode %d is not supported.\n", i);
}
}
return 0;
}
Thanks for your help,
Daniel
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail 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 UNSUBSCꫨ please visit:
http://gameprogrammer.com/mailinglist.html
|
|