Int86x function readabsolutesectors writeabsolutesectors

 

Data Recovery Software | Data Recovery Services | Software Development | Web Services | Data Recovery | Live Chat | iPod Restore | Sim Card Recovery

The int86x(0x13, &i, &o, &s) function invokes the interrupt 13H with segment register Values. The getdrivegeometry function returns the total number on drive.

  • In the main() function, (char)peekb(0x0040, 0x0075); (the function peekb is Defined in DOS.H) returns the number of hard disks attached to the system.

The number of hard disks connected to the system is represented by the byte stored at memory location 0040H:0075H (Segment 0040H: Offset 0075H). If the number of hard disks connected to the system is less then two program shows the error message and exits.

Sectors_in_HDD1 = getdrivegeometry (0x80); gets the parameters of first hard disk (0x80) and returns the total number of sectors on first hard disk.

Similarly Sectors_in_HDD2 = getdrivegeometry (0x81); gets the parameters of second hard disk (0x81) and returns the total number of sectors on second hard disk.

After confirmation by the user to continue with imaging, first check the condition that the size of source hard disk should not be greater then the size of the destination hard disk. If the destination is smaller, Display the error message and exit.

If everything is going right, copy the sectors of the source disk to the destination disk. Here we are reading and writing 61440 Bytes (120 sectors with each of 512 Bytes) at a time to make the imaging process faster.

If you want to use more sectors at a time, even beyond the limit of 64K, you can do it by using “huge Pointer” in large memory model. The Example of Specification is as follows:

Free Recover Data
SIM Recovery Pen Drive Recovery Data Retrieval Hard Drive Recover iPod Songs
Undelete Software Free Download Deleted Partition Recovery Undelete Files Removed From Recycle bin USB Data Recovery Freeware
Memory Card Recovery Software Deleted File Recovery Tools Download Free Data Recovery Services Picture Recovery free

char huge array[100000L];

  • The Function, readabsolutesectors ( 0x80, loop, 120, buffer ); reads the 120 sectors of first hard disk (0x80), starting from the sector number specified by unsigned long integer loop and store the data in data buffer.
  • The Function, writeabsolutesectors ( 0x81, loop, 120, buffer ); writes the data of data buffer to 120 sectors of second hard disk (0x81), starting from the sector number specified by unsigned long integer loop.

 

 

 

Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi
Data Recovery with & without Programming


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)





Buy Data recovery 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 software Data recovery software
Windows Data Recovery Software Windows Data Recovery Software
iPod Data Recovery Software iPod Data Recovery Software
Memory Card Data Recovery Software Memory Card Data Recovery Software
Pen Drive Data Recovery Software Pen Drive Data Recovery Software
Digital Camera Data Recovery Software Digital Camera Data Recovery Software
Removable Media Data Recovery Software Removable Media Data Recovery Software
FAT Data Recovery Software

FAT Data Recovery Software

NTFS Data Recovery Software NTFS Data Recovery Software


Windows Recovery Software
Download Free File Recovery Utilities
Undelete Hard Drive Partition
Download Password Cracker
Recover Deleted Files
Download Flash Drive Recovery
Free Digital Recovery
Keylogger Free Trial
Free USB Drive Data Recovery
Files Recovery For Hard Drive
iPod Recovery Program
Data Recovery Software Freeware
File Recovery Software Repairs
Hard Drive Data Recovery Service
Memory Stick Recover
Data Restoration
Formatted Hard Disk Data Recovery
Deleted Data Recovery Utilities
Data Recovery Tools For Hard Drive

Software development services Software development services
Custom Software Development Custom Software Development
Offshore Software Development Offshore Software Development
Microsoft .NET Development Microsoft .NET Development
Java / J2EE Development Java / J2EE Development
Wireless / Mobile Application Development Wireless / Mobile Application Development
Database Solutions Database Solutions

Data recovery Education center Data recovery Education center
Data Recovery Training Data Recovery Training
Data Recovery Services Data Recovery Services
Data Recovery Education Materials Data Recovery Education Materials
Data Recovery Book Data Recovery Book


Data Recovery Software

Data Recovery Software

iPod Restore

iPod Restore

Memory Stick Data Recovery

Memory Stick Data Recovery

Mobile Phone Data Recovery

Mobile Phone Data Recovery

USB Drive Data Recovery

USB Drive Data Recovery

Data Recovery Utility

Data Recovery Utility

Digital Camera Data Recovery

Digital Camera Data Recovery

Data Recovery Services

Data Recovery Services

Data Recovery

Data Recovery

Data Recovery Utilities

Data Recovery Utilities

File Recovery Software

File Recovery Software

Files Recovery

Files Recovery

iPod Data Recovery

iPod Data Recovery

Data Recovery Tools

Data Recovery Tools

© Copyright 2002-2005 DataDoctor.Biz

Pen Drive Data Recovery Software | Memory Card Data Recovery Software | iPod Data Recovery Software | Digital Camera Data Recovery Software | Removable Media Data Recovery Software | Windows Data Recovery Software | FAT Data Recovery Software | NTFS Data Recovery Software | Data Recovery Training | Data Recovery Services | Data Recovery Education Material | Data Recovery Book | Custom Software Development | Offshore Software Development | Microsoft .NET Development | Java / J2EE Development | Wireless / Mobile Application Development | Database Solutions | Website Design | Website Development | Website Promotion | Mobile Website Design | Website Testing | Graphic Design

Home | Contact us | Downloads | Services | Resources | Terms and conditions | Site map