Changeset 7258c6a in buchla-68k for ram/etwhar.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/etwhar.c
r0292fbb r7258c6a 17 17 extern void advwcur(void); 18 18 extern void newws(void); 19 extern void wdswin( short n);19 extern void wdswin(int16_t n); 20 20 21 extern u nsigned*waveob;21 extern uint16_t *waveob; 22 22 23 extern short stccol, curwhrm;23 extern int16_t stccol, curwhrm; 24 24 25 extern short wdbox[][8];25 extern int16_t wdbox[][8]; 26 26 27 extern chardspbuf[];27 extern int8_t dspbuf[]; 28 28 29 29 /* … … 37 37 */ 38 38 39 short et_whar(short n)39 int16_t et_whar(int16_t n) 40 40 { 41 41 sprintf(ebuf, "%02d", curwhrm + 1); … … 50 50 */ 51 51 52 short ef_whar(short n)52 int16_t ef_whar(int16_t n) 53 53 { 54 register short i, tmpval;54 register int16_t i, tmpval; 55 55 56 56 ebuf[2] = '\0'; /* terminate the string in ebuf */ … … 81 81 */ 82 82 83 short rd_whar(short nn)83 int16_t rd_whar(int16_t nn) 84 84 { 85 register short n;85 register int16_t n; 86 86 87 87 n = nn & 0xFF; … … 101 101 */ 102 102 103 short nd_whar(short nn, short k)103 int16_t nd_whar(int16_t nn, int16_t k) 104 104 { 105 register short ec, n;105 register int16_t ec, n; 106 106 107 107 n = nn & 0xFF;
Note:
See TracChangeset
for help on using the changeset viewer.