.FlushSoundBuffers LDX #3 \ We are about to flush all four sound channel buffers \ (0 to 3), so set a loop counter in X .flub1 JSR FlushSoundBuffer \ Flush the buffer for sound channel X DEX \ Decrement the loop counter BPL flub1 \ Loop back until we have flushed all four buffers RTS \ Return from the subroutine EQUB &00 \ This byte appears to be unusedName: FlushSoundBuffers [Show more] Type: Subroutine Category: Sound Summary: Flush all four specified sound buffers Deep dive: The engine soundsContext: See this subroutine in context in the source code References: This subroutine is called as follows: * CheckForCrash calls FlushSoundBuffers * KillCustomScreen calls FlushSoundBuffers * MainDrivingLoop (Part 4 of 5) calls FlushSoundBuffers * MakeDrivingSounds calls FlushSoundBuffers * ProcessShiftedKeys calls FlushSoundBuffers
[X]
Subroutine FlushSoundBuffer (category: Sound)
Flush the specified sound buffer
[X]
Label flub1 is local to this routine