/kernel/trunk/hid/mousedrv.inc |
---|
39,6 → 39,11 |
draw_mouse_under: |
; return old picture |
cmp [set_hw_cursor], 0 |
jz @F |
ret |
@@: |
pushad |
xor ecx,ecx |
xor edx,edx |
75,6 → 80,18 |
ret |
save_draw_mouse: |
cmp [set_hw_cursor], 0 |
jz @F |
mov [0xfb4a],ax |
mov [0xfb4c],bx |
movzx ebx,word [0xfb0c] |
movzx eax,word [0xfb0a] |
push ebx |
push eax |
call [set_hw_cursor] |
ret |
@@: |
pushad |
; save & draw |
mov [0xfb4a],ax |