src/audio/mint/SDL_mintaudio_it.S
branchSDL-1.2
changeset 3864 ea2a327b92d7
parent 1097 c83fa1c650dd
child 3866 afbcf97a5dd9
equal deleted inserted replaced
3863:4e23720e4278 3864:ea2a327b92d7
   135 	notw	_SDL_MintAudio_mutex
   135 	notw	_SDL_MintAudio_mutex
   136 	
   136 	
   137 	/* Swap buffers */
   137 	/* Swap buffers */
   138 	eorw	#1,_SDL_MintAudio_numbuf
   138 	eorw	#1,_SDL_MintAudio_numbuf
   139 
   139 
   140 	moveml	d0-d7/a0-a6,sp@-
   140 	moveml	d0-d1/a0-a1,sp@-
   141 
   141 
   142 	/* Callback */
   142 	/* Callback */
   143 	jsr	_SDL_MintAudio_Callback
   143 	jsr	_SDL_MintAudio_Callback
   144 
   144 
   145 	/* Set new buffer */
   145 	/* Set new buffer */
   167 	rorl	#8,d1
   167 	rorl	#8,d1
   168 	moveb	d1,a0@(0x11)
   168 	moveb	d1,a0@(0x11)
   169 	rorl	#8,d1
   169 	rorl	#8,d1
   170 	moveb	d1,a0@(0x0f)
   170 	moveb	d1,a0@(0x0f)
   171 
   171 
   172 	moveml	sp@+,d0-d7/a0-a6
   172 	moveml	sp@+,d0-d1/a0-a1
   173 
   173 
   174 	clrw	_SDL_MintAudio_mutex
   174 	clrw	_SDL_MintAudio_mutex
   175 SDL_MintAudio_Dma8End:
   175 SDL_MintAudio_Dma8End:
   176 	rte
   176 	rte
   177 
   177