Subversion Repositories Kolibri OS

Rev

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

Rev 1702 Rev 1713
Line 8... Line 8...
8
aDecompress	db 'DECOMPRESS',0
8
aDecompress	db 'DECOMPRESS',0
9
definoutname	db 0
9
definoutname	db 0
10
defpath		db '/RD/1/'
10
defpath		db '/RD/1/'
11
;curedit		dd 0
11
;curedit		dd 0
Line 12... Line 12...
12
 
12
 
13
info_str	db 'KPack - Kolibri Packer, version 0.15',10
13
info_str	db 'KPack - Kolibri Packer, version 0.20',10
14
		db 'Uses LZMA v4.32 compression library',10,10
14
		db 'Uses LZMA v4.32 compression library',10,10
15
info_len	= $ - info_str
15
info_len	= $ - info_str
16
usage_str	db 'Written by diamond in 2006, 2007, 2009 specially for KolibriOS',10
16
usage_str	db 'Written by diamond in 2006, 2007, 2009 specially for KolibriOS',10
17
		db 'Disassembled code, using Box_Lib, Proc_Lib and OpenDialog',10
17
		db 'Disassembled code, using Box_Lib, Proc_Lib and OpenDialog',10
Line 24... Line 24...
24
		db 'Window usage:',10
24
		db 'Window usage:',10
25
		db 'Select file with PATH-button and press needed button',10
25
		db 'Select file with PATH-button and press needed button',10
26
		db ' or enter input and output file name,',10 
26
		db ' or enter input and output file name,',10 
27
		db ' enter path and press needed button',10
27
		db ' enter path and press needed button',10
28
usage_len	= $ - usage_str
28
usage_len	= $ - usage_str
-
 
29
already_str	db 'Already packed kernel.mnt file',10
-
 
30
already_len	= $ - already_str
-
 
31
notkernel_str	db 'This is not kernel.mnt file',10
-
 
32
notkernel_len	= $ - notkernel_str
29
errload_str	db 'Cannot load input file',10
33
errload_str	db 'Cannot load input file',10
30
errload_len	= $ - errload_str
34
errload_len	= $ - errload_str
31
outfileerr_str	db 'Cannot save output file',10
35
outfileerr_str	db 'Cannot save output file',10
32
outfileerr_len	= $ - outfileerr_str
36
outfileerr_len	= $ - outfileerr_str
33
nomem_str	db 'No memory',10
37
nomem_str	db 'No memory',10
Line 73... Line 77...
73
align	4
77
align	4
74
Box_lib_import:
78
Box_lib_import:
75
edit_box_draw		dd aEdit_box_draw
79
edit_box_draw		dd aEdit_box_draw
76
edit_box_key		dd aEdit_box_key
80
edit_box_key		dd aEdit_box_key
77
edit_box_mouse		dd aEdit_box_mouse
81
edit_box_mouse		dd aEdit_box_mouse
78
version_ed		dd aVersion_ed
82
;version_ed		dd aVersion_ed
Line -... Line 83...
-
 
83
 
-
 
84
check_box_draw		dd aCheck_box_draw
-
 
85
check_box_mouse		dd aCheck_box_mouse
-
 
86
;version_ch		dd aVersion_ch
79
 
87
 
80
option_box_draw		dd aOption_box_draw
88
;option_box_draw	dd aOption_box_draw
81
option_box_mouse	dd aOption_box_mouse
89
;option_box_mouse	dd aOption_box_mouse
82
version_op		dd aVersion_op
90
;version_op		dd aVersion_op
83
 
91
 
84
scrollbar_ver_draw	dd aScrollbar_ver_draw
92
;scrollbar_ver_draw	dd aScrollbar_ver_draw
85
scrollbar_ver_mouse	dd aScrollbar_ver_mouse
93
;scrollbar_ver_mouse	dd aScrollbar_ver_mouse
86
scrollbar_hor_draw	dd aScrollbar_hor_draw
94
;scrollbar_hor_draw	dd aScrollbar_hor_draw
87
scrollbar_hor_mouse	dd aScrollbar_hor_mouse
95
;scrollbar_hor_mouse	dd aScrollbar_hor_mouse
88
version_scrollbar	dd aVersion_scrollbar
96
;version_scrollbar	dd aVersion_scrollbar
89
 
97
 
90
menu_bar_draw		dd aMenu_bar_draw
98
;menu_bar_draw		dd aMenu_bar_draw
91
menu_bar_mouse		dd aMenu_bar_mouse
99
;menu_bar_mouse		dd aMenu_bar_mouse
Line 92... Line 100...
92
version_menu_bar	dd aVersion_menu_bar
100
;version_menu_bar	dd aVersion_menu_bar
93
 
101
 
Line 94... Line 102...
94
	dd 0
102
	dd 0
95
	dd 0
103
	dd 0
96
 
104
 
97
aEdit_box_draw		db 'edit_box',0
105
aEdit_box_draw		db 'edit_box',0
Line -... Line 106...
-
 
106
aEdit_box_key		db 'edit_box_key',0
-
 
107
aEdit_box_mouse		db 'edit_box_mouse',0
-
 
108
;aVersion_ed		db 'version_ed',0
-
 
109
 
98
aEdit_box_key		db 'edit_box_key',0
110
aCheck_box_draw		db 'check_box_draw',0
99
aEdit_box_mouse		db 'edit_box_mouse',0
111
aCheck_box_mouse	db 'check_box_mouse',0
100
aVersion_ed		db 'version_ed',0
112
;aVersion_ch		db 'version_ch',0
101
 
113
 
102
aOption_box_draw	db 'option_box_draw',0
114
;aOption_box_draw	db 'option_box_draw',0
103
aOption_box_mouse	db 'option_box_mouse',0
115
;aOption_box_mouse	db 'option_box_mouse',0
104
aVersion_op		db 'version_op',0
116
;aVersion_op		db 'version_op',0
105
 
117
 
106
aScrollbar_ver_draw	db 'scrollbar_v_draw',0
118
;aScrollbar_ver_draw	db 'scrollbar_v_draw',0
107
aScrollbar_ver_mouse	db 'scrollbar_v_mouse',0
119
;aScrollbar_ver_mouse	db 'scrollbar_v_mouse',0
108
aScrollbar_hor_draw	db 'scrollbar_h_draw',0
120
;aScrollbar_hor_draw	db 'scrollbar_h_draw',0
109
aScrollbar_hor_mouse	db 'scrollbar_h_mouse',0
121
;aScrollbar_hor_mouse	db 'scrollbar_h_mouse',0
110
aVersion_scrollbar	db 'version_scrollbar',0
122
;aVersion_scrollbar	db 'version_scrollbar',0
111
 
123
 
112
aMenu_bar_draw		db 'menu_bar_draw',0
124
;aMenu_bar_draw		db 'menu_bar_draw',0
113
aMenu_bar_mouse		db 'menu_bar_mouse',0
125
;aMenu_bar_mouse		db 'menu_bar_mouse',0
Line 114... Line 126...
114
aVersion_menu_bar	db 'version_menu_bar',0
126
;aVersion_menu_bar	db 'version_menu_bar',0
Line 187... Line 199...
187
edit3 edit_box 160, 60, 33, 0xffffff, 0xff, 0x80ff, 0, 0x8000,256, path, mouse_dd, 0, 6,6
199
edit3 edit_box 160, 60, 33, 0xffffff, 0xff, 0x80ff, 0, 0x8000,256, path, mouse_dd, 0, 6,6
188
editboxes_end:
200
editboxes_end:
Line 189... Line 201...
189
 
201
 
190
mouse_dd dd 0
202
mouse_dd dd 0
191
;---------------------------------------------------------------------
203
;---------------------------------------------------------------------
-
 
204
 
-
 
205
check1 check_box 353,40,4,10,0x80AABBCC,0,0,check_text,6
-
 
206
 
-
 
207
check_text db 'Kernel',0
-
 
208
;*********************************************************************
-
 
209
; Kerpack data
-
 
210
;*********************************************************************
-
 
211
align 4
-
 
212
fn70_read:
-
 
213
		dd	0
-
 
214
		dd	0
-
 
215
		dd	0
-
 
216
insize3		dd	200*1024
-
 
217
infile3		dd	infile
-
 
218
		db	0
-
 
219
		dd	fullname
-
 
220
 
-
 
221
align 4
-
 
222
fn70_write:
-
 
223
		dd	2
-
 
224
		dd	0
-
 
225
		dd	0
-
 
226
outsize3	dd	?
-
 
227
outfile3	dd	outfile
-
 
228
		db	0
-
 
229
		dd	fullname
-
 
230
;*********************************************************************
192
231