Article View: comp.os.msdos.programmer
Article #1038Programming the 8253 timer
From: richard.dib
Date: Tue, 18 Aug 1992 15:06
Date: Tue, 18 Aug 1992 15:06
21 lines
1214 bytes
1214 bytes
Hi There: How can I program the 8253 timer so that it generates an interrupt every 1/2 second, and then execute a particular function? I am using C language. Why I want to do this? I have an interactive type of program already written. There is something I want the program to do every 1/2 a second at the same time the program is doing something else. That is why I would like to set a timer to interrupt the program every 1/2 sec and then execute a particular function. With something like this, minimal modifications will have to be done to the original program (25,000 lines) and that is what I am looking for. Please let me know if you know how to do this using C (Borland C), or if you have some book references that I can use. Thanks in advance! Richard Dib AT&T Bell Laboratories
Technical Details
Message-ID:
<1992Aug18.150656.904@cbnewse.cb.att.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!walter!att!att!cbnewsi!cbnewsh!cbnewse!cafeShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!walter!att!att!cbnewsi!cbnewsh!cbnewse!cafe From: cafe@cbnewse.cb.att.com (richard.dib) Subject: Programming the 8253 timer Organization: AT&T Date: Tue, 18 Aug 1992 15:06:56 GMT Message-ID: <1992Aug18.150656.904@cbnewse.cb.att.com> Followup-To: poster Keywords: 8253 timer interrupts Lines: 21