Inheritance: System.EventArgs
示例#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;
         }
     }
 }
示例#2
0
文件: Machine.cs 项目: cryogen/VM86CS
 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;
         }
     }
 }