assembly - How do I obtain disk manufacturer information? -
assembly - How do I obtain disk manufacturer information? -
i'm learning programme ata bus. in bochs seems code r/w works, can't sure until seek real disk. need find out how obtain disk manufacturer info to the lowest degree importnant thing when talking it's functionality on other hand printing info on screen 1 of things can assure me i'm not gonna screw whole pc. trying google out wasn't lucky. if provide me links or hints great. thx stu.
ps - solutions without interrupts prefered
i found solution in this pdf (look indetify device command) , there nice c code here. there lot of info on osdev, think best if don't much reading through source codes. bochs works fine, qemu works fine, desktop pc works fine, of course of study laptops feeling special couldn't create work on these yet. 1 prints 40 characters pi , 1 doesn't print @ all. should have ideas matter please share opinions me. hope references help others seek information.
edit
ok, bad (of course), forgot wait bsy. proper way desired info described on osdev under identify command. create sure read info after sending command or else busy led not go off.
assembly x86 disk
Comments
Post a Comment