Date: Fri, 7 Jan 2000 23:59:45 +0500 (MVT) From: Prashant TR To: djgpp AT delorie DOT com Subject: Re: real-mode functions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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