home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / bbs / waffle / 4396 < prev    next >
Encoding:
Text File  |  1992-11-22  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.bbs.waffle
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sdd.hp.com!elroy.jpl.nasa.gov!ucla-cs!kona.cs.ucla.edu!wales
  3. From: wales@kona.cs.ucla.edu (Rich Wales)
  4. Subject: Re: "other" interrupts with BNU
  5. Message-ID: <1992Nov22.175100.28112@cs.ucla.edu>
  6. Sender: usenet@cs.ucla.edu (Mr Usenet)
  7. Nntp-Posting-Host: kona.cs.ucla.edu
  8. Reply-To: wales@CS.UCLA.EDU (Rich Wales)
  9. Organization: UCLA, Computer Science Department
  10. References: <J9VkuB1w165w@arts.com> <7L1LuB8w165w@jybox.jyu.fi> <1992Nov22.080747.17851@cs.ucla.edu>
  11. Date: Sun, 22 Nov 92 17:51:00 GMT
  12. Lines: 27
  13.  
  14. I previously posted some comments about the interrupt "mask" and
  15. "vector" values in the BNUPORT utility.
  16.  
  17. As an addendum to what I said earlier, I would guess that the "8259
  18. port" value is the I/O port address to which the EOI (end of interrupt)
  19. value is to be written to clear the interrupt.
  20.  
  21. This address is, of course, 20H for the first 8259 interrupt controller
  22. (which handles IRQ 0-7).
  23.  
  24. For IRQ 8-15, I assume the "8259 port" value would be 0AH, the address
  25. of the second 8259 chip.  Additionally, the "vector" values for IRQ 8-15
  26. should be in the range 70H - 77H; and I'm guessing that the "mask" value
  27. for an IRQ in this range should be the same as for IRQ 0-7, respectively
  28. (i.e., set the mask to 01H for IRQ 0 or IRQ 8; 04H for IRQ 2/10; etc.).
  29.  
  30. Has anyone successfully used BNU with a serial port whose IRQ was set in
  31. the 8-15 range?
  32.  
  33. Since all of this stuff is standard in the hardware architecture (isn't
  34. it?), I wonder why the BNUPORT author separated out all of these param-
  35. eters rather than having the user specify just the IRQ number and having
  36. the BNUPORT porgram compute everything else.
  37.  
  38. -- 
  39. Rich Wales <wales@CS.UCLA.EDU> // UCLA Computer Science Department
  40. 3531 Boelter Hall // Los Angeles, CA 90024-1596 // +1 (310) 825-5683
  41.