comparison os9/mc09/mc.c @ 132:36000611014b

micro-c buffering
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 06 Jan 2019 19:57:11 +0900
parents c4e909f21b25
children 2562c18c904e
comparison
equal deleted inserted replaced
131:188111be26b4 132:36000611014b
222 fclose(stdout); 222 fclose(stdout);
223 if (!chk) { 223 if (!chk) {
224 if ( (obuf = fopen(ccout,"w")) == NULL ) error(FILERR); 224 if ( (obuf = fopen(ccout,"w")) == NULL ) error(FILERR);
225 else { 225 else {
226 /* we'l resize data area later */ 226 /* we'l resize data area later */
227 printf("\tmod _eom,_name,_tylg,_atrv,_start,1024\n"); /* os9 module header */ 227 printf("\tmod _eom,_name,_tylg,_atrv,_start,4096\n"); /* os9 module header */
228 printf("_name fcs /%s/\n\tfcb 0\n",modname); 228 printf("_name fcs /%s/\n\tfcb 0\n",modname);
229 } 229 }
230 } 230 }
231 init(); 231 init();
232 while(1) 232 while(1)