Message-ID: <3e5fb8c7$0$65242$cc7c7865@news.luth.se> From: Martin Str|mberg Subject: Re: Chaining Prot Mode Int From C Newsgroups: comp.os.msdos.djgpp References: <2f64dfca DOT 0302281119 DOT 61aacade AT posting DOT google DOT com> User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha)) Date: 28 Feb 2003 19:30:15 GMT Lines: 20 NNTP-Posting-Host: speedy.ludd.luth.se X-Trace: 1046460615 news.luth.se 65242 130.240.16.13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Tony Richardson wrote: : I want to chain to a protected mode ISR from my own : ISR which is written in C, but I don't want to use : _go32_dpmi_chain_protected_mode_interrupt_vector() : (I want to run the default ISR every other time my : ISR runs.) : Is it possible to do this from C or do I need to do : it from assembly? I know that I can get the selector No. You must use assembly. I've been looking for it too. I've been thinking about making a _go32_dpmi_chain_protected_mode_interrupt_vector_or_not_depending_on_return_value() or otherwise suitably named but I haven't done any more than thinking it would be good to have one. Right, MartinS