www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/05/10:54:35

Date: Sun, 5 Oct 1997 16:49:21 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Richard <richard AT sdsoftware DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Get DTA and intdosx
In-Reply-To: <199710041828.TAA00179@sdsoftware.co.uk>
Message-ID: <Pine.SUN.3.91.971005164840.19782B-100000@is>
MIME-Version: 1.0

On Sat, 4 Oct 1997, Richard wrote:

> For the dos version of my application I need to get the disk
> transfer address. 
> the problem is I need to use intdosx as the interrupt call I use (2fh)
> returns the DTA in ES:BX, when I call intdosx I get a general
> protection error.

Don't use `intdosx', use `__dpmi_int' instead.  `intdos' is only good
for a small subset of DOS functions it knows about.

> I have looked in the FAQ file as suggested but as far as I can see I cannot
> find anything that relates directly to my query. 

Section 18.1 of the FAQ explicitly tells you NOT to use `int86' and
`intdos' except for functions that it supports, and points to the
place in the library docs which lists the supported functions.  This
seems to be most directly related to your problem.

- Raw text -


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