Changeset 7258c6a in buchla-68k for ram/etatun.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/etatun.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 curtun;19 extern int16_t stcrow, stccol; 20 extern int16_t curtun; 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 26 /* … … 34 34 */ 35 35 36 short et_atun(short n)36 int16_t et_atun(int16_t n) 37 37 { 38 38 sprintf(ebuf, "%01.1d", curtun); … … 48 48 */ 49 49 50 short ef_atun(short n)50 int16_t ef_atun(int16_t n) 51 51 { 52 register short tmpval;52 register int16_t tmpval; 53 53 54 54 ebuf[1] = '\0'; /* terminate the string in ebuf */ … … 73 73 */ 74 74 75 short rd_atun(short nn)75 int16_t rd_atun(int16_t nn) 76 76 { 77 register short n;77 register int16_t n; 78 78 79 79 n = nn & 0xFF; … … 93 93 */ 94 94 95 short nd_atun(short nn, short k)95 int16_t nd_atun(int16_t nn, int16_t k) 96 96 { 97 register short n;97 register int16_t n; 98 98 99 99 n = nn & 0xFF;
Note:
See TracChangeset
for help on using the changeset viewer.