Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2325 Serge 1
 
2
3
 
4
dd 1
5
dd start
6
dd i_end
7
dd mem
8
dd mem
9
dd cmdline
10
dd path
11
12
 
13
           mov eax, 68
14
           mov ebx, 16
15
           mov ecx, sz_display
16
           int 0x40
17
           test eax, eax
18
           jnz .done             ; FIXME parse command line and
19
                                 ;       call service
20
21
 
22
	   mov ecx, 1024
23
	   mov edi, path
24
	   cld
25
	   repne scasb
26
	   dec edi
27
	   mov [edi], dword '.dll'
28
	   mov [edi+4], al
29
	   mov eax, 68
30
	   mov ebx, 21
31
	   mov ecx, path
32
	   mov edx, cmdline
33
	   int 0x40
34
.done:
35
	   mov eax, -1
36
	   int 0x40
37
38
 
39
40
 
41
i_end:
42
cmdline  rb 256
43
path	 rb 1024
44
	 rb 16	   ; stack
45
mem:
46