- Timestamp:
- 11/12/2017 05:45:59 PM (7 years ago)
- Branches:
- master
- Children:
- 19caa64
- Parents:
- 66072f0
- Location:
- ram
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/wheel.c
r66072f0 r018d7ba 115 115 */ 116 116 117 void MouseRT( uint16_t t)118 { 119 uint16_t oldi;117 void MouseRT(int16_t t) 118 { 119 int16_t oldi; 120 120 121 121 oldi = setipl(TIM_DI); /* disable interrupts */ … … 294 294 void MouseEX(int8_t *str) 295 295 { 296 uint16_t oldi, msc, mst;296 int16_t oldi, msc, mst; 297 297 298 298 #if DEBUGMS … … 351 351 352 352 if (msxmov & 0x0080) 353 msxmov |= 0xFF80;353 msxmov |= (int16_t)0xFF80; 354 354 355 355 msxmov += msxres; … … 358 358 359 359 if (msymov & 0x0080) 360 msymov |= 0xFF80;360 msymov |= (int16_t)0xFF80; 361 361 362 362 msymov += msyres; … … 429 429 if ((M_state GE 0) AND (M_state < 3)) { 430 430 431 M_strng[M_state] = c;431 M_strng[M_state] = (int8_t)c; 432 432 433 433 if (M_state EQ 2) { … … 901 901 void curproc(void) 902 902 { 903 registerint16_t cxprev, cyprev;903 int16_t cxprev, cyprev; 904 904 int16_t oldcx, oldcy; 905 register uint16_t oldi;905 int16_t oldi; 906 906 907 907 /* SET CURRENT WAIT COUNTS FROM TIMERS */ -
ram/wheel.x
r66072f0 r018d7ba 49 49 extern void MouseIN(int16_t c); 50 50 extern int16_t MouseRD(int8_t *str, int16_t nc, int16_t nt); 51 extern void MouseRT( uint16_t t);51 extern void MouseRT(int16_t t); 52 52 extern int16_t MouseWK(void); 53 53 extern void MouseWR(int8_t *str);
Note:
See TracChangeset
for help on using the changeset viewer.