|
OpenCBM
|
Debug helper functions for libiec. More...
Go to the source code of this file.
Functions | |
| VOID | cbmiec_show_port (IN UCHAR *Str) |
| Show the contents of the parallel port's registers. More... | |
| VOID | DbgWp (IN PUCHAR Port, IN UCHAR Value) |
| Write to a port address with debugging output. More... | |
| UCHAR | DbgRp (IN PUCHAR Port) |
| Read from a port address with debugging output. More... | |
| VOID | cbmiec_show_state (IN PDEVICE_EXTENSION Pdx, IN UCHAR *Str) |
| Dump the input lines. More... | |
| VOID cbmiec_show_port | ( | IN UCHAR * | Str | ) |
Show the contents of the parallel port's registers.
| Str | Caller-supplied pointer to a string to output before the values. |
Definition at line 39 of file sys/libiec/debug.c.
References DBG_ASSERT, DBG_PREFIX, FUNC_DEF, and READ_PORT_UCHAR.
| VOID cbmiec_show_state | ( | IN PDEVICE_EXTENSION | Pdx, |
| IN UCHAR * | Str | ||
| ) |
Dump the input lines.
| Pdx | Pointer to the device extension of the driver. |
| Str | Caller-supplied pointer to a string to output before the values. |
Definition at line 111 of file sys/libiec/debug.c.
References CBMIEC_GET, DBG_ASSERT, DBG_PREFIX, DBG_SUCCESS, FUNC_DEF, PP_ATN_IN, PP_CLK_IN, and PP_DATA_IN.
| UCHAR DbgRp | ( | IN PUCHAR | Port | ) |
Read from a port address with debugging output.
| Port | The port address to be written. |
Definition at line 85 of file sys/libiec/debug.c.
References cbmiec_show_port(), DBG_PREFIX, FUNC_DEF, and READ_PORT_UCHAR.
| VOID DbgWp | ( | IN PUCHAR | Port, |
| IN UCHAR | Value | ||
| ) |
Write to a port address with debugging output.
| Port | The port address to be written. |
| Value | The value to be written. |
Definition at line 63 of file sys/libiec/debug.c.
References cbmiec_show_port(), DBG_PREFIX, FUNC_DEF, and WRITE_PORT_UCHAR.
1.8.8