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

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 09:14:12 -0230
Organization: Memorial University of Newfoundland
Lines: 22
Message-ID: <cl87ec$ul$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>
NNTP-Posting-Host: jmills.ccore.mun.ca
Mime-Version: 1.0
X-Trace: coranto.ucs.mun.ca 1098359052 981 134.153.38.195 (21 Oct 2004 11:44:12 GMT)
X-Complaints-To: usenet AT coranto DOT ucs DOT mun DOT ca
NNTP-Posting-Date: Thu, 21 Oct 2004 11:44:12 +0000 (UTC)
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
X-Accept-Language: en-us, en
In-Reply-To: <200410210022.i9L0M2nc030107@envy.delorie.com>
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

DJ Delorie wrote:

>>is, using IRQ 0 (Timer) the counter increments as it should. But when I 
>>change the IRQ, to 5 or 7, and manually trigger multiple interrupts, the 
>>counter increments exactly once. What am i missing?
> 
> 
> Are you resetting the state of the hardware device?  It may just not
> be triggering the second interrupt.

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.

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