Subversion Repositories Kolibri OS

Rev

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

Rev 2500 Rev 3171
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2012. 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: 2500 $
8
$Revision: 3171 $
9
 
9
 
Line 808... Line 808...
808
        stdcall ebx, DRV_ENTRY
808
        stdcall ebx, DRV_ENTRY
809
        test    eax, eax
809
        test    eax, eax
810
        jnz     .ok
810
        jnz     .ok
Line 811... Line 811...
811
 
811
 
812
        stdcall kernel_free, [img_base]
-
 
813
        cmp     dword [file_name+13], 'SOUN'
-
 
814
        jnz     @f
-
 
815
        cmp     dword [file_name+17], 'D.ob'
-
 
816
        jnz     @f
-
 
817
        cmp     word [file_name+21], 'j'
-
 
818
        jnz     @f
-
 
819
        mov     esi, aHDA
-
 
820
        jmp     .redo
812
        stdcall kernel_free, [img_base]
821
@@:
813
 
822
        xor     eax, eax
814
        xor     eax, eax
823
        ret
815
        ret
824
.ok:
816
.ok:
825
        mov     ebx, [img_base]
817
        mov     ebx, [img_base]