Subversion Repositories Kolibri OS

Rev

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

Rev 513 Rev 514
Line 52... Line 52...
52
;;
52
;;
53
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
53
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 54... Line 54...
54
 
54
 
Line 55... Line 55...
55
include 'macros.inc'
55
include 'macros.inc'
Line 56... Line 56...
56
 
56
 
57
$Revision: 513 $
57
$Revision: 514 $
58
 
58
 
Line 319... Line 319...
319
    mov    eax, [BOOT_VAR + 0x9044]    ; version & flags
319
    mov    eax, [BOOT_VAR + 0x9044]    ; version & flags
320
    mov    [apm_vf], eax
320
    mov    [apm_vf], eax
321
; -----------------------------------------
321
; -----------------------------------------
322
;        movzx eax,byte [BOOT_VAR+0x9010]  ; mouse port
322
;        movzx eax,byte [BOOT_VAR+0x9010]  ; mouse port
323
;        mov   [0xF604],byte 1  ;al
323
;        mov   [0xF604],byte 1  ;al
324
        mov     al, [BOOT_VAR+0x901F]   ; DMA writing
324
        mov     al, [BOOT_VAR+0x901F]   ; DMA access
325
        mov     [allow_dma_write], al
325
        mov     [allow_dma_access], al
326
        mov   al,[BOOT_VAR+0x9000]        ; bpp
326
        mov   al,[BOOT_VAR+0x9000]        ; bpp
327
        mov   [ScreenBPP],al
327
        mov   [ScreenBPP],al
328
        movzx eax,word [BOOT_VAR+0x900A]  ; X max
328
        movzx eax,word [BOOT_VAR+0x900A]  ; X max
329
        dec   eax
329
        dec   eax
330
        mov   [ScreenWidth],eax
330
        mov   [ScreenWidth],eax