OSDev.org https://forum.osdev.org/ |
|
ATA driver problem https://forum.osdev.org/viewtopic.php?f=1&t=56550 |
Page 3 of 3 |
Author: | Octocontrabass [ Wed Apr 17, 2024 5:27 pm ] |
Post subject: | Re: ATA driver problem |
WinExperements wrote: Code: outb(inter_ata->bar4+4,0x00); What is this code supposed to do? It definitely won't do anything useful. WinExperements wrote: Code: kprintf("Status of drive(after sending there commands): 0x%x\n",inb(inter_ata->base+ATA_REG_STATUS)); Debugging might be easier if you display the value of the status register from the first time you read it instead of reading it a second time. Where do you acknowledge the interrupt in the interrupt controller? |
Page 3 of 3 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |