I am trying to write data to hdd sectors usig write DMA command. (0xCA)
The command gets executed successfully without any error, but the data is not getting written to the sectors. I am using DJGPP compiler and I am executing the code in dos mode only.
After executing the program, sectors are filled with some garbage values. How do i pass the data buffer to this method?