public PalettedTextScreenMode(VduSystem vdu, byte bitsPerPixel, int textWidth, int textHeight) :
     base(vdu, textWidth, textHeight, bitsPerPixel)
 {
     SetConsoleSize();
     palette = new Palette(bitsPerPixel);
 }
 public PalettedGraphicsScreenMode(VduSystem vdu, byte bitsPerPixel, int textWidth, int textHeight, int pixelWidth, int pixelHeight, int unitsWidth, int unitsHeight)
     : base(vdu, textWidth, textHeight, pixelWidth, pixelHeight, unitsWidth, unitsHeight, bitsPerPixel)
 {
     palette = new Palette(bitsPerPixel);
     indexedBitmap = new Bitmap(SquarePixelWidth, SquarePixelHeight, PixelFormat.Format8bppIndexed);
 }