getdrivegeometry function using INT 13H Extension

Files Recovery Software
Heim Kontakt Details Customer Support Demo herunterladen Produkte  

 
 

/* Destination should not be smaller than the Source */

if(Sectors_in_HDD2<Sectors_in_HDD1)
{
printf("\n\n Destination Disk should not be Smaller
than Source Disk");
printf("\n Press any Key to Exit...");
getch();
exit(0);
}

/* If Everything is okay, copy All the Sectors of the Source Disk to Destination Hard Disk */

gotoxy(10,15);printf("Copying Absolute Sector: ");

for(loop=0;loop<=Sectors_in_HDD1;loop=loop+120)
{
readabsolutesectors ( 0x80, loop, 120, buffer );
writeabsolutesectors ( 0x81, loop, 120, buffer );
gotoxy(36,15); printf("%ld",loop);

if(kbhit())
{
exit(0);
}
}

//// Show the Message of Completion \\\

printf("\n\n Disk Imaging is Now Completed, Press any Key
To Exit...");
getch();

} //// End of main

Comments on Coding:

In the coding of the program given earlier, for disk Imaging We are proceeding by performing the Following tasks:

  • The Structure, geometry is used by getdrivegeometry function using INT 13H Extension, Function Number 0x48. For a Detailed description on INT 13H Extensions, refer the chapter “Handling large hard disks”, Discussed earlier in this book.
Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19

Next page
 
 
Data Recovery-Buch
 
Kapitel 1 Ein überblick über Daten-Wiederaufnahme
Kapitel 2 Einleitung der Festplatten
Kapitel 3 Logische Annäherung an Scheiben und OS
Kapitel 4 Zahlensysteme
Kapitel 5 Einleitung der C Programmierung
Kapitel 6 Einleitung in eine Computer-Grundlagen
Kapitel 7 Notwendige DOS Befehle
Kapitel 8 Scheibe-BIOS Funktionen und Unterbrechungen, die mit C anfassen
Kapitel 9 Behandlung der großen Festplatten
Kapitel 10 Daten-Wiederaufnahme von verdorbenem Floppy-Disc
Kapitel 11 Bilden der Unterstützungen
Kapitel 12 Lesenund änderndes MBR mit der Programmierung
Kapitel 13 Lesenund änderndes DBR mit der Programmierung
Kapitel 14 Programmierung für "Raw File" Wiederaufnahme
Kapitel 15 Programmierung für Daten-Wischer
Kapitel 16 Entwickeln von mehr Dienstprogrammen für Scheiben
Anlage Glossar der Daten-Wiederaufnahme Bezeichnungen
 
 
Pro Data Doctor

Heim

Produkte

Kontakt Details

Customer Support

Demo herunterladen

Allgemeine Geschäftsbedingungen

 
Pro Data Doctor