Solved

Accepting interrupts from a hardware timer card

Posted on 2010-08-14
5
600 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 83

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 83

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Which memory brick is defective ? 8 87
Adobe Premier GPU Issues 6 26
Determine exact dimensions of screen 5 45
APC Smart-UPS VT 30 kVA Overloaded 2 16
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
A clone is a duplicate copy. Sheep have been cloned and maybe someday even people will be cloned, but disk cloning (performed by the hard drive cloning software) is a vital tool used to manage and protect data. Let’s look at what hard drive cloning …
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

770 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