Rev 8869 | Rev 9692 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8869 | Rev 9679 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2018. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2018. 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: 8869 $ |
8 | $Revision: 9679 $ |
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, 5 |
426 | ;shl eax, 5 |
- | 427 | ;mov eax, [TASK_TABLE+eax+TASKDATA.pid] |
|
- | 428 | shl eax, 8 |
|
427 | mov eax, [TASK_TABLE+eax+4] |
429 | mov eax, [eax + SLOT_BASE + APPDATA.tid] |
428 | mov ebx, [src] |
430 | mov ebx, [src] |
429 | mov ecx, [flags] |
431 | mov ecx, [flags] |
430 | call create_cursor ;eax, ebx, ecx |
432 | call create_cursor ;eax, ebx, ecx |
Line 458... | Line 460... | ||
458 | 460 | ||
459 | cmp [esi+CURSOR.magic], 'CURS' |
461 | cmp [esi+CURSOR.magic], 'CURS' |
Line 460... | Line 462... | ||
460 | jne .fail |
462 | jne .fail |
461 | 463 | ||
462 | mov ebx, [current_slot_idx] |
464 | mov ebx, [current_slot_idx] |
- | 465 | ;shl ebx, 5 |
|
- | 466 | ;mov ebx, [TASK_TABLE+ebx+4] |
|
463 | shl ebx, 5 |
467 | shl ebx, 8 |
464 | mov ebx, [TASK_TABLE+ebx+4] |
468 | mov ebx, [ebx + SLOT_BASE + APPDATA.tid] |
Line 465... | Line 469... | ||
465 | cmp ebx, [esi+CURSOR.pid] |
469 | cmp ebx, [esi+CURSOR.pid] |
466 | jne .fail |
470 | jne .fail |