Exemple #1
0
 /// <summary>
 /// Resets this device
 /// </summary>
 public void Reset()
 {
     _frameBegins = HostVm.Cpu.Tacts;
     LastEarBit   = false;
     FrameCount   = 0;
     Overflow     = 0;
     _useTapeMode = false;
     _beeperProvider?.Reset();
     InitializeSampling();
 }
Exemple #2
0
 /// <summary>
 /// Resets this device
 /// </summary>
 public void Reset()
 {
     Pulses.Clear();
     LastPulseTact = 0;
     LastEarBit    = true;
     FrameCount    = 0;
     _frameBegins  = 0;
     _useTapeMode  = false;
     _beeperProvider?.Reset();
 }