OpenCBM
Functions
interrupt.c File Reference

Interrupt handler for the IEC bus. More...

#include <wdm.h>
#include "cbm_driver.h"
#include "i_iec.h"

Go to the source code of this file.

Functions

BOOLEAN cbmiec_interrupt (IN PDEVICE_EXTENSION Pdx)
 Interrupt handler for the IEC bus. More...
 

Detailed Description

Interrupt handler for the IEC bus.



Author
Spiro Trikaliotis
Authors
Based on code from Michael Klein <michael(dot)klein(at)puffin(dot)lb(dot)shuttle(dot)de>

Definition in file interrupt.c.

Function Documentation

BOOLEAN cbmiec_interrupt ( IN PDEVICE_EXTENSION  Pdx)

Interrupt handler for the IEC bus.

This function is the interrupt handler for the IEC bus. Its only purpose is to count the number of interrupts for cbmiec_wait_for_listener().

Parameters
PdxPointer to the device extension.
Returns
TRUE if this interrupt was generated by the parallel port,
FALSE else
Bug:
this does not work. At least my parallel port card does not change bit 2 in any way!

Definition at line 40 of file interrupt.c.

References DBG_PPORT, DBG_PREFIX, FUNC_ENTER, IN_PORT, and READ_PORT_UCHAR.

Referenced by cbm_isr().