Cosmos/source/Cosmos.Core/IOGroup/PCSpeaker.cs
2020-07-02 22:56:30 +03:00

31 lines
828 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cosmos.Core;
namespace Cosmos.Core.IOGroup
{
/// <summary>
/// PC Speaker.
/// </summary>
public class PCSpeaker : IOGroup
{
// IO Port 61, channel 2 gate
/// <summary>
/// Gate IO port.
/// </summary>
public readonly IOPort Gate = new IOPort(0x61);
// These two ports are shared with the PIT, so names are the same
// IO Port 43
/// <summary>
/// Command register IO port.
/// </summary>
public readonly IOPort CommandRegister = new IOPort(0x43);
// IO Port 42
/// <summary>
/// Channel to data IO port.
/// </summary>
public readonly IOPort Channel2Data = new IOPort(0x42);
}
}