www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/02/14/17:33:59

To: babcock AT cfa DOT harvard DOT edu
Cc: pgf AT cayman DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu, jcrigler AT orl DOT mmc DOT com
Subject: Re: get vga info: int 10, ah == 1b
Date: Mon, 14 Feb 1994 17:14:32 -0500
From: Jim Crigler <jcrigler AT orl DOT mmc DOT com>

Paul Fox (pgf AT cayman DOT com) wrote:
> has anyone successfully used int 0x10, ah == 0x1b to get information
> about the installed vga?  i have what i sure think looks like good
> code to do it, but it sure ain't workin'.  and i'm pretty sick of it.

To which Bob Babcock (peprbf AT cfa0 DOT harvard DOT edu) replied: 
> Are you running in DPMI or VCPI mode?  I see a use of 0xe0000000 in routine
> i_10 in exphdlr.c which is not protected by a check for dpmi mode.  That's
> suspicious, but it is a suspicion based only on a quick look at the code.  If
> you are using int86(0x10,... you might try using _go32_dpmi_simulate_int
> instead.

This (_go32_dpmi_simulate_int) was the solution proposed by DJ in our 
original discussion ... I don't have (time) resources to investigate and wound
up just sticking with the old version of the program in question (on my PC --
I have been able to upgrade on Unix and the Very Malevolent System.

- Raw text -


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