Date: Wed, 24 Mar 1993 22:01:03 -0700 From: tesla AT lamar DOT ColoState DOT EDU (Jon Nash) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Simple video question I've been getting up to speed with DJGPP by trying out some of the different functions available for text and graphics manipulations. I have a problem with the graphics. I have a video card with a Trident chip on it (hardware isn't my strong suit) and some of the programs on the utilities disk that came with it make me think that the tridnt89.grd driver should be the one that I use when I write in my autoexec.bat file: set GO32=driver d:\djgpp\drivers\tridnt89.grd When I do this and then use GrMaxX() and GrMaxY() they return 639 and 479 respectively, after using GrSetMode(GR_default_graphics,0,0). However, when I draw a line (a short line) I run into severe problems! If the line is short enough it may appear on the screen (I can draw a line using GrLine(10,10,80,10,4)) and it appears on the screen, but it is about an inch from the bottom of screen instead of an inch from the top! When I hit a key to satisfy kbhit() I set the screen back to the default text screen, but the screen blanks out and the computer hangs - no warm boot! I have to cold boot the system after that. I have every possible combination of drivers and such and I just can't get the 640X480 resolution to work (320X200) with 256 colors works fine. I realize that go32 only supports 256 color modes, but my card claims (and a utility that came with the card proves) that it supports 640X480 256 colors among others. Any hints would be greatly appreciated! Also, supposing that I ever get this to work with, say, the driver tridnt89.grd will I have to take a copy of that driver with go32 and the "exicutable" when I want to run it on another computer? Thanks in advance for you help Jon Nash Tesla AT Lamar DOT ColoState DOT EDU