/kernel/trunk/video/blitter.inc |
---|
316,7 → 316,7 |
lea edi, [edi+ebx*4] |
mov ebx, [CURRENT_TASK] |
mov ebx, [current_slot_idx] |
; check for hardware cursor |
cmp [_display.select_cursor], select_cursor |
je .core_32.software_cursor |
410,7 → 410,7 |
lea ebx, [ebx+ebx*2] |
lea edi, [LFB_BASE+edi+ebx] |
mov ebx, [CURRENT_TASK] |
mov ebx, [current_slot_idx] |
align 4 |
.outer24: |
475,7 → 475,7 |
.core_16: |
lea edi, [LFB_BASE+edi+ebx*2] |
mov ebx, [CURRENT_TASK] |
mov ebx, [current_slot_idx] |
.outer16: |
mov [esp+.extra_var1], edi |
/kernel/trunk/video/cursors.inc |
---|
422,9 → 422,9 |
push esi |
push edi |
mov eax, [CURRENT_TASK] |
mov eax, [current_slot_idx] |
shl eax, 5 |
mov eax, [CURRENT_TASK+eax+4] |
mov eax, [TASK_TABLE+eax+4] |
mov ebx, [src] |
mov ecx, [flags] |
call create_cursor ;eax, ebx, ecx |
459,9 → 459,9 |
cmp [esi+CURSOR.magic], 'CURS' |
jne .fail |
mov ebx, [CURRENT_TASK] |
mov ebx, [current_slot_idx] |
shl ebx, 5 |
mov ebx, [CURRENT_TASK+ebx+4] |
mov ebx, [TASK_TABLE+ebx+4] |
cmp ebx, [esi+CURSOR.pid] |
jne .fail |
/kernel/trunk/video/vesa20.inc |
---|
272,7 → 272,7 |
mov [putimg.real_sy_and_abs_cy], ecx |
; get process number |
mov ebx, [CURRENT_TASK] |
mov ebx, [current_slot_idx] |
cmp byte [_display.bits_per_pixel], 16 |
je put_image_end_16 |
886,7 → 886,7 |
mov edx, [d_width_calc_area + ebx*4] |
add edx, [_display.win_map] |
movzx edx, byte [eax+edx] |
cmp edx, [CURRENT_TASK] |
cmp edx, [current_slot_idx] |
jne .exit |
.forced: |
1477,7 → 1477,7 |
add edx, LFB_BASE |
; get process number |
mov ebx, [CURRENT_TASK] ; bl - process num |
mov ebx, [current_slot_idx] ; bl - process num |
mov esi, [drbar.real_sy] |
mov eax, [drbar.color] ; BBGGRR00 |
rol eax, 8 |