Example #1
0
 //Reset the computer
 public void Reset()
 {
     Clock.Stop();
     Clock.Halt = false;
     Bus.Reset();
     Flags.Reset();
     CL.Reset();
     ControlWord = CL.GetControlWord(true);
     if (Clock.ClockMode == ClockGenerator.ClockModes.Auto)
     {
         Clock.Start();
     }
 }
Example #2
0
 //At falling edge of clock cycle it will update the control word
 private void FallingEdge()
 {
     ControlWord = CL.GetControlWord();
 }