Пример #1
0
        public void SoftReset()
        {
            Control = new ControlRegisterValues(0);
            Mask    = new MaskRegisterValues(0);
            Status  = new StatusRegisterValues(0);

            isFrameOdd = false;

            Memory.SoftReset();
        }
Пример #2
0
        public void HardReset()
        {
            Control = new ControlRegisterValues(0);
            Mask    = new MaskRegisterValues(0);
            Status  = new StatusRegisterValues(0);

            FastBits.Clear(ImageBuffer);

            isFrameOdd      = false;
            CurrentScanline = 0;
            CurrentDot      = 0;

            Memory.HardReset();
        }