Can some1 tell me how to use interrupts? I know the
basic concept and have used it with microcontrollers
but would like to learn it with PC's
Suppose i want to read data from the parallel port.
How can i use interrupts to do this? Just a brief pseudocode
will do...the only thing i know is that i have to enable
interupts first with enable() or _enable depending on the compiler(and then disableit in the end) and that I have to somehow use the respective interrupt request (which can be identified with Device Manager for Windows).
Can anyone help me out with the this?
Thx a lot