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
;;  VESA12.INC                                                  ;;
6
;;  VESA12.INC                                                  ;;
7
;;                                                              ;;
7
;;                                                              ;;
8
;;  Vesa 1.2 functions for MenuetOS                             ;;
8
;;  Vesa 1.2 functions for MenuetOS                             ;;
Line 13... Line 13...
13
;;                                                              ;;
13
;;                                                              ;;
14
;;  See file COPYING for details                                ;;
14
;;  See file COPYING for details                                ;;
15
;;                                                              ;;
15
;;                                                              ;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 17... Line 17...
17
 
17
 
Line 18... Line 18...
18
$Revision: 996 $
18
$Revision: 2971 $
19
 
19
 
20
 
20
 
Line 882... Line 882...
882
 
882
 
883
    add  edi,[BytesPerScanLine]
883
    add  edi,[BytesPerScanLine]
884
    add  esi,[esp+32]
884
    add  esi,[esp+32]
885
    cmp  ebp,putimage_get1bpp
885
    cmp  ebp,putimage_get1bpp
-
 
886
    jz   .correct
-
 
887
    cmp  ebp,putimage_get2bpp
886
    jz   .correct
888
    jz   .correct
887
    cmp  ebp,putimage_get4bpp
889
    cmp  ebp,putimage_get4bpp
888
    jnz  @f
890
    jnz  @f
889
.correct:
891
.correct:
890
    mov  eax,[esp+20]
892
    mov  eax,[esp+20]
Line 955... Line 957...
955
     pop  edi
957
     pop  edi
Line 956... Line 958...
956
 
958
 
957
    add   edi,[BytesPerScanLine]
959
    add   edi,[BytesPerScanLine]
958
    cmp   ebp,putimage_get1bpp
960
    cmp   ebp,putimage_get1bpp
-
 
961
    jz    .correct
-
 
962
    cmp   ebp,putimage_get2bpp
959
    jz    .correct
963
    jz    .correct
960
    cmp   ebp,putimage_get4bpp
964
    cmp   ebp,putimage_get4bpp
961
    jnz   @f
965
    jnz   @f
962
.correct:
966
.correct:
963
    mov   eax,[esp+20]
967
    mov   eax,[esp+20]