/kernel/trunk/video/blitter.inc |
---|
1,6 → 1,6 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;; ;; |
;; Copyright (C) KolibriOS team 2011-2015. All rights reserved. ;; |
;; Copyright (C) KolibriOS team 2011-2022. All rights reserved. ;; |
;; Distributed under terms of the GNU General Public License ;; |
;; ;; |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
214,9 → 214,9 |
mov [esp+.flags], ebx |
mov eax, [current_slot_idx] |
shl eax, 5 ; sizeof.WDATA |
mov ebx, [eax + window_data + WDATA.box.width] |
mov edx, [eax + window_data + WDATA.box.height] |
shl eax, BSF sizeof.WDATA |
mov ebx, [window_data + eax + WDATA.box.width] |
mov edx, [window_data + eax + WDATA.box.height] |
inc ebx |
inc edx |
261,12 → 261,12 |
jc .L57 |
mov eax, [current_slot_idx] |
shl eax, 5 ; sizeof.WDATA |
shl eax, BSF sizeof.WDATA |
mov ebx, [esp+BLITTER.dst_x] |
mov ebp, [esp+BLITTER.dst_y] |
add ebx, [eax + window_data + WDATA.box.left] |
add ebp, [eax + window_data + WDATA.box.top] |
add ebx, [window_data + eax + WDATA.box.left] |
add ebp, [window_data + eax + WDATA.box.top] |
test [esp+.flags], BLIT_CLIENT_RELATIVE |
jz .no_client_relative |
/kernel/trunk/video/cursors.inc |
---|
1,6 → 1,6 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;; ;; |
;; Copyright (C) KolibriOS team 2004-2018. All rights reserved. ;; |
;; Copyright (C) KolibriOS team 2004-2022. All rights reserved. ;; |
;; Distributed under terms of the GNU General Public License ;; |
;; ;; |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
423,8 → 423,8 |
push edi |
mov eax, [current_slot_idx] |
shl eax, 8 |
mov eax, [eax + SLOT_BASE + APPDATA.tid] |
shl eax, BSF sizeof.APPDATA |
mov eax, [SLOT_BASE + eax + APPDATA.tid] |
mov ebx, [src] |
mov ecx, [flags] |
call create_cursor ;eax, ebx, ecx |
460,9 → 460,7 |
jne .fail |
mov ebx, [current_slot_idx] |
;shl ebx, 5 |
;mov ebx, [TASK_TABLE+ebx+4] |
shl ebx, 8 |
shl ebx, BSF sizeof.APPDATA |
mov ebx, [ebx + SLOT_BASE + APPDATA.tid] |
cmp ebx, [esi+CURSOR.pid] |
jne .fail |
/kernel/trunk/video/framebuffer.inc |
---|
1,6 → 1,6 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;; ;; |
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;; |
;; Copyright (C) KolibriOS team 2004-2022. All rights reserved. ;; |
;; Distributed under terms of the GNU General Public License ;; |
;; ;; |
;; Synhronization for MenuetOS. ;; |
/kernel/trunk/video/vesa12.inc |
---|
1,6 → 1,6 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;; ;; |
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
;; Copyright (C) KolibriOS team 2004-2022. All rights reserved. ;; |
;; Distributed under terms of the GNU General Public License ;; |
;; ;; |
;; VESA12.INC ;; |
/kernel/trunk/video/vesa20.inc |
---|
1,6 → 1,6 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;; ;; |
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
;; Copyright (C) KolibriOS team 2004-2022. All rights reserved. ;; |
;; Distributed under terms of the GNU General Public License ;; |
;; ;; |
;; VESA20.INC ;; |
189,9 → 189,8 |
mov [putimg.image_cx], eax |
mov [putimg.image_cy], edx |
; calculate absolute (i.e. screen) coordinates |
;mov eax, [TASK_BASE] |
mov eax, [current_slot_idx] |
shl eax, 5 ; sizeof.WDATA |
shl eax, BSF sizeof.WDATA |
mov ebx, [eax + window_data + WDATA.box.left] |
add ebx, [putimg.image_cx] |
mov [putimg.abs_cx], ebx |
1403,9 → 1402,8 |
mov [drbar.bar_sx], ecx |
mov [drbar.bar_cx], eax |
mov [drbar.bar_cy], ebx |
;mov edi, [TASK_BASE] |
mov edi, [current_slot_idx] |
shl edi, 5 ; sizeof.WDATA |
shl edi, BSF sizeof.WDATA |
add eax, [edi + window_data + WDATA.box.left] ; win_cx |
add ebx, [edi + window_data + WDATA.box.top] ; win_cy |
mov [drbar.abs_cx], eax |
/kernel/trunk/video/vga.inc |
---|
496,9 → 496,9 |
VGA_draw_bar_1: |
mov [temp.cx], eax |
mov eax, [current_slot_idx] |
shl eax, 5 |
add ebx, [eax+window_data+WDATA.box.top] |
mov eax, [eax+window_data+WDATA.box.left] |
shl eax, BSF sizeof.WDATA |
add ebx, [window_data + eax + WDATA.box.top] |
mov eax, [window_data + eax + WDATA.box.left] |
add eax, [temp.cx] |
and eax, 0xfff8 |
shl ebx, 9 |