Add AIR 486PI
This commit is contained in:
@@ -511,6 +511,7 @@ extern int machine_at_alfredo_init(const machine_t *);
|
|||||||
extern int machine_at_amis76_init(const machine_t *);
|
extern int machine_at_amis76_init(const machine_t *);
|
||||||
extern int machine_at_ninja_init(const machine_t *);
|
extern int machine_at_ninja_init(const machine_t *);
|
||||||
extern int machine_at_bat4ip3e_init(const machine_t *);
|
extern int machine_at_bat4ip3e_init(const machine_t *);
|
||||||
|
extern int machine_at_486pi_init(const machine_t *);
|
||||||
extern int machine_at_486sp3_init(const machine_t *);
|
extern int machine_at_486sp3_init(const machine_t *);
|
||||||
extern int machine_at_486sp3c_init(const machine_t *);
|
extern int machine_at_486sp3c_init(const machine_t *);
|
||||||
extern int machine_at_486sp3g_init(const machine_t *);
|
extern int machine_at_486sp3g_init(const machine_t *);
|
||||||
|
|||||||
@@ -1146,6 +1146,32 @@ machine_at_bat4ip3e_init(const machine_t *model)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
machine_at_486pi_init(const machine_t *model)
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
ret = bios_load_linear("roms/machines/486pi/486pi.bin",
|
||||||
|
0x000e0000, 131072, 0);
|
||||||
|
|
||||||
|
if (bios_only || !ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
machine_at_common_init(model);
|
||||||
|
|
||||||
|
pci_init(PCI_CONFIG_TYPE_1 | PCI_NO_IRQ_STEERING);
|
||||||
|
pci_register_slot(0x05, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
||||||
|
pci_register_slot(0x12, PCI_CARD_NORMAL, 1, 2, 1, 2);
|
||||||
|
pci_register_slot(0x13, PCI_CARD_NORMAL, 2, 1, 2, 1);
|
||||||
|
pci_register_slot(0x14, PCI_CARD_NORMAL, 1, 2, 1, 2);
|
||||||
|
|
||||||
|
device_add(&keyboard_ps2_ami_pci_device);
|
||||||
|
device_add(&fdc37c665_device);
|
||||||
|
device_add(&i420ex_device);
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_486sp3_init(const machine_t *model)
|
machine_at_486sp3_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6697,6 +6697,45 @@ const machine_t machines[] = {
|
|||||||
.snd_device = NULL,
|
.snd_device = NULL,
|
||||||
.net_device = NULL
|
.net_device = NULL
|
||||||
},
|
},
|
||||||
|
/* This has an AMIKey-2, which is an updated version of type 'H'. */
|
||||||
|
{
|
||||||
|
.name = "[i420EX] Advanced Integration Research 486PI",
|
||||||
|
.internal_name = "486pi",
|
||||||
|
.type = MACHINE_TYPE_486_S3,
|
||||||
|
.chipset = MACHINE_CHIPSET_INTEL_420EX,
|
||||||
|
.init = machine_at_486pi_init,
|
||||||
|
.pad = 0,
|
||||||
|
.pad0 = 0,
|
||||||
|
.pad1 = MACHINE_AVAILABLE,
|
||||||
|
.pad2 = 0,
|
||||||
|
.cpu = {
|
||||||
|
.package = CPU_PKG_SOCKET3,
|
||||||
|
.block = CPU_BLOCK_NONE,
|
||||||
|
.min_bus = 0,
|
||||||
|
.max_bus = 0,
|
||||||
|
.min_voltage = 0,
|
||||||
|
.max_voltage = 0,
|
||||||
|
.min_multi = 0,
|
||||||
|
.max_multi = 0
|
||||||
|
},
|
||||||
|
.bus_flags = MACHINE_PCIV,
|
||||||
|
.flags = MACHINE_SUPER_IO | MACHINE_IDE | MACHINE_APM,
|
||||||
|
.ram = {
|
||||||
|
.min = 1024,
|
||||||
|
.max = 131072,
|
||||||
|
.step = 1024
|
||||||
|
},
|
||||||
|
.nvrmask = 127,
|
||||||
|
.kbc_device = NULL,
|
||||||
|
.kbc_p1 = 0,
|
||||||
|
.gpio = 0,
|
||||||
|
.device = NULL,
|
||||||
|
.fdc_device = NULL,
|
||||||
|
.sio_device = NULL,
|
||||||
|
.vid_device = NULL,
|
||||||
|
.snd_device = NULL,
|
||||||
|
.net_device = NULL
|
||||||
|
},
|
||||||
/* I'm going to assume this as an AMIKey-2 like the other two 486SP3's. */
|
/* I'm going to assume this as an AMIKey-2 like the other two 486SP3's. */
|
||||||
{
|
{
|
||||||
.name = "[i420TX] ASUS PCI/I-486SP3",
|
.name = "[i420TX] ASUS PCI/I-486SP3",
|
||||||
|
|||||||
Reference in New Issue
Block a user