Subversion Repositories Kolibri OS

Rev

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

Rev 9692 Rev 9715
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2018. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2022. 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: 9692 $
8
$Revision: 9715 $
9
 
9
 
10
 
10
 
Line 421... Line 421...
421
        push    ebx
421
        push    ebx
422
        push    esi
422
        push    esi
423
        push    edi
423
        push    edi
Line 424... Line 424...
424
 
424
 
425
        mov     eax, [current_slot_idx]
425
        mov     eax, [current_slot_idx]
426
        shl     eax, 8
426
        shl     eax, BSF sizeof.APPDATA
427
        mov     eax, [eax + SLOT_BASE + APPDATA.tid]
427
        mov     eax, [SLOT_BASE + eax + APPDATA.tid]
428
        mov     ebx, [src]
428
        mov     ebx, [src]
429
        mov     ecx, [flags]
429
        mov     ecx, [flags]
430
        call    create_cursor    ;eax, ebx, ecx
430
        call    create_cursor    ;eax, ebx, ecx
Line 458... Line 458...
458
 
458
 
459
        cmp     [esi+CURSOR.magic], 'CURS'
459
        cmp     [esi + CURSOR.magic], 'CURS'
Line 460... Line 460...
460
        jne     .fail
460
        jne     .fail
461
 
-
 
462
        mov     ebx, [current_slot_idx]
461
 
463
        ;shl     ebx, 5
-
 
464
        ;mov     ebx, [TASK_TABLE+ebx+4]
462
        mov     ebx, [current_slot_idx]
465
        shl     ebx, 8
463
        shl     ebx, BSF sizeof.APPDATA
466
        mov     ebx, [ebx + SLOT_BASE + APPDATA.tid]
464
        mov     ebx, [ebx + SLOT_BASE + APPDATA.tid]
Line 467... Line 465...
467
        cmp     ebx, [esi+CURSOR.pid]
465
        cmp     ebx, [esi+CURSOR.pid]