Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1951 mario79 1
 
2
;---------------------------------------------------------------------
3
; not change this section!!!
4
; start section
5
;---------------------------------------------------------------------
6
align 4
7
image_file     dd 0 ;+0
8
raw_pointer    dd 0 ;+4
9
return_code    dd 0 ;+8
10
img_size       dd 0 ;+12
11
deflate_unpack dd 0 ;+16
12
raw_pointer_2  dd 0 ;+20
13
;---------------------------------------------------------------------
14
; end section
15
;---------------------------------------------------------------------
16
17
 
18
 
19
20
 
21
 
22
 
23
convert:
24
    xor  eax,eax
25
	cmp  [error_fs],eax
26
	jnz   .error
27
    mov  [return_code],eax
28
	mov eax,image_file
29
    call  [plugin]
30
    cmp   [return_code],dword 0
31
    je   @f
32
    cmp   [return_code],dword 2
33
    je   @f
34
;-------------------------------
35
    xor  eax,eax
36
    mov  [return_code],eax
37
	mov eax,image_file
38
    call  [plugin_1]
39
    cmp   [return_code],dword 0
40
    je   @f
41
    cmp   [return_code],dword 2
42
    je   @f
43
;-------------------------------
44
    xor  eax,eax
45
    mov  [return_code],eax
46
	mov eax,image_file
47
    call  [plugin_2]
48
    cmp   [return_code],dword 0
49
    je   @f
50
    cmp   [return_code],dword 2
51
    je   @f
52
;-------------------------------
53
    xor  eax,eax
54
    mov  [return_code],eax
55
	mov eax,image_file
56
    call  [plugin_3]
57
;-------------------------------
58
@@:
59
    mov   ecx,[image_file]
60
    mcall 68, 13,
61
62
 
63
    je   .all_ok
64
    xor  eax,eax
65
;-------------------------------
66