Date: Sun, 5 Dec 1999 11:57:58 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Gareth Williams 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.