Date: Mon, 24 Feb 1997 18:14:00 +0200 (IST) From: Eli Zaretskii To: nikki cc: djgpp AT delorie DOT com Subject: Re: real mode calls pmode In-Reply-To: <5es5th$hnj@flex.uunet.pipex.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 24 Feb 1997, nikki wrote: > >> void receiver() > > > > This should be "void receiver (__dpmi_regs *r)". > > ok, i changed this but it made no difference sadly :( It's C, so it shouldn't have made any difference (since the caller pops the stack); I just wanted to point out that the regs *are* pushed onto the stack before your `receiver' is called. > i thought callback_regs was global and therefore you wouldn't need to pass > *r like this? Yes, but you can define the callback on one source file and install it in another.