All times are UTC - 5 hours [ DST ]


Forum rules


Please do not post questions about data recovery cases here (use this forum instead). This forum is for topics on finding new ways to recover data. Accessing firmware, writing programs, reading bits off the platter, recovering data from dust...



Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: Head Map Parser
PostPosted: February 1st, 2021, 13:44 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
I confirm the issues with 32 bit compilation..
Let me now try the modification that you have provided..
I am 100% they will work since the diagnosis is coming from you :)
--


Last edited by sin on February 1st, 2021, 13:47, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 1st, 2021, 13:46 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
You are absolutely right.I modified the code as per your suggestions Thanks for helping this improvise :)
love you man :)
<3
--


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 3rd, 2021, 4:38 
Offline

Joined: November 7th, 2020, 5:31
Posts: 1084
Location: The_UK
Bit more time to look at this.

Code:
Type Serpent Field = 1
   
    uliStartLBA As ULongInt                 ' starting LBA of serpentine segment
    uliLBA2 As ULongInt                     ' unknown LBA of serpentine segment
    uliLenSerp As ULongInt                  ' length of serpentine segment
    dwUnknown As ULong                      ' unknown 4 bytes -- always 0x00 0x00 0x00 0x00 ?
    wdNumChar As UShort                     ' number of unicode characters in following text string, either 6 or 7
    uliHeadText As ULongInt                 ' unicode "Head"
    wdHashChar As UShort                    ' unicode "#"
    wdHdDecDig1 As UShort                   ' first unicode decimal digit of head number

End Type


uliStartLBA Appear to be what PC3K calls "Virtual" - Looks to be the LBA read order.
uliLBA2 Is the actual starting LBA.
dwUnknown Guessing this is "type" - but I've not managed to get it to change value.
uliHeadText this is free text entry.

I've attached (hopefully) a map file with an line added from within PC3K hopefully it makes more sense than I do.

Other than you can read it directly - I'm wondering why not just export to sql3 file and parse it?


Attachments:
Create submap use heads info_manual.zip [64.93 KiB]
Downloaded 692 times

_________________
Data Recovery Services in the UK.
https://www.usbrecovery.co.uk/
Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 3rd, 2021, 7:29 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
Yes thats another way...export as sq3 file then convert it to excel. One could read excel column and simply parse.

Also, the "Virtual" = actual lba start under 512 mode. Which is not true if physical sector size is used to parse.

Also, you can parse the actual head.map file any way....its not that complicated now.


--


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 3rd, 2021, 7:30 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
I wrote this to experiment and learn C. Infact i feel i pretty much suck at C and need more practice :D

--


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 3rd, 2021, 15:01 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15462
Location: Australia
I've amended my program according to the latest information:

http://www.users.on.net/~fzabkar/FreeBasic_W32/Utils/deddimap2.bas
http://www.users.on.net/~fzabkar/FreeBasic_W32/Utils/deddimap2.exe

Now the Palmer and Charger maps have a lot of noncontiguous areas. The corresponding DDI map has zeroes in those locations, so I don't know how DDI will deal with this.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 4th, 2021, 4:13 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
Yes absolutely it would. In such cases average zone skip size would come handy...the whole idea behind this was to skip those many sectors so the imager switches to the lba under next head even if that head is not mapped or not recognized under any segment of the loaded map.
--


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 4th, 2021, 14:23 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15462
Location: Australia
@sin, just FYI, I have been advised that your program compiles to a size of 16.3KB under Linux.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 5th, 2021, 4:40 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
is that any good or bad as a news ...help educate :P :) ?

--


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 5th, 2021, 5:52 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15462
Location: Australia
To me it says that Windows applications are bloated.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 5th, 2021, 8:08 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
hahahahahahahah xD :P


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 5th, 2021, 8:27 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
Also, i was just told by my mentor that "Improve" and Improvise have different contexts...i mean improve in my earlier posts.
I was just going by what I was taught in the school... The improvement (noun). To improvise (verb). To be improved (adjective)
hehe

Dont take me wrong, English is not technically my first language....Its Bambiya (local Mumbai Hindi)....google the word 'jhakkas'
that is street hindi used in Mumbai. :D
--


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 6th, 2021, 6:26 
Offline

Joined: November 7th, 2020, 5:31
Posts: 1084
Location: The_UK
sin wrote:
Sounds just great.. Infact my findings are just done now :D
The way head.map stores info is pretty cool.


Ok someone put me out of my misery please - from the main heads.map file I can find the head and what I assume is the start lba of each region. It could also be the end of the previous region ... but I don't think so. Neither the length or the end lba appear to be in the 789 blocks relating to the section. Are they actually there ? I could simply imply the information from the previously parsed section but that feels really sketchy.

_________________
Data Recovery Services in the UK.
https://www.usbrecovery.co.uk/


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 8th, 2021, 1:40 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3844
Location: Adelaide, Australia
sin wrote:
Also, i was just told by my mentor that "Improve" and Improvise have different contexts...i mean improve in my earlier posts.
I was just going by what I was taught in the school... The improvement (noun). To improvise (verb). To be improved (adjective)
hehe

Dont take me wrong, English is not technically my first language....Its Bambiya (local Mumbai Hindi)....google the word 'jhakkas'
that is street hindi used in Mumbai. :D
--


Quote:
You are absolutely right.I modified the code as per your suggestions Thanks for helping this improvise :)

Should be:
"You are absolutely right.I modified the code as per your suggestions Thanks for helping with this improvement :)"

Quote:
The improvement (noun). To improvise (verb). To be improved (adjective)

I think it should be: To improve (verb).

"Improvise" means to use something different than what was intended.

such as "We broke our radio antenna off of the car, and to improvise we used a coat hanger"

But we knew what you meant!! :-)


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 9th, 2021, 9:26 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
Or I was playing some guitar on Aminor scale and improvised it to something by an accidental note! :D

Poor English :D
I grew up listening to LinkinPark. Nothing significant was taught in school...:D


--


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 10th, 2021, 18:07 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3844
Location: Adelaide, Australia
A minor is a great scale, maybe that says al lot about me... sad trombone!

and, You mean "Nothing significant was Learnt in school" ;-)


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 11th, 2021, 3:53 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
nah...i would say taught....I am a good learner..so the blame is not on me! :D

That's a wrong perception, very beautiful Hindi songs which are happy lyrically are in a minor scale!

Minors are sad and majors are happy is very stereotypical approach :D

--


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 11th, 2021, 16:15 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
Just going way off topic. I met a few kids who were 6th to 8th graders.
I asked them, what were the topics they were learning in Math?

So one girl speaks, Linear equations...

q1)I asked them what is a linear equation and whats so linear about it?


Oh its just having xes and ys , they are parameters etc etc yada yada

on further questioning,i asked, have they ever potted one to see how the name co-relates with its feature ?

No answer.

to hint around, i said whats noun form of (to be)linear? i believe it is (the) line!
no answers.

Apparently they go to very high profile schools....

Like my whole schooling got done under 150USD (1st grade to 10th grade)
and folks I was talking to are atleast 250USD/ year! or more.

So yeah in some aspects things are kind of bad/ok/poor mixed...STILL glad I was born in India, a few longitudes and latitudes here and there , i could have been in worse places comparatively ! :D

--


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 11th, 2021, 16:54 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15462
Location: Australia
AISI, India could be the economic engine of the world, if it wasn't for corruption and mismanagement. Now that countries are realising that it wasn't a good idea to transfer their manufacturing capability to China, it would seem like an opportune time for India to take on the role. You have a huge IT sector, a cheap and well educated workforce, and you have the advantage of the English language.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Head Map Parser
PostPosted: February 12th, 2021, 2:41 
Offline

Joined: September 17th, 2016, 16:06
Posts: 430
Location: India
It was called as "Sone ki Chediya" which means a golden sparrow.
All gold is robbed and so is kohinoor diamond.

All that is left is corrupt politicians and taxes to pay :D

--


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group