Lines Matching refs:Disk
34 // $e3fe ; INT 13h Fixed Disk Services Entry Point
35 // $e401 ; Fixed Disk Parameter Table
73 // - Current code can not boot and emulate a hard-disk
115 // - Emulate a Hard-disk (currently only diskette can be emulated) see "FIXME ElTorito Harddisk"
753 // Disk Physical Table definition
1959 // We also don't support letting option ROMs register as bootable disk
1965 static char drivetypes[][10]={"", "Floppy","Hard Disk","CD-Rom", "Network"};
2133 printf(": not a bootable disk");
2135 printf(": could not read the boot disk");
2746 printf(" ATA-%d Hard-Disk (%4u MBytes)\n", version, (Bit16u)sizeinmb);
2748 printf(" ATA-%d Hard-Disk (%4u GBytes)\n", version, (Bit16u)(sizeinmb>>10));
5244 case 0x00: /* disk controller reset */
5249 case 0x01: /* read disk status */
5258 case 0x02: // read disk sectors
5259 case 0x03: // write disk sectors
5260 case 0x04: // verify disk sectors
5316 case 0x05: /* format disk track */
5317 BX_INFO("format disk track called\n");
5322 case 0x08: /* read disk drive parameters */
5356 case 0x15: /* read disk drive size */
5368 SET_AH(3); // hard disk accessible
5375 CX=0x0007; // ext disk access and edd, removable supported
5583 case 0x0d: /* alternate disk reset */
5590 case 0x0a: /* read disk sectors with ECC */
5591 case 0x0b: /* write disk sectors with ECC */
5652 case 0x00: /* disk controller reset */
5655 case 0x0d: /* alternate disk reset */
5659 case 0x16: /* detect disk change */
5663 // all those functions return disk write-protected
5664 case 0x03: /* write disk sectors */
5665 case 0x05: /* format disk track */
5671 case 0x01: /* read disk status */
5681 case 0x15: /* read disk drive size */
5689 CX=0x0007; // ext disk access, removable and edd
5938 case 0x08: /* read disk drive parameters */
5939 case 0x0a: /* read disk sectors with ECC */
5940 case 0x0b: /* write disk sectors with ECC */
5986 case 0x4a: // ElTorito - Initiate disk emu
5987 case 0x4c: // ElTorito - Initiate disk emu and boot
5993 case 0x4b: // ElTorito - Terminate disk emu
6076 case 0x00: /* disk controller reset */
6079 case 0x0d: /* alternate disk reset */ // FIXME ElTorito Various. should really reset ?
6083 case 0x16: /* detect disk change */
6087 // all those functions return disk write-protected
6088 case 0x03: /* write disk sectors */
6089 case 0x05: /* format disk track */
6094 case 0x01: /* read disk status */
6104 case 0x02: // read disk sectors
6105 case 0x04: // verify disk sectors
6166 case 0x08: /* read disk drive parameters */
6196 case 0x15: /* read disk drive size */
6203 case 0x0a: /* read disk sectors with ECC */
6204 case 0x0b: /* write disk sectors with ECC */
6345 case 0x00: /* disk controller reset */
6357 case 0x01: /* read disk status */
6368 case 0x04: // verify disk sectors
6369 case 0x02: // read disk sectors
6514 case 0x03: /* write disk sectors */
6653 case 0x05: /* format disk track */
6655 BX_PANIC("format disk track called\n");
6663 case 0x08: /* read disk drive parameters */
6713 case 0x0a: /* read disk sectors with ECC */
6715 case 0x0b: /* write disk sectors with ECC */
6730 case 0x0d: /* alternate disk reset */
6779 case 0x15: /* read disk drive size */
6798 SET_AH(3); // hard disk accessible
6913 // reset the disk motor timeout value of INT 08
7501 // AH=status code=0x03 (tried to write on write-protected disk)
7661 // AH=status code=0x03 (tried to write on write-protected disk)
7772 /* disk status not changed upon success */
8698 mov 0x0442, al ;; disk & diskette controller status register 0
8771 mov 0x0474, al /* hard disk status of last operation */
8772 mov 0x0477, al /* hard disk port offset (XT only ???) */
8773 mov 0x048c, al /* hard disk status register */
8774 mov 0x048d, al /* hard disk error register */
8775 mov 0x048e, al /* hard disk task complete flag */
8777 mov 0x0475, al /* hard disk number attached */
8779 mov 0x0476, al /* hard disk control byte */
8782 ;; INT 41h: hard disk 0 configuration pointer
8783 ;; INT 46h: hard disk 1 configuration pointer
8787 ;; move disk geometry data from CMOS to EBDA disk parameter table(s)
8817 ;;; Filling EBDA table for hard disk 0.
8865 ;; use Standard Fixed Disk Parameter Table (FDPT)
8872 ;; complies with Phoenix style Translated Fixed Disk Parameter Table (FDPT)
8923 ;;; Done filling EBDA table for hard disk 0.
8927 ;; is there really a second hard disk? if not, return now
8959 ;;; Fill EBDA table for hard disk 1.
9009 ;; use Standard Fixed Disk Parameter Table (FDPT)
9016 ;; complies with Phoenix style Translated Fixed Disk Parameter Table (FDPT)
9067 ;;; Done filling EBDA table for hard disk 1.
10683 ;- INT 13h Fixed Disk Services Entry Point -
10685 .org 0xe3fe ; INT 13h Fixed Disk Services Entry Point
10690 .org 0xe401 ; Fixed Disk Parameter Table
10709 ; b7: 1=DMA channel 3 used by hard disk
10749 ; b1: Initial Machine Load (IML) system - BIOS on disk