From: nunnayod AT mbiz DOT nez (CaffineLady) Newsgroups: comp.os.msdos.djgpp Subject: Re: direct hard drive controll? Date: Fri, 07 Jul 2000 21:03:30 GMT Organization: Posted via Supernews, http://www.supernews.com Lines: 30 Message-ID: References: <200007071558 DOT VAA00953 AT midpec DOT com> X-Complaints-To: newsabuse AT supernews DOT com X-Newsreader: WinVN 0.99.9 (Released Version) (x86 32bit) MIME-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <200007071558 DOT VAA00953 AT midpec DOT com>, tr AT eth DOT net says... > >> 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. >> 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. > I've been looking through it and I havn't found anything about moving the head to a specific track... maybe Im just missing it. Im not to worried about damaging the hard drives, seeing as how they are torn all to peices anyways... could directly accessing the IDE controller hurt the computer? If someone could give me a snippet of code to send the head to track 'n' I'd greatly appreciate it. I don't want to read any data (infact the platter will probably be removed), and I need the operation to be fast because I need to switch between tracks really really fast (to move the mirror Im gonna glue to it back and forth). kvcurtis AT iland DOT net