| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Comm Routines |
Quoting Peter Watney to Robert Bilton
--SNIP--
PW>Fortunately for me I have always been able to use other people's comms
PW>drivers, so I have never actually had to program the beastly things.
PW>The cascaded 8259s that control the precedence and manner in which the
PW>programmable interrupts are handled are programmed using system ports:
PW>020 - 03F for Interrupt Controller No 1; and 0A0 - 0Bf for Interrupt
PW>controller No 2
PW>I think I am right in saying that ports 020 and 0A0 are the 'command
PW>ports' for the chips, and that ports 021 & 0A1 are the ports to which
PW>the Mask Interrupt bits are sent that enable/disable the various IRQs,
PW>which are something like:
PW>in the Interrupt Controller No 1:
PW>IRQ 4 (COM1:);
PW>IRQ 3 (COM2:);
PW>IRQ 2 (to Interrupt Controller No 2);
PW>In the Interrupt Controller No 2:
PW>IRQ 4 (COM3:);
PW>IRQ 3 (COM4:).
Not quite. The second 8259 handles IRQs 8-15, which are not used for com
ports by default. The first controls IRQs 0-7, including the three you
mention above.
Fitz
... Spaghetti code = job security.
--- FMail/386 1.02
* Origin: Power BBS - +61-2-858-4114 - Files/Games/Mail (3:711/953)SEEN-BY: 633/267 270 @PATH: 711/953 410 808 50/99 635/503 633/371 374 267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.