comparison src/audio/mint/SDL_mintaudio_it.S @ 2191:29e07f91bc1f

Rename LockAudio,UnlockAudio to LockDevice,UnlockDevice. Also some small fixes
author Patrice Mandin <patmandin@gmail.com>
date Fri, 13 Jul 2007 23:58:22 +0000
parents d48ead2d2ba5
children 99210400e8b9
comparison
equal deleted inserted replaced
2190:eff1ccd88273 2191:29e07f91bc1f
76 /* Clear service bit, so other MFP interrupts can work */ 76 /* Clear service bit, so other MFP interrupts can work */
77 bclr #5,0xfffffa0f:w 77 bclr #5,0xfffffa0f:w
78 78
79 /* Check if we are not already running */ 79 /* Check if we are not already running */
80 tstw _SDL_MintAudio_mutex 80 tstw _SDL_MintAudio_mutex
81 bnes SDL_MintAudio_XbiosEnd 81 bne SDL_MintAudio_XbiosEnd
82 notw _SDL_MintAudio_mutex 82 notw _SDL_MintAudio_mutex
83 83
84 /* Swap buffers */ 84 /* Swap buffers */
85 eorw #1,_SDL_MintAudio_numbuf 85 eorw #1,_SDL_MintAudio_numbuf
86 86
150 /* Clear service bit, so other MFP interrupts can work */ 150 /* Clear service bit, so other MFP interrupts can work */
151 bclr #5,0xfffffa0f:w 151 bclr #5,0xfffffa0f:w
152 152
153 /* Check if we are not already running */ 153 /* Check if we are not already running */
154 tstw _SDL_MintAudio_mutex 154 tstw _SDL_MintAudio_mutex
155 bnes SDL_MintAudio_Dma8End 155 bne SDL_MintAudio_Dma8End
156 notw _SDL_MintAudio_mutex 156 notw _SDL_MintAudio_mutex
157 157
158 /* Swap buffers */ 158 /* Swap buffers */
159 eorw #1,_SDL_MintAudio_numbuf 159 eorw #1,_SDL_MintAudio_numbuf
160 160