Add ECS Panda 386V

This commit is contained in:
BurnedPinguin
2023-02-06 21:49:21 +01:00
parent 64c6266404
commit d37650e750
2 changed files with 60 additions and 0 deletions

View File

@@ -225,6 +225,27 @@ machine_at_spc6000a_init(const machine_t *model)
return ret; return ret;
} }
int
machine_at_ECS_386V_init(const machine_t *model)
{
int ret;
ret = bios_load_linear("roms/machines/ECS_386V/PANDA_386V.BIN",
0x000f0000, 65536, 0);
if (bios_only || !ret)
return ret;
machine_at_common_init(model);
device_add(&ali1429_device);
device_add(&keyboard_ps2_intel_ami_pci_device);
if (fdc_type == FDC_INTERNAL)
device_add(&fdc_at_device);
return ret;
}
int int
machine_at_rycleopardlx_init(const machine_t *model) machine_at_rycleopardlx_init(const machine_t *model)
{ {
@@ -1810,3 +1831,5 @@ machine_at_tg486g_init(const machine_t *model)
return ret; return ret;
} }

View File

@@ -4551,6 +4551,43 @@ const machine_t machines[] = {
.snd_device = NULL, .snd_device = NULL,
.net_device = NULL .net_device = NULL
}, },
/* Has AMI Megakey P KBC firmware */
{
.name = "[ALi M1429] ECS Panda 386V",
.internal_name = "ECS_386V",
.type = MACHINE_TYPE_386DX,
.chipset = MACHINE_CHIPSET_ALI_M1429,
.init = machine_at_ECS_386V_init,
.pad = 0,
.pad0 = 0,
.pad1 = MACHINE_AVAILABLE,
.pad2 = 0,
.cpu = {
.package = CPU_PKG_386DX,
.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_VLB,
.flags = MACHINE_FLAGS_NONE,
.ram = {
.min = 1024,
.max = 32768,
.step = 1024,
},
.nvrmask = 127,
.kbc = KBC_UNKNOWN,
.kbc_p1 = 0,
.gpio = 0,
.device = NULL,
.vid_device = NULL,
.snd_device = NULL,
.net_device = NULL
},
/* Has AMIKey F KBC firmware. */ /* Has AMIKey F KBC firmware. */
{ {
.name = "[SiS 310] ASUS ISA-386C", .name = "[SiS 310] ASUS ISA-386C",