libnds 1.4.4 now available

Latest devkitPro news and announcements

libnds 1.4.4 now available

Postby WinterMute » Sat Jul 24, 2010 11:01 am

libnds 1.4.4 and default arm7 0.5.13 along with updated ds examples are now available through the windows installer as usual and from the getting started page on the wiki.


libnds 1.4.4
  • Refactored and improved eeprom detection code.
  • changed timerStop() to clear the entire register and an internal variable.
  • added timerTick(), timerPause(), timerStop(), timerUnpause() and cpuGetTiming() functions.
  • fixed overflow bug in timerElapsed.
  • restored stderr output on default console.
  • added oamClearSprite() to clear a single sprite.
  • corrected keyboard = symbol.
  • startup code allocates VRAM A, B, C & D to reasonable default - main bg, main obj, sub bg & sub obj.
  • improved and extended doxygen documentation.

default arm7 0.5.13
  • recompiled with latest libraries.

nds-examples 20100724
  • updates for new libnds.
  • added several new timer examples.

With thanks to vuurrobin for his major contributions to this release.
WinterMute
Site Admin
 
Posts: 619
Joined: Tue Aug 09, 2005 2:21 am
Location: UK

Re: libnds 1.4.4 now available

Postby ritz » Tue Jul 27, 2010 5:00 pm

Thanks for the updates.

I rebuilt my little project with the latest releases and have unfotunately lost my sound.

Sound worked with (binaries from SF):
- devkitARM r31
- libnds 1.4.3
- default arm7 0.5.12
- etc..

Sound not working with (binaries from SF):
- devkitARM r31
- libnds 1.4.5
- default arm7 0.5.13
- etc..

After digging around a bit, I discovered that the new default arm7 was the culprit. I took a look at default_arm7-src-0.5.13.tar.bz2 and found this line:

Code: Select all
*(vu16*)(0x04004700) = (1<<14) | 0x08;

The interesting part is that this line isn't in SVN. I couldn't really figure out what that address is either. My guess is that this is what's breaking the sound for me.

P.S. I didn't submit a bug report for this because it's not in SVN and I'm not sure if it's supposed to be there or not.
Fandian - my DS hobby
ritz
 
Posts: 13
Joined: Thu Jun 04, 2009 2:17 pm
Location: Canada

Re: libnds 1.4.4 now available

Postby vuurrobin » Tue Jul 27, 2010 11:27 pm

according to gbatek, the 04000000h range is for I/O ports.

according to sourceforge, there has been a new default arm7 binary released 2 hours ago. so try updating and see if that fixes it.

if that doesn't work, you could try building the default arm7 binary from svn and see if that works. that should tell us if it already has been fixed in svn or not.

btw, are you using maxmod for sound or something else.

and WinterMute, my nickname is vuurrobin. double 'u', double 'r' and preferebly all lowercase.

edit: you also might want to update the docs at http://libnds.devkitpro.org/
User avatar
vuurrobin
 
Posts: 195
Joined: Fri Jul 11, 2008 7:49 pm
Location: the netherlands

Re: libnds 1.4.4 now available

Postby WinterMute » Wed Jul 28, 2010 11:12 am

0x04004700 is a DSi register, something I was testing and apparently didn't create the dist tarballs before reverting to svn code, sorry. Fixed with latest release.

libnds online docs were updated on Monday, clear your browser cache. I should probably look at preventing the online docs from being cached since it looks like the filenames change when things are updated.

Nick fixed, sorry.

libnds was also updated for that stupid console issue :/

viewtopic.php?f=13&t=2067
WinterMute
Site Admin
 
Posts: 619
Joined: Tue Aug 09, 2005 2:21 am
Location: UK

Re: libnds 1.4.4 now available

Postby ritz » Wed Jul 28, 2010 2:25 pm

Works great now. Thanks for the quick update.
Fandian - my DS hobby
ritz
 
Posts: 13
Joined: Thu Jun 04, 2009 2:17 pm
Location: Canada

Re: libnds 1.4.4 now available

Postby MrAndini » Thu Aug 05, 2010 3:29 pm

Haave the "time" and "gmtime" functions been removed from this version of the library?

My code that previously compiled now says "warning implicit declaration of function " for both time and gmtime

I look in the sys folder for libnds and there is no time.h file.
MrAndini
 
Posts: 19
Joined: Sun Dec 07, 2008 11:32 pm

Re: libnds 1.4.4 now available

Postby vuurrobin » Thu Aug 05, 2010 8:16 pm

they work for me.

check if you call the functions right, time takes an parameter.


and time.h is part of the c standard library, not libnds. is it is somewhere in the devkitARM directory.
User avatar
vuurrobin
 
Posts: 195
Joined: Fri Jul 11, 2008 7:49 pm
Location: the netherlands

Re: libnds 1.4.4 now available

Postby MrAndini » Fri Aug 06, 2010 4:31 pm

Thanks

I inclkuded time.h and all fixed now.
Seems one of the include files from the library must have previously included time.h so no errors previously.
MrAndini
 
Posts: 19
Joined: Sun Dec 07, 2008 11:32 pm


Return to Announcements

Who is online

Users browsing this forum: No registered users and 2 guests