From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: Automatic EOI in DJGPP Date: Sat, 21 Oct 2000 00:03:00 +0100 Organization: Customer of Energis Squared Lines: 15 Message-ID: References: <8sls17$6bk30 AT imsp212 DOT netvigator DOT com> NNTP-Posting-Host: modem-35.fermium.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news5.svr.pol.co.uk 972083059 16667 62.136.69.163 (20 Oct 2000 23:04:19 GMT) NNTP-Posting-Date: 20 Oct 2000 23:04:19 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "TeddyLam" wrote: > I'm trying to write a Bit Error Rate test program for PC. I've generated a > 33.6k hardware interrupt by the timer counter 0 on port 0x040h. Since there > is only one interrupt exist during the test process, I want to improve the > performance by configuring the 8259 PIC to enable the Automatic EOI mode > such that I dont need to issue EOI everytime my ISR is being called. This > should be quiet significant because issue EOI means you need to write to an > IO port 0x020h. Maybe I miss the point of what you are trying to achieve. There are already serial comms libraries written for DJGPP that you could use to do a BERT by send/receive a known data stream. What benefits do you expect from doing this the hard way?