Subversion Repositories Kolibri OS

Rev

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

Rev 3425 Rev 3829
Line 33... Line 33...
33
	dd 0x01		; header version
33
	dd 0x01		; header version
34
	dd START	; start of code
34
	dd START	; start of code
35
	dd IM_END	; size of image
35
	dd IM_END	; size of image
36
	dd I_END	; memory for app
36
	dd I_END	; memory for app
37
	dd stacktop	; esp
37
	dd stacktop	; esp
38
	dd temp_area	; I_Param
38
	dd ext_dest_cmdline	; I_Param
39
	dd path		; APPLICATION PACH
39
	dd path		; APPLICATION PACH
Line 40... Line 40...
40
 
40
 
41
include 'lang.inc'
41
include 'lang.inc'
42
;include 'macros.inc'
42
;include 'macros.inc'
Line 48... Line 48...
48
;include 'debug.inc'
48
;include 'debug.inc'
49
;include 'load_lib.mac'
49
;include 'load_lib.mac'
50
include '../../develop/libraries/box_lib/load_lib.mac'
50
include '../../develop/libraries/box_lib/load_lib.mac'
51
        @use_library    ;use load lib macros
51
        @use_library    ;use load lib macros
52
;******************************************************************************
52
;******************************************************************************
-
 
53
ext_dest_cmdline:
-
 
54
	dd 0xffffffff
53
 
55
	dd temp_area
-
 
56
;------------------------------------------------------------------------------
54
START:				; start of execution
57
START:				; start of execution
55
	mcall	68, 11
58
	mcall	68, 11
56
	mcall	66, 1,1
59
	mcall	66, 1,1
57
	mcall 40, 0x27
60
	mcall 40, 0x27
Line 142... Line 145...
142
	jmp .no_param
145
	jmp .no_param
143
@@:
146
@@:
Line 144... Line 147...
144
 
147
 
145
 
148
 
146
	mov	edi,string	; clear string
149
	mov	edi,string	; clear string
147
	mov	ecx,256/4	;	length of a string
150
	mov	ecx,4096/4	;256/4	;	length of a string
Line 148... Line 151...
148
	xor	eax,eax	;	symbol <0>
151
	xor	eax,eax	;	symbol <0>
Line 163... Line 166...
163
	mov	[bgrmode],dword 2
166
	mov	[bgrmode],dword 2
164
.continue_1:
167
.continue_1:
165
	add	edi,4
168
	add	edi,4
166
.continue:
169
.continue:
167
	mov	esi,edi
170
	mov	esi,edi
168
	mov	ecx,257	;	strlen
171
	mov	ecx,4095 ;257	;	strlen
169
	repne scasb
172
	repne scasb
170
	lea		ecx, [edi-temp_area]
173
	lea		ecx, [edi-temp_area]
Line 171... Line 174...
171
 
174
 
172
	mov	edi,string
175
	mov	edi,string