Subversion Repositories Kolibri OS

Rev

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

Rev 2 Rev 314
Line 8... Line 8...
8
;
8
;
9
; Include in MeOS kernel and compile with FASM
9
; Include in MeOS kernel and compile with FASM
10
;
10
;
Line 11... Line -...
11
 
-
 
12
 
-
 
13
;vmode db 'VMODE   MDR'  ; MDR - Menuet Driver 
-
 
14
; must be located after fonts filenames in kernel.asm
11
 
15
 
12
 
16
; LOAD VIDEOMODE DRIVER
13
; LOAD VIDEOMODE DRIVER
17
                                       ; If vmode.mdr file not found
14
                                       ; If vmode.mdr file not found
18
        or    eax,-1                   ; Driver ID = -1 (not present in system)
15
        or    eax,-1                   ; Driver ID = -1 (not present in system)
Line 19... Line -...
19
        mov   [0x760000],eax           ;
-
 
20
        mov   [0x760100],byte 0xC3     ; Instruction RETN - driver loop
16
        mov   [0x760000],eax           ;
21
 
17
        mov   [0x760100],byte 0xC3     ; Instruction RETN - driver loop
22
        mov   eax,vmode                ; File name of driver
18
 
23
        mov   esi,12
19
        mov     esi, vmode
24
        mov   ebx,0
-
 
25
        mov   ecx,26000
20
        xor     ebx, ebx
-
 
21
        mov     ecx, 0x8000            ; size of memory area for driver
26
        mov   edx,0x760000             ; Memory position of driver
22
        mov     edx, 0x760000          ; Memory position of driver