www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/01/15/04:00:17

From: "Tonu Aas" <tonu AT ids DOT ee>
Newsgroups: comp.os.msdos.djgpp
References: <f1a1bbde DOT 0301132122 DOT 7672b79f AT posting DOT google DOT com> <3e23e78b$1 AT news DOT infonet DOT ee> <kc410b DOT 4u DOT ln AT jellix DOT jlfencey DOT com>
Subject: Re: Libnet serial port problem
Date: Wed, 15 Jan 2003 10:11:17 +0200
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: ids.ids.ee
Message-ID: <3e2520c5$1@news.infonet.ee>
X-Trace: news.infonet.ee 1042620613 ids.ids.ee (15 Jan 2003 10:50:13 +0200)
Organization: INFONET.EE
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > If they use the same IRQ(COM1, COM3 or COM2 COM4) then its normal.
>
> No. Just bad software. There are enough status bits on the UART chip to
> see which one has raised the interrupt. It just slows down a little
> bite, because you have to ask all possible UART that are sharing the
> same IRQ.

You expect that UARTS can share IRQ-s.
I dont know, but on older machines they dont.
At least ISA bus IO cards dont. So its not "Just bad software" but can
be also bad harware as most PC platform hardware is.

I think that this libnet is some older library and it doesnt handle IRQ
sharing also.
Only bullet-proof solution is to not use the same IRQ or not to use IRQ at
all :[

Tõnu.


- Raw text -


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