Ata controller status register zero
Posted: Thu Mar 31, 2022 7:21 am
I want read sector from hard disk. I use ata pio. Work with 0x1f0-1f7 ports. The PIO protocol says that I must wait for BSY=0, write to DEV the number of the device on the channel, wait for BSY=0 and RDY=1. But the program goes into an eternal loop, because RDY always equals 0. How can i solve this proglem?
Registers:
Registers: