From cd4721b5583013c9de553b6ccb7b2a9961924ac8 Mon Sep 17 00:00:00 2001 From: tiseno100 <58827426+tiseno100@users.noreply.github.com> Date: Tue, 23 Jun 2020 17:24:39 +0300 Subject: [PATCH] Insert a fixed Shuttle 386SX. Fixes compile errors. --- src/machine/m_at_286_386sx.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/machine/m_at_286_386sx.c b/src/machine/m_at_286_386sx.c index 6b6e00e52..748c25e45 100644 --- a/src/machine/m_at_286_386sx.c +++ b/src/machine/m_at_286_386sx.c @@ -420,6 +420,27 @@ machine_at_deskmaster286_init(const machine_t *model) return ret; } +int +machine_at_shuttle386sx_init(const machine_t *model) +{ + int ret; + + ret = bios_load_interleaved(L"roms/machines/shuttle386sx/386-Shuttle386SX-Even.BIN", + L"roms/machines/shuttle386sx/386-Shuttle386SX-Odd.BIN", + 0x000f0000, 131072, 0); + + if (bios_only || !ret) + return ret; + + machine_at_common_init(model); + + device_add(&i82335_device); + device_add(&keyboard_at_ami_device); + device_add(&fdc_at_device); + + return ret; +} + int machine_at_wd76c10_init(const machine_t *model) {