delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/21/10:15:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Jason Mills <jmills AT cs DOT mun DOT ca>
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: <cl8cle$1ks$1@coranto.ucs.mun.ca>
References: <cl6r7q$smb$1 AT coranto DOT ucs DOT mun DOT ca> <200410210022 DOT i9L0M2nc030107 AT envy DOT delorie DOT com> <cl87ec$ul$1 AT coranto DOT ucs DOT mun DOT ca>
NNTP-Posting-Host: jmills.ccore.mun.ca
Mime-Version: 1.0
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: <cl87ec$ul$1@coranto.ucs.mun.ca>
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

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
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019