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