delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/02/07:23:46

Date: Sun, 2 Jan 2000 13:18:47 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: sl <junk AT bbs DOT darktech DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: VESA 1.2, cannot get current video mode!
In-Reply-To: <fyoofqnexgrpubet.fnp2642.pminews@nntp.generation.net>
Message-ID: <Pine.SUN.3.91.1000102131522.6098F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 2 Jan 2000, sl wrote:

> 	The problem is that regs.h.ah returns 80
> instead of 0..

I suspect that this is either a bug or an extension specific to the 
vendor of your SVGA.  Since the Interrupt List says that AH=1 signals an 
error, and you get AH=80 (is it 80 hex or decimal, btw?), I suggest to 
try to treat it as successful return, and see whether the rest of the 
functions work.

For more confidence, you could use functions 4F00h and 4F01h, which
return similar information, and see whether 4F03h is consistent with 
them.

- Raw text -


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