Subversion Repositories Kolibri OS

Rev

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

Rev 2455 Rev 2473
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 2455 $
8
$Revision: 2473 $
9
 
9
 
10
 
10
 
Line 351... Line 351...
351
        mov     [edi+CURSOR.hot_x], ecx
351
        mov     [edi+CURSOR.hot_x], ecx
352
        mov     [edi+CURSOR.hot_y], edx
352
        mov     [edi+CURSOR.hot_y], edx
Line 353... Line 353...
353
 
353
 
Line -... Line 354...
-
 
354
        stdcall init_cursor, eax, esi
-
 
355
 
354
        stdcall init_cursor, eax, esi
356
align 4
355
 
357
.add_cursor:
356
        mov     ecx, [.hcursor]
358
        mov     ecx, [.hcursor]
Line 357... Line 359...
357
        lea     ecx, [ecx+CURSOR.list_next]
359
        lea     ecx, [ecx+CURSOR.list_next]
358
        lea     edx, [_display.cr_list.next]
360
        lea     edx, [_display.cr_list.next]
359
 
361
 
360
        pushfd
362
        pushfd
Line 361... Line 363...
361
        cli
363
        cli
362
        list_add ecx, edx   ;list_add_tail(new, head)
-
 
363
        popfd
-
 
364
 
-
 
365
        mov     eax, [.hcursor]
364
        list_add ecx, edx   ;list_add_tail(new, head)
366
;--------------------------------------
365
        popfd
Line 367... Line 366...
367
align 4
366
 
368
.check_hw:
367
        mov     eax, [.hcursor]
Line 390... Line 389...
390
 
389
 
391
        xchg    edi, eax
390
        xchg    edi, eax
392
        mov     ecx, 1024
391
        mov     ecx, 1024
393
        cld
392
        cld
394
        rep movsd
393
        rep movsd
395
        jmp     .check_hw
394
        jmp     .add_cursor
396
;------------------------------------------------------------------------------
395
;------------------------------------------------------------------------------
397
align 4
396
align 4
398
proc load_cursor stdcall, src:dword, flags:dword
397
proc load_cursor stdcall, src:dword, flags:dword
399
           locals
398
           locals