Configure IDE ATA hard disk to use DMA transfer
To get the best performance of your IDE hard disk, then one should make sure that DMA transfer mode is enabled. Windows 98 uses by default PIO-mode which is much slower than DMA mode.
In Win95b+ and Win98 you can check if DMA is enabled by going to the Control Panel -> System -> Device Manager -> Disk Drives -> “Your HDD” -> Settings and see if the DMA checkbox is set. This change is reflected here in the registry:
[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \Class \hdc \XXXX]
More Info MS KB258757
In Win95b+ and Win98 a small fix can be applied to the builtin IDE drivers, so DMA is automatically enabled for new IDE-Device. Edit the file Windows\Inf\Mshdc.inf and add the lines in bold if they are not already there:
HKR,,DriverDesc,,”ESDI Port Driver”
Add the same bold lines to the file Windows\Inf\Diskdrv.inf in the section [DiskReg]. If the system is already setup, then one manually have to remove all IDE devices in the Device Manager and reboot to get all devices redetected with DMA enabled.
Note that the above settings is only valid if using the builtin IDE drivers supplied with Win9x. If using 3rd party drivers for the IDE Controller, then DMA should be enabled automatically, and the drivers will not react to the changes made for the builtin IDE drivers.
More Info MS HWDEV: Enabling IDE DMA on Windows-based Systems
More Info MS KB159560
More Info MS KB171353
More Info MS KB193473
More Info MS KB229085
More Info MS KB235859