delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/20/19:15:31

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
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: <eii1vs07534meavi4rfvj0l182jsqsm8h6@4ax.com>
References: <8sls17$6bk30 AT imsp212 DOT netvigator DOT com>
NNTP-Posting-Host: modem-35.fermium.dialup.pol.co.uk
Mime-Version: 1.0
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" <teddylam AT geocities DOT com> 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?

- Raw text -


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