OpenCBM
|
Shared library / DLL for accessing the driver: Code for accessing fast protocols of xu1541. More...
#include <stdlib.h>
#include "archlib.h"
#include "xu1541.h"
Go to the source code of this file.
Macros | |
#define | OPENCBM_PLUGIN |
mark: We are building the DLL */ | |
Functions | |
int CBMAPIDECL | opencbm_plugin_s1_read_n (CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
Read data with serial1 protocol. More... | |
int CBMAPIDECL | opencbm_plugin_s1_write_n (CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
Write data with serial1 protocol. More... | |
int CBMAPIDECL | opencbm_plugin_s2_read_n (CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
Read data with serial2 protocol. More... | |
int CBMAPIDECL | opencbm_plugin_s2_write_n (CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
Write data with serial2 protocol. More... | |
int CBMAPIDECL | opencbm_plugin_pp_dc_read_n (CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
Read data with parallel protocol (d64copy) More... | |
int CBMAPIDECL | opencbm_plugin_pp_dc_write_n (CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
Write data with parallel protocol (d64copy) More... | |
int CBMAPIDECL | opencbm_plugin_pp_cc_read_n (CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
Read data with parallel protocol (cbmcopy) More... | |
int CBMAPIDECL | opencbm_plugin_pp_cc_write_n (CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
Write data with parallel protocol (cbmcopy) More... | |
Shared library / DLL for accessing the driver: Code for accessing fast protocols of xu1541.
Definition in file xu1541/s1_s2_pp.c.
int CBMAPIDECL opencbm_plugin_pp_cc_read_n | ( | CBM_FILE | HandleDevice, |
unsigned char * | data, | ||
unsigned int | size | ||
) |
Read data with parallel protocol (cbmcopy)
HandleDevice | A CBM_FILE which contains the file handle of the driver. |
data | Pointer to the data buffer which will hold the read bytes. |
size | The size of the data buffer the read bytes will be written to. |
Definition at line 187 of file xu1541/s1_s2_pp.c.
References xu1541_special_read().
int CBMAPIDECL opencbm_plugin_pp_cc_write_n | ( | CBM_FILE | HandleDevice, |
const unsigned char * | data, | ||
unsigned int | size | ||
) |
Write data with parallel protocol (cbmcopy)
HandleDevice | A CBM_FILE which contains the file handle of the driver. |
data | Pointer to the data buffer to be written |
size | The size of the data buffer to be written |
Definition at line 207 of file xu1541/s1_s2_pp.c.
References xu1541_special_write().
int CBMAPIDECL opencbm_plugin_pp_dc_read_n | ( | CBM_FILE | HandleDevice, |
unsigned char * | data, | ||
unsigned int | size | ||
) |
Read data with parallel protocol (d64copy)
HandleDevice | A CBM_FILE which contains the file handle of the driver. |
data | Pointer to the data buffer which will hold the read bytes. |
size | The size of the data buffer the read bytes will be written to. |
Definition at line 147 of file xu1541/s1_s2_pp.c.
References xu1541_special_read().
int CBMAPIDECL opencbm_plugin_pp_dc_write_n | ( | CBM_FILE | HandleDevice, |
const unsigned char * | data, | ||
unsigned int | size | ||
) |
Write data with parallel protocol (d64copy)
HandleDevice | A CBM_FILE which contains the file handle of the driver. |
data | Pointer to the data buffer to be written |
size | The size of the data buffer to be written |
Definition at line 167 of file xu1541/s1_s2_pp.c.
References xu1541_special_write().
int CBMAPIDECL opencbm_plugin_s1_read_n | ( | CBM_FILE | HandleDevice, |
unsigned char * | data, | ||
unsigned int | size | ||
) |
Read data with serial1 protocol.
HandleDevice | A CBM_FILE which contains the file handle of the driver. |
data | Pointer to the data buffer which will hold the read bytes. |
size | The size of the data buffer the read bytes will be written to. |
Definition at line 67 of file xu1541/s1_s2_pp.c.
References xu1541_special_read().
int CBMAPIDECL opencbm_plugin_s1_write_n | ( | CBM_FILE | HandleDevice, |
const unsigned char * | data, | ||
unsigned int | size | ||
) |
Write data with serial1 protocol.
HandleDevice | A CBM_FILE which contains the file handle of the driver. |
data | Pointer to the data buffer to be written |
size | The size of the data buffer to be written |
Definition at line 87 of file xu1541/s1_s2_pp.c.
References xu1541_special_write().
int CBMAPIDECL opencbm_plugin_s2_read_n | ( | CBM_FILE | HandleDevice, |
unsigned char * | data, | ||
unsigned int | size | ||
) |
Read data with serial2 protocol.
HandleDevice | A CBM_FILE which contains the file handle of the driver. |
data | Pointer to the data buffer which will hold the read bytes. |
size | The size of the data buffer the read bytes will be written to. |
Definition at line 107 of file xu1541/s1_s2_pp.c.
References xu1541_special_read().
int CBMAPIDECL opencbm_plugin_s2_write_n | ( | CBM_FILE | HandleDevice, |
const unsigned char * | data, | ||
unsigned int | size | ||
) |
Write data with serial2 protocol.
HandleDevice | A CBM_FILE which contains the file handle of the driver. |
data | Pointer to the data buffer to be written |
size | The size of the data buffer to be written |
Definition at line 127 of file xu1541/s1_s2_pp.c.
References xu1541_special_write().