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:
Ata controller status register zero
-
- Member
- Posts: 5563
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Ata controller status register zero
Is there a hard disk attached to that channel?
Post your bochsrc if you're not sure.
Post your bochsrc if you're not sure.