Changeset 7258c6a in buchla-68k for ram/etatab.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/etatab.c
r0292fbb r7258c6a 16 16 #include "asgdsp.h" 17 17 18 extern void adpoint( short x, short y, short pen);18 extern void adpoint(int16_t x, int16_t y, int16_t pen); 19 19 20 extern void (*point)( short x, short y, short pen);20 extern void (*point)(int16_t x, int16_t y, int16_t pen); 21 21 22 extern u nsigned*asgob;22 extern uint16_t *asgob; 23 23 24 extern short asgmod;25 extern short curasg;26 extern short stccol;27 extern short stcrow;24 extern int16_t asgmod; 25 extern int16_t curasg; 26 extern int16_t stccol; 27 extern int16_t stcrow; 28 28 29 extern short adbox[][8];29 extern int16_t adbox[][8]; 30 30 31 extern chardspbuf[];31 extern int8_t dspbuf[]; 32 32 33 33 /* … … 41 41 */ 42 42 43 short et_atab(short n)43 int16_t et_atab(int16_t n) 44 44 { 45 45 sprintf(ebuf, "%02d", curasg); … … 55 55 */ 56 56 57 short ef_atab(short n)57 int16_t ef_atab(int16_t n) 58 58 { 59 register short i, tmpval;59 register int16_t i, tmpval; 60 60 61 61 ebuf[2] = '\0'; /* terminate the string in ebuf */ … … 88 88 */ 89 89 90 short rd_atab(short nn)90 int16_t rd_atab(int16_t nn) 91 91 { 92 register short n;92 register int16_t n; 93 93 94 94 n = nn & 0xFF; … … 114 114 */ 115 115 116 short nd_atab(short nn, short k)116 int16_t nd_atab(int16_t nn, int16_t k) 117 117 { 118 register short ec, n;118 register int16_t ec, n; 119 119 120 120 n = nn & 0xFF;
Note:
See TracChangeset
for help on using the changeset viewer.