Subversion Repositories Kolibri OS

Rev

Rev 996 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 996 Rev 2971
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2008. 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: 996 $
8
$Revision: 2971 $
9
 
9
 
10
 
10
 
Line 487... Line 487...
487
 
487
 
488
           mov ebx, [ScreenBPP]
488
           mov ebx, [ScreenBPP]
489
           cmp ebx, 32
489
           cmp ebx, 32
Line 490... Line -...
490
           jne @F
-
 
491
 
490
           jne @F
492
 
491
 
493
           mov dword [select_hw_cursor], select_cursor
492
           mov dword [select_hw_cursor], select_cursor
494
           mov dword [set_hw_cursor], cursor_32
493
           mov dword [set_hw_cursor], cursor_32
495
           mov dword [hw_restore], restore_32
494
           mov dword [hw_restore], restore_32
Line 640... Line 639...
640
           add ebx, [BytesPerScanLine]
639
           add ebx, [BytesPerScanLine]
641
.pix:
640
.pix:
642
           lodsd
641
           lodsd
643
           test eax, 0xFF000000
642
           test eax, 0xFF000000
644
           jz @F
643
           jz @F
645
 
-
 
646
           mov [edi], ax
644
           mov [edi], ax
647
           shr eax, 16
645
           shr eax, 16
648
           mov [edi+2], al
646
           mov [edi+2], al
649
@@:
647
@@:
650
           add edi, 3
648
           add edi, 3
Line 654... Line 652...
654
           dec [h]
652
           dec [h]
655
           jnz .row
653
           jnz .row
656
           ret
654
           ret
657
endp
655
endp
Line -... Line 656...
-
 
656
 
658
 
657
 
659
align 4
658
align 4
660
proc cursor_32 stdcall, hcursor:dword, x:dword, y:dword
659
proc cursor_32 stdcall, hcursor:dword, x:dword, y:dword
661
           locals
660
           locals
662
             h      dd ?
661
             h      dd ?
Line 754... Line 753...
754
           dec [h]
753
           dec [h]
755
           jnz .row
754
           jnz .row
756
           ret
755
           ret
757
endp
756
endp
Line -... Line 757...
-
 
757
 
758
 
758
 
759
align 4
759
align 4
760
def_arrow:
760
def_arrow: