From 5fde3b8d5d04a33958664e5e221b9e9d5eb41c7d Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 6 Dec 2023 22:56:09 -0500 Subject: [PATCH] Wire up a stub RTC plus appropriate option ROM. --- Machines/PCCompatible/PCCompatible.cpp | 24 ++++++++--- Machines/PCCompatible/RTC.hpp | 40 ++++++++++++++++++ Machines/Utility/ROMCatalogue.cpp | 3 ++ Machines/Utility/ROMCatalogue.hpp | 1 + .../Clock Signal.xcodeproj/project.pbxproj | 2 + ROMImages/PCCompatible/GLaTICK_0.8.5_AT.ROM | Bin 0 -> 2048 bytes ROMImages/PCCompatible/readme.txt | 7 ++- 7 files changed, 69 insertions(+), 8 deletions(-) create mode 100644 Machines/PCCompatible/RTC.hpp create mode 100644 ROMImages/PCCompatible/GLaTICK_0.8.5_AT.ROM diff --git a/Machines/PCCompatible/PCCompatible.cpp b/Machines/PCCompatible/PCCompatible.cpp index a0e57a8dd..ddb015126 100644 --- a/Machines/PCCompatible/PCCompatible.cpp +++ b/Machines/PCCompatible/PCCompatible.cpp @@ -15,6 +15,7 @@ #include "Memory.hpp" #include "PIC.hpp" #include "PIT.hpp" +#include "RTC.hpp" #include "../../InstructionSets/x86/Decoder.hpp" #include "../../InstructionSets/x86/Flags.hpp" @@ -601,8 +602,8 @@ using PPI = Intel::i8255::i8255; template class IO { public: - IO(PIT &pit, DMA &dma, PPI &ppi, PIC &pic, typename Adaptor