Rev 7474 | Rev 9679 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7474 | Rev 8869 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2011-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2011-2015. 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: 7474 $ |
8 | $Revision: 8869 $ |
9 | 9 | ||
10 | 10 | ||
Line 314... | Line 314... | ||
314 | cmp [_display.bits_per_pixel], 32 |
314 | cmp [_display.bits_per_pixel], 32 |
315 | jne .core_24 |
315 | jne .core_24 |
Line 316... | Line 316... | ||
316 | 316 | ||
Line 317... | Line 317... | ||
317 | lea edi, [edi+ebx*4] |
317 | lea edi, [edi+ebx*4] |
318 | 318 | ||
319 | mov ebx, [CURRENT_TASK] |
319 | mov ebx, [current_slot_idx] |
320 | ; check for hardware cursor |
320 | ; check for hardware cursor |
321 | cmp [_display.select_cursor], select_cursor |
321 | cmp [_display.select_cursor], select_cursor |
322 | je .core_32.software_cursor |
322 | je .core_32.software_cursor |
Line 408... | Line 408... | ||
408 | cmp [_display.bits_per_pixel], 24 |
408 | cmp [_display.bits_per_pixel], 24 |
409 | jne .core_16 |
409 | jne .core_16 |
Line 410... | Line 410... | ||
410 | 410 | ||
411 | lea ebx, [ebx+ebx*2] |
411 | lea ebx, [ebx+ebx*2] |
412 | lea edi, [LFB_BASE+edi+ebx] |
412 | lea edi, [LFB_BASE+edi+ebx] |
Line 413... | Line 413... | ||
413 | mov ebx, [CURRENT_TASK] |
413 | mov ebx, [current_slot_idx] |
414 | 414 | ||
415 | align 4 |
415 | align 4 |
416 | .outer24: |
416 | .outer24: |
Line 473... | Line 473... | ||
473 | jmp .done |
473 | jmp .done |
Line 474... | Line 474... | ||
474 | 474 | ||
475 | 475 | ||
476 | .core_16: |
476 | .core_16: |
Line 477... | Line 477... | ||
477 | lea edi, [LFB_BASE+edi+ebx*2] |
477 | lea edi, [LFB_BASE+edi+ebx*2] |
478 | mov ebx, [CURRENT_TASK] |
478 | mov ebx, [current_slot_idx] |
479 | 479 |