13 #define LIBD64COPY_DEBUG
16 #define MAX_SECTORS 21
58 d64copy_bam_mode bam_mode;
59 d64copy_error_mode error_mode;
68 int sectors_processed;
71 char bam[MAX_TRACKS][MAX_SECTORS+1];
82 typedef void (*d64copy_message_cb)(
int d64copy_severity_e,
const char *format, ...);
85 #ifdef LIBD64COPY_DEBUG
90 extern void printDebugLibD64Counters(d64copy_message_cb msg_cb);
97 extern char *d64copy_get_transfer_modes();
103 extern int d64copy_get_transfer_mode_index(
const char *name);
109 extern int d64copy_check_auto_transfer_mode(
CBM_FILE cbm_fd,
110 int auto_transfermode,
122 extern int d64copy_sector_count(
int two_sided,
int track);
124 extern int d64copy_read_image(
CBM_FILE cbm_fd,
127 const char *dst_image,
128 d64copy_message_cb msg_cb,
129 d64copy_status_cb status_cb);
131 extern int d64copy_write_image(
CBM_FILE cbm_fd,
133 const char *src_image,
135 d64copy_message_cb msg_cb,
136 d64copy_status_cb status_cb);
138 extern void d64copy_cleanup(
void);