From f5072abba5dd113dad3d1aabebdf6e13e816332a Mon Sep 17 00:00:00 2001 From: telanus Date: Sun, 30 Oct 2022 23:49:18 +0200 Subject: [PATCH 1/3] Added the Packard Bell PB8810 --- 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 cf3a353b1..c8f2314c0 100644 --- a/src/include/86box/machine.h +++ b/src/include/86box/machine.h @@ -786,6 +786,7 @@ extern int machine_xt_top88_init(const machine_t *); extern int machine_xt_kaypropc_init(const machine_t *); extern int machine_xt_sansx16_init(const machine_t *); extern int machine_xt_bw230_init(const machine_t *); +extern int machine_xt_pb8810_init(const machine_t *); extern int machine_xt_v20xt_init(const machine_t *); From 0669cce5b5c244c38c99a0fee498d90f08e0f213 Mon Sep 17 00:00:00 2001 From: telanus Date: Sun, 30 Oct 2022 23:51:47 +0200 Subject: [PATCH 2/3] Added the Packard Bell PB8810 --- src/machine/machine_table.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/machine/machine_table.c b/src/machine/machine_table.c index 2f51d559f..4f8777875 100644 --- a/src/machine/machine_table.c +++ b/src/machine/machine_table.c @@ -1031,6 +1031,42 @@ const machine_t machines[] = { .snd_device = NULL, .net_device = NULL }, + { + .name = "[8088] Packard Bell PB8810", + .internal_name = "pb8810", + .type = MACHINE_TYPE_8088, + .chipset = MACHINE_CHIPSET_DISCRETE, + .init = machine_xt_pb8810_init, + .pad = 0, + .pad0 = 0, + .pad1 = MACHINE_AVAILABLE, + .pad2 = 0, + .cpu = { + .package = CPU_PKG_8088, + .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_PC, + .flags = MACHINE_FLAGS_NONE, + .ram = { + .min = 256, + .max = 640, + .step = 256 + }, + .nvrmask = 0, + .kbc = KBC_IBM_PC_XT, + .kbc_p1 = 0xff00, + .gpio = 0xffffffff, + .device = NULL, + .vid_device = NULL, + .snd_device = NULL, + .net_device = NULL + }, { .name = "[8088] Philips P3105/NMS9100", .internal_name = "p3105", From 378bd8d8455972b51390f3a696f039a066f29a34 Mon Sep 17 00:00:00 2001 From: telanus Date: Sun, 30 Oct 2022 23:52:45 +0200 Subject: [PATCH 3/3] Added the Packard Bell PB8810 --- 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 167d2ec51..0aa0468fa 100644 --- a/src/machine/m_xt.c +++ b/src/machine/m_xt.c @@ -597,3 +597,19 @@ machine_xt_v20xt_init(const machine_t *model) return ret; } + +int +machine_xt_pb8810_init(const machine_t *model) +{ + int ret; + + ret = bios_load_linear("roms/machines/pb8810/pb8088-8810-633acc631aba0345517682.bin", + 0x000fc000, 16384, 0); + + if (bios_only || !ret) + return ret; + + machine_xt_clone_init(model); + + return ret; +}