Date: Fri, 22 Oct 93 14:02:09 CDT From: gcouger AT olesun DOT agen DOT okstate DOT edu (Gordon Couger) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Graphics Help please. I can only get 320 x 200 graphics and 8 colors. running a 486 50 with a direct vido bus using Tseng chips. The program, autoexec and config.sys follow. compile with gcc a.c -v -g -lpc -lgr -lm and use go32t a.out to run the program. Thanks Gordon #include #include #include int X; int Y; void setup() { int i; int t_r, t_g, t_b; int o_r=0, o_g=0, o_b=0; int j=0; for (i=2; i<256; i++) GrSetColor(i, (i&1)*255, (i&2)*127, (i&4)*63); } main() { int x,y; srandom(time(0)); GrSetMode(GR_biggest_graphics); setup(); X = GrMaxX(); Y = GrMaxY(); GrLine(1,1,50,50,GrWhite()); getch(); printf("%d %d\n",X,Y); getch(); for(x=0; x