/programs/other/kpack/trunk/const_var.inc |
---|
8,9 → 8,10 |
aDecompress db 'Decompress',0 |
definoutname db 0 |
defpath db '/rd/1',0 |
kernel_name db 'kernel.mnt',0 |
;curedit dd 0 |
info_str db 'KPack - Kolibri Packer, version 0.21',10 |
info_str db 'KPack - Kolibri Packer, version 0.22',10 |
db 'Uses LZMA v4.32 compression library',10,10 |
info_len = $ - info_str |
usage_str db 'Written by diamond in 2006-2009 specially for KolibriOS',10 |
20,6 → 21,7 |
db 10 |
db 'Command-line usage:',10 |
db ' path_to_infile with zero',10 |
db ' use <-ker> key to pack kernel',10 |
db 10 |
db 'Window usage:',10 |
db ' Select file with PATH-button or set all data in the',10 |
/programs/other/kpack/trunk/kpack.asm |
---|
38,10 → 38,28 |
je exit |
init_checkboxes2 check1,check1_end |
;push check1 |
;call [init_checkbox] |
call clear_messages |
call clear_messages |
; pack kernel ? |
cmp [params], dword '-ker' |
jne @f |
mov esi,kernel_name |
mov edi,inname |
call copy_1 |
mov esi,kernel_name |
mov edi,outname |
call copy_1 |
mov esi,defpath |
mov edi,path |
call copy_1 |
call pack |
jmp exit |
@@: |
; set default path = /RD/1/ |
mov esi,defpath |
mov edi,path |
73,6 → 91,7 |
pop esi |
mov edi,outname |
call copy_1 |
end_param: |
;--------------------------------------------------------------------- |
call set_editbox_position_all |
;--------------------------------------------------------------------- |