From 6450830b512a679d4c93f28aae96f7edb8db1224 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 17 Jun 2020 01:49:45 +0200 Subject: [PATCH] The Hedaka HED-919 now supports up to 1 MB of RAM. --- src/machine/m_xt.c | 3 +++ src/machine/machine_table.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/machine/m_xt.c b/src/machine/m_xt.c index 0cbf071d1..3fb30eab6 100644 --- a/src/machine/m_xt.c +++ b/src/machine/m_xt.c @@ -264,6 +264,9 @@ machine_xt_hed919_init(const machine_t *model) machine_xt_clone_init(model); + if (mem_size > 640) + mem_remap_top(mem_size - 640); + return ret; } diff --git a/src/machine/machine_table.c b/src/machine/machine_table.c index ead2aa964..80f8fbf4b 100644 --- a/src/machine/machine_table.c +++ b/src/machine/machine_table.c @@ -123,7 +123,7 @@ const machine_t machines[] = { #endif /* 286 XT machines */ - { "[Citygate D30 XT] Hedaka HED-919", "hed919", MACHINE_TYPE_286, {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA, 64, 640, 64, 0, machine_xt_hed919_init, NULL }, + { "[Citygate D30 XT] Hedaka HED-919", "hed919", MACHINE_TYPE_286, {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA, 64, 1024, 64, 0, machine_xt_hed919_init, NULL }, /* 286 AT machines */ { "[ISA] IBM AT", "ibmat", MACHINE_TYPE_286, {{"", cpus_ibmat}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT, 256,15872, 128, 63, machine_at_ibm_init, NULL },