30 #define DBG_PROGNAME "OPENCBM-XA1541.DLL"
43 #define OPENCBM_PLUGIN
69 cbm_ioctl(HandleDevice,
CBMCTRL(PARBURST_READ), NULL, 0, &result,
sizeof(result));
96 parameter.
Byte = Value;
98 cbm_ioctl(HandleDevice,
CBMCTRL(PARBURST_WRITE), ¶meter,
sizeof(parameter), NULL, 0);
137 DBG_WARN((
DBG_PREFIX "opencbm: cbm.c: parallel_burst_read_track: ioctl returned with error %u", retval));
177 DBG_WARN((
DBG_PREFIX "opencbm: cbm.c: parallel_burst_read_track_var: ioctl returned with error %u", retval));
217 DBG_WARN((
DBG_PREFIX "opencbm: cbm.c: parallel_burst_write_track: ioctl returned with error %u", retval));
#define FUNC_LEAVE_UCHAR(_xxx)
void CBMAPIDECL opencbm_plugin_parallel_burst_write(CBM_FILE HandleDevice, unsigned char Value)
PARBURST: Write to the parallel port.
#define FUNC_LEAVE_INT(_xxx)
Define makros for debugging purposes.
unsigned char CBMAPIDECL opencbm_plugin_parallel_burst_read(CBM_FILE HandleDevice)
PARBURST: Read from the parallel port.
Define the IOCTL codes for the opencbm driver.
int CBMAPIDECL opencbm_plugin_parallel_burst_read_track(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length)
PARBURST: Read a complete track.
int CBMAPIDECL opencbm_plugin_parallel_burst_read_track_var(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length)
PARBURST: Read a variable length track.
BOOL cbm_ioctl(IN CBM_FILE HandleDevice, IN DWORD ControlCode, IN char *TextControlCode, IN PVOID InBuffer, IN ULONG InBufferSize, OUT PVOID OutBuffer, IN ULONG OutBufferSize)
Perform an ioctl on the driver.
int CBMAPIDECL opencbm_plugin_parallel_burst_write_track(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length)
PARBURST: Write a complete track.
Internal API for opencbm installation.