From f994c863324c68e44ebe123abe93ef548bf5c7bd Mon Sep 17 00:00:00 2001 From: telanus Date: Mon, 21 Feb 2022 00:00:46 +0200 Subject: [PATCH 1/3] Update machine.h --- src/include/86box/machine.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/86box/machine.h b/src/include/86box/machine.h index cefa0f4d2..7764f1347 100644 --- a/src/include/86box/machine.h +++ b/src/include/86box/machine.h @@ -703,6 +703,7 @@ extern int machine_xt_mpc1600_init(const machine_t *); extern int machine_xt_pcspirit_init(const machine_t *); extern int machine_xt_pc700_init(const machine_t *); extern int machine_xt_pc500_init(const machine_t *); +extern int machine_xt_znic_init(const machine_t *); extern int machine_xt_iskra3104_init(const machine_t *); From 42a1580af5b87f68a0bae1b26aa050badc508d37 Mon Sep 17 00:00:00 2001 From: telanus Date: Mon, 21 Feb 2022 00:01:39 +0200 Subject: [PATCH 2/3] Update m_xt.c --- src/machine/m_xt.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/machine/m_xt.c b/src/machine/m_xt.c index f7d815911..ae580c591 100644 --- a/src/machine/m_xt.c +++ b/src/machine/m_xt.c @@ -217,6 +217,22 @@ machine_xt_amixt_init(const machine_t *model) return ret; } +int +machine_xt_znic_init(const machine_t *model) +{ + int ret; + + ret = bios_load_linear("roms/machines/znic/ibmzen.rom", + 0x000fe000, 8192, 0); + + if (bios_only || !ret) + return ret; + + machine_xt_clone_init(model); + + return ret; +} + int machine_xt_dtk_init(const machine_t *model) From 1648d38040ade732ed593e6ffb53ed50288e448e Mon Sep 17 00:00:00 2001 From: telanus Date: Mon, 21 Feb 2022 00:03:15 +0200 Subject: [PATCH 3/3] Update machine_table.c --- src/machine/machine_table.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/machine/machine_table.c b/src/machine/machine_table.c index 6fca975ed..0fc34e930 100644 --- a/src/machine/machine_table.c +++ b/src/machine/machine_table.c @@ -134,6 +134,7 @@ const machine_t machines[] = { #endif /* Has a standard PS/2 KBC (so, use IBM PS/2 Type 1). */ { "[8088] Xi8088", "xi8088", MACHINE_TYPE_8088, CPU_PKG_8088, 0, 0, 0, 0, 0, 0, 0, MACHINE_AT | MACHINE_BUS_PS2, 64, 1024, 128, 127, machine_xt_xi8088_init, xi8088_get_device }, + { "[8088] Z-NIX PC-1600", "znic", MACHINE_TYPE_8088, CPU_PKG_8088, 0, 0, 0, 0, 0, 0, 0, MACHINE_PC, 64, 640, 64, 0, machine_xt_znic_init, NULL }, { "[8088] Zenith Data Systems Z-151/152/161","zdsz151", MACHINE_TYPE_8088, CPU_PKG_8088, 0, 0, 0, 0, 0, 0, 0, MACHINE_PC, 128, 640, 64, 0, machine_xt_z151_init, NULL }, { "[8088] Zenith Data Systems Z-159", "zdsz159", MACHINE_TYPE_8088, CPU_PKG_8088, 0, 0, 0, 0, 0, 0, 0, MACHINE_PC, 128, 640, 64, 0, machine_xt_z159_init, NULL }, { "[8088] Zenith Data Systems SupersPort (Z-184)","zdsupers", MACHINE_TYPE_8088, CPU_PKG_8088, 0, 0, 0, 0, 0, 0, 0, MACHINE_PC | MACHINE_VIDEO_FIXED, 128, 640, 128, 0, machine_xt_z184_init, z184_get_device },