diff --git a/src/device/keyboard_at.c b/src/device/keyboard_at.c
index d0a88a70a..e2b8a744d 100644
--- a/src/device/keyboard_at.c
+++ b/src/device/keyboard_at.c
@@ -13,12 +13,12 @@
* Authors: Sarah Walker,
* Miran Grca,
* Fred N. van Kempen,
- * EngiNerd
+ * EngiNerd
*
* Copyright 2008-2020 Sarah Walker.
* Copyright 2016-2020 Miran Grca.
* Copyright 2017-2020 Fred N. van Kempen.
- * Copyright 2020 EngiNerd.
+ * Copyright 2020 EngiNerd.
*/
#include
#include
@@ -1059,7 +1059,7 @@ write_output(atkbd_t *dev, uint8_t val)
if ((dev->output_port ^ val) & 0x01) { /*Reset*/
if (! (val & 0x01)) {
/* Pin 0 selected. */
- resetx86(); /*Pulse reset!*/
+ softresetx86(); /*Pulse reset!*/
cpu_set_edx();
}
}
@@ -1327,6 +1327,7 @@ write64_ami(void *priv, uint8_t val)
case 0xa1: /* get controller version */
kbd_log("ATkbc: AMI - get controller version\n");
+ add_data(dev, 'H');
return 0;
case 0xa2: /* clear keyboard controller lines P22/P23 */