an attempt to move docs to trunk. god tortoisesvn was an ass to do this with tortoisesvn and google code (core pdf was refused multiple times) NOTE: docs/WiiMote/Core V2.1 + EDR.pdf is still missing deu to googlecode hating me

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3491 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
daco65
2009-06-18 16:07:45 +00:00
parent 5d590d5934
commit b92be31df0
36 changed files with 14366 additions and 1 deletions

34
docs/DSP/zeldaNotes.txt Normal file
View File

@ -0,0 +1,34 @@
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