Subversion Repositories Kolibri OS

Rev

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

Rev 7136 Rev 7510
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2018. 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: 7136 $
8
$Revision: 7510 $
9
 
9
 
10
 
10
 
Line 999... Line 999...
999
        je      @f
999
        je      @f
1000
        sub     eax, ebx
1000
        sub     eax, ebx
1001
        cmp     byte [_display.bits_per_pixel], 24
1001
        cmp     byte [_display.bits_per_pixel], 24
1002
        je      @f
1002
        je      @f
1003
        sub     eax, ebx
1003
        sub     eax, ebx
-
 
1004
        add     eax, cur_saved_data
-
 
1005
        mov     ecx, [eax]
-
 
1006
        shl     ecx, 3
-
 
1007
        ror     ecx, 8
-
 
1008
        shl     cx, 2
-
 
1009
        ror     ecx, 8
-
 
1010
        shl     cl, 3
-
 
1011
        rol     ecx, 16
-
 
1012
        or      ecx, 0xff000000
-
 
1013
        pop     ebx eax
-
 
1014
        ret
-
 
1015
 
1004
;--------------------------------------
1016
;--------------------------------------
1005
align 4
1017
align 4
1006
@@:
1018
@@:
1007
        add     eax, cur_saved_data
1019
        add     eax, cur_saved_data
1008
        mov     ecx, [eax]
1020
        mov     ecx, [eax]
1009
        and     ecx, 0xffffff
-
 
1010
        add     ecx, 0xff000000
1021
        or      ecx, 0xff000000
1011
        pop     ebx eax
1022
        pop     ebx eax
1012
        ret
1023
        ret
1013
;--------------------------------------
1024
;--------------------------------------
1014
align 4
1025
align 4
1015
.no_mouse_area:
1026
.no_mouse_area: