OpenCBM
|
Shared library / DLL for accessing the driver: Code for accessing fast protocols of xum1541. More...
#include <stdlib.h>
#include "archlib.h"
#include "xum1541.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... | |
int CBMAPIDECL | opencbm_plugin_nib_read_n (CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
Read data with burst nibbler protocol (cbmcopy) More... | |
int CBMAPIDECL | opencbm_plugin_nib_write_n (CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
Write data with burst nibbler protocol (cbmcopy) More... | |
Shared library / DLL for accessing the driver: Code for accessing fast protocols of xum1541.
Definition in file xum1541/s1_s2_pp.c.
int CBMAPIDECL opencbm_plugin_nib_read_n | ( | CBM_FILE | HandleDevice, |
unsigned char * | data, | ||
unsigned int | size | ||
) |
Read data with burst nibbler 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 238 of file xum1541/s1_s2_pp.c.
References xum1541_read().
int CBMAPIDECL opencbm_plugin_nib_write_n | ( | CBM_FILE | HandleDevice, |
const unsigned char * | data, | ||
unsigned int | size | ||
) |
Write data with burst nibbler 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 259 of file xum1541/s1_s2_pp.c.
References xum1541_write().
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 196 of file xum1541/s1_s2_pp.c.
References xum1541_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 217 of file xum1541/s1_s2_pp.c.
References xum1541_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 154 of file xum1541/s1_s2_pp.c.
References xum1541_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 175 of file xum1541/s1_s2_pp.c.
References xum1541_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 70 of file xum1541/s1_s2_pp.c.
References xum1541_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 91 of file xum1541/s1_s2_pp.c.
References xum1541_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 112 of file xum1541/s1_s2_pp.c.
References xum1541_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 133 of file xum1541/s1_s2_pp.c.
References xum1541_write().