Mercurial > hg > Members > kono > os9 > sbc09
comparison os9/mc09/mc2.c @ 104:096b3fc7aa66
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 28 Dec 2018 17:43:55 +0900 |
parents | 09148bb27659 |
children | 6eef99bb4771 |
comparison
equal
deleted
inserted
replaced
103:844305752064 | 104:096b3fc7aa66 |
---|---|
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,_main,_GLOBALS\n"); /* os9 module header */ | 208 printf("\tmod _eom,_name,_tylg,_atrv,_start,_GLOBALS\n"); /* os9 module header */ |
209 printf("_name fcs /%s/\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) |
214 { for (nptr = &ntable[GSYMS],i=LSYMS; i--;) | 214 { for (nptr = &ntable[GSYMS],i=LSYMS; i--;) |