Beispiel #1
0
        public Display(IBus bus, IConsoleOutput consoleOutput) : base(8 * 1024)
        {
            _bus           = bus;
            _consoleOutput = consoleOutput;

            _consoleOutput.SetPalette(new uint[]
            {
                0x0fbc9b,
                0x0fac8b,
                0x306230,
                0x0f380f,
                0xffffff,
                0xb0b0b0,
                0x808080,
                0x404040,
                0x000000,
                0xff0000,
                0x00ff00,
                0x0000ff,
                0xffff00,
                0xff00ff,
                0x00ffff,
                0xff0088,
            });

            DisplayControl = new DisplayControl();
        }