Solved

Interrupt handling

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

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…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

785 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