상속: 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;
         }
     }
 }