gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > DLDI, FIFOand inter-processor

#126149 - M-.-n - Fri Apr 20, 2007 10:21 am

I have a question related to DLDI. I just recieved my R4 and libfat seems to bail out although I had tested it with an DSXtreme and it worked. I also see that there's some wierd calls at one time in my sound code that uses the FIFO although I didn't even start the streaming.

I've looked quickly at the R4 code and I see code related to 'commands' that looks like the arm7/arm9 communication. Also, in card.h there is:

Code:
CARD_DATA -> REG_IPC_FIFO_RX


which seems to hint libfat might use the FIFO.

So my question is: is there any special precaution to take if using the FIFO & libfat at the same time ?

And if I'm dreaming all of this, what are the steps to debug why r4tf does not work while the dsxtreme did ?

Thanks for any pointers.. I have no way of testing my code at the moment :(

Cheers
Marc.