forked from KolibriOS/kolibrios
fixed ATI cursor clipping
2,4,8,24 bpp cursors delete_cursor implemented git-svn-id: svn://kolibrios.org@233 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -918,15 +918,15 @@ reserve_irqs_ports:
|
||||
mov [0x2d0000+edi+0],dword 1
|
||||
mov [0x2d0000+edi+4],dword 0x0
|
||||
mov [0x2d0000+edi+8],dword 0xdf
|
||||
|
||||
|
||||
inc dword [0x2d0000] ; 0xe5-0xff
|
||||
mov edi,[0x2d0000]
|
||||
shl edi,4
|
||||
mov [0x2d0000+edi+0],dword 1
|
||||
mov [0x2d0000+edi+4],dword 0xe5
|
||||
mov [0x2d0000+edi+8],dword 0xff
|
||||
|
||||
|
||||
|
||||
|
||||
; cmp [0xf604],byte 2 ; com1 mouse -> 0x3f0-0x3ff
|
||||
; jne ripl1
|
||||
; inc dword [0x2d0000]
|
||||
@@ -1730,7 +1730,7 @@ align 4
|
||||
mousefn dd msscreen, mswin, msbutton, msset
|
||||
dd app_load_cursor
|
||||
dd app_set_cursor
|
||||
dd msset ;app_delete_cursor
|
||||
dd app_delete_cursor
|
||||
|
||||
readmousepos:
|
||||
|
||||
@@ -1789,6 +1789,10 @@ app_set_cursor:
|
||||
mov [esp+36], eax
|
||||
ret
|
||||
|
||||
app_delete_cursor:
|
||||
stdcall delete_cursor, ebx
|
||||
mov [esp+36], eax
|
||||
ret
|
||||
|
||||
is_input:
|
||||
|
||||
@@ -1799,7 +1803,6 @@ is_input:
|
||||
pop edx
|
||||
ret
|
||||
|
||||
|
||||
is_output:
|
||||
|
||||
push edx
|
||||
|
Reference in New Issue
Block a user