Subversion Repositories Kolibri OS

Rev

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

Rev 7981 Rev 7982
Line 12... Line 12...
12
 
12
 
Line 13... Line 13...
13
#startaddress 0
13
#startaddress 0
Line -... Line 14...
-
 
14
 
-
 
15
#code32 TRUE
-
 
16
 
-
 
17
#ifndef ENTRY_POINT
14
 
18
	#define ENTRY_POINT #______INIT______
15
#code32 TRUE
19
#endif
16
 
20
 
17
char   os_name[8]   = {'M','E','N','U','E','T','0','1'};
21
char   os_name[8]   = {'M','E','N','U','E','T','0','1'};
18
dword  os_version   = 0x00000001;
22
dword  os_version   = 0x00000001;
19
dword  start_addr   = #______INIT______;
23
dword  start_addr   = ENTRY_POINT;
20
dword  final_addr   = #______STOP______+32;
24
dword  final_addr   = #______STOP______+32;
21
dword  alloc_mem    = MEMSIZE;
25
dword  alloc_mem    = MEMSIZE;
Line 642... Line 646...
642
:byte skin_height;
646
:byte skin_height;
Line 643... Line 647...
643
 
647
 
Line 644... Line 648...
644
dword __generator;  // random number generator init
648
dword __generator;  // random number generator init
645
 
649
 
646
//The initialization of the initial data before running
650
//The initialization of the initial data before running
647
void ______INIT______()
651
:void ______INIT______()
648
{
652
{
649
	skin_height   = @GetSkinHeight();
653
	skin_height   = @GetSkinHeight();
650
	screen.width  = @GetScreenWidth()+1;
654
	screen.width  = @GetScreenWidth()+1;