[alt.msdos.programmer] Shutting down a harddrive through software.

adnan@rice.edu (Sarmad Adnan) (07/06/90)

Hi you Gurus out there.

I would like to know if it is possible to shutdown ones Hard-drive
(MFM or RLL) using some kind of a system call, interupt, Assembly 
Language call, prayer etc. 

My application program(in MSC) runs on an on-board computer on a mobile robot.
I would like to be able to shutdown the harddrive using some kind of a 
function call or somthing before the robot starts moving.

Is it advisable to simply use a relay to cut the power to the drive down.



                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  Sarmad Adnan (adnan@rice.edu)
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~