OpenCBM
|
Read a RAW byte from the parallel port IN port (Status Port) More...
Go to the source code of this file.
Macros | |
#define | PARALLEL_STATUS_PORT_MASK_VALUES 0xF8 |
Functions | |
NTSTATUS | cbmiec_iec_dbg_read (IN PDEVICE_EXTENSION Pdx, OUT UCHAR *Return) |
Read a byte from the parallel port input register. More... | |
#define PARALLEL_STATUS_PORT_MASK_VALUES 0xF8 |
The bits not to be masked off for cbmiec_iec_dbg_read()
Definition at line 25 of file dbgread.c.
Referenced by cbmiec_iec_dbg_read().
NTSTATUS cbmiec_iec_dbg_read | ( | IN PDEVICE_EXTENSION | Pdx, |
OUT UCHAR * | Return | ||
) |
Read a byte from the parallel port input register.
This function reads a byte from the parallel port input register. (STATUS_PORT). It is a helper function for debugging the cable (i.e., for the XCDETECT tool) only!
Pdx | Pointer to the device extension. |
Return | Pointer to an UCHAR where the read byte is written to. |
This functions masks some bits off. The bits that are not masked off are defined in PARALLEL_STATUS_PORT_MASK_VALUES.
Definition at line 51 of file dbgread.c.
References DBG_PREFIX, DBG_PRINT, FUNC_ENTER, IN_PORT, PARALLEL_STATUS_PORT_MASK_VALUES, and READ_PORT_UCHAR.
Referenced by cbm_execute_devicecontrol().