13 #include "cbmcopy_int.h"
38 static int write_blk(
CBM_FILE HandleDevice,
const void *Buffer,
unsigned char Count, cbmcopy_message_cb msg_cb)
65 static int read_blk(
CBM_FILE HandleDevice,
void *Buffer,
size_t Count, cbmcopy_message_cb msg_cb)
80 static int check_error(
CBM_FILE fd,
int write)
88 static int upload_turbo(
CBM_FILE fd,
unsigned char drive,
103 static int start_turbo(
CBM_FILE fd,
int write)
110 static void exit_turbo(
CBM_FILE fd,
int write)
122 DECLARE_TRANSFER_FUNCS(std_transfer);
int CBMAPIDECL cbm_talk(CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress)
Send a TALK on the IEC serial bus.
int CBMAPIDECL cbm_listen(CBM_FILE HandleDevice, unsigned char DeviceAddress, unsigned char SecondaryAddress)
Send a LISTEN on the IEC serial bus.
int CBMAPIDECL cbm_raw_write(CBM_FILE HandleDevice, const void *Buffer, size_t Count)
Write data to the IEC serial bus.
int CBMAPIDECL cbm_unlisten(CBM_FILE HandleDevice)
Send an UNLISTEN on the IEC serial bus.
int CBMAPIDECL cbm_raw_read(CBM_FILE HandleDevice, void *Buffer, size_t Count)
Read data from the IEC serial bus.
DLL interface for accessing the driver.
int CBMAPIDECL cbm_untalk(CBM_FILE HandleDevice)
Send an UNTALK on the IEC serial bus.
Define makros and functions which account for differences between the different architectures.