delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/11/16:54:29

From: "Alex Holkner" <xander AT yifan DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: VESA only works in Allegro
Date: Wed, 12 Apr 2000 01:25:56 +1000
Organization: Monash Uni
Lines: 16
Distribution: world
Message-ID: <8cvg6d$aks$1@towncrier.cc.monash.edu.au>
X-Trace: towncrier.cc.monash.edu.au 955466766 10908 130.194.180.40 (11 Apr 2000 15:26:06 GMT)
X-Complaints-To: abuse AT monash DOT edu DOT au
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 really appreciate any ideas you have.  Thanks.
Xander.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019