Mail Archives: djgpp/2000/07/07/14:29:57
> 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 -