Article View: comp.lang.asm.x86
Article #18Re: Tough Question: Get a Hard-disk's Brand/Model No....
From: Yousuf Khan
Date: Tue, 26 Mar 1996 02:45
Date: Tue, 26 Mar 1996 02:45
24 lines
1477 bytes
1477 bytes
Allen Te <pcdirect@pacific.net.sg> wrote: >I've seen a few programs that are actually able to detect >a hard-disk's brand/model. >Eg, Conners AP540, Maxtor MT1200 etc.... >Is that possible using some interrupts? Can someone give >me some source for doing that? It's not possible with any standard interrupt services -- it's too specialized to bother to implement as some kind of an operating system API function. You would have to go into I/O ports that control the hard disk directly. Actually, I lie. You can do it through the API functions in SCSI device drivers, I believe. In IDE, you have to implement the port accesses yourself. I think I got some source code here, but it'll take some time for me to rummage around on how to do it. In the meantime, if somebody else can come up with the sources, then I can stop my rummaging, and I can use yours. :-) In other words, don't hold your breath on whether I can find the source code quickly. Yousuf Khan
Technical Details
Message-ID:
<4j7m0g$lp6@centaur.achilles.net>Path:
arc1-ca.pugleaf.net!news.achilles.net!usenetReferences:
<3144773A.256A@pacific.net.sg>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.achilles.net!usenet From: ykhan@achilles.net (Yousuf Khan) Newsgroups: comp.lang.asm.x86,comp.lang.c,comp.lang.c++,comp.programming Subject: Re: Tough Question: Get a Hard-disk's Brand/Model No.... Date: Tue, 26 Mar 1996 02:45:15 GMT Organization: Achilles Internet Services, Ottawa, ON Message-ID: <4j7m0g$lp6@centaur.achilles.net> References: <3144773A.256A@pacific.net.sg> NNTP-Posting-Host: p39-annex1.achilles.net X-Newsreader: Forte Free Agent 1.0.82