COM3 & COM4 under SCO Xenix ?

Wm E. Davidsen Jr davidsen at sixhub.UUCP
Thu Mar 22 04:52:26 AEST 1990


In article <5275 at scolex.sco.COM> md at sco.COM (Michael Davidson) writes:

| Now, consider the situation where COM1 has just interrupted on line
| 3 causing the line to change from the inactive to the active state.
| The interrupt controller sees the transition and latches the interrupt.
| Suppose that COM3 then attempts to interrupt on the same line
| *before* the line has returned to it's inactive state - the line is
| already active so you can't get an inactive -> active transition,
| there is no transition for the interrupt controller to see and
| you lose the interrupt.

  What you say is true, but you can get by it with a little clever
programming which polls the status of both uarts and servicea all
devices which have tbe or rda set. This is how some multiport cards
support use of a single interrupt.

  Certainly the driver would be more complex if the option to support
multiple devices was added, and I can see why SCO would feel this is a
low demand option, since people who need more than two ports frequently
need a lot, but it is possible without loss of data.

  I will add that if you are a real hacker you can run the two 8259
interrupt controllers in different modes, and make the slave controller
level triggered. I take the fifth on why you would do this, but it can
be done if you have a sick mind.
-- 
bill davidsen - davidsen at sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
    sysop *IX BBS and Public Access UNIX
    moderator of comp.binaries.ibm.pc
"Getting old is bad, but it beats the hell out of the alternative" -anon



More information about the Comp.unix.xenix mailing list