OpenCBM
|
Plugin DLL interface. More...
#include "opencbm.h"
Go to the source code of this file.
Data Structures | |
struct | opencbm_plugin_s |
holds all callbacks of the plugin More... | |
Typedefs | |
typedef int CBMAPIDECL | opencbm_plugin_init_t (void) |
@@@ More... | |
typedef void CBMAPIDECL | opencbm_plugin_uninit_t (void) |
@@@ More... | |
typedef const char *CBMAPIDECL | opencbm_plugin_get_driver_name_t (const char *const Port) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_driver_open_t (CBM_FILE *HandleDevice, const char *const Port) |
@@@ More... | |
typedef void CBMAPIDECL | opencbm_plugin_driver_close_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef void CBMAPIDECL | opencbm_plugin_lock_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef void CBMAPIDECL | opencbm_plugin_unlock_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_raw_write_t (CBM_FILE HandleDevice, const void *Buffer, size_t Count) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_raw_read_t (CBM_FILE HandleDevice, void *Buffer, size_t Count) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_open_t (CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_close_t (CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_listen_t (CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_talk_t (CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_unlisten_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_untalk_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_get_eoi_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_clear_eoi_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_reset_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef unsigned char CBMAPIDECL | opencbm_plugin_pp_read_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef void CBMAPIDECL | opencbm_plugin_pp_write_t (CBM_FILE HandleDevice, unsigned char Byte) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_iec_poll_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef void CBMAPIDECL | opencbm_plugin_iec_set_t (CBM_FILE HandleDevice, int Line) |
@@@ More... | |
typedef void CBMAPIDECL | opencbm_plugin_iec_release_t (CBM_FILE HandleDevice, int Line) |
@@@ More... | |
typedef void CBMAPIDECL | opencbm_plugin_iec_setrelease_t (CBM_FILE HandleDevice, int Set, int Release) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_iec_wait_t (CBM_FILE HandleDevice, int Line, int State) |
@@@ More... | |
typedef unsigned char CBMAPIDECL | opencbm_plugin_parallel_burst_read_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef void CBMAPIDECL | opencbm_plugin_parallel_burst_write_t (CBM_FILE HandleDevice, unsigned char Value) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_parallel_burst_read_n_t (CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_parallel_burst_write_n_t (CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_parallel_burst_read_track_t (CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_parallel_burst_read_track_var_t (CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_parallel_burst_write_track_t (CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_tap_prepare_capture_t (CBM_FILE HandleDevice, int *Status) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_tap_prepare_write_t (CBM_FILE HandleDevice, int *Status) |
typedef int CBMAPIDECL | opencbm_plugin_tap_get_sense_t (CBM_FILE HandleDevice, int *Status) |
typedef int CBMAPIDECL | opencbm_plugin_tap_wait_for_stop_sense_t (CBM_FILE HandleDevice, int *Status) |
typedef int CBMAPIDECL | opencbm_plugin_tap_wait_for_play_sense_t (CBM_FILE HandleDevice, int *Status) |
typedef int CBMAPIDECL | opencbm_plugin_tap_motor_on_t (CBM_FILE HandleDevice, int *Status) |
typedef int CBMAPIDECL | opencbm_plugin_tap_motor_off_t (CBM_FILE HandleDevice, int *Status) |
typedef int CBMAPIDECL | opencbm_plugin_tap_start_capture_t (CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Buffer_Length, int *Status, int *BytesRead) |
typedef int CBMAPIDECL | opencbm_plugin_tap_start_write_t (CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length, int *Status, int *BytesWritten) |
typedef int CBMAPIDECL | opencbm_plugin_tap_get_ver_t (CBM_FILE HandleDevice, int *Status) |
typedef int CBMAPIDECL | opencbm_plugin_tap_download_config_t (CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Buffer_Length, int *Status, int *BytesRead) |
typedef int CBMAPIDECL | opencbm_plugin_tap_upload_config_t (CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length, int *Status, int *BytesWritten) |
typedef int CBMAPIDECL | opencbm_plugin_tap_break_t (CBM_FILE HandleDevice) |
typedef int CBMAPIDECL | opencbm_plugin_s1_read_n_t (CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
read a block of data from the OpenCBM backend with protocol serial-1 More... | |
typedef int CBMAPIDECL | opencbm_plugin_s1_write_n_t (CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
write a block of data to the OpenCBM backend with protocol serial-1 More... | |
typedef int CBMAPIDECL | opencbm_plugin_s2_read_n_t (CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
read a block of data from the OpenCBM backend with protocol serial-2 More... | |
typedef int CBMAPIDECL | opencbm_plugin_s2_write_n_t (CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
write a block of data to the OpenCBM backend with protocol serial-2 More... | |
typedef int CBMAPIDECL | opencbm_plugin_s3_read_n_t (CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
read a block of data from the OpenCBM backend with protocol parallel/d64copy More... | |
typedef int CBMAPIDECL | opencbm_plugin_s3_write_n_t (CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
write a block of data to the OpenCBM backend with protocol serial-3 More... | |
typedef int CBMAPIDECL | opencbm_plugin_pp_dc_read_n_t (CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
read a block of data from the OpenCBM backend with protocol parallel/d64copy More... | |
typedef int CBMAPIDECL | opencbm_plugin_pp_dc_write_n_t (CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
write a block of data to the OpenCBM backend with protocol parallel/d64copy More... | |
typedef int CBMAPIDECL | opencbm_plugin_pp_cc_read_n_t (CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
read a block of data from the OpenCBM backend with protocol parallel/cbmcopy More... | |
typedef int CBMAPIDECL | opencbm_plugin_pp_cc_write_n_t (CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
write a block of data to the OpenCBM backend with protocol parallel/cbmcopy More... | |
typedef int CBMAPIDECL | opencbm_plugin_iec_dbg_read_t (CBM_FILE HandleDevice) |
@@@ More... | |
typedef int CBMAPIDECL | opencbm_plugin_iec_dbg_write_t (CBM_FILE HandleDevice, unsigned char Value) |
@@@ More... | |
typedef struct opencbm_plugin_s | opencbm_plugin_t |
holds all callbacks of the plugin More... | |
typedef int CBMAPIDECL opencbm_plugin_clear_eoi_t(CBM_FILE HandleDevice) |
typedef int CBMAPIDECL opencbm_plugin_close_t(CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress) |
@@@
HandleDevice | |
DeviceAddress | |
SecondaryAddress |
Definition at line 118 of file opencbm-plugin.h.
typedef void CBMAPIDECL opencbm_plugin_driver_close_t(CBM_FILE HandleDevice) |
typedef int CBMAPIDECL opencbm_plugin_driver_open_t(CBM_FILE *HandleDevice, const char *const Port) |
@@@
HandleDevice | |
Port |
Definition at line 52 of file opencbm-plugin.h.
typedef const char* CBMAPIDECL opencbm_plugin_get_driver_name_t(const char *const Port) |
typedef int CBMAPIDECL opencbm_plugin_get_eoi_t(CBM_FILE HandleDevice) |
typedef int CBMAPIDECL opencbm_plugin_iec_dbg_read_t(CBM_FILE HandleDevice) |
typedef int CBMAPIDECL opencbm_plugin_iec_dbg_write_t(CBM_FILE HandleDevice, unsigned char Value) |
@@@
HandleDevice | |
Value |
Definition at line 532 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_iec_poll_t(CBM_FILE HandleDevice) |
typedef void CBMAPIDECL opencbm_plugin_iec_release_t(CBM_FILE HandleDevice, int Line) |
typedef void CBMAPIDECL opencbm_plugin_iec_set_t(CBM_FILE HandleDevice, int Line) |
typedef void CBMAPIDECL opencbm_plugin_iec_setrelease_t(CBM_FILE HandleDevice, int Set, int Release) |
typedef int CBMAPIDECL opencbm_plugin_iec_wait_t(CBM_FILE HandleDevice, int Line, int State) |
@@@
HandleDevice | |
Line | |
State |
Definition at line 243 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_init_t(void) |
typedef int CBMAPIDECL opencbm_plugin_listen_t(CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress) |
@@@
HandleDevice | |
DeviceAddress | |
SecondaryAddress |
Definition at line 130 of file opencbm-plugin.h.
typedef void CBMAPIDECL opencbm_plugin_lock_t(CBM_FILE HandleDevice) |
typedef int CBMAPIDECL opencbm_plugin_open_t(CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress) |
@@@
HandleDevice | |
DeviceAddress | |
SecondaryAddress |
Definition at line 106 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_parallel_burst_read_n_t(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length) |
@@@
HandleDevice | |
Buffer | |
Length |
Definition at line 271 of file opencbm-plugin.h.
typedef unsigned char CBMAPIDECL opencbm_plugin_parallel_burst_read_t(CBM_FILE HandleDevice) |
typedef int CBMAPIDECL opencbm_plugin_parallel_burst_read_track_t(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length) |
@@@
HandleDevice | |
Buffer | |
Length |
Definition at line 295 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_parallel_burst_read_track_var_t(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length) |
@@@
HandleDevice | |
Buffer | |
Length |
Definition at line 307 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_parallel_burst_write_n_t(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length) |
@@@
HandleDevice | |
Buffer | |
Length |
Definition at line 283 of file opencbm-plugin.h.
typedef void CBMAPIDECL opencbm_plugin_parallel_burst_write_t(CBM_FILE HandleDevice, unsigned char Value) |
typedef int CBMAPIDECL opencbm_plugin_parallel_burst_write_track_t(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length) |
@@@
HandleDevice | |
Buffer | |
Length |
Definition at line 319 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_pp_cc_read_n_t(CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
read a block of data from the OpenCBM backend with protocol parallel/cbmcopy
HandleDevice | Pointer to a CBM_FILE which will contain the file handle of the OpenCBM backend |
data | Pointer to a buffer which will contain the data read from the OpenCBM backend |
size | The number of bytes to read from the OpenCBM backend |
Definition at line 496 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_pp_cc_write_n_t(CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
write a block of data to the OpenCBM backend with protocol parallel/cbmcopy
HandleDevice | Pointer to a CBM_FILE which will contain the file handle of the OpenCBM backend |
data | Pointer to buffer which contains the data to be written to the OpenCBM backend |
size | The length of the data buffer to be written to the OpenCBM backend |
Definition at line 513 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_pp_dc_read_n_t(CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
read a block of data from the OpenCBM backend with protocol parallel/d64copy
HandleDevice | Pointer to a CBM_FILE which will contain the file handle of the OpenCBM backend |
data | Pointer to a buffer which will contain the data read from the OpenCBM backend |
size | The number of bytes to read from the OpenCBM backend |
Definition at line 462 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_pp_dc_write_n_t(CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
write a block of data to the OpenCBM backend with protocol parallel/d64copy
HandleDevice | Pointer to a CBM_FILE which will contain the file handle of the OpenCBM backend |
data | Pointer to buffer which contains the data to be written to the OpenCBM backend |
size | The length of the data buffer to be written to the OpenCBM backend |
Definition at line 479 of file opencbm-plugin.h.
typedef unsigned char CBMAPIDECL opencbm_plugin_pp_read_t(CBM_FILE HandleDevice) |
typedef void CBMAPIDECL opencbm_plugin_pp_write_t(CBM_FILE HandleDevice, unsigned char Byte) |
typedef int CBMAPIDECL opencbm_plugin_raw_read_t(CBM_FILE HandleDevice, void *Buffer, size_t Count) |
@@@
HandleDevice | |
Buffer | |
Count |
Definition at line 94 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_raw_write_t(CBM_FILE HandleDevice, const void *Buffer, size_t Count) |
@@@
HandleDevice | |
Buffer | |
Count |
Definition at line 82 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_reset_t(CBM_FILE HandleDevice) |
typedef int CBMAPIDECL opencbm_plugin_s1_read_n_t(CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
read a block of data from the OpenCBM backend with protocol serial-1
HandleDevice | Pointer to a CBM_FILE which will contain the file handle of the OpenCBM backend |
data | Pointer to a buffer which will contain the data read from the OpenCBM backend |
size | The number of bytes to read from the OpenCBM backend |
Definition at line 360 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_s1_write_n_t(CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
write a block of data to the OpenCBM backend with protocol serial-1
HandleDevice | Pointer to a CBM_FILE which will contain the file handle of the OpenCBM backend |
data | Pointer to buffer which contains the data to be written to the OpenCBM backend |
size | The length of the data buffer to be written to the OpenCBM backend |
Definition at line 377 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_s2_read_n_t(CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
read a block of data from the OpenCBM backend with protocol serial-2
HandleDevice | Pointer to a CBM_FILE which will contain the file handle of the OpenCBM backend |
data | Pointer to a buffer which will contain the data read from the OpenCBM backend |
size | The number of bytes to read from the OpenCBM backend |
Definition at line 394 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_s2_write_n_t(CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
write a block of data to the OpenCBM backend with protocol serial-2
HandleDevice | Pointer to a CBM_FILE which will contain the file handle of the OpenCBM backend |
data | Pointer to buffer which contains the data to be written to the OpenCBM backend |
size | The length of the data buffer to be written to the OpenCBM backend |
Definition at line 411 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_s3_read_n_t(CBM_FILE HandleDevice, unsigned char *data, unsigned int size) |
read a block of data from the OpenCBM backend with protocol parallel/d64copy
HandleDevice | Pointer to a CBM_FILE which will contain the file handle of the OpenCBM backend |
data | Pointer to a buffer which will contain the data read from the OpenCBM backend |
size | The number of bytes to read from the OpenCBM backend |
Definition at line 428 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_s3_write_n_t(CBM_FILE HandleDevice, const unsigned char *data, unsigned int size) |
write a block of data to the OpenCBM backend with protocol serial-3
HandleDevice | Pointer to a CBM_FILE which will contain the file handle of the OpenCBM backend |
data | Pointer to buffer which contains the data to be written to the OpenCBM backend |
size | The length of the data buffer to be written to the OpenCBM backend |
Definition at line 445 of file opencbm-plugin.h.
typedef struct opencbm_plugin_s opencbm_plugin_t |
holds all callbacks of the plugin
This structure contains all callbacks available in the plugin.
typedef int CBMAPIDECL opencbm_plugin_talk_t(CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress) |
@@@
HandleDevice | |
DeviceAddress | |
SecondaryAddress |
Definition at line 142 of file opencbm-plugin.h.
typedef int CBMAPIDECL opencbm_plugin_tap_prepare_capture_t(CBM_FILE HandleDevice, int *Status) |
@@@
HandleDevice | |
Buffer | |
Length |
Definition at line 331 of file opencbm-plugin.h.
typedef void CBMAPIDECL opencbm_plugin_uninit_t(void) |
typedef int CBMAPIDECL opencbm_plugin_unlisten_t(CBM_FILE HandleDevice) |
typedef void CBMAPIDECL opencbm_plugin_unlock_t(CBM_FILE HandleDevice) |
typedef int CBMAPIDECL opencbm_plugin_untalk_t(CBM_FILE HandleDevice) |