Subversion Repositories Kolibri OS

Rev

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

Rev 2435 Rev 2436
Line 67... Line 67...
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 68... Line 68...
68
 
68
 
69
include 'macros.inc'
69
include 'macros.inc'
Line 70... Line 70...
70
include 'struct.inc'
70
include 'struct.inc'
Line 71... Line 71...
71
 
71
 
Line 72... Line 72...
72
$Revision: 2435 $
72
$Revision: 2436 $
Line 417... Line 417...
417
        cmp     [SCR_MODE], word 0100000000000000b
417
        cmp     [SCR_MODE], word 0100000000000000b
418
        jge     setvesa20
418
        jge     setvesa20
419
        cmp     [SCR_MODE], word 0x13  ; EGA 320*200 256 colors
419
        cmp     [SCR_MODE], word 0x13  ; EGA 320*200 256 colors
420
        je      v20ga32
420
        je      v20ga32
421
        jmp     v20ga24
421
        jmp     v20ga24
422
;        mov     [PUTPIXEL], dword Vesa12_putpixel24 ; Vesa 1.2
-
 
423
;        mov     [GETPIXEL], dword Vesa12_getpixel24
-
 
424
;        cmp     [ScreenBPP], byte 24
-
 
425
;        jz      ga24
-
 
426
;        mov     [PUTPIXEL], dword Vesa12_putpixel32
-
 
427
;        mov     [GETPIXEL], dword Vesa12_getpixel32
-
 
428
;      ga24:
422
 
429
;        jmp     v20ga24
-
 
430
setvesa20:
423
setvesa20:
431
        mov     [PUTPIXEL], dword Vesa20_putpixel24 ; Vesa 2.0
424
        mov     [PUTPIXEL], dword Vesa20_putpixel24 ; Vesa 2.0
432
        mov     [GETPIXEL], dword Vesa20_getpixel24
425
        mov     [GETPIXEL], dword Vesa20_getpixel24
433
        cmp     [ScreenBPP], byte 24
426
        cmp     [ScreenBPP], byte 24
434
        jz      v20ga24
427
        jz      v20ga24