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 > Sourcecode of DLDI_Tester?

#135014 - 020200 - Thu Jul 19, 2007 11:17 am

Since about two weeks I am struggeling to get the DLDI-enables filesystem running, thinking that I tried everything. The most simple examples did not work (using PAlib, everyone in the forum exept me seem to get this thing working thread: http://palib.info/forum/modules/newbb/viewtopic.php?topic_id=2632&post_id=20170#forumpost20170) I installed the latest card-firmware and the latest DevKitARM r20 and the latest PAlib. Nothing works, I even tried patching with other DLDI-files - nothing.

I use the M3 lite (micro)SD and there a lots of homebrew that can be patched without problems running smoothly. Even the DLDI_tester (http://dldi.drunkencoders.com/uploads/5/5c/Dldi_tester.zip) was running seamlessy with the M3-DLDI patch.

Now I am asking if it would be possible to release the source-code of the DLDI-tester. This would even me help to figure out the problem/error. The hardware is able to run DLDI-patched homebrew, but somewhere between code, compile, patch and running on the DS must be an source of error.

The source-files of the DLDI-tester to try-out and compile for myself would be an remarkable help!

#135026 - Lynx - Thu Jul 19, 2007 2:04 pm

There are plenty of projects with source available that use DLDI. Have you looked at any of those?
_________________
NDS Homebrew Roms & Reviews

#135030 - 020200 - Thu Jul 19, 2007 2:44 pm

Unfortunatelly all that ones I found that work on my card have no sourcecode available.

The other thing would be (if chishm won't be sharing his code) to write a 100% proof simple template to share.

#135042 - Lynx - Thu Jul 19, 2007 6:33 pm

What about the PAlib examples? Do they not work either? If you are unable to compile and use them, then I would think there is something wrong with your dev environment.
_________________
NDS Homebrew Roms & Reviews

#135043 - Diddl - Thu Jul 19, 2007 6:54 pm

I don't have the source of the DLDI tester from Chishm but I have made an own: klick

#135211 - 020200 - Fri Jul 20, 2007 10:57 pm

Thanks a lot Diddl. I succesfully compiled and patched the test and a first own r/w test. It works! Now I can figure out the error. The first thing I can think of is the line

sysSetBusOwners(1,1);

which I have no clue what it does. Nevertheless now I can build upon that template. Thanks again.