www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/07/16:58:35

From: "Patrick Smith" <patricks AT travsoft DOT com>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019