Subversion Repositories Kolibri OS

Rev

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

Rev 389 Rev 424
Line 14... Line 14...
14
                                       ; If vmode.mdr file not found
14
                                       ; If vmode.mdr file not found
15
        or    eax,-1                   ; Driver ID = -1 (not present in system)
15
        or    eax,-1                   ; Driver ID = -1 (not present in system)
16
        mov   [OS_BASE+0x760000],eax   ;
16
        mov   [OS_BASE+0x760000],eax   ;
17
        mov   [OS_BASE+0x760100],byte 0xC3     ; Instruction RETN - driver loop
17
        mov   [OS_BASE+0x760100],byte 0xC3     ; Instruction RETN - driver loop
Line -... Line 18...
-
 
18
 
-
 
19
		pushad
-
 
20
		push	eax
-
 
21
		mov		eax, vmode - std_application_base_address
-
 
22
		call    file_system_lfn
-
 
23
        pop		eax
-
 
24
        popad
18
 
25
 
19
        mov     esi, vmode
26
;        mov     esi, vmode
20
        xor     ebx, ebx
27
;        xor     ebx, ebx
21
        mov     ecx, 0x8000            ; size of memory area for driver
28
;        mov     ecx, 0x8000            ; size of memory area for driver
22
        mov     edx, OS_BASE+0x760000  ; Memory position of driver
29
;        mov     edx, OS_BASE+0x760000  ; Memory position of driver