Inheritance: System.EventArgs
Esempio n. 1
0
 void PicDeviceInterrupt(object sender, InterruptEventArgs e)
 {
     if (CPU.IF)
     {
         uint currentAddr = (uint)(CPU.GetSelectorBase(x86Disasm.SegmentRegister.CS) + CPU.EIP);
         picDevice.AckInterrupt(e.IRQ);
         CPU.ExecuteInterrupt(e.Vector);
         if (isStepping)
         {
             tempBreakpoints.Add(currentAddr, currentAddr);
             Running = true;
         }
     }
 }
Esempio n. 2
0
 void PicDeviceInterrupt(object sender, InterruptEventArgs e)
 {
     if (CPU.IF)
     {
         uint currentAddr = (uint)(CPU.GetSelectorBase(x86Disasm.SegmentRegister.CS) + CPU.EIP);
         picDevice.AckInterrupt(e.IRQ);
         CPU.ExecuteInterrupt(e.Vector);
         if (isStepping)
         {
             tempBreakpoints.Add(currentAddr, currentAddr);
             Running = true;
         }
     }
 }