Changeset 7258c6a in buchla-68k for ram/etaopt.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/etaopt.c
r0292fbb r7258c6a 15 15 #include "asgdsp.h" 16 16 17 extern u nsigned*asgob;17 extern uint16_t *asgob; 18 18 19 extern short stcrow, stccol;20 extern short curmop;19 extern int16_t stcrow, stccol; 20 extern int16_t curmop; 21 21 22 extern short adbox[][8];22 extern int16_t adbox[][8]; 23 23 24 extern chardspbuf[];24 extern int8_t dspbuf[]; 25 25 26 extern char*gprep[];26 extern int8_t *gprep[]; 27 27 28 28 /* … … 36 36 */ 37 37 38 short et_aopt(short n)38 int16_t et_aopt(int16_t n) 39 39 { 40 40 sprintf(ebuf, "%01.1d", curmop); … … 50 50 */ 51 51 52 short ef_aopt(short n)52 int16_t ef_aopt(int16_t n) 53 53 { 54 register short tmpval;54 register int16_t tmpval; 55 55 56 56 ebuf[1] = '\0'; /* terminate the string in ebuf */ … … 77 77 */ 78 78 79 short rd_aopt(short nn)79 int16_t rd_aopt(int16_t nn) 80 80 { 81 register short n;81 register int16_t n; 82 82 83 83 n = nn & 0xFF; … … 96 96 */ 97 97 98 short nd_aopt(short nn, short k)98 int16_t nd_aopt(int16_t nn, int16_t k) 99 99 { 100 register short n;100 register int16_t n; 101 101 102 102 if ((k < 1) OR (k > 2))
Note:
See TracChangeset
for help on using the changeset viewer.