Damn. Need to be more careful with stack stuff. SDL-1.2
authorPatrice Mandin <patmandin@gmail.com>
Fri, 06 Nov 2009 22:43:51 +0000
branchSDL-1.2
changeset 4378 dae8891fae2d
parent 4377 c92927bd421a
child 4379 2da8b4494ceb
Damn. Need to be more careful with stack stuff.
src/video/ataricommon/SDL_ikbdinterrupt.S
--- a/src/video/ataricommon/SDL_ikbdinterrupt.S	Fri Nov 06 22:40:19 2009 +0000
+++ b/src/video/ataricommon/SDL_ikbdinterrupt.S	Fri Nov 06 22:43:51 2009 +0000
@@ -181,7 +181,7 @@
 ikbd:
 #if defined(__mcoldfire__)
 	lea	sp@(-12),sp
-	moveml	sp@,d0-d1/a0
+	moveml	d0-d1/a0,sp@
 #else
 	moveml	d0-d1/a0,sp@-
 #endif
@@ -288,7 +288,7 @@
 ikbd_mousex:
 #if defined(__mcoldfire__)
 	lea	sp@(-12),sp
-	moveml	sp@,d0-d1/a0
+	moveml	d0-d1/a0,sp@
 #else
 	moveml	d0-d1/a0,sp@-
 #endif
@@ -323,7 +323,7 @@
 ikbd_mousey:
 #if defined(__mcoldfire__)
 	lea	sp@(-12),sp
-	moveml	sp@,d0-d1/a0
+	moveml	d0-d1/a0,sp@
 #else
 	moveml	d0-d1/a0,sp@-
 #endif
@@ -358,7 +358,7 @@
 ikbd_joystick:
 #if defined(__mcoldfire__)
 	lea	sp@(-12),sp
-	moveml	sp@,d0-d1/a0
+	moveml	d0-d1/a0,sp@
 #else
 	moveml	d0-d1/a0,sp@-
 #endif