Solved

Interrupt handling

Posted on 1998-06-20
2
248 Views
Last Modified: 2010-04-10
I have special hardware card for some puprose which can generate interrupts from IRQ1 to IRQ7. Interrupt number can be selected by setting appropriate jumper on card.
Problem: I set IRQ5 which corresponds to interrupt vector 0dH . I have LPT2 on this IRQ.
Question : Can I handle interrupt if another device already uses it ? Should LPT2 be disabled ?
0
Comment
Question by:set29
  • 2
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
Comment Utility
You should be able to use IRQ5 for this purpose even if LPT2: is present.  The LPT ports don't use the interrupts even if there is a printer on the port.  Often, however, Soundblaster (and compatible) sound cards are using IRQ5 so if you have a sound card you may want to double check which IRQ it's using.
0
 
LVL 32

Expert Comment

by:jhance
Comment Utility
BTW, you asked this question twice.  Delete the other one and get your points back.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now