www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/01/12:28:02

Date: Tue, 1 Dec 1998 18:26:09 +0100 (MET)
Message-Id: <199812011726.SAA18121@sparc.fpv.umb.sk>
To: djgpp AT delorie DOT com
X-URL: http://www.delorie.com/djgpp/v2faq/faq154.html
X-Mailer: Lynx, Version 2.7
X-Personal_name: Peter Pisecny
From: 4pisecny AT fpv DOT umb DOT sk
Subject: timer interrupt handler
Reply-To: djgpp AT delorie DOT com

Hello
  I am new in DJGPP and i am rewriting my WATCOM C code to DJGPP.
When i set timer interrupt handler to my routine, i set his frequency to
about 120Hz. It is my internal counter. Now i am counting how many times is
called my new routine and in rquired intervals (in about 18.2Hz) i am
calling original handler. I need this because it will turn off disks and set
internal bios or dos timer. I have not found any chance to do this. I can
only chain interrupt (then original handler will be called 120 times per
secon) or set interrupt (then originall handler will not be called and disks
will be worked and worked and...). My question: is any way to call from my
new pure C handler originall timer handler when i need ?

If you can and want answer, send me it as email to 4pisecny AT sparc DOT fpv DOT umb DOT sk

Thanks

- Raw text -


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