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 :
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:
[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \Class \hdc \XXXX]
More Info MS KB258757
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.
HKR,,DriverDesc,,"ESDI Port Driver"
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