A port of the ECS 386/32 machine from PCem.

This commit is contained in:
nerd73
2020-03-24 21:53:19 -06:00
parent 5e4a76f020
commit 98e6a48cef
6 changed files with 182 additions and 4 deletions

View File

@@ -41,7 +41,36 @@
#include "intel_flash.h"
#include "intel_sio.h"
#include "machine.h"
static void
machine_at_cs8230_init(const machine_t *model)
{
machine_at_common_init(model);
device_add(&cs8230_device);
}
int
machine_at_ecs386_init(const machine_t *model)
{
int ret;
ret = bios_load_interleaved(L"roms/machines/ecs386/AMI BIOS for ECS-386_32 motherboard - L chip.bin",
L"roms/machines/ecs386/AMI BIOS for ECS-386_32 motherboard - H chip.bin",
0x000f0000, 65536, 0);
if (bios_only || !ret)
return ret;
machine_at_cs8230_init(model);
device_add(&keyboard_at_ami_device);
device_add(&fdc_at_device);
return ret;
}
int
machine_at_pb410a_init(const machine_t *model)

View File

@@ -210,6 +210,9 @@ extern const device_t *at_commodore_sl386sx_get_device(void);
#endif
/* m_at_386dx_486.c */
extern int machine_at_ecs386_init(const machine_t *);
extern int machine_at_pb410a_init(const machine_t *);
extern int machine_at_ali1429_init(const machine_t *);

View File

@@ -144,6 +144,7 @@ const machine_t machines[] = {
{ "[386SX MCA] IBM PS/2 model 55SX", "ibmps2_m55sx", {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"IBM",cpus_IBM486SLC},{"", NULL}}, MACHINE_MCA | MACHINE_AT | MACHINE_PS2 | MACHINE_VIDEO, 1, 8, 1, 63, machine_ps2_model_55sx_init, NULL },
{ "[386DX ISA] ECS 386/32", "ecs386", {{"Intel", cpus_i386DX}, {"AMD", cpus_Am386DX}, {"Cyrix", cpus_486DLC}, {"", NULL}, {"", NULL}},MACHINE_ISA | MACHINE_AT, 512,16384, 512, 127, machine_at_ecs386_init, NULL },
{ "[386DX ISA] Dataexpert SX495 (386DX)", "ami386dx", {{"Intel", cpus_i386DX}, {"AMD", cpus_Am386DX}, {"Cyrix", cpus_486DLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_VLB | MACHINE_AT | MACHINE_HDC, 1, 32, 1, 127, machine_at_opti495_ami_init, NULL },
{ "[386DX ISA] Award 386DX clone", "award386dx", {{"Intel", cpus_i386DX}, {"AMD", cpus_Am386DX}, {"Cyrix", cpus_486DLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_VLB | MACHINE_AT | MACHINE_HDC, 1, 32, 1, 127, machine_at_opti495_init, NULL },
#if defined(DEV_BRANCH) && defined(USE_MR495)