16 uint8 filename_length;
23 uint32 sector_size_value;
33 struct s_cdi_descriptor
38 uint16 nb_of_sessions;
39 s_cdi_session *sessions;
45 extern uint32 cdi_load_address;
46 extern uint32 cdi_code_length;
47 extern s_cdi_descriptor * cdi_descriptor;
48 extern s_cdi_track ** cdi_tracks;
49 extern uint32 cdi_tracks_count;
53 int cdi_open(char * path);
54 void cdi_close(int fp);
55 s_cdi_descriptor * cdi_get_descriptor(int fp, FILE * stdfp);
56 void cdi_dump_descriptor(FILE * fp,s_cdi_descriptor * cdi_descriptor);
57 uint8 * cdi_extract_boot_code(int fp, s_cdi_descriptor * cdi_descriptor);
58 void cdi_load_sector(uint32 sector, uint8 * buffer);