dhavalhirdhav / LearnOS

This is one of my long awaited project on learning to develop an Operating System.
http://www.learnitonweb.com
57 stars 5 forks source link

ATA driver problem #30

Closed daniyalw closed 2 years ago

daniyalw commented 2 years ago

Whenever I try to do ATA_wait_DRQ(), it just hangs. It's a forever loop.

xing1357 commented 2 years ago

ATA_wait_DRQ() waits for the drq bit = 0. If you are not doing any communicating with the ports, that bit will always be on.

daniyalw commented 2 years ago

Yep. It worked when I added a disk to QEMU.