From 3a18912d5af3ade2430553befa955be9fdd662dd Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 20 Mar 2018 20:02:22 +0100 Subject: [PATCH] The KMS-C-02 now correctly initializes with the AMI AT keyboard controller, should hopefully fix the last keyboard problems on this machine. --- src/machine/m_at_scat.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/machine/m_at_scat.c b/src/machine/m_at_scat.c index 39ee46ea3..fdb56fe72 100644 --- a/src/machine/m_at_scat.c +++ b/src/machine/m_at_scat.c @@ -10,7 +10,7 @@ * * Re-worked version based on the 82C235 datasheet and errata. * - * Version: @(#)m_at_scat.c 1.0.11 2018/03/18 + * Version: @(#)m_at_scat.c 1.0.12 2018/03/20 * * Authors: Original by GreatPsycho for PCem. * Fred N. van Kempen, @@ -27,6 +27,7 @@ #include "../cpu/x86.h" #include "../floppy/fdd.h" #include "../floppy/fdc.h" +#include "../keyboard.h" #include "../io.h" #include "../mem.h" #include "../nmi.h" @@ -724,7 +725,9 @@ machine_at_scat_init(const machine_t *model) void machine_at_scatsx_init(const machine_t *model) { - machine_at_init(model); + machine_at_common_init(model); + + device_add(&keyboard_at_ami_device); device_add(&fdc_at_device); scatsx_init();