2 ---------------------------------------------------------------------------------------
4 void DSPSendCommands2(_pBuffer, _NumberOfMessages, _StartWork)
7 while (!DSP_Running_Check());
9 OldInterrupts = OSDisableInterrupts();
11 if (DSPCheckMailToDSP() != 0)
13 OSRestoreInterrupts();
17 DSPSendMailToDSP(_NumberOfMessages)
21 while (DSPCheckMailToDSP() != 0) {}
23 if (_NumberOfMessages == 0)
29 r28 = DSPStartWork(*_pBuffer, _StartWork)
34 while(Count != _NumberOfMessages)
36 DSPSendMailToDSP(Buffer[Count])
37 while (DSPCheckMailToDSP() != 0) {}
41 OSRestoreInterrupts(OldInterrupts)