delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/07/14:29:57

Date: Fri, 7 Jul 2000 21:28:45 +0530
Message-Id: <200007071558.VAA00953@midpec.com>
From: Prashant TR <tr AT eth DOT net>
To: nunnayod AT mbiz DOT nez
CC: djgpp AT delorie DOT com
In-reply-to: <smbdmlcsnu98@corp.supernews.com> (nunnayod@mbiz.nez)
Subject: Re: direct hard drive controll?
References: <smbdmlcsnu98 AT corp DOT supernews DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Hi, Im kind of new to djgpp in general so forgive my ignorance, but I 
> was wandering if there was a way to directly access the hard drives to 
> make the actuator move to a specific track.. It'd also be nice to find 
> out how many tracks are on a given hard drive and how many hard drives 
> there are. 
>  Im guessing this will have to be done using some inline assembly or 
> someething but I have no idea how to go about doing that. I'm hopeing to 
> build an amateur laser light show :)

You could do that using the BIOS calls, or access the IDE controller
directly (which is not a wise thing to do if you aren't familiar with
it). Check out the interrupt 13h in the Ralf Brown's interrupt list.

http://www.ctyme.com/rbrown.htm

-- 
Prashant TR <tr AT midpec DOT com>
Web: http://www.midpec.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019