comparison os9/mc09/mc2.c @ 111:c4e909f21b25

micro c,j self compiled on os9 level2
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 31 Dec 2018 17:51:27 +0900
parents 6566b9f47f4a
children
comparison
equal deleted inserted replaced
110:098b3feab38c 111:c4e909f21b25
143 #define OPTION 18 143 #define OPTION 18
144 144
145 #define GSYMS 450 145 #define GSYMS 450
146 #define LSYMS 50 146 #define LSYMS 50
147 147
148 #define HEAPSIZE 700 148 #define HEAPSIZE 1000
149 #define CHEAPSIZE 3000 149 #define CHEAPSIZE 3000
150 #define LBUFSIZE 256 150 #define LBUFSIZE 256
151 151
152 #define FILES 3 152 #define FILES 3
153 153
203 } 203 }
204 fclose(stdout); 204 fclose(stdout);
205 if (!chk) { 205 if (!chk) {
206 if ( (obuf = fopen(ccout,"w")) == NULL ) error(FILERR); 206 if ( (obuf = fopen(ccout,"w")) == NULL ) error(FILERR);
207 else { 207 else {
208 printf("\tmod _eom,_name,_tylg,_atrv,_start,_GLOBALS\n"); /* os9 module header */ 208 printf("\tmod _eom,_name,_tylg,_atrv,_start,1024\n"); /* os9 module header */
209 printf("_name fcs /%s/\n\tfcb 0\n",modname); 209 printf("_name fcs /%s/\n\tfcb 0\n",modname);
210 } 210 }
211 } 211 }
212 init(); 212 init();
213 while(1) 213 while(1)