Changeset 7258c6a in buchla-68k for ram/etitim.c
- Timestamp:
- 07/09/2017 04:45:34 PM (7 years ago)
- Branches:
- master
- Children:
- 8618599
- Parents:
- 0292fbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/etitim.c
r0292fbb r7258c6a 18 18 19 19 extern void advicur(void); 20 extern short edfunc(short n);20 extern int16_t edfunc(int16_t n); 21 21 extern void pntsel(void); 22 22 23 extern u nsigned*instob;23 extern uint16_t *instob; 24 24 25 extern short stccol, subj, curvce, curfunc, curpnt;26 extern short pecase, npts, temin, temax, pntsv;25 extern int16_t stccol, subj, curvce, curfunc, curpnt; 26 extern int16_t pecase, npts, temin, temax, pntsv; 27 27 28 extern short idbox[][8];28 extern int16_t idbox[][8]; 29 29 30 extern chardspbuf[];30 extern int8_t dspbuf[]; 31 31 32 32 extern struct instdef vbufs[]; … … 44 44 */ 45 45 46 short et_itim(short n)46 int16_t et_itim(int16_t n) 47 47 { 48 register short th, tl;49 register longtt, sc;48 register int16_t th, tl; 49 register int32_t tt, sc; 50 50 51 51 pntsel(); /* make sure edit limits are current */ … … 77 77 */ 78 78 79 short ef_itim(short n)79 int16_t ef_itim(int16_t n) 80 80 { 81 register short i, endpnt, basept;82 register u nsignedtmpval;81 register int16_t i, endpnt, basept; 82 register uint16_t tmpval; 83 83 register struct idfnhdr *fp; 84 84 register struct instdef *ip; … … 105 105 subj, pecase, temin, tmpval, temax); 106 106 #endif 107 if (tmpval > (u nsigned)temax)107 if (tmpval > (uint16_t)temax) 108 108 return(FAILURE); 109 109 110 if (tmpval < (u nsigned)temin)110 if (tmpval < (uint16_t)temin) 111 111 return(FAILURE); 112 112 … … 133 133 */ 134 134 135 short rd_itim(short n)135 int16_t rd_itim(int16_t n) 136 136 { 137 register short th, tl;138 register longtt, sc;137 register int16_t th, tl; 138 register int32_t tt, sc; 139 139 140 140 sc = 1000L; … … 164 164 */ 165 165 166 short nd_itim(short n, short k)166 int16_t nd_itim(int16_t n, int16_t k) 167 167 { 168 register short ec;168 register int16_t ec; 169 169 170 170 ec = stccol - cfetp->flcol; /* setup edit buffer column */
Note:
See TracChangeset
for help on using the changeset viewer.