Date: Sat, 3 Jan 1998 11:40:26 -0800 (PST) Message-Id: <199801031940.LAA26886@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" To: =?iso-8859-1?Q?=22S=E9rgio_Vale_e_Pace=22?= , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: The hard way to get VESA info Content-Transfer-Encoding: 8bit Precedence: bulk At 01:08 1/2/1998 -0200, Sérgio Vale e Pace wrote: >Could somebody out there tell-me why the code below don't work? > >I'm trying to get vesa information with custom functions, but my system >crash every time >I try to run this code, and I can't figure why. > >-----------------------------cut >here---------------------------------------------- >#include > >typedef unsigned char byte; >typedef unsigned int word; Some other problems were mentioned too, but this needs to be `unsigned short'. `int' is 32 bits on DJGPP. Nate Eldredge eldredge AT ap DOT net