changeset 1093:d00b4d8508ab

Save all registers on interrupt
author Patrice Mandin <patmandin@gmail.com>
date Sun, 17 Jul 2005 07:11:43 +0000
parents 1f37386ef508
children 5012b97142ac
files src/audio/mint/SDL_mintaudio_it.S
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/audio/mint/SDL_mintaudio_it.S	Thu Jul 07 22:51:59 2005 +0000
+++ b/src/audio/mint/SDL_mintaudio_it.S	Sun Jul 17 07:11:43 2005 +0000
@@ -66,7 +66,7 @@
 	/* Swap buffers */
 	eorw	#1,_SDL_MintAudio_numbuf
 
-	moveml	d0-d2/a0-a2,sp@-
+	moveml	d0-d7/a0-a6,sp@-
 
 	/* Callback */
 	jsr	_SDL_MintAudio_Callback
@@ -90,7 +90,7 @@
 	trap	#14
 	lea	sp@(12),sp
 
-	moveml	sp@+,d0-d2/a0-a2
+	moveml	sp@+,d0-d7/a0-a6
 
 	clrw	_SDL_MintAudio_mutex
 _SDL_MintAudio_EmptyGsxbInterrupt:
@@ -125,7 +125,7 @@
 	/* Swap buffers */
 	eorw	#1,_SDL_MintAudio_numbuf
 
-	moveml	d0-d2/a0-a2,sp@-
+	moveml	d0-d7/a0-a6,sp@-
 
 	/* Callback */
 	jsr	_SDL_MintAudio_Callback
@@ -149,7 +149,7 @@
 	trap	#14
 	lea	sp@(12),sp
 
-	moveml	sp@+,d0-d2/a0-a2
+	moveml	sp@+,d0-d7/a0-a6
 
 	clrw	_SDL_MintAudio_mutex
 SDL_MintAudio_XbiosEnd:
@@ -173,7 +173,7 @@
 	/* Swap buffers */
 	eorw	#1,_SDL_MintAudio_numbuf
 
-	moveml	d0-d1/a0-a1,sp@-
+	moveml	d0-d7/a0-a6,sp@-
 
 	/* Callback */
 	jsr	_SDL_MintAudio_Callback
@@ -205,7 +205,7 @@
 	rorl	#8,d1
 	moveb	d1,a0@(0x0f)
 
-	moveml	sp@+,d0-d1/a0-a1
+	moveml	sp@+,d0-d7/a0-a6
 
 	clrw	_SDL_MintAudio_mutex
 SDL_MintAudio_Dma8End:
@@ -229,7 +229,7 @@
 	/* Swap buffers */
 	eorw	#1,_SDL_MintAudio_numbuf
 
-	moveml	d0-d1/a0-a1,sp@-
+	moveml	d0-d7/a0-a6,sp@-
 
 	/* Callback */
 	jsr	_SDL_MintAudio_Callback
@@ -249,7 +249,7 @@
 	addl	_SDL_MintAudio_audiosize,d1
 	movel	d1,a1@(STFA_SOUND_END)
 
-	moveml	sp@+,d0-d1/a0-a1
+	moveml	sp@+,d0-d7/a0-a6
 
 	clrw	_SDL_MintAudio_mutex
 SDL_MintAudio_StfaEnd: