delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/04/18:31:12

From: jano AT ee DOT nmt DOT edu (John Sinnott)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Interrupt Programming
Date: 4 Oct 1996 21:25:50 GMT
Organization: New Mexico Tech EE/Phsyics Departments
Lines: 31
Sender: jano AT bering (John Sinnott)
Message-ID: <533vcu$ahq@newshost.nmt.edu>
NNTP-Posting-Host: bering.nmt.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

jano AT ee DOT nmt DOT edu (John Sinnott) wrote:

>>	I am doing a fair amount of interrupt programming under DJGPP for a Pentium 133.  So far > I have 
>>been able to successfully program interrupts for IRQS 3-5, and have tried to  extend this for ? > IRQ10, and
>>can't seem to get it to work.  Is there any documentation on interrupt programming under DJGPP?  > Or does 
>>anybody know off hand what I need to do to be able to generate interrupts on that line?  

>Man, long lines ;-)

oops.

>Anyway, as for interrupt tutorials, you might want to look at my very
>own http://www.abwillms.demon.co.uk/prog/djints.txt for a tutorial on
>the software side. However, I see no real reason why IRQ10 should be
>harder to make than any other! How do you know you have a problem - do
>you have a device that should trigger IRQ10? Are you setting it up
>properly to generate IRQ10s? I don't have an IRQ list handy to see
>what kinds of things get hooked up there, but it's not one I hear much
>about...

Well - I figured out my problem.  The book I was using to reference interrupt 
errors had a typo in it - it said to find the interrupt vector of any of 
IRQ0 - 15 - just add 8 to the IRQ#.  Hence I thought the vector for IRQ10 was
0x12.  It should have just been IRQ0 - 7, since 
for IRQ8-15 you had to add 0x68 to the IRQ number, hence the vector for IRQ10
is 0x72.

	Thanks!

							-John

- Raw text -


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