/kernel/trunk/video/vesa12.inc |
---|
398,9 → 398,6 |
push ebx |
push ecx |
push edx |
;mov ecx, [TASK_BASE] |
;add eax, [ecx-twdw+WDATA.box.left] |
;add ebx, [ecx-twdw+WDATA.box.top] |
mov ecx, [current_slot_idx] |
shl ecx, 5 |
add eax, [ecx + window_data + WDATA.box.left] |
769,9 → 766,6 |
push edx |
movzx eax, word [esp+2] |
movzx ebx, word [esp+0] |
;mov ecx, [TASK_BASE] |
;add eax, [ecx-twdw+WDATA.box.left] |
;add ebx, [ecx-twdw+WDATA.box.top] |
mov ecx, [current_slot_idx] |
shl ecx, 5 |
add eax, [ecx + window_data + WDATA.box.left] |
/kernel/trunk/video/vga.inc |
---|
495,9 → 495,6 |
align 4 |
VGA_draw_bar_1: |
mov [temp.cx], eax |
;mov eax, [TASK_BASE] |
;add ebx, [eax-twdw + 4] |
;mov eax, [eax-twdw + 0] |
mov eax, [current_slot_idx] |
shl eax, 5 |
add ebx, [eax+window_data+WDATA.box.top] |