mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
664cea45c7
Using Unix tools to operate on a tree containing filename with spaces in them is really annoying, so rename the handful of instances where there were spaces. Host.cpp has never been used. Games tend to lookup the following directories that we don't yet have anything to put in, so prepopulate them in Data/User/Wii: title/00010001 title/00010002 title/00010003 title/00010004 title/00010005 title/00010006 title/00010007 meta shared2/title Set eol-style native on a number of text files which didn't already have it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
34 lines
879 B
Plaintext
34 lines
879 B
Plaintext
DSP startup sequence:
|
|
|
|
DspBoot called with (JASystem::TAudioThread::syncDSP()) as a parameter.
|
|
DSP lib initialized
|
|
A Dsp task is created:
|
|
init callback = DspHandShake()
|
|
req callback = JASystem::TAudioThread::syncDSP()
|
|
Task is pushed as first task and executed
|
|
|
|
DSP send DSP_INIT command (0xDCD10003)
|
|
__DSPHandler receive the command
|
|
|
|
task's init callback (DspHandShake) is called
|
|
1 mail is read from dsp (and discarded)
|
|
DSP flag is set as running
|
|
|
|
AIRegisterDMACallback(JASystem::TAudioThread::syncAudio((void))
|
|
AIStartDMA() to initialize dma in AI module
|
|
|
|
-----------------------------------
|
|
|
|
DSP run sequence:
|
|
|
|
__DSPHandler receive command DSP_RESUME
|
|
callback JASystem::TAudioThread::syncDSP called and pull 1 mail
|
|
A message is send by OSSendMessage(1)
|
|
|
|
JASystem::TAudioThread::audioproc receive OSMessage:
|
|
0=update dac
|
|
1=update dsp
|
|
2=nop ?
|
|
3=exit thread
|
|
|
|
dsp is updated |