Subversion Repositories Kolibri OS

Rev

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

Rev 2439 Rev 2465
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2012. 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: 2439 $
8
$Revision: 2465 $
9
 
9
 
10
 
10
 
Line 590... Line 590...
590
           endl
590
           endl
Line 591... Line 591...
591
 
591
 
592
        mov     esi, [hcursor]
592
        mov     esi, [hcursor]
593
        mov     ecx, [x]
593
        mov     ecx, [x]
594
        mov     eax, [y]
594
        mov     eax, [y]
Line 595... Line 595...
595
        mov     ebx, [BytesPerScanLine]
595
;        mov     ebx, [BytesPerScanLine]
596
 
596
 
597
        xor     edx, edx
597
        xor     edx, edx
598
        sub     ecx, [esi+CURSOR.hot_x]
598
        sub     ecx, [esi+CURSOR.hot_x]
Line 616... Line 616...
616
        mov     [cur.top], eax
616
        mov     [cur.top], eax
617
        mov     edx, eax
617
        mov     edx, eax
618
        sub     edx, [y]
618
        sub     edx, [y]
619
        mov     [_dy], edx
619
        mov     [_dy], edx
Line 620... Line 620...
620
 
620
 
-
 
621
;        mul     dword [BytesPerScanLine]
-
 
622
        mov     eax, [d_width_calc_area + eax*4]
-
 
623
        lea     eax, [eax + eax*2]
621
        mul     dword [BytesPerScanLine]
624
 
622
        lea     edx, [LFB_BASE+ecx*3]
625
        lea     edx, [LFB_BASE+ecx*3]
623
        add     edx, eax
626
        add     edx, eax
Line 624... Line 627...
624
        mov     [cur_saved_base], edx
627
        mov     [cur_saved_base], edx
Line 732... Line 735...
732
        mov     [cur.top], eax
735
        mov     [cur.top], eax
733
        mov     edx, eax
736
        mov     edx, eax
734
        sub     edx, [y]
737
        sub     edx, [y]
735
        mov     [_dy], edx
738
        mov     [_dy], edx
Line 736... Line 739...
736
 
739
 
-
 
740
;        mul     dword [BytesPerScanLine]
-
 
741
        mov     eax, [d_width_calc_area + eax*4]
-
 
742
        shl     eax, 2
737
        mul     dword [BytesPerScanLine]
743
 
738
        lea     edx, [LFB_BASE+eax+ecx*4]
744
        lea     edx, [LFB_BASE+eax+ecx*4]
Line 739... Line 745...
739
        mov     [cur_saved_base], edx
745
        mov     [cur_saved_base], edx
740
 
746