Solved

Interrupt handling

Posted on 1998-06-20
2
264 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
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

Suggested Solutions

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…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

821 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