From: Mithrandir <434667 AT cepsz DOT unizar DOT es> Newsgroups: comp.os.msdos.djgpp Subject: Interrupt hooking help, please Date: Mon, 17 Nov 1997 20:19:20 +0100 Organization: None Lines: 6 Message-ID: <347098B8.35F3@cepsz.unizar.es> NNTP-Posting-Host: merlin.unizar.es Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I need to hook the timer interrupt. I also need have it called 16000 times a second (a very high rate, I know). I have read in a document called DJGPPASM.DOC that I should use a real mode interrupt. The interrupt routine must increment a counter and check if its 0, if so increment another counter. Could anybody send me a sample of such a routine? Thanks