X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Orlando Llanes" Newsgroups: comp.os.msdos.djgpp References: <60683970 DOT 0202251956 DOT 22345c04 AT posting DOT google DOT com> Subject: Re: Timer Interrupt ????? Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: NNTP-Posting-Host: 209.255.184.199 X-Complaints-To: abuse AT prodigy DOT net X-Trace: newssvr15.news.prodigy.com 1015377428 ST000 209.255.184.199 (Tue, 05 Mar 2002 20:17:08 EST) NNTP-Posting-Date: Tue, 05 Mar 2002 20:17:08 EST Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: T[OM AT HW@TS]YPOH]^ROZOTPARBZZTB\MV AT BT]_MIJQR AT EPIB_VUKAH_[MTX\IS[K[NGYJJFNOFZR_G[BUNTAOQLFE^TEHRPI]PZZRP_BMDSFQFL_]CBHXRWCMDCUZAZN AT D_AKMNLEI]MWHCSXL^]NNC__CZFGSGHYYXWPFG AT SCAVA]\FT\@B\RDGENSUQS^M Date: Wed, 06 Mar 2002 01:17:08 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Jack Klein" wrote in message news:nl4m7ucpnt79grj0i71pfj6g82o8ffgpfd AT 4ax DOT com... > I'm doing this from memory, because it has been many, many years, so > ... > I wish I had some of the old actual source to post. That sounds about right, there is an example programmed in Pascal (though it's not difficult to "translate" into C). It's from the PCGPE, and the file is PIT.TXT. It's at http://www.cse.iitb.ernet.in:8000/proxy/stuff/programming/languages/assembly /x86/gameasm/pit.txt The only thing you missed is that you must send the EOI (send byte 20 hex to port 20 hex) to the controller for all the times the BIOS handler is not called. See ya! Orlando