Lines Matching refs:num_sectors
451 uint8_t drive, num_sectors, track, sector, head;
507 num_sectors = GET_AL();
514 (num_sectors == 0) || (num_sectors > 72) ) {
562 base_count = (num_sectors * 512) - 1;
613 outb(0x03f5, sector + num_sectors - 1); // last sector to read on track
676 rep_movsw(ES :> BX, ES :> BX, num_sectors * 512 / 2);
703 base_count = (num_sectors * 512) - 1;
750 outb(0x03f5, sector + num_sectors - 1); // last sector to write on track
838 num_sectors = GET_AL();
844 (num_sectors == 0) || (num_sectors > 18)) {
879 base_count = (num_sectors * 4) - 1;
917 outb(0x03f5, num_sectors); // number of sectors per track
1192 num_sectors = val8 & 0x3f; // max sector number per cylinder
1196 drive, track, num_sectors);
1239 if (track == 39 && num_sectors == 9)
1244 if (track == 39 && num_sectors == 9) { // 360K disk in 1.2M drive
1246 } else if (track == 79 && num_sectors == 15) { // 1.2M disk in 1.2M drive
1251 if (track == 79 && num_sectors == 9)
1257 if (num_sectors == 9) { // 720K disk in 1.44M drive
1259 } else if (num_sectors == 18) { // 1.44M disk in 1.44M drive
1266 if (num_sectors == 9) { // 720K disk in 2.88M drive
1268 } else if (num_sectors == 18) { // 1.44M disk in 2.88M drive
1270 } else if (num_sectors == 36) { // 2.88M disk in 2.88M drive