Subversion Repositories Kolibri OS

Rev

Rev 7507 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7507 Rev 7516
Line 7... Line 7...
7
// Autobuild uses FASM method for exe->kos,
7
// Autobuild uses FASM method for exe->kos,
8
// MENUET01 header should be present in EXE.
8
// MENUET01 header should be present in EXE.
9
#ifdef AUTOBUILD
9
#ifdef AUTOBUILD
10
char kosExePath[1024];
10
char kosExePath[1024];
11
char exeStack[16384];
11
char exeStack[16384];
-
 
12
extern char params[1024];
12
// must be alphabetically first in the image
13
// must be alphabetically first in the image
13
#pragma data_seg(".1seg")
14
#pragma data_seg(".1seg")
14
extern "C" struct
15
extern "C" struct
15
{
16
{
16
	char header[8];
17
	char header[8];
Line 26... Line 27...
26
	1,
27
	1,
27
	&crtStartUp,
28
	&crtStartUp,
28
	0,	// filled by doexe2.asm
29
	0,	// filled by doexe2.asm
29
	0,	// filled by doexe2.asm
30
	0,	// filled by doexe2.asm
30
	exeStack + sizeof(exeStack),
31
	exeStack + sizeof(exeStack),
31
	NULL,
32
	params,
32
	kosExePath
33
	kosExePath
33
};
34
};
34
#pragma data_seg()
35
#pragma data_seg()
35
#else
36
#else
36
char *kosExePath = NULL;
37
char *kosExePath = NULL;