Removed the Goldstar 386 from dev branch. Added a Tandon based Micronics 386 Board

TI NEAT based 386 board.
This commit is contained in:
tiseno100
2019-12-26 20:48:07 +02:00
committed by GitHub
parent 58adb51dbe
commit d894b416dd
6 changed files with 29 additions and 30 deletions

View File

@@ -201,9 +201,8 @@ machine_at_neat_ami_init(const machine_t *model)
return ret;
}
#if defined(DEV_BRANCH) && defined(USE_GOLDSTAR386)
int
machine_at_micronics386_init(const machine_t *model)
machine_at_goldstar386_init(const machine_t *model)
{
int ret;
@@ -221,7 +220,26 @@ machine_at_micronics386_init(const machine_t *model)
return ret;
}
#endif
int
machine_at_micronics386_init(const machine_t *model)
{
int ret;
ret = bios_load_interleaved(L"roms/machines/micronics386/386-Micronics-09-00021-EVEN.BIN",
L"roms/machines/micronics386/386-Micronics-09-00021-ODD.BIN",
0x000f0000, 131072, 0);
if (bios_only || !ret)
return ret;
machine_at_init(model);
device_add(&neat_device);
device_add(&fdc_at_device);
return ret;
}
static void
machine_at_scat_init(const machine_t *model, int is_v4)

View File

@@ -188,9 +188,10 @@ extern int machine_at_headlandquadtel_init(const machine_t *);
extern int machine_at_neat_init(const machine_t *);
extern int machine_at_neat_ami_init(const machine_t *);
#if defined(DEV_BRANCH) && defined(USE_GOLDSTAR386)
extern int machine_at_goldstar386_init(const machine_t *); //Neat based Phoenix 80386 board. It has memory related issues.
#endif
extern int machine_at_goldstar386_init(const machine_t *);
extern int machine_at_micronics386_init(const machine_t *);
extern int machine_at_award286_init(const machine_t *);
extern int machine_at_gw286ct_init(const machine_t *);

View File

@@ -130,9 +130,9 @@ const machine_t machines[] = {
{ "[386SX MCA] IBM PS/2 model 55SX", "ibmps2_m55sx", {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_MCA | MACHINE_AT | MACHINE_PS2 | MACHINE_VIDEO, 1, 8, 1, 63, machine_ps2_model_55sx_init, NULL },
#if defined(DEV_BRANCH) && defined(USE_GOLDSTAR386)
{ "[386SX ISA] Goldstar 386", "goldstar386", {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT | MACHINE_HDC, 512, 8192, 128, 127, machine_at_goldstar386_init, NULL },
#endif
{ "[386SX ISA] Unknown Micronics 386 Board", "micronics386", {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT | MACHINE_HDC, 512, 8192, 128, 127, machine_at_micronics386_init, NULL },
{ "[386DX ISA] AMI 386DX clone", "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 },

View File

@@ -115,9 +115,9 @@ const machine_t machines[] = {
{ "[386SX ISA] IBM PS/1 m.2121+ISA", "ibmps1_2121_isa", {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC | MACHINE_VIDEO, 1, 6, 1, 63, machine_ps1_m2121_init, NULL },
{ "[386SX ISA] KMX-C-02", "kmxc02", {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT, 512,16384, 512, 127, machine_at_kmxc02_init, NULL },
#if defined(DEV_BRANCH) && defined(USE_GOLDSTAR386)
{ "[386SX ISA] Goldstar 386", "goldstar386", {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT | MACHINE_HDC, 512, 8192, 128, 127, machine_at_goldstar386_init, NULL },
#endif
{ "[386SX ISA] Unknown Micronics 386 Board", "micronics386", {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT | MACHINE_HDC, 512, 8192, 128, 127, machine_at_micronics386_init, NULL },
{ "[386SX MCA] IBM PS/2 model 55SX", "ibmps2_m55sx", {{"Intel", cpus_i386SX}, {"AMD", cpus_Am386SX}, {"Cyrix", cpus_486SLC}, {"", NULL}, {"", NULL}}, MACHINE_MCA | MACHINE_AT | MACHINE_PS2 | MACHINE_VIDEO, 1, 8, 1, 63, machine_ps2_model_55sx_init, NULL },

View File

@@ -83,9 +83,6 @@ ifeq ($(DEV_BUILD), y)
ifndef VECTRA54
VECTRA54 := y
endif
ifndef GOLDSTAR386
GOLDSTAR386 := y
endif
ifndef SIEMENS
SIEMENS := y
endif
@@ -150,9 +147,6 @@ else
ifndef VECTRA54
VECTRA54 := n
endif
ifndef GOLDSTAR386
GOLDSTAR386 := n
endif
ifndef SIEMENS
SIEMENS := n
endif
@@ -512,10 +506,6 @@ ifeq ($(VECTRA54), y)
OPTS += -DUSE_VECTRA54
endif
ifeq ($(GOLDSTAR386), y)
OPTS += -DUSE_GOLDSTAR386
endif
ifeq ($(SIEMENS), y)
OPTS += -DUSE_SIEMENS
endif

View File

@@ -83,9 +83,6 @@ ifeq ($(DEV_BUILD), y)
ifndef VECTRA54
VECTRA54 := y
endif
ifndef GOLDSTAR386
GOLDSTAR386 := y
endif
ifndef SIEMENS
SIEMENS := y
endif
@@ -150,9 +147,6 @@ else
ifndef VECTRA54
VECTRA54 := n
endif
ifndef GOLDSTAR386
GOLDSTAR386 := n
endif
ifndef SIEMENS
SIEMENS := n
endif
@@ -518,10 +512,6 @@ ifeq ($(VECTRA54), y)
OPTS += -DUSE_VECTRA54
endif
ifeq ($(GOLDSTAR386), y)
OPTS += -DUSE_GOLDSTAR386
endif
ifeq ($(SIEMENS), y)
OPTS += -DUSE_SIEMENS
endif