The coding of the disk editing program to analyze the hard disks or floppy disks surface bkground() clsline() refresh() writetofile() writetosector() msgdisp() modify() frame() dispmax() display() hextodec()

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

Writing the Disk Editing Tool

The coding of the disk editing program has been given in the disk included with this book, with the file name “TTEDITOR.C”. You can use this program to analyze the hard disks or floppy disks surface. Even most of the study while writing this book, I have used TTEDITOR to analyze the disk surface or perform the disk modifications.

Some of the important tasks, this editing program can perform are as follows:

  • Read per sector information of the surface of hard disks and floppy disks.
  • Write the backup of any sector to file.
  • Restore the data of the sector from the file.
  • Modify the single byte.
  • Hexadecimal to Decimal and Binary calculator.

The program uses biosdisk( ) and _bios_disk( ) function to access the disks. If you want to analyze the disk beyond the 8.4 GB, Modify the program with the use of Extensions of INT 13H. The description of the functions, used in the program has been given in the following table:

Function

Description

bkground( )

creates the back ground and frame of first screen

clsline( )

Used to clear the complete row from the screen specified by row number.

refresh( )

Function to recall all the display functions on the screen

writetofile( )

Function to write the data of a sector to user defined file.

writetosector( )

Function to restore the sector from specified file.

msgdisp( )

Function to display messages on the screen.

modify( )

Function to modify a single byte of any sector, specified by user.

frame( )

Function to draw the frame structure of sector display

dispmax( )

Display maximum CHS number of the disk (Valid Up to 8.4 GB Disk)

display( )

Display the sector and information on the screen.

hextodec( )

Function to Calculate hexadecimal number to corresponding decimal and binary numbers.


Previous page

page 1 | 2 | 3 | 4 | 5 | 6

 
 

Appendix II

 
 

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11

Next page
 
 
Data Recovery Book
 
Chapter 1 An Overview of Data Recovery
Chapter 2 Introduction of Hard Disks
Chapter 3 Logical Approach to Disks and OS
Chapter 4 Number Systems
Chapter 5 Introduction of C Programming
Chapter 6 Introduction to Computer Basics
Chapter 7 Necessary DOS Commands
Chapter 8 Disk-BIOS Functions and Interrupts Handling With C
Chapter 9 Handling Large Hard Disks
Chapter 10 Data Recovery From Corrupted Floppy
Chapter 11 Making Backups
Chapter 12 Reading and Modifying MBR with Programming
Chapter 13 Reading and Modifying DBR with Programming
Chapter 14 Programming for “Raw File” Recovery
Chapter 15 Programming for Data Wipers
Chapter 16 Developing more Utilities for Disks
Appendix Glossary of Data Recovery Terms
 
 

Pro Data Doctor

Home

Products

Contact Details

Customer Support

Download Demo

Terms and Conditions

 
Pro Data Doctor