From: bd733 AT rgfn DOT epcc DOT edu (Jason M. Daniels) Newsgroups: comp.os.msdos.djgpp Subject: Re: Chaining Interrupts. Date: 21 May 1997 22:08:40 GMT Organization: The Rio Grande Free-Net, El Paso Community College, El Paso, TX Lines: 16 Message-ID: <5lvrp8$ho0@news.epcc.edu> References: <5lu8bc$4f5 AT lantana DOT singnet DOT com DOT sg> NNTP-Posting-Host: rgfn.epcc.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Alvin (szkng AT singnet DOT com DOT sg) wrote: > How do you chain a interrupt in DJGPP? I know it's got something to do > with the _dpmi_get_protected_mode_interrupt_vector and > _dpmi_set_protected_mode_interrupt_vector, but I don't know how to use > them. Any advice will be appreciated. Thanks. Close. You need to use '_go32_dpmi_get_protected_mode_interrupt_vector' if you want to reset the interrupt back to the default, but to chain, you use the function '_go32_dpmi_chain_protected_mode_interrupt_vector' to establish a chaining order between your interrupt and the default. -- Jason Daniels -- bd733 AT rgfn DOT epcc DOT edu ---> BELIEVE THE LIE <--- Linux: The choice of a GNU generation. Winblows 95: The world's best-selling computer virus.