- Timestamp:
- 11/12/2017 07:08:44 PM (7 years ago)
- Branches:
- master
- Children:
- 26553e2
- Parents:
- c93e44d
- Location:
- ram
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/etitim.c
rc93e44d rfa50076 72 72 subj, pecase, temin, tmpval, temax); 73 73 #endif 74 if (tmpval > (uint16_t)temax)74 if (tmpval > temax) 75 75 return(FAILURE); 76 76 77 if (tmpval < (uint16_t)temin)77 if (tmpval < temin) 78 78 return(FAILURE); 79 79 -
ram/im700.c
rc93e44d rfa50076 200 200 int16_t tagslot; /* tagged load slot */ 201 201 int16_t tdnamsw; /* tuning editor displaying typewriter */ 202 int16_ttemax; /* time upper limit */203 int16_ttemin; /* time lower limit */202 uint16_t temax; /* time upper limit */ 203 uint16_t temin; /* time lower limit */ 204 204 int16_t testing; /* test level */ 205 205 int16_t tglclk; /* clock on/off toggle flag */ -
ram/im700.x
rc93e44d rfa50076 314 314 extern int16_t tdnamsw; 315 315 extern struct octent *tdoct; 316 extern int16_ttemax;317 extern int16_ttemin;316 extern uint16_t temax; 317 extern uint16_t temin; 318 318 extern int16_t testing; 319 319 extern int16_t tglclk; -
ram/initi.c
rc93e44d rfa50076 58 58 */ 59 59 60 int16_t segtime(int16_t pn, uint16_t ptime)60 uint16_t segtime(int16_t pn, uint16_t ptime) 61 61 { 62 62 register struct instpnt *pp; … … 102 102 */ 103 103 104 int16_t timeto(int16_t fn, int16_t pj)104 uint16_t timeto(int16_t fn, int16_t pj) 105 105 { 106 106 register struct instdef *ip; 107 107 register struct instpnt *pt; 108 register int16_t tf, pm, pn; 108 register int16_t pm, pn; 109 uint16_t tf; 109 110 110 111 ip = &vbufs[curvce]; … … 423 424 void initi(struct instdef *ip) 424 425 { 425 register int16_t i, mintfpu, rb; 426 int16_t i, rb; 427 uint16_t mintfpu; 426 428 427 429 memsetw(ip, 0, sizeof (struct instdef) / 2); … … 433 435 434 436 ip->idhplft = NIPNTS - NFINST; 435 ip->idhcfg = (in itcfg >> 8) & 0x00FF;437 ip->idhcfg = (int8_t)((initcfg >> 8) & 0x00FF); 436 438 mintfpu = tofpu(1); 437 439 … … 442 444 rb = ((i < 4) AND (i NE 0)) ? 0 : I_NRATIO; 443 445 ip->idhfnc[i].idfpif = 1; 444 ip->idhfnc[i].idfpt1 = i;445 ip->idhfnc[i].idftmd = ( I_TM_KEY | 0x0010) | rb;446 ip->idhfnc[i].idfpt1 = (int8_t)i; 447 ip->idhfnc[i].idftmd = (int8_t)((I_TM_KEY | 0x0010) | rb); 446 448 447 449 /* initialize the first point in the function */ … … 453 455 for (i = 0; i < NUMWPNT; i++) { 454 456 455 ip->idhwvaf[i] = (ip->idhwvao[i] = 0x8000 ^ ((i + 1) << 8));456 ip->idhwvbf[i] = (ip->idhwvbo[i] = 0x8000 ^ ((i + 1) << 8));457 ip->idhwvaf[i] = (ip->idhwvao[i] = (int16_t)0x8000 ^ ((i + 1) << 8)); 458 ip->idhwvbf[i] = (ip->idhwvbo[i] = (int16_t)0x8000 ^ ((i + 1) << 8)); 457 459 } 458 460 } -
ram/initi.x
rc93e44d rfa50076 34 34 extern void newvce(int16_t voice); 35 35 extern void pntsel(void); 36 extern int16_tsegtime(int16_t pn, uint16_t ptime);36 extern uint16_t segtime(int16_t pn, uint16_t ptime); 37 37 extern int16_t selpnt(void); 38 38 extern void setinst(void); 39 39 extern void setivce(int16_t voice); 40 40 extern void setseg(int16_t pn, uint16_t ptime); 41 extern int16_ttimeto(int16_t fn, int16_t pj);41 extern uint16_t timeto(int16_t fn, int16_t pj); 42 42 extern int16_t ttox(uint16_t time, int16_t window); 43 43 extern int16_t vtoy(int16_t val, int16_t window);
Note:
See TracChangeset
for help on using the changeset viewer.