public void Reset()
        {
            CtrlLock = false;

            DMAEnabled = false;
            ColorKill  = false;
            CWidth     = false;
            BCntl      = false;
            Kangaroo   = false;
            RM         = 0;

            TIASound.Reset();

            Log($"{this} reset");
        }
Beispiel #2
0
        public void Reset()
        {
            for (var i = 0; i < RegW.Length; i++)
            {
                RegW[i] = 0;
            }
            vblankon          = scoreon = pfpriority = false;
            m0on              = m1on = blon = false;
            colubk            = colupf = colup0 = colup1 = 0;
            PFReflectionState = 0;

            StartClock      = Clock;
            HSync           = -1;
            P0              = P1 = M0 = M1 = BL = -1;
            P0mmr           = P1mmr = M0mmr = M1mmr = BLmmr = false;
            StartHMOVEClock = ulong.MaxValue;
            HMoveCounter    = -1;

            FrameBufferIndex = 0;

            TIASound.Reset();

            Log("{0} reset", this);
        }