Date: Fri, 7 Jul 2000 21:28:45 +0530 Message-Id: <200007071558.VAA00953@midpec.com> From: Prashant TR To: nunnayod AT mbiz DOT nez CC: djgpp AT delorie DOT com In-reply-to: (nunnayod@mbiz.nez) Subject: Re: direct hard drive controll? References: 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 Precedence: bulk > 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 Web: http://www.midpec.com/