Changeset 7258c6a in buchla-68k for ram/etaprg.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/etaprg.c
r0292fbb r7258c6a 21 21 #endif 22 22 23 extern u nsigned*asgob;23 extern uint16_t *asgob; 24 24 25 extern short stcrow, stccol;26 extern short prgchan;25 extern int16_t stcrow, stccol; 26 extern int16_t prgchan; 27 27 28 extern short adbox[][8];28 extern int16_t adbox[][8]; 29 29 30 extern chardspbuf[];30 extern int8_t dspbuf[]; 31 31 32 32 /* … … 40 40 */ 41 41 42 short et_aprg(short n)42 int16_t et_aprg(int16_t n) 43 43 { 44 44 sprintf(ebuf, "%02d", prgchan); … … 54 54 */ 55 55 56 short ef_aprg(short n)56 int16_t ef_aprg(int16_t n) 57 57 { 58 register short i, tmpval;58 register int16_t i, tmpval; 59 59 60 60 ebuf[2] = '\0'; /* terminate the string in ebuf */ … … 88 88 */ 89 89 90 short rd_aprg(short nn)90 int16_t rd_aprg(int16_t nn) 91 91 { 92 register short n;92 register int16_t n; 93 93 94 94 n = nn & 0xFF; … … 108 108 */ 109 109 110 short nd_aprg(short nn, short k)110 int16_t nd_aprg(int16_t nn, int16_t k) 111 111 { 112 register short ec, n;112 register int16_t ec, n; 113 113 114 114 n = nn & 0xFF;
Note:
See TracChangeset
for help on using the changeset viewer.