Subversion Repositories Kolibri OS

Rev

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

Rev 431 Rev 465
Line 1... Line 1...
1
$Revision: 431 $
1
$Revision: 465 $
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
;    call  fileread
19
    call  fileread
20
 
-
 
21
    pushad
-
 
22
    push eax
-
 
23
    sub edx,std_application_base_address
-
 
24
    mov [skin_to_load.adr],edx
-
 
25
 
-
 
26
    ;sub eax,std_application_base_address
-
 
27
    ;mov [skin_to_load.stradr],eax
-
 
28
    mov [skin_to_load.stradr],_skin_file_default - std_application_base_address
-
 
29
    mov eax,skin_to_load - std_application_base_address
-
 
30
    call    file_system_lfn
-
 
31
    ;call  fileread
-
 
32
    pop eax
-
 
33
    popad
-
 
34
    ret
-
 
35
 
-
 
36
 
-
 
37
    ret
20
    ret
Line 38... Line -...
38
 
-
 
39
 
-
 
40
skin_to_load:
-
 
41
   			dd 0,0,0
-
 
42
   			dd 64*1024
-
 
43
 .adr  		dd 0
-
 
44
   			db 0
-
 
45
 .stradr	dd 0
-
 
46
 
-
 
47
 
21
 
48
struct SKIN_HEADER
22
struct SKIN_HEADER
49
  .ident   dd ?
23
  .ident   dd ?
50
  .version dd ?
24
  .version dd ?
51
  .params  dd ?
25
  .params  dd ?