From: Lemponen Olli Newsgroups: comp.os.msdos.djgpp Subject: Re: Interrupts and locking code Date: Thu, 3 Apr 1997 19:06:24 +0300 Organization: Tampere University of Technology Message-ID: NNTP-Posting-Host: proffa.cc.tut.fi Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Lines: 6 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp The second one is easy. Define a static local variable (or global) and everytime the interrupt is called (every 0.5ms) increment it. When it equals 109, call the original dos handler and zero your variable. Olli Lemponen