/* ***** 活動区画のための点検 ***** */
if(*sec==se && *no_par==0) /*第一次仕切りなら */
{
*sec=se=0;
for(active_offset=446;active_offset<=494;active_offset+=16)
{
active_par=buffer[active_offset];
if(active_par==0x80) /* 活動区画のための点検 */
break;
else
active_pos++; /* 活動区画の位置 */
}
/* 延長仕切りのため */
for(active_offset=450;active_offset<=511;active_offset+=16)
{
active_par=buffer[active_offset];
if(active_par==0x05 | active_par==0x0F)
/*check for extended partition */
break;
else
extended_pos++; /*延長仕切りの位置 */
}
if(active_pos==4)
active_pos=1;
if(extended_pos==4)
extended_pos=1;
partloc1=0x1C0+extended_pos*16;
}
else
{
active_pos=0;
extended_pos=1;
partloc1=0x1D0;
if(se_p!=0)
{
*sec=se=se_p; /*延長仕切りの開始 */
}
}
/* 仕切りの相対的なセクター */
relative_sec= *(unsigned long *)(buffer+454+active_pos*16);
/* 仕切りのセクターの数 */
no_sectors=*(long *)(buffer+458+active_pos*16);
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)
|
 |
|
|