Changeset 7258c6a in buchla-68k for ram/etinst.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/etinst.c
r0292fbb r7258c6a 19 19 #include "instdsp.h" 20 20 21 extern u nsigned*obj8;21 extern uint16_t *obj8; 22 22 23 extern short ctrsw;24 extern short recsw;25 extern short stccol;23 extern int16_t ctrsw; 24 extern int16_t recsw; 25 extern int16_t stccol; 26 26 27 extern short grpmode[];28 extern short grpstat[];29 extern short ins2grp[];27 extern int16_t grpmode[]; 28 extern int16_t grpstat[]; 29 extern int16_t ins2grp[]; 30 30 31 31 extern struct gdsel *gdstbc[]; … … 37 37 */ 38 38 39 short et_inst(short n)39 int16_t et_inst(int16_t n) 40 40 { 41 41 sprintf(ebuf, "%02.2d", ins2grp[n] & 0x00FF); … … 55 55 */ 56 56 57 short ef_inst(short n)57 int16_t ef_inst(int16_t n) 58 58 { 59 register short ival;59 register int16_t ival; 60 60 register struct s_entry *ep; 61 61 … … 104 104 */ 105 105 106 short rd_inst(short n)106 int16_t rd_inst(int16_t n) 107 107 { 108 charbuf[4];108 int8_t buf[4]; 109 109 110 110 sprintf(buf, "%02.2d", ins2grp[n] & 0x00FF); … … 126 126 void ds_inst(void) 127 127 { 128 register short i;128 register int16_t i; 129 129 130 130 for (i = 0; i < 12; i++) … … 142 142 */ 143 143 144 short nd_inst(short n, short k)144 int16_t nd_inst(int16_t n, int16_t k) 145 145 { 146 register short ec;146 register int16_t ec; 147 147 148 148 ec = stccol - cfetp->flcol;
Note:
See TracChangeset
for help on using the changeset viewer.