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
convert:
22
	xor	eax,eax
23
	cmp	[error_fs],eax
24
	jnz	.error
25
	mov	[return_code],eax
26
;	mov	eax,image_file
27
	push	image_file
28
	call	[plugin]
29
	cmp	[return_code],dword 0
30
	je	@f
31
	cmp	[return_code],dword 2
32
	je	@f
33
;-------------------------------
34
	xor	eax,eax
35
	mov	[return_code],eax
36
;	mov	eax,image_file
37
	push	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
	push	image_file
48
	call	[plugin_2]
49
	cmp	[return_code],dword 0
50
	je	@f
51
	cmp	[return_code],dword 2
52
	je	@f
53
;-------------------------------
54
	xor	eax,eax
55
	mov	[return_code],eax
56
;	mov	eax,image_file
57
	push	image_file
58
	call	[plugin_3]
59
;-------------------------------
60
@@:
61
	mov	ecx,[image_file]
62
	mcall	68,13
63
64
 
65
	je	.all_ok
66
	xor	eax,eax
67
;-------------------------------
68