do
{
file_no=0;
finfo.drive = 0x00; /* nombre d'entraînement pour A : */
finfo.head = head; /* nombre principal de disque */
finfo.track = track; /* nombre de voie */
finfo.sector= sector; /* nombre de secteur */
finfo.nsectors=1; /* compte de secteur */
finfo.buffer = buf; /* amortisseur de données */
result = _bios_disk(_DISK_READ, &finfo); /* Lire le secteur */
if( (result & 0xff00) != 0) /* Si l'erreur de lecture, montrent le message d'erreur et sortent*/
{
printf("Erreur de lecture");
getch();
exit(0); // Aller de nouveau au DOS
}
/// Format d'écran de visualisation de l'information \\\
clrscr();
gotoxy(9,1);
cprintf("DISPLAY CYLN: %u, HEAD: %u, SECTOR: %u",
track, head, sector);
gotoxy(9,2);
cprintf("TAILLE NOMMÉE DE DÉBUT D'ATTRIBUT D'EXT. DE FNO");
gotoxy(7,3);
cprintf("--------------------------------------------");
/* Un secteur à la fois. Chaque entrée de File/DIR prend le byte 32 */
for(i=0;i<512;i+=32)
{
for(j=0;j<8;j++)
{
/// Trouver le dossier/nom de Dir \\\
root[file_no].name[j]=buf[j+i];
}
for(j=8;j<11;j++)
{
/// Trouver la prolongation \\\
root[file_no].ext[j-8]=buf[i+j];
}
j=11;
root[file_no].attribute=buf[i+j]; /// Attribut
/// Commencer le faisceau \\\
root[file_no].start=(0xff & buf[27+i])*16*16 + (0xff & buf[26+i]);
Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi, translated using machine translation. See original English contents on Data recovery book pages. |
|
Publishers of the Book
Number of Pages
ISBN
Price of the Book
|
BPB Publications, New Delhi, India
540
81-7656-922-4
$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)
|
 |
|
|