Merge pull request #3598 from luennix/thunderbolt
Add Micronics Thunderbolt (PhoenixBIOS 4.0 Rel 6.0 for 430TX)
This commit is contained in:
@@ -659,6 +659,7 @@ extern int machine_at_tx97_init(const machine_t *);
|
|||||||
extern int machine_at_an430tx_init(const machine_t *);
|
extern int machine_at_an430tx_init(const machine_t *);
|
||||||
#endif
|
#endif
|
||||||
extern int machine_at_ym430tx_init(const machine_t *);
|
extern int machine_at_ym430tx_init(const machine_t *);
|
||||||
|
extern int machine_at_thunderbolt_init(const machine_t *);
|
||||||
extern int machine_at_mb540n_init(const machine_t *);
|
extern int machine_at_mb540n_init(const machine_t *);
|
||||||
extern int machine_at_56a5_init(const machine_t *);
|
extern int machine_at_56a5_init(const machine_t *);
|
||||||
extern int machine_at_p5mms98_init(const machine_t *);
|
extern int machine_at_p5mms98_init(const machine_t *);
|
||||||
|
|||||||
@@ -1085,3 +1085,33 @@ machine_at_ms5164_init(const machine_t *model)
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
machine_at_thunderbolt_init(const machine_t *model)
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
ret = bios_load_linear("roms/machines/thunderbolt/tbolt-01.rom",
|
||||||
|
0x000c0000, 262144, 0);
|
||||||
|
|
||||||
|
if (bios_only || !ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
machine_at_common_init_ex(model, 2);
|
||||||
|
|
||||||
|
pci_init(PCI_CONFIG_TYPE_1);
|
||||||
|
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
||||||
|
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 1, 2, 3); /* PIIX4 */
|
||||||
|
pci_register_slot(0x11, PCI_CARD_NORMAL, 0, 1, 2, 3);
|
||||||
|
pci_register_slot(0x12, PCI_CARD_NORMAL, 1, 2, 3, 0);
|
||||||
|
pci_register_slot(0x13, PCI_CARD_NORMAL, 2, 3, 0, 1);
|
||||||
|
pci_register_slot(0x14, PCI_CARD_NORMAL, 3, 0, 1, 2);
|
||||||
|
device_add(&i430tx_device);
|
||||||
|
device_add(&piix4_device);
|
||||||
|
device_add(&keyboard_ps2_ami_pci_device);
|
||||||
|
device_add(&fdc37c935_device);
|
||||||
|
device_add(&intel_flash_bxt_device);
|
||||||
|
spd_register(SPD_TYPE_SDRAM, 0x3, 128);
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|||||||
@@ -10373,6 +10373,45 @@ const machine_t machines[] = {
|
|||||||
.vid_device = NULL,
|
.vid_device = NULL,
|
||||||
.snd_device = NULL,
|
.snd_device = NULL,
|
||||||
.net_device = NULL
|
.net_device = NULL
|
||||||
|
},
|
||||||
|
/* PhoenixBIOS 4.0 Rel 6.0 for 430TX, most likely has AMI KBC of some sort. Also has onboard Yamaha YMF701 which can't be emulated yet. */
|
||||||
|
{
|
||||||
|
.name = "[i430TX] Micronics Thunderbolt",
|
||||||
|
.internal_name = "thunderbolt",
|
||||||
|
.type = MACHINE_TYPE_SOCKET7,
|
||||||
|
.chipset = MACHINE_CHIPSET_INTEL_430TX,
|
||||||
|
.init = machine_at_thunderbolt_init,
|
||||||
|
.pad = 0,
|
||||||
|
.pad0 = 0,
|
||||||
|
.pad1 = MACHINE_AVAILABLE,
|
||||||
|
.pad2 = 0,
|
||||||
|
.cpu = {
|
||||||
|
.package = CPU_PKG_SOCKET5_7,
|
||||||
|
.block = CPU_BLOCK(CPU_WINCHIP, CPU_WINCHIP2),
|
||||||
|
.min_bus = 50000000,
|
||||||
|
.max_bus = 66666667,
|
||||||
|
.min_voltage = 2500,
|
||||||
|
.max_voltage = 3520,
|
||||||
|
.min_multi = 1.5,
|
||||||
|
.max_multi = 3.0
|
||||||
|
},
|
||||||
|
.bus_flags = MACHINE_PS2_PCI,
|
||||||
|
.flags = MACHINE_IDE_DUAL | MACHINE_APM | MACHINE_ACPI,
|
||||||
|
.ram = {
|
||||||
|
.min = 8192,
|
||||||
|
.max = 262144,
|
||||||
|
.step = 8192
|
||||||
|
},
|
||||||
|
.nvrmask = 255,
|
||||||
|
.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
|
||||||
},
|
},
|
||||||
/* The BIOS sends KBC command BB and expects it to output a byte, which is AMI KBC behavior. */
|
/* The BIOS sends KBC command BB and expects it to output a byte, which is AMI KBC behavior. */
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user