Bona Fide OS Developer
View unanswered posts | View active topics It is currently Thu Mar 28, 2024 3:33 am



Post new topic Reply to topic  [ 6 posts ] 
 how can i get hard drive info? 
Author Message

Joined: Sat Sep 26, 2009 4:29 am
Posts: 15
Location: Philippines
Post how can i get hard drive info?
how can i get hard drive info (things like capacity,bytes per sector,sectors per track,tracks per cylinder) using assembly language?


Wed Nov 04, 2009 11:50 pm
Profile
Site Admin

Joined: Sat Jul 25, 2009 7:44 am
Posts: 274
Location: United Kingdom
Post Re: how can i get hard drive info?
I believe there are some ATA/PIO documents on osdever.net that may help you :D

_________________
Thank you for reading,

Kieran C G Foot


Thu Nov 05, 2009 4:18 am
Profile WWW

Joined: Sat Sep 26, 2009 4:29 am
Posts: 15
Location: Philippines
Post Re: how can i get hard drive info?
i can't find it.. give me the link instead.. tnx


Thu Nov 05, 2009 11:56 pm
Profile
Site Admin

Joined: Sat Jul 25, 2009 7:44 am
Posts: 274
Location: United Kingdom
Post Re: how can i get hard drive info?
http://www.ata-atapi.com/

Good plsace to start 8-)

_________________
Thank you for reading,

Kieran C G Foot


Fri Nov 06, 2009 8:57 am
Profile WWW

Joined: Sat Jul 25, 2009 11:26 am
Posts: 81
Post Re: how can i get hard drive info?
If you only care about the disk geometry and you're at the boot loader stage, all that info is passed to you by the BIOS. Otherwise, I'd read the ATA/ATAPI documents (SATA and SCSI drives usually have ATA compatibility modes).

Cheers,
Bogdan


Mon Nov 09, 2009 1:02 am
Profile

Joined: Sun Nov 29, 2009 7:03 pm
Posts: 3
Post Re: how can i get hard drive info?
Their is alway the way of opening up the computer and read the hard-drive label. It contains all the information about sector, tracks, heads etc. Some hard drive brands have better details than others

Patrick V


Sun Nov 29, 2009 7:10 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 34 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.