delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/08/09:10:50

From: Caffine Lady <nonofyad AT m DOT biz DOT nez>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: direct hard drive controll?
Date: Sat, 8 Jul 2000 05:37:45 -0500
Organization: Posted via Supernews, http://www.supernews.com
Lines: 29
Message-ID: <MPG.13d0c073f47b2db4989681@news.iland.net>
References: <smbdmlcsnu98 AT corp DOT supernews DOT com> <200007071558 DOT VAA00953 AT midpec DOT com> <smchd2hcnu52 AT corp DOT supernews DOT com> <200007080132 DOT HAA00918 AT www DOT midpec DOT com>
X-Complaints-To: newsabuse AT supernews DOT com
X-Newsreader: MicroPlanet Gravity v2.30.1784
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <200007080132 DOT HAA00918 AT www DOT midpec DOT com>, tr AT eth DOT net says...
> > >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). 
> 
> The "Disk Seek" is what you're looking for. It moves the head to a
> specific area without reading data. But most advanced drives don't let
> you seek unncessarily unless data is actually transferred.
> 
> To access IDE drives directly, you could have a look at my "System
> Information" software sources available from:
> 
> http://www.midpec.com/software.html
> 
> 
thanks for the info and for the time.

- Raw text -


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