- Timestamp:
- 11/15/2017 09:13:05 PM (7 years ago)
- Branches:
- master
- Children:
- b27040e
- Parents:
- e68b406
- Location:
- ram
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/asgvce.c
re68b406 rb28c09e 303 303 register int16_t vp; 304 304 register int16_t trg; 305 register int16_t aflag;305 register int16_t flag; 306 306 307 307 DB_ENTR("asgvce"); … … 337 337 338 338 if (tv EQ -1) 339 aflag = TRUE; /* OK - unassigned */339 flag = TRUE; /* OK - unassigned */ 340 340 else if (0 EQ (tv & (MKEYHELD << 8))) 341 aflag = TRUE; /* OK - not held */341 flag = TRUE; /* OK - not held */ 342 342 else 343 aflag = FALSE; /* NO - held */344 345 if ( aflag AND (vce2grp[vp] EQ (grp + 1))) {343 flag = FALSE; /* NO - held */ 344 345 if (flag AND (vce2grp[vp] EQ (grp + 1))) { 346 346 347 347 if ((ins2grp[grp] & GTAG1) AND -
ram/delpnts.c
re68b406 rb28c09e 216 216 { 217 217 register int8_t *fp1, *fp2; 218 register int16_t i, j, k, l, npts;218 register int16_t i, j, k, l, pcnt; 219 219 int16_t topnt, frompt, oldi; 220 220 … … 227 227 topnt = NIPNTS - ip->idhplft; /* calculate move parameters */ 228 228 frompt = topnt - 1; 229 npts= frompt - inpnt;229 pcnt = frompt - inpnt; 230 230 i = topnt; 231 231 j = frompt; … … 234 234 if (debugsw) 235 235 printf("inspnt(): fn=%d, in=%d, to=%d, from=%d, npts=%d, pif=%d\r\n", 236 fn, inpnt, topnt, frompt, npts, ip->idhfnc[fn].idfpif);236 fn, inpnt, topnt, frompt, pcnt, ip->idhfnc[fn].idfpif); 237 237 #endif 238 238 … … 242 242 /* ++++++++++++++++++++++++ FPU interrupts disabled +++++++++++++++++++++++++ */ 243 243 244 for (k = 0; k < npts; k++) { /* move things up */244 for (k = 0; k < pcnt; k++) { /* move things up */ 245 245 246 246 fp1 = (int8_t *)&ip->idhpnt[i--]; -
ram/ldselbx.c
re68b406 rb28c09e 70 70 register int32_t count; 71 71 register int16_t c; 72 int8_t errbuf[64];72 int8_t buf[64]; 73 73 74 74 for (count = 0; count < len; count++) { … … 78 78 if (EOF EQ (c = getc(fp))) { 79 79 80 sprintf( errbuf, "errno = %d", errno);80 sprintf(buf, "errno = %d", errno); 81 81 82 82 ldermsg("Unexpected EOF", 83 errbuf, (int8_t *)NULL, LD_EMCF, LD_EMCB);83 buf, (int8_t *)NULL, LD_EMCF, LD_EMCB); 84 84 85 85 #if DEBUGIT -
ram/showcfg.c
re68b406 rb28c09e 313 313 { 314 314 register int16_t i, np; 315 int8_t idbuf[8];315 int8_t buf[8]; 316 316 register int8_t *cfgdat, *cfp; 317 317 … … 321 321 tsplot4(instob, 64, CFBX18, wcmrow, 4 + wcmcol, "Config #", 14); 322 322 323 sprintf( idbuf, "%02d", nn);324 tsplot4(instob, 64, CFBX18, wcmrow, 12 + wcmcol, idbuf, 14);323 sprintf(buf, "%02d", nn); 324 tsplot4(instob, 64, CFBX18, wcmrow, 12 + wcmcol, buf, 14); 325 325 326 326 cfgdat = cfgptr[nn];
Note:
See TracChangeset
for help on using the changeset viewer.