home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / NOVELL / PKTDRV7.ZIP / 8259.NOT / text0000.txt < prev    next >
Encoding:
Text File  |  1990-07-26  |  1.0 KB  |  23 lines

  1. nelson@pear.ecs.clarkson.edu writes:
  2. > Why?
  3. >         in      al,dx                   ;get master mask
  4. >         and     al,not (1 shl 2)        ; and clear slave cascade bit in mask
  5. >         out     dx,al                   ;set new master mask (enable slave int)
  6.  
  7. That solves a bug that I'm truly amazed that you haven't run into
  8. before (I'm equally amazed that it exists).  We have a few very old
  9. original IBM PC/AT's (the one's with the strange piggybacked 256KB
  10. DRAMS which together made 512KB).  It seems that the BIOS on those old
  11. versions does NOT initialize the master 8259 for you so that the slave
  12. 8259 can interrupt.  If you want it to (i.e. if you want to use int
  13. 8-15), you had better make sure that the bit is cleared.  The obvious
  14. outcome is that you don't get interrupts and the packet driver doesn't
  15. work.  I think the reason that you didn't see this is that you didn't
  16. really have any cards that supported ints 8-15 (atleast not WD varieties).
  17. In any case, these three instructions shouldn't ever cause anyone any harm.
  18.  
  19. Drew
  20.  
  21.  
  22.