diff --git a/src/include/86box/machine.h b/src/include/86box/machine.h index f8c15b240..715499eeb 100644 --- a/src/include/86box/machine.h +++ b/src/include/86box/machine.h @@ -390,6 +390,8 @@ extern int machine_xt_jukopc_init(const machine_t *); extern int machine_xt_open_xt_init(const machine_t *); extern int machine_xt_pxxt_init(const machine_t *); +extern int machine_xt_hed919_init(const machine_t *); + /* m_xt_compaq.c */ extern int machine_xt_compaq_init(const machine_t *); diff --git a/src/machine/m_xt.c b/src/machine/m_xt.c index a570e6c85..0cbf071d1 100644 --- a/src/machine/m_xt.c +++ b/src/machine/m_xt.c @@ -251,6 +251,21 @@ machine_xt_open_xt_init(const machine_t *model) return ret; } +int +machine_xt_hed919_init(const machine_t *model) +{ + int ret; + + ret = bios_load_linear(L"roms/machines/hed919/Hedaka_HED-919_bios_version_3.28f.bin", + 0x000fe000, 8192, 0); + + if (bios_only || !ret) + return ret; + + machine_xt_clone_init(model); + + return ret; +} int machine_xt_pxxt_init(const machine_t *model) diff --git a/src/machine/machine_table.c b/src/machine/machine_table.c index ed9457c2b..1e709e5d2 100644 --- a/src/machine/machine_table.c +++ b/src/machine/machine_table.c @@ -98,6 +98,8 @@ const machine_t machines[] = { { "[8086] VTech Laser XT3", "lxt3", {{"Intel", cpus_8086}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA, 256, 640, 256, 0, machine_xt_lxt3_init, NULL }, #endif + { "[286 XT] Hedaka HED-919", "hed919", {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA, 64, 640, 64, 0, machine_xt_hed919_init, NULL }, + { "[286 ISA] AMI 286 clone", "ami286", {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT, 512, 8192, 128, 127, machine_at_neat_ami_init, NULL }, { "[286 ISA] Award 286 clone", "award286", {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT, 512,16384, 128, 127, machine_at_award286_init, NULL }, { "[286 ISA] Phoenix 286 clone", "px286", {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT, 512,16384, 128, 127, machine_at_px286_init, NULL },