From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: VESA only works in Allegro Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <25p6fss1dh809uhl1s95c78eaq28dua4r4@4ax.com> References: <8cvg6d$aks$1 AT towncrier DOT cc DOT monash DOT edu DOT au> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 25 X-Trace: /Kw5eGklE91+b8ItjnhLg4Bb5Wl/SF4NtD08dVTOxh5iDbQz4uzOoOGCvhnK4WJYeWQY1x0JntZ3!khBiExCjGATwQKPknNrLYAYz+bfXd88zv/FXnt6loVKYgFr2gU8SOdFebeWmV1ust+7mJvuo2gck!tZLgxw== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 11 Apr 2000 17:46:26 GMT Distribution: world Date: Tue, 11 Apr 2000 17:46:26 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 12 Apr 2000 01:25:56 +1000, "Alex Holkner" wrote: >Hi, I'm a bit of a newcomer to djgpp.. maybe you can help me. > >I'm creating a program which uses VESA 1 to go to higer resolutions, and >I've had no trouble getting information about the modes available and >whatnot. What I can't get to work at all is the setmode function (02h), >which is constantly returning 02h in register AH. This happens despite the >mode I try to switch to. I have tried the same modes using the Allegro >library and these have worked. I have downloaded Dark Angel's VESA tutorial >and the examples there do not work (same problem I am having). I am sure >this problem is to do with a lack of initialization or something.. my >computer is using VESA 1.2 I'd say look at the Allegro source if you want to see how Allegro gets around the problem. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/