20 #define D82_TRACKS 154
22 #define TOT_TRACKS D82_TRACKS
25 #define STD_BLOCKS ((39 * 29) + (14 * 27) + (11 * 25) + (13 * 23))
26 #define D80_BLOCKS (STD_BLOCKS)
27 #define D82_BLOCKS (STD_BLOCKS *2)
30 #define MAX_SECTORS 29
31 #define MAX_TRACKS D82_TRACKS
76 d82copy_bam_mode bam_mode;
77 d82copy_error_mode error_mode;
86 int sectors_processed;
89 char bam[MAX_TRACKS][MAX_SECTORS+1];
100 typedef void (*d82copy_message_cb)(
int d82copy_severity_e,
const char *format, ...);
103 #ifdef LIBD82COPY_DEBUG
108 extern void printDebugLibD82Counters(d82copy_message_cb msg_cb);
115 extern char *d82copy_get_transfer_modes();
121 extern int d82copy_get_transfer_mode_index(
const char *name);
127 extern int d82copy_check_auto_transfer_mode(
CBM_FILE cbm_fd,
128 int auto_transfermode,
140 extern int d82copy_sector_count(
int two_sided,
int track);
142 extern int d82copy_read_image(
CBM_FILE cbm_fd,
145 const char *dst_image,
146 d82copy_message_cb msg_cb,
147 d82copy_status_cb status_cb);
149 extern int d82copy_write_image(
CBM_FILE cbm_fd,
151 const char *src_image,
153 d82copy_message_cb msg_cb,
154 d82copy_status_cb status_cb);
156 extern void d82copy_cleanup(
void);