www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/02/14/11:29:27

Date: Mon, 14 Feb 94 10:36:52 EST
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: pgf AT Cayman DOT COM
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: get vga info: int 10, ah == 1b
Reply-To: babcock AT cfa DOT harvard DOT edu

> 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.

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.

- Raw text -


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