From: "Patrick Smith" Newsgroups: comp.os.msdos.djgpp Subject: Inerrupt handlers Date: 6 Dec 1996 01:42:18 GMT Organization: Traveling Software Lines: 20 Message-ID: <01bbe316$f80b5ae0$be7f10ac@ps.travsoft.com> NNTP-Posting-Host: t1.travsoft.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit DJ-Gateway: from newsgroup comp.os.msdos.djgpp Apparently-To: djgpp AT delorie DOT com Hi all, I was wondering about what options I have to deal with custom interrupt handlers using DJGPP (specifically mouse and timer interrupts). I'm aware that in dos protected mode my code may be swapped out of memory to disk and this has adverse affects on an interrupt handler. The only work around that I know of is to lock any code and data that is accessed by my handlers using _go32_dpmi_lock_code and _go32_dpmi_lock_data. Are there any other options? Also, what is the likelyhood of my interrupt handler being swapped out of memory while its executing (in otherwords, do I really need to worry about it). Thanks for your input! Patrick Smith Traveling Software