X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <4101b619$0$175$cc7c7865@news.luth.se> From: Martin Str|mberg Subject: Re: PM hardware interrupts Newsgroups: comp.os.msdos.djgpp References: <003e01c46b01$84546800$0d01a8c0 AT josepmariaxp> <3pCLc.170124$tH1 DOT 6880991 AT twister DOT southeast DOT rr DOT com> <41012fe1$0$172$cc7c7865 AT news DOT luth DOT se> User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) Date: 24 Jul 2004 01:06:33 GMT Lines: 36 NNTP-Posting-Host: speedy.ludd.ltu.se X-Trace: 1090631193 news.luth.se 175 130.240.16.13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Matt Flyer wrote: 1. I'd appreciate it if you DIDN'T top post. 2. I'd appriciate it if you cut out the irrelevent parts of what you're replying to. This might be a side-affect from 1. : That would seem to make sense. I also noticed that what ever routine is : getting called in the chain is masking out the irq10 ?HUH?? so I have had : better results claiming the interrupt myself. When an interrupt occurs it is masked until "claimed" (I don't remember the terminlogy; until the interrupt controller is reset, I mean.) : The picture actually gets more murkey. It turns out that I now have the : interrupt occuring multiple times. For some reason it only happens about : 10 - 12 times though then stops. The pic controllers indicate that the : interrupts are enabled and sometimes I get that they're in service. : At the moment, I think my suspicion that there is some difference in the way : the compiled code that handles the interrupt as I get different results. I : haven't been able to work on it much recently though as I have been putting : out other "fires" at work. As I said I haven't done any hardware catching myself, but you are aware of that the IRQ might be redirected to some other INT base, aren't you? (CWSDPMI does reprogram the PIC.) Are you sure you aren't getting more interrupts than you can handle (timewise)? Right, MartinS