delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/21/07:20:50

Date: Tue, 21 May 1996 14:17:43 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ralf Suessbrich <ralf DOT suessbrich AT nuernberg DOT netsurf DOT de>
Cc: DJGPP Mailing List <djgpp AT delorie DOT com>
Subject: Re: functions twice ??
In-Reply-To: <31A154D1.3ECA@nuernberg.netsurf.de>
Message-Id: <Pine.SUN.3.91.960521141443.14153B-100000@is>
Mime-Version: 1.0

On Tue, 21 May 1996, Ralf Suessbrich wrote:

> _go32_dpmi_allocate_real_mode_callback_iret
> 
> __dpmi_allocate_real_mode_callback
> 
> 
> Can i use both, do they do the same ???
> Or is there a difference between them ?
> 
> I want to write a realmode i-handler, so wich 
> one should i use (the FAQ suggests the __dpmi ones,
> i believe).

The FAQ clearly says in section 18.9 that the `__dpmi' functions should 
be used for interrupt handlers written in assembly, while the `_go32_' 
functions are for handlers written in C.  The `__dpmi' variety are 
bare-bones wrappers around the DPMI calls, while `_go32' functions set up 
the stack, push registers and do other things to convert a C function 
into an interrupt handler.

- Raw text -


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