Home | History | Annotate | Download | only in bios

Lines Matching refs:num_sectors

6305   Bit8u    drive, num_sectors, sector, head, status, mod;
6373 num_sectors = GET_AL();
6408 if ( (num_sectors > 128) || (num_sectors == 0) )
6409 BX_PANIC("int13_harddisk: num_sectors out of range!\n");
6425 outb(0x01f2, num_sectors);
6491 num_sectors--;
6492 if (num_sectors == 0) {
6519 num_sectors = GET_AL();
6554 if ( (num_sectors > 128) || (num_sectors == 0) )
6555 BX_PANIC("int13_harddisk: num_sectors out of range!\n");
6565 outb(0x01f2, num_sectors);
6631 num_sectors--;
6632 if (num_sectors == 0) {
7150 Bit8u drive, num_sectors, track, sector, head, status;
7201 num_sectors = GET_AL();
7208 (num_sectors == 0) || (num_sectors > 72)) {
7255 base_count = (num_sectors * 512) - 1;
7307 outb(0x03f5, sector + num_sectors
7396 base_count = (num_sectors * 512) - 1;
7441 outb(0x03f5, sector + num_sectors - 1); // last sector to write on track
7532 num_sectors = GET_AL();
7538 (num_sectors == 0) || (num_sectors > 18)) {
7572 base_count = (num_sectors * 4) - 1;
7605 outb(0x03f5, num_sectors); // number of sectors per track