Subversion Repositories Kolibri OS

Rev

Rev 120 | Rev 221 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 120 Rev 214
Line 37... Line 37...
37
;        ret
37
;        ret
38
;process_test_m79 db 'K : Process - test Mario79 error    00000000',13,10,0
38
;process_test_m79 db 'K : Process - test Mario79 error    00000000',13,10,0
Line 39... Line 39...
39
 
39
 
40
draw_mouse_under:
40
draw_mouse_under:
-
 
41
        ; return old picture
-
 
42
 
-
 
43
        cmp [set_hw_cursor], 0
-
 
44
        jz @F 
-
 
45
        ret
41
        ; return old picture
46
@@:
42
        pushad
47
        pushad
43
        xor    ecx,ecx
48
        xor    ecx,ecx
44
        xor    edx,edx
49
        xor    edx,edx
45
        align  4
50
        align  4
Line 73... Line 78...
73
        jnz    mres
78
        jnz    mres
74
        popad
79
        popad
75
        ret
80
        ret
Line 76... Line 81...
76
 
81
 
-
 
82
save_draw_mouse:
-
 
83
 
-
 
84
        cmp [set_hw_cursor], 0
-
 
85
        jz @F
-
 
86
        mov    [0xfb4a],ax
-
 
87
        mov    [0xfb4c],bx
-
 
88
        movzx  ebx,word [0xfb0c]
-
 
89
        movzx  eax,word [0xfb0a]
-
 
90
        push ebx
-
 
91
        push eax
-
 
92
        call [set_hw_cursor]
-
 
93
        ret
77
save_draw_mouse:
94
@@:
78
        pushad
95
        pushad
79
        ; save & draw
96
        ; save & draw
80
        mov    [0xfb4a],ax
97
        mov    [0xfb4a],ax
81
        mov    [0xfb4c],bx
98
        mov    [0xfb4c],bx