Is there a register I can write to using a DOS based C app to spin the IDE HDD down after the app boots then back up upon the app close? Specifically I want to just put spin down/up commands in the C source code. Having to resort to C inline assembly language is OK for me.
For example I don't use any "canned" library functions to use the serial port. I write to the UART directly so I am fine with this level of deep system programming. (Comes from my STD and Multibuss days)
Reason is the app does not need HDD after boot and this is a kiosk type app. HDD is only needed to boot and for maintenance. I have tried CF and other flash disk products. This industrial PC board doesn't play well with them under DOS. It wants a real IDE HDD.