Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Interrupt Service Routine for windows

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 05-05-2009
Member
 
Join Date: Apr 2009
Posts: 37
Interrupt Service Routine for windows
  

Hello,

I have know this is very difficult to analyze the code for the Interrupt Service Routine (ISR)for windows, and for that am going through the books which is useful for doing the same.I have also read IRQ8 is used in order to get interrupts generated from a pci-device.

Is it really possible to do that? any relevant information related to this will be appreciated.

I also have one doubt and that is need i have to program for interrupt service vector? It is possible
under "visual studio" and XP?

Thanks.

Reply With Quote
  #2  
Old 05-05-2009
Member
 
Join Date: Dec 2008
Posts: 202
Re: Interrupt Service Routine for windows

An interrupt service routine (ISR) is a software routine that hardware invokes in response to an interrupt.ISRs handle these interrupt, and on the contrary return a logical interrupt value for those interrupt. If ISR check and requires no further handling then device is disabled or data is buffered, the ISR notifies the kernel with a SYSINTR_NOP return value.

When an ISR notifies the kernel of a specific logical interrupt value, the kernel examines an internal table to map the logical interrupt value to an event handle.
Reply With Quote
  #3  
Old 05-05-2009
Member
 
Join Date: Mar 2008
Posts: 232
Re: Interrupt Service Routine for windows

It is possible to write the Interrupt service routine for windows in C but it would be very tedious, But i have read that When an interrupt occurs it the processor responsibility to save its state so that it can resume from the earlier point where interrupt occurred. By default the processor just pushes 3 values on the current stack. These are as follows flags, IP(Instruction Pointer) and the CS(Code Segment) register. However to successfully execute the program we need that all registers state be saved.
Reply With Quote
  #4  
Old 05-05-2009
Member
 
Join Date: Feb 2009
Posts: 105
Re: Interrupt Service Routine for windows

I will provide you the tutorial list where you could get the information on how the interrupt occurs and how it is taken care by the exceptions.

http://technet.microsoft.com/en-us/l.../cc767887.aspx

I am also not sure about whether you have to do programming for interrupt service vector, for that you just need to try it urself, this would be possible when you googled as per your requirements.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Interrupt Service Routine for windows"
Thread Thread Starter Forum Replies Last Post
AVG Free caused Windows Startup routine to fail Neutrals Windows Software 5 08-12-2010 09:18 AM
Windows 7 System Recovery CD will not find system image created on esata drive in Win 7 Home Premium 64 bit, bad space management routine Saura Operating Systems 4 06-04-2010 12:04 AM
The ROM BIOS Interrupt 19 Gefry Hardware Peripherals 2 05-05-2009 07:07 PM
DPC Routine BSoD R1979 Windows XP Support 1 21-11-2008 06:15 AM
Last day for Opera routine, which goes 9.6.1 bishop Technology & Internet 1 22-10-2008 02:53 PM


All times are GMT +5.5. The time now is 11:36 PM.