Subversion Repositories Kolibri OS

Rev

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

Rev 465 Rev 488
Line 1... Line 1...
1
$Revision: 465 $
1
$Revision: 488 $
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
;;                                                              ;;
3
;;                                                              ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
5
;; Distributed under terms of the GNU General Public License    ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;                                                              ;;
6
;;                                                              ;;
Line 14... Line 14...
14
; eax = filename
14
; eax = filename
15
; edx = destination
15
; edx = destination
16
    mov   ebx,1
16
    mov   ebx,1
17
    or    ecx,-1
17
    or    ecx,-1
18
    mov   esi,12
18
    mov   esi,12
-
 
19
    pushad
-
 
20
    push eax
-
 
21
    mov [skin_to_load.adr],edx
-
 
22
 
-
 
23
    mov [skin_to_load.stradr],_skin_file_default
-
 
24
    mov eax,skin_to_load
19
    call  fileread
25
    call    file_system_lfn
-
 
26
    pop eax
-
 
27
    popad
20
    ret
28
    ret
Line -... Line 29...
-
 
29
 
-
 
30
skin_to_load:
-
 
31
   			dd 0,0,0
-
 
32
   			dd 64*1024
-
 
33
 .adr  		dd 0
-
 
34
   			db 0
-
 
35
 .stradr	dd 0
-
 
36
 
21
 
37
 
22
struct SKIN_HEADER
38
struct SKIN_HEADER
23
  .ident   dd ?
39
  .ident   dd ?
24
  .version dd ?
40
  .version dd ?
25
  .params  dd ?
41
  .params  dd ?