EightBitNet/LR35902/DisplayCharacteristics.cs
Adrian Conlon fc84e05839 Turn the AbstractColourPalette into a templated class, so I can use Monogame "Color" type later on.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-28 23:43:22 +01:00

20 lines
612 B
C#

// <copyright file="DisplayCharacteristics.cs" company="Adrian Conlon">
// Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
namespace EightBit.GameBoy
{
public static class DisplayCharacteristics
{
public const int BufferWidth = 256;
public const int BufferHeight = 256;
public const int BufferCharacterWidth = BufferWidth / 8;
public const int BufferCharacterHeight = BufferHeight / 8;
public const int RasterWidth = 160;
public const int RasterHeight = 144;
public const int PixelCount = RasterWidth * RasterHeight;
}
}