Subversion Repositories Kolibri OS

Rev

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

Rev 4973 Rev 5098
Line 5... Line 5...
5
public start
5
public start
6
;EXTRN _edata
6
;EXTRN _edata
7
EXTRN ___menuet__app_param_area
7
EXTRN ___menuet__app_param_area
8
EXTRN ___menuet__app_path_area
8
EXTRN ___menuet__app_path_area
9
EXTRN ___crt1_startup
9
EXTRN ___crt1_startup
-
 
10
EXTRN ___memsize
10
start:
11
start:
11
public ___menuet__app_header
12
public ___menuet__app_header
12
public ___menuet__memsize
13
public ___menuet__memsize
13
section '.A' code readable executable
14
section '.A' code readable executable
14
___menuet__app_header:
15
___menuet__app_header:
Line 20... Line 21...
20
 dd ___crt1_startup
21
 dd ___crt1_startup
21
end if
22
end if
22
; dd _edata
23
; dd _edata
23
 dd 0
24
 dd 0
24
___menuet__memsize:
25
___menuet__memsize:
25
 dd 0x400000
26
 dd ___memsize
26
 dd app_stack
27
 dd app_stack
27
 dd ___menuet__app_param_area
28
 dd ___menuet__app_param_area
28
 dd ___menuet__app_path_area
29
 dd ___menuet__app_path_area
Line 29... Line 30...
29
 
30
 
Line 52... Line 53...
52
    mov eax,-1
53
    mov eax,-1
53
    int 0x40
54
    int 0x40
54
end if
55
end if
Line 55... Line 56...
55
 
56
 
56
section '.bss' readable writeable
57
section '.bss' readable writeable
-
 
58
;rd 0x20000
57
rd 0x20000
59
rb 0x10000