mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
Done TextScreen api docs
This commit is contained in:
parent
767937a1a1
commit
a396ff52c0
1 changed files with 27 additions and 0 deletions
|
|
@ -5,15 +5,42 @@ using System.Text;
|
||||||
using Cosmos.Core;
|
using Cosmos.Core;
|
||||||
|
|
||||||
namespace Cosmos.Core.IOGroup {
|
namespace Cosmos.Core.IOGroup {
|
||||||
|
/// <summary>
|
||||||
|
/// IOGroup text screen.
|
||||||
|
/// </summary>
|
||||||
public class TextScreen : IOGroup {
|
public class TextScreen : IOGroup {
|
||||||
|
/// <summary>
|
||||||
|
/// Memory.
|
||||||
|
/// </summary>
|
||||||
public readonly MemoryBlock Memory = new MemoryBlock(0xB8000, 80 * 25 * 2);
|
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
|
// These should probably move to a VGA class later, or this class should be remade into a VGA class
|
||||||
|
/// <summary>
|
||||||
|
/// Misc. output.
|
||||||
|
/// </summary>
|
||||||
public readonly IOPort MiscOutput = new IOPort(0x03C2);
|
public readonly IOPort MiscOutput = new IOPort(0x03C2);
|
||||||
|
/// <summary>
|
||||||
|
/// First IOPort index.
|
||||||
|
/// </summary>
|
||||||
public readonly IOPort Idx1 = new IOPort(0x03C4);
|
public readonly IOPort Idx1 = new IOPort(0x03C4);
|
||||||
|
/// <summary>
|
||||||
|
/// First IOPort data.
|
||||||
|
/// </summary>
|
||||||
public readonly IOPort Data1 = new IOPort(0x03C5);
|
public readonly IOPort Data1 = new IOPort(0x03C5);
|
||||||
|
/// <summary>
|
||||||
|
/// Second IOPort index.
|
||||||
|
/// </summary>
|
||||||
public readonly IOPort Idx2 = new IOPort(0x03CE);
|
public readonly IOPort Idx2 = new IOPort(0x03CE);
|
||||||
|
/// <summary>
|
||||||
|
/// Second IOPort data.
|
||||||
|
/// </summary>
|
||||||
public readonly IOPort Data2 = new IOPort(0x03CF);
|
public readonly IOPort Data2 = new IOPort(0x03CF);
|
||||||
|
/// <summary>
|
||||||
|
/// Third IOPort index.
|
||||||
|
/// </summary>
|
||||||
public readonly IOPort Idx3 = new IOPort(0x03D4);
|
public readonly IOPort Idx3 = new IOPort(0x03D4);
|
||||||
|
/// <summary>
|
||||||
|
/// Third IOPort data.
|
||||||
|
/// </summary>
|
||||||
public readonly IOPort Data3 = new IOPort(0x03D5);
|
public readonly IOPort Data3 = new IOPort(0x03D5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue