Bona Fide OS Development
http://forums.osdever.net/

how can i get hard drive info?
http://forums.osdever.net/viewtopic.php?f=4&t=70
Page 1 of 1

Author:  prinzrainer [ Wed Nov 04, 2009 11:50 pm ]
Post subject:  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?

Author:  Kieran [ Thu Nov 05, 2009 4:18 am ]
Post subject:  Re: how can i get hard drive info?

I believe there are some ATA/PIO documents on osdever.net that may help you :D

Author:  prinzrainer [ Thu Nov 05, 2009 11:56 pm ]
Post subject:  Re: how can i get hard drive info?

i can't find it.. give me the link instead.. tnx

Author:  Kieran [ Fri Nov 06, 2009 8:57 am ]
Post subject:  Re: how can i get hard drive info?

http://www.ata-atapi.com/

Good plsace to start 8-)

Author:  Love4Boobies [ Mon Nov 09, 2009 1:02 am ]
Post subject:  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

Author:  Patrickv [ Sun Nov 29, 2009 7:10 pm ]
Post subject:  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

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/