From 0f22ee5de49c68b6afa47cfeb20eb6deddec4f25 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 7 Dec 2023 10:08:43 -0500 Subject: [PATCH] Add TODO. --- Machines/PCCompatible/RTC.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Machines/PCCompatible/RTC.hpp b/Machines/PCCompatible/RTC.hpp index e5286286c..819df78cb 100644 --- a/Machines/PCCompatible/RTC.hpp +++ b/Machines/PCCompatible/RTC.hpp @@ -47,7 +47,8 @@ class RTC { return bcd(time_date->tm_hour); } return -// ((time_date->tm_hour > 12) ? 0x80 : 0x00) | + // TODO: determine why GLaTICK signals an RTC fault if I enable communication of PM as below. +// ((time_date->tm_hour >= 12) ? 0x80 : 0x00) | bcd(1 + (time_date->tm_hour + 11)%12); break; case 0x05: return 0; // Hours alarm