delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/20/20:15:53

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: Interrupt Handler Hanging?
Date: Wed, 20 Oct 2004 20:39:45 -0230
Organization: Memorial University of Newfoundland
Lines: 11
Message-ID: <cl6r7q$smb$1@coranto.ucs.mun.ca>
NNTP-Posting-Host: jmills.ccore.mun.ca
Mime-Version: 1.0
X-Trace: coranto.ucs.mun.ca 1098313786 29387 134.153.38.195 (20 Oct 2004 23:09:46 GMT)
X-Complaints-To: usenet AT coranto DOT ucs DOT mun DOT ca
NNTP-Posting-Date: Wed, 20 Oct 2004 23:09:46 +0000 (UTC)
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
X-Accept-Language: en-us, en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm new to DJGPP and interrupt handling in general.

It seems my interrupt handler is hanging (not returning). Is this 
possible? I'm using a modified version of the interrupt handler example 
from the user guide (Guide: Interrupts Overview). When I run the code as 
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?

Thanks,
Jason

- Raw text -


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