SVN r4461

Implement mouse driver function 0x26, fixes Alive - Behind the Moon.
This commit is contained in:
Allofich 2021-08-17 17:25:20 +09:00
parent eacb92f549
commit 7183c06152

View File

@ -1449,6 +1449,10 @@ static Bitu INT33_Handler(void) {
}
DrawCursor();
break;
case 0x27: /* Get Screen/Cursor Masks and Mickey Counts */
reg_ax = mouse.textAndMask;
reg_bx = mouse.textXorMask;
/* FALLTHROUGH */
case 0x0b: /* Read Motion Data */
{
const auto locked = MOUSE_IsLocked();