Save all registers on interrupt
authorPatrice Mandin <patmandin@gmail.com>
Sun, 17 Jul 2005 07:11:43 +0000
changeset 1093d00b4d8508ab
parent 1092 1f37386ef508
child 1094 5012b97142ac
Save all registers on interrupt
src/audio/mint/SDL_mintaudio_it.S
     1.1 --- a/src/audio/mint/SDL_mintaudio_it.S	Thu Jul 07 22:51:59 2005 +0000
     1.2 +++ b/src/audio/mint/SDL_mintaudio_it.S	Sun Jul 17 07:11:43 2005 +0000
     1.3 @@ -66,7 +66,7 @@
     1.4  	/* Swap buffers */
     1.5  	eorw	#1,_SDL_MintAudio_numbuf
     1.6  
     1.7 -	moveml	d0-d2/a0-a2,sp@-
     1.8 +	moveml	d0-d7/a0-a6,sp@-
     1.9  
    1.10  	/* Callback */
    1.11  	jsr	_SDL_MintAudio_Callback
    1.12 @@ -90,7 +90,7 @@
    1.13  	trap	#14
    1.14  	lea	sp@(12),sp
    1.15  
    1.16 -	moveml	sp@+,d0-d2/a0-a2
    1.17 +	moveml	sp@+,d0-d7/a0-a6
    1.18  
    1.19  	clrw	_SDL_MintAudio_mutex
    1.20  _SDL_MintAudio_EmptyGsxbInterrupt:
    1.21 @@ -125,7 +125,7 @@
    1.22  	/* Swap buffers */
    1.23  	eorw	#1,_SDL_MintAudio_numbuf
    1.24  
    1.25 -	moveml	d0-d2/a0-a2,sp@-
    1.26 +	moveml	d0-d7/a0-a6,sp@-
    1.27  
    1.28  	/* Callback */
    1.29  	jsr	_SDL_MintAudio_Callback
    1.30 @@ -149,7 +149,7 @@
    1.31  	trap	#14
    1.32  	lea	sp@(12),sp
    1.33  
    1.34 -	moveml	sp@+,d0-d2/a0-a2
    1.35 +	moveml	sp@+,d0-d7/a0-a6
    1.36  
    1.37  	clrw	_SDL_MintAudio_mutex
    1.38  SDL_MintAudio_XbiosEnd:
    1.39 @@ -173,7 +173,7 @@
    1.40  	/* Swap buffers */
    1.41  	eorw	#1,_SDL_MintAudio_numbuf
    1.42  
    1.43 -	moveml	d0-d1/a0-a1,sp@-
    1.44 +	moveml	d0-d7/a0-a6,sp@-
    1.45  
    1.46  	/* Callback */
    1.47  	jsr	_SDL_MintAudio_Callback
    1.48 @@ -205,7 +205,7 @@
    1.49  	rorl	#8,d1
    1.50  	moveb	d1,a0@(0x0f)
    1.51  
    1.52 -	moveml	sp@+,d0-d1/a0-a1
    1.53 +	moveml	sp@+,d0-d7/a0-a6
    1.54  
    1.55  	clrw	_SDL_MintAudio_mutex
    1.56  SDL_MintAudio_Dma8End:
    1.57 @@ -229,7 +229,7 @@
    1.58  	/* Swap buffers */
    1.59  	eorw	#1,_SDL_MintAudio_numbuf
    1.60  
    1.61 -	moveml	d0-d1/a0-a1,sp@-
    1.62 +	moveml	d0-d7/a0-a6,sp@-
    1.63  
    1.64  	/* Callback */
    1.65  	jsr	_SDL_MintAudio_Callback
    1.66 @@ -249,7 +249,7 @@
    1.67  	addl	_SDL_MintAudio_audiosize,d1
    1.68  	movel	d1,a1@(STFA_SOUND_END)
    1.69  
    1.70 -	moveml	sp@+,d0-d1/a0-a1
    1.71 +	moveml	sp@+,d0-d7/a0-a6
    1.72  
    1.73  	clrw	_SDL_MintAudio_mutex
    1.74  SDL_MintAudio_StfaEnd: