Message-ID: <38E0B41D.4046948D@corel.com> Date: Tue, 28 Mar 2000 08:31:09 -0500 From: Jonathan Meunier X-Mailer: Mozilla 4.7 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Interrupt wrapper (was Re: keyboard interrupt) References: <8bod7h$rj1$1 AT gxsn DOT com> <38DFBF98 DOT 8BEB44EB AT corel DOT com> <38DFE9E5 DOT 37B0F318 AT mtu-net DOT ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 120.150.3.42 X-Trace: 28 Mar 2000 08:30:28 -0500, 120.150.3.42 Lines: 19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In this case, wouldn't the _go32_dpmi_allocate_iret_wrapper() wrapper take care of this? I don't see why it shouldn't work... (and to merge your other post).. As for your wrapper source code you posted, I would like some clarification.. What is ___djgpp_ds_alias? is it just some sort of pointer to the data segment? But what exactly is a wrapper; why do we need one? Thanks, .(Trancelucid). . Jaune . "Alexei A. Frounze" wrote: > > But what if IRQ comes when segment registers are different than usual > for a program written in DJGPP (in ASM block/C library or whatever)? It > won't work.