24 #define D82_TRACKS 154
26 #define TOT_TRACKS D82_TRACKS
29 #define D80_STD_BLOCKS ((39 * 29) + (14 * 27) + (11 * 25) + (13 * 23))
31 #define D80_BLOCKS (D80_STD_BLOCKS)
32 #define D82_BLOCKS (D80_STD_BLOCKS *2)
34 #define D81_BLOCKS (40 * D81_TRACKS)
37 #define D80_MAX_SECTORS 29
38 #define D81_MAX_SECTORS 40
41 #define MAX_SECTORS D81_MAX_SECTORS
42 #define MAX_TRACKS D82_TRACKS
105 imgcopy_image_type image_type;
106 imgcopy_image_type image_type_std;
108 imgcopy_bam_mode bam_mode;
109 imgcopy_error_mode error_mode;
118 int sectors_processed;
121 char bam[MAX_TRACKS+1][MAX_SECTORS+1];
130 } imgcopy_severity_e;
132 typedef void (*imgcopy_message_cb)(
int imgcopy_severity_e,
const char *format, ...);
143 #ifdef LIBIMGCOPY_DEBUG
148 extern void printDebugLibImgCounters(imgcopy_message_cb msg_cb);
155 extern char * imgcopy_get_transfer_modes(
void);
161 extern int imgcopy_get_transfer_mode_index(
const char *name);
167 extern int imgcopy_check_auto_transfer_mode(
CBM_FILE cbm_fd,
168 int auto_transfermode,
182 extern int imgcopy_read_image(
CBM_FILE cbm_fd,
185 const char *dst_image,
186 imgcopy_message_cb msg_cb,
187 imgcopy_status_cb status_cb);
189 extern int imgcopy_write_image(
CBM_FILE cbm_fd,
191 const char *src_image,
193 imgcopy_message_cb msg_cb,
194 imgcopy_status_cb status_cb);
196 extern void imgcopy_cleanup(
void);