Mercurial > hg > Members > kono > os9 > sbc09
comparison os9/mc09/mc.c @ 133:2562c18c904e
malloc for mc2 wrong...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 06 Jan 2019 22:38:04 +0900 |
parents | 36000611014b |
children |
comparison
equal
deleted
inserted
replaced
132:36000611014b | 133:2562c18c904e |
---|---|
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,4096\n"); /* os9 module header */ | 227 printf("\tmod _eom,_name,_tylg,_atrv,_start,1024\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) |