Searched defs:last_sect (Results 1 - 1 of 1) sorted by relevance
/vbox/src/VBox/Devices/Storage/ |
H A D | DevFdc.cpp | 181 uint8_t last_sect; /* Nb sector per track */ member in struct:fdrive_t 229 drv->last_sect = 0; 234 uint8_t last_sect, uint8_t num_sides) 236 return (((track * num_sides) + head) * last_sect) + sect - 1; /* sect >= 1 */ 242 return fd_sector_calc(drv->head, drv->track, drv->sect, drv->last_sect, NUM_SIDES(drv)); 263 drv->max_track, drv->last_sect); 266 if (sect > drv->last_sect || sect < 1) { 270 drv->max_track, drv->last_sect); 273 sector = fd_sector_calc(head, track, sect, drv->last_sect, NUM_SIDES(drv)); 279 head, track, sect, 1, drv->max_track, drv->last_sect); 233 fd_sector_calc(uint8_t head, uint8_t track, uint8_t sect, uint8_t last_sect, uint8_t num_sides) argument 308 uint8_t last_sect; /**< Number of sectors. */ member in struct:fd_format_t 422 int nb_heads, max_track, last_sect, ro; local [all...] |
Completed in 56 milliseconds