delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/07/15:19:00

Date: Fri, 7 Jan 2000 23:59:45 +0500 (MVT)
From: Prashant TR <prashant_tr AT yahoo DOT com>
To: djgpp AT delorie DOT com
Subject: Re: real-mode functions
In-Reply-To: <fyoofqnexgrpubet.fnysxw0.pminews@nntp.generation.net>
Message-ID: <Pine.LNX.4.10.10001072330490.691-100000@yahoo.com>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 7 Jan 2000, sl wrote:

> 	DJGPP provides a couple of functions to handle calling of real-mode
> functions, unfortunately I am somehow suppose to know if the real-mode
> function terminates with a 'iret' or something else. All I know is that this
> is a function somewhere in memory with a 'far ptr' to it.. How am I suppose
> to know which functions to pick?

Functions with "far ptr", are terminated with retf. Only interrupt service
routines are normally terminated with iret. So, in your case, you need to
use _dpmi_...._retf functions.

Prashant

- Raw text -


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