Lines Matching refs:head
2964 Bit16u ata_cmd_data_in(device, command, count, cylinder, head, sector, lba_low, lba_high, segment, …
2965 Bit16u device, command, count, cylinder, head, sector, segment, offset;
3007 head = ((Bit16u) ((lba_low>>24) & 0x0000000fL)) | ATA_CB_DH_LBA;
3015 outb(iobase1 + ATA_CB_DH, (slave ? ATA_CB_DH_DEV1 : ATA_CB_DH_DEV0) | (Bit8u) head );
3113 Bit16u ata_cmd_data_out(device, command, count, cylinder, head, sector, lba_low, lba_high, segment,…
3114 Bit16u device, command, count, cylinder, head, sector, segment, offset;
3156 head = ((Bit16u) ((lba_low>>24) & 0x0000000fL)) | ATA_CB_DH_LBA;
3164 outb(iobase1 + ATA_CB_DH, (slave ? ATA_CB_DH_DEV1 : ATA_CB_DH_DEV0) | (Bit8u) head );
5430 Bit16u cylinder, head, sector;
5479 head = GET_DH();
5494 if( (cylinder >= nlc) || (head >= nlh) || (sector > nlspt )) {
5495 …disk: function %02x, parameters out of range %04x/%04x/%04x!\n", GET_AH(), cylinder, head, sector);
5507 …lba_low = ((((Bit32u)cylinder * (Bit32u)nlh) + (Bit32u)head) * (Bit32u)nlspt) + (Bit32u)sector - 1;
5513 …status=ata_cmd_data_in(device, ATA_CMD_READ_SECTORS, count, cylinder, head, sector, lba_low, lba_h…
5515 …status=ata_cmd_data_out(device, ATA_CMD_WRITE_SECTORS, count, cylinder, head, sector, lba_low, lba…
6264 Bit16u head, sector, cylinder, nbsectors;
6327 head = GET_DH();
6338 || (head >= vheads)) {
6349 vlba=((((Bit32u)cylinder*(Bit32u)vheads)+(Bit32u)head)*(Bit32u)vspt)+((Bit32u)(sector-1));
6462 outLBA(cylinder,hd_heads,head,hd_sectors,sector,dl)
6465 Bit16u head;
6518 Bit8u drive, num_sectors, sector, head, status, mod;
6589 head = GET_DH();
6606 ax = head / hd_heads;
6608 head = ax >> 8;
6614 (head >= hd_heads) ) {
6624 if (head > 15)
6641 BX_DEBUG_INT13_HD("CHS: %x %x %x\n", cylinder, head, sector);
6642 outLBA(cylinder,hd_heads,head,hd_sectors,sector,drive);
6648 outb(0x01f6, 0xa0 | ((drive & 0x01)<<4) | (head & 0x0f));
6736 head = GET_DH();
6752 ax = head / hd_heads;
6754 head = ax >> 8;
6760 (head >= hd_heads) ) {
6770 if (head > 15)
6782 BX_DEBUG_INT13_HD("CHS (write): %x %x %x\n", cylinder, head, sector);
6783 outLBA(cylinder,hd_heads,head,hd_sectors,sector,GET_ELDL());
6789 outb(0x01f6, 0xa0 | ((GET_ELDL() & 0x01)<<4) | (head & 0x0f));
7363 Bit8u drive, num_sectors, track, sector, head, status;
7417 head = GET_DH();
7420 if ((drive > 1) || (head > 1) || (sector == 0) ||
7515 outb(0x03f5, (head << 2) | drive); // HD DR1 DR2
7517 outb(0x03f5, head);
7649 outb(0x03f5, (head << 2) | drive); // HD DR1 DR2
7651 outb(0x03f5, head);
7747 head = GET_DH();
7750 if ((drive > 1) || (head > 1) || (track > 79) ||
7816 outb(0x03f5, (head << 2) | drive); // HD DR1 DR2
8294 mov dh, #0x00 ;; head 0
8931 mov 0x0446, al ;; diskette controller head number
11413 db 0x02 ;; head load time 0000001, DMA used
11445 db 0x02 ;; head load time 0000001, DMA used