Changeset 7258c6a in buchla-68k for ram/etttab.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/etttab.c
r0292fbb r7258c6a 15 15 #include "tundsp.h" 16 16 17 extern u nsigned*tunob;17 extern uint16_t *tunob; 18 18 19 extern short stcrow, stccol;20 extern short curtun, tunmod;19 extern int16_t stcrow, stccol; 20 extern int16_t curtun, tunmod; 21 21 22 extern short tdbox[][8];22 extern int16_t tdbox[][8]; 23 23 24 extern chardspbuf[];24 extern int8_t dspbuf[]; 25 25 26 26 /* … … 34 34 */ 35 35 36 short et_ttab(short n)36 int16_t et_ttab(int16_t n) 37 37 { 38 38 sprintf(ebuf, "%d", curtun); … … 48 48 */ 49 49 50 short ef_ttab(short n)50 int16_t ef_ttab(int16_t n) 51 51 { 52 register short i, tmpval;52 register int16_t i, tmpval; 53 53 54 54 ebuf[1] = '\0'; /* terminate the string in ebuf */ … … 71 71 */ 72 72 73 short rd_ttab(short nn)73 int16_t rd_ttab(int16_t nn) 74 74 { 75 register short n;75 register int16_t n; 76 76 77 77 n = nn & 0xFF; … … 91 91 */ 92 92 93 short nd_ttab(short nn, short k)93 int16_t nd_ttab(int16_t nn, int16_t k) 94 94 { 95 register short n;95 register int16_t n; 96 96 97 97 n = nn & 0xFF;
Note:
See TracChangeset
for help on using the changeset viewer.