Solved

Interrupt handling

Posted on 1998-06-20
2
276 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 1166356
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
ID: 1166357
BTW, you asked this question twice.  Delete the other one and get your points back.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
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++.

617 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