add machine Hyundai Super 286C
This commit is contained in:
@@ -1946,6 +1946,7 @@ const cpu_legacy_machine_t cpu_legacy_table[] = {
|
|||||||
{ "award286", cputables_286 },
|
{ "award286", cputables_286 },
|
||||||
{ "gw286ct", cputables_286 },
|
{ "gw286ct", cputables_286 },
|
||||||
{ "gdc212m", cputables_286 },
|
{ "gdc212m", cputables_286 },
|
||||||
|
{ "super286c", cputables_286 },
|
||||||
{ "super286tr", cputables_286 },
|
{ "super286tr", cputables_286 },
|
||||||
{ "spc4200p", cputables_286 },
|
{ "spc4200p", cputables_286 },
|
||||||
{ "spc4216p", cputables_286 },
|
{ "spc4216p", cputables_286 },
|
||||||
|
@@ -446,6 +446,7 @@ extern int machine_at_quadt386sx_init(const machine_t *);
|
|||||||
extern int machine_at_award286_init(const machine_t *);
|
extern int machine_at_award286_init(const machine_t *);
|
||||||
extern int machine_at_gdc212m_init(const machine_t *);
|
extern int machine_at_gdc212m_init(const machine_t *);
|
||||||
extern int machine_at_gw286ct_init(const machine_t *);
|
extern int machine_at_gw286ct_init(const machine_t *);
|
||||||
|
extern int machine_at_super286c_init(const machine_t *);
|
||||||
extern int machine_at_super286tr_init(const machine_t *);
|
extern int machine_at_super286tr_init(const machine_t *);
|
||||||
extern int machine_at_spc4200p_init(const machine_t *);
|
extern int machine_at_spc4200p_init(const machine_t *);
|
||||||
extern int machine_at_spc4216p_init(const machine_t *);
|
extern int machine_at_spc4216p_init(const machine_t *);
|
||||||
|
@@ -348,6 +348,29 @@ machine_at_gw286ct_init(const machine_t *model)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
machine_at_super286c_init(const machine_t *model)
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
ret = bios_load_linear("roms/machines/super286c/hyundai_award286.bin",
|
||||||
|
0x000f0000, 65536, 0);
|
||||||
|
|
||||||
|
if (bios_only || !ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
machine_at_init(model);
|
||||||
|
|
||||||
|
device_add(&neat_device);
|
||||||
|
|
||||||
|
if (fdc_type == FDC_INTERNAL)
|
||||||
|
device_add(&fdc_at_device);
|
||||||
|
|
||||||
|
device_add(&keyboard_at_ami_device);
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_super286tr_init(const machine_t *model)
|
machine_at_super286tr_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
|
@@ -3239,6 +3239,46 @@ const machine_t machines[] = {
|
|||||||
.snd_device = NULL,
|
.snd_device = NULL,
|
||||||
.net_device = NULL
|
.net_device = NULL
|
||||||
},
|
},
|
||||||
|
/* has an Award-branded KBC controller */
|
||||||
|
{
|
||||||
|
.name = "[NEAT] Hyundai Super-286C",
|
||||||
|
.internal_name = "super286c",
|
||||||
|
.type = MACHINE_TYPE_286,
|
||||||
|
.chipset = MACHINE_CHIPSET_NEAT,
|
||||||
|
.init = machine_at_super286c_init,
|
||||||
|
.p1_handler = NULL,
|
||||||
|
.gpio_handler = NULL,
|
||||||
|
.available_flag = MACHINE_AVAILABLE,
|
||||||
|
.gpio_acpi_handler = NULL,
|
||||||
|
.cpu = {
|
||||||
|
.package = CPU_PKG_286,
|
||||||
|
.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_AT,
|
||||||
|
.flags = MACHINE_FLAGS_NONE,
|
||||||
|
.ram = {
|
||||||
|
.min = 512,
|
||||||
|
.max = 1024,
|
||||||
|
.step = 128
|
||||||
|
},
|
||||||
|
.nvrmask = 127,
|
||||||
|
.kbc_device = NULL,
|
||||||
|
.kbc_p1 = 0xff,
|
||||||
|
.gpio = 0xffffffff,
|
||||||
|
.gpio_acpi = 0xffffffff,
|
||||||
|
.device = NULL,
|
||||||
|
.fdc_device = NULL,
|
||||||
|
.sio_device = NULL,
|
||||||
|
.vid_device = NULL,
|
||||||
|
.snd_device = NULL,
|
||||||
|
.net_device = NULL
|
||||||
|
},
|
||||||
/* Has IBM AT KBC firmware. */
|
/* Has IBM AT KBC firmware. */
|
||||||
{
|
{
|
||||||
.name = "[NEAT] NCR 3302",
|
.name = "[NEAT] NCR 3302",
|
||||||
|
Reference in New Issue
Block a user