Changeset 7258c6a in buchla-68k for ram/etaccn.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/etaccn.c
r0292fbb r7258c6a 15 15 #include "asgdsp.h" 16 16 17 extern char *numblk(char *buf, short n);17 extern int8_t *numblk(int8_t *buf, int16_t n); 18 18 19 extern u nsigned*asgob;19 extern uint16_t *asgob; 20 20 21 extern short stcrow, stccol;21 extern int16_t stcrow, stccol; 22 22 23 extern short adbox[][8];23 extern int16_t adbox[][8]; 24 24 25 extern chardspbuf[];25 extern int8_t dspbuf[]; 26 26 27 extern short mctlnum[4]; /* MIDI controller number table (-1, 00..99) */27 extern int16_t mctlnum[4]; /* MIDI controller number table (-1, 00..99) */ 28 28 29 29 /* … … 37 37 */ 38 38 39 short et_accn(short n)39 int16_t et_accn(int16_t n) 40 40 { 41 register short ctl;41 register int16_t ctl; 42 42 43 charbuf[4];43 int8_t buf[4]; 44 44 45 45 ctl = 0x00FF & (n >> 8); … … 57 57 */ 58 58 59 short ef_accn(short n)59 int16_t ef_accn(int16_t n) 60 60 { 61 register short tmpval, ctl, i;61 register int16_t tmpval, ctl, i; 62 62 63 63 ctl = 0x00FF & (n >> 8); … … 101 101 */ 102 102 103 short rd_accn(short nn)103 int16_t rd_accn(int16_t nn) 104 104 { 105 register short n, ctl;106 charbuf[4];105 register int16_t n, ctl; 106 int8_t buf[4]; 107 107 108 108 n = 0x00FF & nn; … … 127 127 */ 128 128 129 short nd_accn(short nn, short k)129 int16_t nd_accn(int16_t nn, int16_t k) 130 130 { 131 register short n;131 register int16_t n; 132 132 133 133 n = nn & 0xFF;
Note:
See TracChangeset
for help on using the changeset viewer.