Date: Tue, 21 May 1996 14:17:43 +0200 (IST) From: Eli Zaretskii To: Ralf Suessbrich Cc: DJGPP Mailing List Subject: Re: functions twice ?? In-Reply-To: <31A154D1.3ECA@nuernberg.netsurf.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.