Changeset 7258c6a in buchla-68k for ram/etwavs.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/etwavs.c
r0292fbb r7258c6a 17 17 extern void advwcur(void); 18 18 19 extern u nsigned*waveob;19 extern uint16_t *waveob; 20 20 21 extern short stccol, curwave, curvce, curwslt;21 extern int16_t stccol, curwave, curvce, curwslt; 22 22 23 extern short wsnmod[12][2];23 extern int16_t wsnmod[12][2]; 24 24 25 extern short wdbox[][8];25 extern int16_t wdbox[][8]; 26 26 27 extern chardspbuf[];27 extern int8_t dspbuf[]; 28 28 29 29 /* … … 37 37 */ 38 38 39 short et_wavs(short n)39 int16_t et_wavs(int16_t n) 40 40 { 41 41 sprintf(ebuf, "%02d", curwave + 1); … … 51 51 */ 52 52 53 short ef_wavs(short n)53 int16_t ef_wavs(int16_t n) 54 54 { 55 register short i, tmpval;55 register int16_t i, tmpval; 56 56 57 57 ebuf[2] = '\0'; /* terminate the string in ebuf */ … … 81 81 */ 82 82 83 short rd_wavs(short nn)83 int16_t rd_wavs(int16_t nn) 84 84 { 85 register short n;86 register u nsignedcx;85 register int16_t n; 86 register uint16_t cx; 87 87 88 88 cx = exp_c(wsnmod[curvce][curwslt] ? WS_CHGC : wdbox[n][4]); … … 104 104 */ 105 105 106 short nd_wavs(short nn, short k)106 int16_t nd_wavs(int16_t nn, int16_t k) 107 107 { 108 register short ec, n;108 register int16_t ec, n; 109 109 110 110 n = nn & 0xFF;
Note:
See TracChangeset
for help on using the changeset viewer.