public CRTDevice(CPCBase machine)
        {
            _machine    = machine;
            CurrentLine = new ScanLine(this);

            CRCT.AttachHSYNCCallback(OnHSYNC);
            CRCT.AttachVSYNCCallback(OnVSYNC);
        }
Beispiel #2
0
        public AmstradGateArray(CPCBase machine, GateArrayType chipType)
        {
            _machine = machine;
            ChipType = chipType;
            //PenColours = new int[17];
            borderType = _machine.CPC.SyncSettings.BorderType;
            SetupScreenSize();
            //Reset();

            CRCT.AttachHSYNCCallback(OnHSYNC);
            CRCT.AttachVSYNCCallback(OnVSYNC);

            CurrentLine = new CharacterLine();
            InitByteLookup();
            CalculateNextScreenMemory();
        }