Subversion Repositories Kolibri OS

Rev

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

Rev 946 Rev 947
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. 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: 946 $
8
$Revision: 947 $
9
 
9
 
10
struc VBE_VGAInfo {
10
struc VBE_VGAInfo {
11
  .VESASignature          dd ?    ; char
11
  .VESASignature          dd ?    ; char
Line 213... Line 213...
213
        test    [es:mi.ModeAttributes],00010000b   ;picture ?
213
        test    [es:mi.ModeAttributes],00010000b   ;picture ?
214
        jz      @f
214
        jz      @f
215
        test    [es:mi.ModeAttributes],10000000b   ;LFB ?
215
        test    [es:mi.ModeAttributes],10000000b   ;LFB ?
216
        jz      @f
216
        jz      @f
Line 217... Line 217...
217
 
217
 
218
;        cmp     [es:mi.BitsPerPixel], 24
218
        cmp     [es:mi.BitsPerPixel], 24	;It show only videomodes to have support 24 and 32 bpp
Line 219... Line 219...
219
;        jb      @f
219
        jb      @f
220
 
220
 
221
        cmp     [es:mi.BitsPerPixel],16
221
;        cmp     [es:mi.BitsPerPixel],16
222
        jne     .l0
222
;        jne     .l0
223
        cmp     [es:mi.GreenMaskSize],5
223
;        cmp     [es:mi.GreenMaskSize],5
Line 224... Line 224...
224
        jne     .l0
224
;        jne     .l0
225
        mov     [es:mi.BitsPerPixel],15
225
;        mov     [es:mi.BitsPerPixel],15
226
 
226