Subversion Repositories Kolibri OS

Rev

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

Rev 1846 Rev 1848
Line 106... Line 106...
106
dword WriteEXE()
106
dword WriteEXE()
107
dword diskout;	// Handle ¢ë室­®£® ä ©« 
107
dword diskout;	// Handle ¢ë室­®£® ä ©« 
108
byte exefile[FILENAMESIZE];
108
byte exefile[FILENAMESIZE];
109
{
109
{
110
	wsprintfA(#exefile,"%s.EXE",#rawfilename);
110
	wsprintfA(#exefile,"%s.EXE",#rawfilename);
111
	SHOW(#exefile);
111
	WRITESTR(#exefile);
112
	diskout=_lcreat(#exefile,0);
112
	diskout=_lcreat(#exefile,0);
113
	IF(EAX==0){
113
	IF(EAX==0){
114
		wsprintfA(#mapstr,"ERROR, unable to create output file %s.\n",#exefile);
114
		wsprintfA(#mapstr,"ERROR, unable to create output file %s.\n",#exefile);
115
		WRITESTR(#mapstr);
115
		WRITESTR(#mapstr);
116
		return(-1);
116
		return(-1);