public void Reset()
        {
            TestContext.WriteLine("SecurityPic, reset");

            securityPic.reset();
            Assert.That(securityPic.lastByteWrite, Is.EqualTo(0xFF));
        }
Exemple #2
0
 public void reset()
 {
     Debug.Print("RESET_ASIC");
     periodicIRQTimerEnabled = true;
     romBank = 0;
     diagnosticLedToggleCount = 0;
     oldDiagnostigLedState    = 0;
     _firqSourceDmd           = false;
     irqCountGI           = 0;
     zeroCrossFlag        = 0;
     ticksZeroCross       = 0;
     memoryProtectionMask = null;
     if (hardwareHasSecurityPic)
     {
         securityPic.reset();
     }
     midnightMadnessMode    = new DateTimeOffset(DateTime.Now).ToUnixTimeMilliseconds();
     midnightModeEnabled    = false;
     blankSignalHigh        = true;
     watchdogTicks          = Timing.WATCHDOG_ARMED_FOR_TICKS;
     watchdogExpiredCounter = 0;
 }