internal static Palette PaletteFromNumColors(int NumColors)
        {
            switch (NumColors)
            {
            case 16:
            default:
                return(ConstantData.PaletteC64());

            case 256:
                return(ConstantData.PaletteMega65());
            }
        }
        public static Palette PaletteFromMachine(MachineType Machine)
        {
            switch (Machine)
            {
            case MachineType.C64:
            case MachineType.C128:
            default:
                return(ConstantData.PaletteC64());

            case MachineType.MEGA65:
                return(ConstantData.PaletteMega65());

            case MachineType.VIC20:
                return(ConstantData.PaletteVIC20());
            }
        }