Changeset 7258c6a in buchla-68k for ram/etadep.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/etadep.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 ps_dpth;19 extern int16_t stcrow, stccol; 20 extern int16_t ps_dpth; 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_adep(short n)36 int16_t et_adep(int16_t n) 37 37 { 38 38 sprintf(ebuf, "%02d", ps_dpth); … … 48 48 */ 49 49 50 short ef_adep(short n)50 int16_t ef_adep(int16_t n) 51 51 { 52 register short i, tmpval;52 register int16_t i, tmpval; 53 53 54 54 ebuf[2] = '\0'; /* terminate the string in ebuf */ … … 75 75 */ 76 76 77 short rd_adep(short nn)77 int16_t rd_adep(int16_t nn) 78 78 { 79 register short n;79 register int16_t n; 80 80 81 81 n = nn & 0xFF; … … 95 95 */ 96 96 97 short nd_adep(short nn, short k)97 int16_t nd_adep(int16_t nn, int16_t k) 98 98 { 99 register short ec, n;99 register int16_t ec, n; 100 100 101 101 n = nn & 0xFF;
Note:
See TracChangeset
for help on using the changeset viewer.