Hi,
Anthony wrote:
ok, i read my status from 0x3f6 now. so it shouldn't clear the interrupt. and also, the nEIN bit has been set. but...still no interrupt. and i still can't get any actualy data returned from the Identify Drive command, from either bochs or vmware.
and that is my main concern.
What is your BOCHS' configuration file then ? You actually do define a harddrive ? And I looked some information up, you want to identify the SECOND drive (Slave) of the primary controller. Maybe you wanted to do this. If so, add this:
Code:
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-slave: type=disk, path="yourhdimage", cylinders=totcylinder, heads=tothead, spt=totsectorpertrack
If you didn't intend to do, I suggest you clear the 3th bit (0000b instead of 1000b) and then add:
Code:
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=disk, path="yourhdimage", cylinders=totcylinder, heads=tothead, spt=totsectorpertrack
if you didn't have that.
Btw, what happens if you're running this on real hardware ?
HTH,
DennisCGc.