Cosmos/source/Cosmos.Core/IOGroup/VBE.cs
2020-07-06 05:39:07 +02:00

33 lines
897 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cosmos.Core;
namespace Cosmos.Core.IOGroup
{
/// <summary>
/// VBE class.
/// </summary>
public class VBEIOGroup : IOGroup
{
/// <summary>
/// Index IOPort.
/// </summary>
public IOPort VbeIndex= new IOPort(0x01CE);
/// <summary>
/// Data IOPort.
/// </summary>
public IOPort VbeData = new IOPort(0x01CF);
/*
* This not a lot optimal as we are taking a lot of memory and then maybe the driver is configured to go at 320*240!
*/
/// <summary>
/// Frame buffer memory block.
/// </summary>
public MemoryBlock LinearFrameBuffer;
//public MemoryBlock LinearFrameBuffer = new MemoryBlock(0xE0000000, 1024 * 768 * 4);
}
}