zSea - support for extended command line

git-svn-id: svn://kolibrios.org@3829 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2013-07-20 07:44:02 +00:00
parent d94d0534e6
commit 5216d87d96
3 changed files with 9 additions and 6 deletions

View File

@ -29,7 +29,7 @@ if not exist bin mkdir zSea_bin\plugins
@kpack zSea_bin\plugins\scaling.obj @kpack zSea_bin\plugins\scaling.obj
@copy zSea.ini zSea_bin\zSea.ini @copy zSea.ini zSea_bin\zSea.ini
@copy Docs\zSea_keys.txt zSea_bin\zSea_keys.txt @copy Docs\zSea_keys_eng.txt zSea_bin\zSea_keys.txt
@copy buttons.png zSea_bin\buttons\buttons.png @copy buttons.png zSea_bin\buttons\buttons.png

View File

@ -56,7 +56,7 @@ file_name:
rb 1024 rb 1024
;---------------------- ;----------------------
temp_area: temp_area:
rb 4096 rb 64*1024 ; new max cmdline 64 Kb
;---------------------- ;----------------------
procinfo: procinfo:
process_info: process_info:

View File

@ -35,7 +35,7 @@
dd IM_END ; size of image dd IM_END ; size of image
dd I_END ; memory for app dd I_END ; memory for app
dd stacktop ; esp dd stacktop ; esp
dd temp_area ; I_Param dd ext_dest_cmdline ; I_Param
dd path ; APPLICATION PACH dd path ; APPLICATION PACH
include 'lang.inc' include 'lang.inc'
@ -50,7 +50,10 @@ include '../../proc32.inc'
include '../../develop/libraries/box_lib/load_lib.mac' include '../../develop/libraries/box_lib/load_lib.mac'
@use_library ;use load lib macros @use_library ;use load lib macros
;****************************************************************************** ;******************************************************************************
ext_dest_cmdline:
dd 0xffffffff
dd temp_area
;------------------------------------------------------------------------------
START: ; start of execution START: ; start of execution
mcall 68, 11 mcall 68, 11
mcall 66, 1,1 mcall 66, 1,1
@ -144,7 +147,7 @@ START: ; start of execution
mov edi,string ; clear string mov edi,string ; clear string
mov ecx,256/4 ; length of a string mov ecx,4096/4 ;256/4 ; length of a string
xor eax,eax ; symbol <0> xor eax,eax ; symbol <0>
rep stosd rep stosd
@ -165,7 +168,7 @@ START: ; start of execution
add edi,4 add edi,4
.continue: .continue:
mov esi,edi mov esi,edi
mov ecx,257 ; strlen mov ecx,4095 ;257 ; strlen
repne scasb repne scasb
lea ecx, [edi-temp_area] lea ecx, [edi-temp_area]