Add Gateway 2000 Venus (Part 2)

This commit is contained in:
pankozaC++
2023-09-09 11:12:31 +01:00
committed by GitHub
parent a24c97a350
commit 6148dbcb7a

View File

@@ -195,6 +195,40 @@ machine_at_vs440fx_init(const machine_t *model)
return ret;
}
int
machine_at_GW2KVenus_init(const machine_t *model)
{
int ret;
ret = bios_load_linear_combined2("roms/machines/GW2KVenus/1011CS1T.BIO",
"roms/machines/GW2KVenus/1011CS1T.BI1",
"roms/machines/GW2KVenus/1011CS1T.BI2",
"roms/machines/GW2KVenus/1011CS1T.BI3",
"roms/machines/GW2KVenus/1011CS1T.RCV",
0x3a000, 128);
if (bios_only || !ret)
return ret;
machine_at_common_init(model);
pci_init(PCI_CONFIG_TYPE_1);
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
pci_register_slot(0x0B, PCI_CARD_NORMAL, 1, 2, 3, 4);
pci_register_slot(0x0F, PCI_CARD_NORMAL, 4, 1, 2, 3);
pci_register_slot(0x11, PCI_CARD_NORMAL, 3, 4, 1, 2);
pci_register_slot(0x13, PCI_CARD_NORMAL, 2, 3, 4, 1);
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
device_add(&i440fx_device);
device_add(&piix3_device);
device_add(&keyboard_ps2_intel_ami_pci_device);
device_add(&pc87307_device);
device_add(&intel_flash_bxt_ami_device);
return ret;
}
int
machine_at_ap440fx_init(const machine_t *model)
{