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 > ipc structs replacement ?

#168748 - hacker013 - Tue May 19, 2009 6:17 pm

I found some old library's for the nds but they use a custom fifo and ipc structs, so I replaced the old fifo with the new one but what is the best way to replace the ipc structs ??
_________________
Website / Blog

Let the nds be with you.

#168770 - hacker013 - Thu May 21, 2009 7:45 am

anybody ?
_________________
Website / Blog

Let the nds be with you.

#168772 - Echo49 - Thu May 21, 2009 9:06 am

If you're not concerned about speed too much, why not just allocate some memory in main RAM with the ARM9 and fifo the address to the ARM7?

#168780 - wintermute - Sat May 23, 2009 12:06 am

Try rephrasing your question, replacing the IPC struct(s) is a bad idea.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#168794 - hacker013 - Mon May 25, 2009 7:34 am

I found this old library which used a custom fifo system and ipc structs so I replaced custom fifo system with the new fifo system from libnds and now is the question how do I update the ipc structs to work with the new libnds or isn't any modification on those struct nessesary? Because I thought that was deprecated. Now if made a system which syncs the whole time the structs on both sides when any changes are made but I think this isn't the fastest way. Any solution for this ?
_________________
Website / Blog

Let the nds be with you.

#168796 - Echo49 - Mon May 25, 2009 7:58 am

What I said - allocate the memory in main RAM with ARM9, then fifo the address to ARM7. Changes made by either processor would be instant, although you'll probably get a dock in execution speed due to RAM locking.

#168798 - Dwedit - Mon May 25, 2009 11:58 am

The cache will screw with you if you try to do that.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#168799 - elwing - Mon May 25, 2009 2:40 pm

and even if 32bit concurent access is fine you will always need something to assure whole data structure concurence....

#168801 - wintermute - Mon May 25, 2009 9:22 pm

What does the library do?
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#168814 - hacker013 - Tue May 26, 2009 3:18 pm

it is a library to play mp3's , it is using the helix decoder.
_________________
Website / Blog

Let the nds be with you.

#168837 - hacker013 - Thu May 28, 2009 4:02 pm

for other people who wanna try to get this work with the new libnds so that we get again mp3 decoding on the nds: http://blea.ch/wiki/index.php/Thmp3
_________________
Website / Blog

Let the nds be with you.

#168958 - hacker013 - Fri Jun 05, 2009 4:00 pm

Can some please look at it because I need it and I can't get it to work, I'm now almost trying a few weeks to get it working.
_________________
Website / Blog

Let the nds be with you.