Changeset 7258c6a in buchla-68k for ram/eticnf.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/eticnf.c
r0292fbb r7258c6a 19 19 #define CFG_OFF 10 /* display offset into configuration field */ 20 20 21 extern u nsigned*instob;21 extern uint16_t *instob; 22 22 23 extern short stccol, curvce;24 extern short idbox[][8];23 extern int16_t stccol, curvce; 24 extern int16_t idbox[][8]; 25 25 26 extern chardspbuf[];26 extern int8_t dspbuf[]; 27 27 28 28 extern struct instdef vbufs[]; … … 38 38 */ 39 39 40 short et_icnf(short n)40 int16_t et_icnf(int16_t n) 41 41 { 42 42 sprintf(ebuf, "%02d", vbufs[curvce].idhcfg); … … 56 56 */ 57 57 58 short ef_icnf(short n)58 int16_t ef_icnf(int16_t n) 59 59 { 60 register short i, tmpval;60 register int16_t i, tmpval; 61 61 62 62 ebuf[2] = '\0'; /* terminate the string in ebuf */ … … 88 88 */ 89 89 90 short rd_icnf(short n)90 int16_t rd_icnf(int16_t n) 91 91 { 92 92 sprintf(dspbuf, "%02d", vbufs[curvce].idhcfg); /* convert */ … … 111 111 */ 112 112 113 short nd_icnf(short n, short k)113 int16_t nd_icnf(int16_t n, int16_t k) 114 114 { 115 register short ec, c;115 register int16_t ec, c; 116 116 117 117 ec = stccol - cfetp->flcol; /* setup edit buffer column */
Note:
See TracChangeset
for help on using the changeset viewer.