Subversion Repositories Kolibri OS

Rev

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

Rev 1848 Rev 1849
Line 139... Line 139...
139
		preerror(#mapstr); return;
139
		preerror(#mapstr); return;
140
	}
140
	}
141
	_llseek(dll,fptr+6,0); _lread(dll,#nsect,2);			 // Number of sections
141
	_llseek(dll,fptr+6,0); _lread(dll,#nsect,2);			 // Number of sections
142
	delta=export;
142
	delta=export;
143
	i=1;
143
	i=1;
144
	while(i<=nsect){
144
	WHILE(i<=nsect){
145
		EAX=i; EAX--; EAX=EAX*40; EAX+=260; EAX+=fptr;	// fptr+260+40*(i-1)
145
		EAX=i; EAX--; EAX=EAX*40; EAX+=260; EAX+=fptr;	// fptr+260+40*(i-1)
146
		_llseek(dll,EAX,0); _lread(dll,#base,4); // RVA of section
146
		_llseek(dll,EAX,0); _lread(dll,#base,4); // RVA of section
147
		IF(base<=export){
147
		IF(base<=export){
148
			EAX=export-base;
148
			EAX=export-base;
149
			IF(EAX
149
			IF(EAX
Line 271... Line 271...
271
		}
271
		}
272
		IF(AL==13){ 	// CR
272
		IF(AL==13){ 	// CR
273
			linenum2++; // Ž¡­ à㦥­ ª®­¥æ áâப¨
273
			linenum2++; // Ž¡­ à㦥­ ª®­¥æ áâப¨
274
			totallines++;
274
			totallines++;
275
		}
275
		}
276
		else if(AL=='}'){	// ¡«®ª § ªàëâ
276
		else IF(AL=='}'){	// ¡«®ª § ªàëâ
277
			count--;
277
			count--;
278
			IF(count==0){ // ª®­¥æ ¯à®æ¥¤ãàë
278
			IF(count==0){ // ª®­¥æ ¯à®æ¥¤ãàë
279
				ESI>
279
				ESI>
280
				$LODSB;
280
				$LODSB;
281
				ESI>
281
				ESI>