From 04d75a3ab8f44d91a8a50b135b960146f99345fc Mon Sep 17 00:00:00 2001
From: Thomas Harte <thomas.harte@gmail.com>
Date: Sun, 10 Dec 2023 22:44:08 -0500
Subject: [PATCH 1/2] Return proper day-of-the-month value.

---
 Machines/PCCompatible/RTC.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Machines/PCCompatible/RTC.hpp b/Machines/PCCompatible/RTC.hpp
index 819df78cb..efd92c072 100644
--- a/Machines/PCCompatible/RTC.hpp
+++ b/Machines/PCCompatible/RTC.hpp
@@ -53,7 +53,7 @@ class RTC {
 				break;
 				case 0x05:	return 0;	// Hours alarm
 				case 0x06:	return bcd(time_date->tm_wday + 1);		// Day of the week [Sunday = 1]
-				case 0x07:	return bcd(time_date->tm_mon);			// Date of the Month [1-31]
+				case 0x07:	return bcd(time_date->tm_mday);			// Date of the Month [1-31]
 				case 0x08:	return bcd(time_date->tm_mon + 1);		// Month [1-12]
 				case 0x09:	return bcd(time_date->tm_year % 100);	// Year [0-99]
 				case 0x32:	return bcd(19 + time_date->tm_year / 100);	// Century

From 7b9cc2332eb70a1ca3d8db25ecc65e4e8a0968ba Mon Sep 17 00:00:00 2001
From: Thomas Harte <thomas.harte@gmail.com>
Date: Sun, 10 Dec 2023 22:44:24 -0500
Subject: [PATCH 2/2] Extend amount of time it takes keyboard to reset.

---
 Machines/PCCompatible/PCCompatible.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Machines/PCCompatible/PCCompatible.cpp b/Machines/PCCompatible/PCCompatible.cpp
index fa2c5221d..76db9c97a 100644
--- a/Machines/PCCompatible/PCCompatible.cpp
+++ b/Machines/PCCompatible/PCCompatible.cpp
@@ -430,7 +430,7 @@ class KeyboardController {
 					pic_.apply_edge<1>(false);
 					[[fallthrough]];
 				case Mode::Reset:
-					reset_delay_ = 5;	// Arbitrarily.
+					reset_delay_ = 15;	// Arbitrarily.
 				break;
 			}
 		}