IDE: Use same PCI device id as qemu, required for Windows installations (#86)
This commit is contained in:
parent
c598c69e4b
commit
1c7fcc1c74
|
@ -81,8 +81,8 @@ function IDEDevice(cpu, buffer, is_cd, nr, bus)
|
|||
this.master_port = 0xB400;
|
||||
|
||||
this.pci_space = [
|
||||
0x86, 0x80, 0x20, 0x3A, 0x05, 0x00, 0xA0, 0x02,
|
||||
0x00, 0x8F, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
|
||||
0x86, 0x80, 0x10, 0x70, 0x05, 0x00, 0xA0, 0x02,
|
||||
0x00, 0x80, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
|
||||
this.ata_port & 0xFF | 1, this.ata_port >> 8, 0x00, 0x00,
|
||||
this.ata_port_high & 0xFF | 1, this.ata_port_high >> 8, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, // second device
|
||||
|
|
Loading…
Reference in a new issue