19 #ifndef OPENCBM_PLUGIN_H
20 #define OPENCBM_PLUGIN_H
332 typedef int CBMAPIDECL opencbm_plugin_tap_prepare_write_t(
CBM_FILE HandleDevice,
int *Status);
333 typedef int CBMAPIDECL opencbm_plugin_tap_get_sense_t(
CBM_FILE HandleDevice,
int *Status);
334 typedef int CBMAPIDECL opencbm_plugin_tap_wait_for_stop_sense_t(
CBM_FILE HandleDevice,
int *Status);
335 typedef int CBMAPIDECL opencbm_plugin_tap_wait_for_play_sense_t(
CBM_FILE HandleDevice,
int *Status);
336 typedef int CBMAPIDECL opencbm_plugin_tap_motor_on_t(
CBM_FILE HandleDevice,
int *Status);
337 typedef int CBMAPIDECL opencbm_plugin_tap_motor_off_t(
CBM_FILE HandleDevice,
int *Status);
338 typedef int CBMAPIDECL opencbm_plugin_tap_start_capture_t(
CBM_FILE HandleDevice,
unsigned char *Buffer,
unsigned int Buffer_Length,
int *Status,
int *BytesRead);
339 typedef int CBMAPIDECL opencbm_plugin_tap_start_write_t(
CBM_FILE HandleDevice,
unsigned char *Buffer,
unsigned int Length,
int *Status,
int *BytesWritten);
340 typedef int CBMAPIDECL opencbm_plugin_tap_get_ver_t(
CBM_FILE HandleDevice,
int *Status);
341 typedef int CBMAPIDECL opencbm_plugin_tap_download_config_t(
CBM_FILE HandleDevice,
unsigned char *Buffer,
unsigned int Buffer_Length,
int *Status,
int *BytesRead);
342 typedef int CBMAPIDECL opencbm_plugin_tap_upload_config_t(
CBM_FILE HandleDevice,
unsigned char *Buffer,
unsigned int Length,
int *Status,
int *BytesWritten);
604 #endif // #ifndef OPENCBM_PLUGIN_H
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
opencbm_plugin_parallel_burst_read_track_t * opencbm_plugin_srq_burst_read_track
opencbm_plugin_tap_break_t * opencbm_plugin_tap_break
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
opencbm_plugin_tap_get_ver_t * opencbm_plugin_tap_get_ver
opencbm_plugin_parallel_burst_read_n_t * opencbm_plugin_srq_burst_read_n
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
int CBMAPIDECL opencbm_plugin_raw_read_t(CBM_FILE HandleDevice, void *Buffer, size_t Count)
@@@
int CBMAPIDECL opencbm_plugin_iec_poll_t(CBM_FILE HandleDevice)
@@@
opencbm_plugin_tap_get_sense_t * opencbm_plugin_tap_get_sense
holds all callbacks of the plugin
int CBMAPIDECL opencbm_plugin_raw_write_t(CBM_FILE HandleDevice, const void *Buffer, size_t Count)
@@@
void CBMAPIDECL opencbm_plugin_driver_close_t(CBM_FILE HandleDevice)
@@@
opencbm_plugin_parallel_burst_read_track_var_t * opencbm_plugin_parallel_burst_read_track_var
int CBMAPIDECL opencbm_plugin_listen_t(CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress)
@@@
opencbm_plugin_iec_wait_t * opencbm_plugin_iec_wait
int CBMAPIDECL opencbm_plugin_untalk_t(CBM_FILE HandleDevice)
@@@
opencbm_plugin_iec_dbg_read_t * opencbm_plugin_iec_dbg_read
opencbm_plugin_lock_t * opencbm_plugin_lock
unsigned char CBMAPIDECL opencbm_plugin_pp_read_t(CBM_FILE HandleDevice)
@@@
opencbm_plugin_iec_dbg_write_t * opencbm_plugin_iec_dbg_write
void CBMAPIDECL opencbm_plugin_pp_write_t(CBM_FILE HandleDevice, unsigned char Byte)
@@@
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
int CBMAPIDECL opencbm_plugin_iec_dbg_read_t(CBM_FILE HandleDevice)
@@@
void CBMAPIDECL opencbm_plugin_iec_release_t(CBM_FILE HandleDevice, int Line)
@@@
opencbm_plugin_iec_release_t * opencbm_plugin_iec_release
opencbm_plugin_parallel_burst_write_t * opencbm_plugin_srq_burst_write
opencbm_plugin_untalk_t * opencbm_plugin_untalk
int CBMAPIDECL opencbm_plugin_parallel_burst_read_track_var_t(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length)
@@@
void CBMAPIDECL opencbm_plugin_iec_set_t(CBM_FILE HandleDevice, int Line)
@@@
opencbm_plugin_tap_start_write_t * opencbm_plugin_tap_start_write
int CBMAPIDECL opencbm_plugin_talk_t(CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress)
@@@
opencbm_plugin_clear_eoi_t * opencbm_plugin_clear_eoi
opencbm_plugin_pp_read_t * opencbm_plugin_pp_read
const char *CBMAPIDECL opencbm_plugin_get_driver_name_t(const char *const Port)
@@@
opencbm_plugin_iec_set_t * opencbm_plugin_iec_set
opencbm_plugin_uninit_t * opencbm_plugin_uninit
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
opencbm_plugin_parallel_burst_read_track_t * opencbm_plugin_parallel_burst_read_track
opencbm_plugin_tap_motor_off_t * opencbm_plugin_tap_motor_off
int CBMAPIDECL opencbm_plugin_parallel_burst_write_n_t(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length)
@@@
opencbm_plugin_iec_setrelease_t * opencbm_plugin_iec_setrelease
int CBMAPIDECL opencbm_plugin_driver_open_t(CBM_FILE *HandleDevice, const char *const Port)
@@@
opencbm_plugin_parallel_burst_write_track_t * opencbm_plugin_parallel_burst_write_track
int CBMAPIDECL opencbm_plugin_close_t(CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress)
@@@
opencbm_plugin_parallel_burst_read_t * opencbm_plugin_srq_burst_read
opencbm_plugin_tap_wait_for_stop_sense_t * opencbm_plugin_tap_wait_for_stop_sense
opencbm_plugin_talk_t * opencbm_plugin_talk
int CBMAPIDECL opencbm_plugin_open_t(CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress)
@@@
opencbm_plugin_unlock_t * opencbm_plugin_unlock
int CBMAPIDECL opencbm_plugin_unlisten_t(CBM_FILE HandleDevice)
@@@
int CBMAPIDECL opencbm_plugin_parallel_burst_write_track_t(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length)
@@@
int CBMAPIDECL opencbm_plugin_iec_wait_t(CBM_FILE HandleDevice, int Line, int State)
@@@
void CBMAPIDECL opencbm_plugin_lock_t(CBM_FILE HandleDevice)
@@@
opencbm_plugin_init_t * opencbm_plugin_init
int CBMAPIDECL opencbm_plugin_iec_dbg_write_t(CBM_FILE HandleDevice, unsigned char Value)
@@@
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
opencbm_plugin_parallel_burst_write_t * opencbm_plugin_parallel_burst_write
opencbm_plugin_raw_read_t * opencbm_plugin_raw_read
void CBMAPIDECL opencbm_plugin_unlock_t(CBM_FILE HandleDevice)
@@@
int CBMAPIDECL opencbm_plugin_init_t(void)
@@@
void CBMAPIDECL opencbm_plugin_iec_setrelease_t(CBM_FILE HandleDevice, int Set, int Release)
@@@
opencbm_plugin_tap_upload_config_t * opencbm_plugin_tap_upload_config
opencbm_plugin_get_eoi_t * opencbm_plugin_get_eoi
opencbm_plugin_tap_motor_on_t * opencbm_plugin_tap_motor_on
opencbm_plugin_tap_wait_for_play_sense_t * opencbm_plugin_tap_wait_for_play_sense
opencbm_plugin_driver_close_t * opencbm_plugin_driver_close
opencbm_plugin_tap_download_config_t * opencbm_plugin_tap_download_config
int CBMAPIDECL opencbm_plugin_clear_eoi_t(CBM_FILE HandleDevice)
@@@
struct opencbm_plugin_s opencbm_plugin_t
holds all callbacks of the plugin
unsigned char CBMAPIDECL opencbm_plugin_parallel_burst_read_t(CBM_FILE HandleDevice)
@@@
opencbm_plugin_raw_write_t * opencbm_plugin_raw_write
DLL interface for accessing the driver.
opencbm_plugin_pp_write_t * opencbm_plugin_pp_write
opencbm_plugin_listen_t * opencbm_plugin_listen
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
opencbm_plugin_unlisten_t * opencbm_plugin_unlisten
opencbm_plugin_parallel_burst_read_t * opencbm_plugin_parallel_burst_read
opencbm_plugin_parallel_burst_write_track_t * opencbm_plugin_srq_burst_write_track
opencbm_plugin_tap_prepare_capture_t * opencbm_plugin_tap_prepare_capture
int CBMAPIDECL opencbm_plugin_get_eoi_t(CBM_FILE HandleDevice)
@@@
opencbm_plugin_parallel_burst_write_n_t * opencbm_plugin_parallel_burst_write_n
opencbm_plugin_tap_start_capture_t * opencbm_plugin_tap_start_capture
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
opencbm_plugin_driver_open_t * opencbm_plugin_driver_open
int CBMAPIDECL opencbm_plugin_parallel_burst_read_track_t(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length)
@@@
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
opencbm_plugin_iec_poll_t * opencbm_plugin_iec_poll
int CBMAPIDECL opencbm_plugin_reset_t(CBM_FILE HandleDevice)
@@@
int CBMAPIDECL opencbm_plugin_tap_prepare_capture_t(CBM_FILE HandleDevice, int *Status)
@@@
opencbm_plugin_parallel_burst_write_n_t * opencbm_plugin_srq_burst_write_n
opencbm_plugin_close_t * opencbm_plugin_close
opencbm_plugin_parallel_burst_read_n_t * opencbm_plugin_parallel_burst_read_n
opencbm_plugin_open_t * opencbm_plugin_open
opencbm_plugin_get_driver_name_t * opencbm_plugin_get_driver_name
opencbm_plugin_reset_t * opencbm_plugin_reset
int CBMAPIDECL opencbm_plugin_parallel_burst_read_n_t(CBM_FILE HandleDevice, unsigned char *Buffer, unsigned int Length)
@@@
opencbm_plugin_tap_prepare_write_t * opencbm_plugin_tap_prepare_write
void CBMAPIDECL opencbm_plugin_uninit_t(void)
@@@
void CBMAPIDECL opencbm_plugin_parallel_burst_write_t(CBM_FILE HandleDevice, unsigned char Value)
@@@
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