ISA/PCI, ATA/SATA and BIOS Get drive parameters
Posted: Thu Mar 31, 2011 4:02 pm
Hi,
I recently restarted doing OS dev stuff, and this evening tried the BIOS Get drive parameters function, and found the 'host bus' and 'interface type' were as follows:
Bochs: Host bus = 'ISA', interface type = 'ATA'
VirtualPC: Host bus = 'PCI', interface type = 'ATA'
VirtualBox with IDE, SATA SCSI or SAS: Host bus = 'ISA', interface type = 'ATA'
which was not what I was expecting, except for VirtualPC. I then looked around for what the values should be and got thoroughly confused :S
So is PATA and ISA thing or a PCI thing? I thought it was originally ISA and is now PCI, but that doesn't fit with the results above.
More confusing is why VirtualBox is giving interface type 'ATA' for any actual interface.
From what I looked at while trying to find answers to these, I'm guessing this is something to do with the BIOS configuring devices in some sort of legacy mode rather than native; if so, how do I find out what a device (corresponding to a BIOS drive number) really is?
Thanks!
I recently restarted doing OS dev stuff, and this evening tried the BIOS Get drive parameters function, and found the 'host bus' and 'interface type' were as follows:
Bochs: Host bus = 'ISA', interface type = 'ATA'
VirtualPC: Host bus = 'PCI', interface type = 'ATA'
VirtualBox with IDE, SATA SCSI or SAS: Host bus = 'ISA', interface type = 'ATA'
which was not what I was expecting, except for VirtualPC. I then looked around for what the values should be and got thoroughly confused :S
So is PATA and ISA thing or a PCI thing? I thought it was originally ISA and is now PCI, but that doesn't fit with the results above.
More confusing is why VirtualBox is giving interface type 'ATA' for any actual interface.
From what I looked at while trying to find answers to these, I'm guessing this is something to do with the BIOS configuring devices in some sort of legacy mode rather than native; if so, how do I find out what a device (corresponding to a BIOS drive number) really is?
Thanks!