public static void Init() { var screen = new VGAScreen(); screen.SetGraphicsMode(VGAScreen.ScreenSize.Size320x200, VGAScreen.ColorDepth.BitDepth8); screen.Clear(0); SetPixel(100, 100, 255); ReDraw(screen); }
public static void Init() { var screen = new VGAScreen(); screen.SetGraphicsMode(VGAScreen.ScreenSize.Size320x200, VGAScreen.ColorDepth.BitDepth8); screen.Clear(0); SetPixel(100, 100, 255); //ReDraw(screen); m.Initialize(320, 200); screen.SetPixel((uint)m.X, (uint)m.Y, 40); screen.SetPixel((uint)m.X + 1, (uint)m.Y, 40); screen.SetPixel((uint)m.X + 2, (uint)m.Y, 40); screen.SetPixel((uint)m.X, (uint)m.Y + 1, 40); screen.SetPixel((uint)m.X, (uint)m.Y + 2, 40); screen.SetPixel((uint)m.X + 1, (uint)m.Y + 1, 40); screen.SetPixel((uint)m.X + 2, (uint)m.Y + 2, 40); screen.SetPixel((uint)m.X + 3, (uint)m.Y + 3, 40); //Screen.DrawFilledRectangle(0, 0, 320, 25, 50); }