private void HandleIRQ(ref Core.INTs.IRQContext aContext) { byte xScanCode = IO.Port60.Byte; bool xReleased = (xScanCode & 0x80) == 0x80; if (xReleased) { xScanCode = (byte)(xScanCode ^ 0x80); } HandleScancode(xScanCode, xReleased); }
public void HandleIRQ(ref Core.INTs.IRQContext aContext) { if (mHandleKeyboardKey != null) { byte xScanCode = IO.Port60.Byte; bool xReleased = (xScanCode & 0x80) == 0x80; if (xReleased) { xScanCode = (byte)(xScanCode ^ 0x80); } mHandleKeyboardKey(xScanCode, xReleased); } }