case 0x08:
cprintf("\n\n STATUS: Direct memory access (DMA)
overrun");
break;
case 0x09:
cprintf("\n\n STATUS: Attempt to perform DMA
across 64K boundary");
break;
case 0x0C:
cprintf("\n\n STATUS: Media type not found");
break;
case 0x10:
cprintf("\n\n STATUS: Bad CRC/ECC on disk read");
break;
case 0x20:
cprintf("\n\n STATUS: Controller has failed");
break;
case 0x31:
cprintf("\n\n STATUS: No media in drive (IBM/MS
INT 13H extensions)");
break;
case 0x32:
cprintf("\n\n STATUS: Incorrect drive type stored
in CMOS (Compaq)");
break;
case 0x40:
cprintf("\n\n STATUS: Seek operation failed");
break;
case 0x80:
cprintf("\n\n STATUS: Attachment failed to
respond(Disk Timed-out)");
break;
case 0xB0:
cprintf("\n\n STATUS: Volume not locked in drive
(INT 13H extensions)");
break;
case 0xB1:
cprintf("\n\n STATUS: Volume locked in drive (INT
13H extensions)");
break;
case 0xB2:
cprintf("\n\n STATUS: Volume not removable (INT
13H extensions)");
break;
case 0xB3:
cprintf("\n\n STATUS: Volume in use (INT 13H
extensions)");
break;
case 0xB4:
cprintf("\n\n STATUS: Lock count exceeded (INT 13H
extensions)");
break;
case 0xB5:
cprintf("\n\n STATUS: Valid eject request failed
(INT 13H extensions)");
break;
default: cprintf("\n\n STATUS: UNKNOWN Status CODE
For Floppy Errors");
}
}
return 0;
}
|