X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Jason Mills Newsgroups: comp.os.msdos.djgpp Subject: Re: Interrupt Handler Hanging? Date: Thu, 21 Oct 2004 10:43:17 -0230 Organization: Memorial University of Newfoundland Lines: 19 Message-ID: References: <200410210022 DOT i9L0M2nc030107 AT envy DOT delorie DOT com> NNTP-Posting-Host: jmills.ccore.mun.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: coranto.ucs.mun.ca 1098364398 1692 134.153.38.195 (21 Oct 2004 13:13:18 GMT) X-Complaints-To: usenet AT coranto DOT ucs DOT mun DOT ca NNTP-Posting-Date: Thu, 21 Oct 2004 13:13:18 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Jason Mills wrote: > I will double check the hardware documentation to see if resetting is > necessary. However, the relevant IRQ status bit in the status register > does indicate other interrupts (after the first) are being trigger. > > Should I somehow (?) acknowledge when the interrupt handler is done?? I > notice some people return 0 at the end of the handler. After browsing the newsgroup a bit more, and with some experimentation, I discovered I need to ack the handler using outb(0x20, 0x20). It seems to work fine now. I will do more testing to make sure. > Is there something special I should do if I replace the existing IRS > with my own? > > Jason >