delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | RayeR <glaux AT centrum DOT cz> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: get drive id string for ide/sata? |
Date: | Wed, 14 Mar 2012 15:57:57 -0700 (PDT) |
Organization: | http://groups.google.com |
Lines: | 5 |
Message-ID: | <99dc6164-e6fb-43b3-9381-2715c6b3c5d9@q11g2000vbu.googlegroups.com> |
References: | <ea1ee44b-3b2d-42ac-98c4-4408a4b853cb AT kv10g2000pbc DOT googlegroups DOT com> |
NNTP-Posting-Host: | 78.45.168.98 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1331765997 32400 127.0.0.1 (14 Mar 2012 22:59:57 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Wed, 14 Mar 2012 22:59:57 +0000 (UTC) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | q11g2000vbu.googlegroups.com; posting-host=78.45.168.98; posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp |
User-Agent: | G2/1.0 |
X-HTTP-UserAgent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) |
Gecko/20110420 SeaMonkey/2.0.14,gzip(gfe) | |
Bytes: | 1438 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I don't know what ID string you exactly mean but probably the ID in drive firmware, so you have to send proper ATA command identify drive to get structure with various info data about the drive. You need to access drive controller directly via inportb/outportb functions to read/write from/to IO space...
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |