Subversion Repositories Kolibri OS

Rev

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

Rev 978 Rev 1018
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2008. 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: 978 $
8
$Revision: 1018 $
9
 
9
 
Line 808... Line 808...
808
	   mov	   dword [edx], '/sys'
808
	   mov	   dword [edx], '/sys'
809
	   mov	   dword [edx+4], '/dri'
809
	   mov	   dword [edx+4], '/dri'
810
	   mov	   dword [edx+8], 'vers'
810
	   mov	   dword [edx+8], 'vers'
811
	   mov	   byte [edx+12], '/'
811
	   mov	   byte [edx+12], '/'
812
	   mov	   esi, [driver_name]
812
	   mov	   esi, [driver_name]
-
 
813
.redo:
-
 
814
           lea     edx, [file_name]
813
	   lea	   edi, [edx+13]
815
	   lea	   edi, [edx+13]
814
	   mov	   ecx, 16
816
	   mov	   ecx, 16
815
@@:
817
@@:
816
	   lodsb
818
	   lodsb
817
	   test    al, al
819
	   test    al, al
Line 924... Line 926...
924
	   stdcall ebx, DRV_ENTRY
926
	   stdcall ebx, DRV_ENTRY
925
	   test eax, eax
927
	   test eax, eax
926
	   jnz .ok
928
	   jnz .ok
Line 927... Line 929...
927
 
929
 
-
 
930
	   stdcall kernel_free, [img_base]
-
 
931
           cmp     dword [file_name+13], 'SOUN'
-
 
932
           jnz     @f
-
 
933
           cmp     dword [file_name+17], 'D.ob'
-
 
934
           jnz     @f
-
 
935
           cmp     word [file_name+21], 'j'
-
 
936
           jnz     @f
-
 
937
           mov     esi, aSis
-
 
938
           jmp     .redo
928
	   stdcall kernel_free, [img_base]
939
@@:
929
	   xor eax, eax
940
	   xor eax, eax
930
	   ret
941
	   ret
931
.ok:
942
.ok:
932
	   mov ebx, [img_base]
943
	   mov ebx, [img_base]