Index: ram/wheel.c
===================================================================
--- ram/wheel.c	(revision 66072f00cdd38404cee97411874594ab58adecf8)
+++ ram/wheel.c	(revision 018d7bad0f0479e079409bc9f7c98501ae8caad3)
@@ -115,7 +115,7 @@
 */
 
-void MouseRT(uint16_t t)
-{
-	uint16_t oldi;
+void MouseRT(int16_t t)
+{
+	int16_t oldi;
 
 	oldi = setipl(TIM_DI);		/* disable interrupts */
@@ -294,5 +294,5 @@
 void MouseEX(int8_t *str)
 {
-	uint16_t oldi, msc, mst;
+	int16_t oldi, msc, mst;
 
 #if	DEBUGMS
@@ -351,5 +351,5 @@
 
 	if (msxmov & 0x0080)
-		msxmov |= 0xFF80;
+		msxmov |= (int16_t)0xFF80;
 
 	msxmov += msxres;
@@ -358,5 +358,5 @@
 
 	if (msymov & 0x0080)
-		msymov |= 0xFF80;
+		msymov |= (int16_t)0xFF80;
 
 	msymov += msyres;
@@ -429,5 +429,5 @@
 	if ((M_state GE 0) AND (M_state < 3)) {
 
-		M_strng[M_state] = c;
+		M_strng[M_state] = (int8_t)c;
 
 		if (M_state EQ 2) {
@@ -901,7 +901,7 @@
 void curproc(void)
 {
-	register int16_t cxprev, cyprev;
+	int16_t cxprev, cyprev;
 	int16_t oldcx, oldcy;
-	register uint16_t oldi;
+	int16_t oldi;
 
 	/* SET CURRENT WAIT COUNTS FROM TIMERS */
Index: ram/wheel.x
===================================================================
--- ram/wheel.x	(revision 66072f00cdd38404cee97411874594ab58adecf8)
+++ ram/wheel.x	(revision 018d7bad0f0479e079409bc9f7c98501ae8caad3)
@@ -49,5 +49,5 @@
 extern	void		MouseIN(int16_t c);
 extern	int16_t		MouseRD(int8_t *str, int16_t nc, int16_t nt);
-extern	void		MouseRT(uint16_t t);
+extern	void		MouseRT(int16_t t);
 extern	int16_t		MouseWK(void);
 extern	void		MouseWR(int8_t *str);
