From a396ff52c05ea5904fa2f089ccbdcc019955c638 Mon Sep 17 00:00:00 2001 From: Elia Sulimanov Date: Fri, 3 Jul 2020 14:41:27 +0300 Subject: [PATCH] Done TextScreen api docs --- source/Cosmos.Core/IOGroup/TextScreen.cs | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/source/Cosmos.Core/IOGroup/TextScreen.cs b/source/Cosmos.Core/IOGroup/TextScreen.cs index 2cb044903..0f67b4a4a 100644 --- a/source/Cosmos.Core/IOGroup/TextScreen.cs +++ b/source/Cosmos.Core/IOGroup/TextScreen.cs @@ -5,15 +5,42 @@ using System.Text; using Cosmos.Core; namespace Cosmos.Core.IOGroup { + /// + /// IOGroup text screen. + /// public class TextScreen : IOGroup { + /// + /// Memory. + /// public readonly MemoryBlock Memory = new MemoryBlock(0xB8000, 80 * 25 * 2); // These should probably move to a VGA class later, or this class should be remade into a VGA class + /// + /// Misc. output. + /// public readonly IOPort MiscOutput = new IOPort(0x03C2); + /// + /// First IOPort index. + /// public readonly IOPort Idx1 = new IOPort(0x03C4); + /// + /// First IOPort data. + /// public readonly IOPort Data1 = new IOPort(0x03C5); + /// + /// Second IOPort index. + /// public readonly IOPort Idx2 = new IOPort(0x03CE); + /// + /// Second IOPort data. + /// public readonly IOPort Data2 = new IOPort(0x03CF); + /// + /// Third IOPort index. + /// public readonly IOPort Idx3 = new IOPort(0x03D4); + /// + /// Third IOPort data. + /// public readonly IOPort Data3 = new IOPort(0x03D5); } }