Date: Sun, 5 Oct 1997 16:49:21 +0200 (IST) From: Eli Zaretskii To: Richard cc: djgpp AT delorie DOT com Subject: Re: Get DTA and intdosx In-Reply-To: <199710041828.TAA00179@sdsoftware.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.