Solved

Accepting interrupts from a hardware timer card

Posted on 2010-08-14
5
598 Views
Last Modified: 2013-12-14
I need a timed interrupt service on WIN XP . The interrupts come on the PCI bus from a timer card. How can I produce an interrupt handler routine, and how can I make it as strictly timed as possible?
0
Comment
Question by:yahali
  • 2
  • 2
5 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 33439661
I would first see if the manufacturer provides a driver for the card.  Because second choice is writing an interrupt handler for the card.  That used to be 'easy' under MSDOS but Windows XP is another thing.
0
 

Author Comment

by:yahali
ID: 33439724
Thanx. The card is a special purpose hardware, so I dont have any "Vendor" driver. Writing hardware interrupt handlers was easy in DOS indeed, but I cant return 10 years. Win98 had the VxD (Virtual Device Drivers) that were acceptably simple as well. What is the "Penalty" in accepting hardware interrupt in XP?
Thanks
Yahali
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 33441396
As I understand it, no user program gets hardware access.  So you have to find the specs for XP driver software.  This should be the start page for that: http://www.microsoft.com/whdc/driver/foundation/default.mspx
0
 
LVL 8

Assisted Solution

by:Pramod Bugudai
Pramod Bugudai earned 250 total points
ID: 33577662
Hi.

A place to start your research could be the Horse's Mouth:
 
 http://www.msdn.com
 
 You could investigate the possibilities of writing a Device Driver:
 
  http://www.microsoft.com/whdc/devtools/ddk/default.mspx
0
 

Author Closing Comment

by:yahali
ID: 33579575
That was the entry mark for a big tour. I couldnt expect someone to answer all the vast story, but the point to start from was there.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

757 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

23 Experts available now in Live!

Get 1:1 Help Now