(The service number goes in the AH register when you invoke the interrupt.) Note that this service formats a single track, not the entire disk at once. Specifically, int 13h, service 05h formats a disk track. An application program generally leaves such low-level manipulation of the FAT to the operating system, using only the OS-provided services to do high-level read/write operations. I don't think DOS provides any service to format a disk. If you're lucky, the system might even be able to deduce where the "lost" file(s) are on the diskette even without the entire Directory or FAT info, and recover the file, too.Int 13h is the appropriate way to do it, but rather than calling a DOS service, you're actually using it to call a ROM BIOS service. Sometimes you lose a file, but not all the disk's data. Often only a portion of the key system files (Directory and FAT) are damaged / corrupted, and the software can recover everything else. Often these systems first make a copy of the entire diskette's contents to another device (like a folder in your HDD), then go about trying to make sense of the data. Thus the disk and its data are not readable using "normal" procedures.Īs others have said, the solution is some data recovery software, and it MUST be capable of working with a floppy diskette and drive. That indicates corruption of some of the basic data in the Directory and FAT tables of the disk, OR actual physical damage to a part of those tracks. The problem is that the drive cannot make any sense of the data it is reading. The problem is NOT that it has not been formatted. Do NOT Format it now, as you already know!Īs happens often, the error message you are seeing is misleading. IF you are correct in saying that the floppy contains data, then is most certainly HAS BEEN FORMATTED! No data could be written until the formatting was done.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |