/kernel/trunk/hid/mousedrv.inc |
---|
42,11 → 42,6 |
cmp [set_hw_cursor], 0 |
jz @F |
pushad |
movzx eax,word [0xfb4a] |
movzx ebx,word [0xfb4c] |
stdcall [hw_restore], eax, ebx |
popad |
ret |
@@: |
pushad |
88,23 → 83,13 |
cmp [set_hw_cursor], 0 |
jz @F |
pushad |
mov [0xfb4a],ax |
mov [0xfb4c],bx |
movzx eax,word [0xfb0c] |
movzx ebx,word [0xfb0a] |
movzx ebx,word [0xfb0c] |
movzx eax,word [0xfb0a] |
push ebx |
push eax |
push ebx |
mov ecx, [0xfe00] |
inc ecx |
mul ecx |
movzx edx, byte [display_data+ebx+eax] |
shl edx, 8 |
push [edx+PROC_BASE+APPDATA.cursor] |
call [set_hw_cursor] |
popad |
ret |
@@: |
pushad |