delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/05/05:09:34

Date: Sun, 5 Dec 1999 11:57:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Gareth Williams <ghw2002tii AT hotmail DOT com>
cc: prashant_news AT yahoo DOT com, djgpp AT delorie DOT com
Subject: Re: Setting a variable's selector? - Clarification - I hope.
In-Reply-To: <19991202153739.53647.qmail@hotmail.com>
Message-ID: <Pine.SUN.3.91.991205115728.11435B-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 Thu, 2 Dec 1999, Gareth Williams wrote:

> All Plug and Play BIOS Services which are accessible at runtime support a 
> bi-modal interface.  The two modes supported are 16-bit REal Mode and 16-bit 
> Protected MOde.

This probably means that you should use the real-mode interface, since
mixing 16-bit code with 32-bit code in the DPMI environment is tricky,
if not impossible.

So I think you need to forget about 16-bit PM selectors, and instead
work via the real-mode interface, using the transfer buffer,
__dpmi_int, and the other functions that allow to invoke real-mode
procedures.  If you have problems with doing that, please post
specific questions.

- Raw text -


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