12

Sending ATA command "STANDBY IMMEDIATE" to the command register of the IDE drive should do the trick. I.e. output the value of 0xE0 to the command register port (0x1f7 for the primary IDE), provided you've checked that the drive isn't busy by reading status register. The list of other commands can be found here: ATA Command Matrix An introduction ...


Only top voted, non community-wiki answers of a minimum length are eligible