Subversion Repositories Kolibri OS

Rev

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

Rev 346 Rev 379
Line 359... Line 359...
359
           mov [src], eax
359
           mov [src], eax
360
@@:
360
@@:
361
           mov eax, [CURRENT_TASK]
361
           mov eax, [CURRENT_TASK]
362
           shl eax, 5
362
           shl eax, 5
363
           mov eax, [0x3000+eax+4]
363
           mov eax, [CURRENT_TASK+eax+4]
364
           mov ebx, [src]
364
           mov ebx, [src]
365
           mov ecx, [flags]
365
           mov ecx, [flags]
366
           call [create_cursor]    ;eax, ebx, ecx
366
           call [create_cursor]    ;eax, ebx, ecx
367
           mov [handle], eax
367
           mov [handle], eax
368
.fail:
368
.fail:
369
           cmp word [flags], LOAD_FROM_FILE
369
           cmp word [flags], LOAD_FROM_FILE
Line 392... Line 392...
392
;           jne .fail
392
;           jne .fail
393
 
393
 
Line 394... Line 394...
394
           mov ebx, [CURRENT_TASK]
394
           mov ebx, [CURRENT_TASK]
395
           shl ebx, 5
395
           shl ebx, 5
396
           mov ebx, [0x3000+ebx+4]
396
           mov ebx, [CURRENT_TASK+ebx+4]
397
           cmp ebx, [esi+CURSOR.pid]
397
           cmp ebx, [esi+CURSOR.pid]
398
           jne .fail
398
           jne .fail
Line 399... Line 399...
399
 
399
 
400
           mov ebx, [CURRENT_TASK]
400
           mov ebx, [CURRENT_TASK]