Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 608
  • Last Modified:

Accepting interrupts from a hardware timer card

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
yahali
Asked:
yahali
  • 2
  • 2
2 Solutions
 
Dave BaldwinFixer of ProblemsCommented:
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
 
yahaliAuthor Commented:
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
 
Dave BaldwinFixer of ProblemsCommented:
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
 
Pramod BugudaiCommented:
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
 
yahaliAuthor Commented:
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now