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.

Announcements And Comments > libnds 1.4.6, default arm7 0.5.16, dswifi 0.3.13

#175189 - wintermute - Thu Sep 23, 2010 9:42 am

As posted on http://devkitpro.org/viewtopic.php?f=13&t=2222

Note: The current desmume stable release doesn't work with the new FIFO code. It has been fixed in SVN and will be working again with the next release.


libnds 1.4.6, the default arm7 0.5.16 and dswifi 0.3.13 are now available through the windows installer as usual and from the getting started page on the wiki.

libnds 1.4.6

  • Improved FIFO communication code.
  • add getBatteryLevel for power staus.
  • add glFog functions.
  • improve PCX decoder.
  • corrected affine matrix order.
  • Fixed fifoSendDatamsg to allow 0-byte messages.
  • allow for exceptions from usermode.
  • touchscreen working in DSi mode.
  • improved linked list code.
  • documentation fixes and code cleanup.


default arm7 0.5.16

  • recompiled with latest libnds.


dswifi 0.3.13

  • defer socket close while data is sending.


With thanks to Apples, Vuurrobin, Zeromus and Dovoto for their contributions to these releases.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog


Last edited by wintermute on Fri Sep 24, 2010 9:39 pm; edited 2 times in total

#175191 - Rajveer - Thu Sep 23, 2010 2:41 pm

Nice work!

Quick question, what was wrong with the affine matrix order? Just seeing if I'll have to update some functions.

#175194 - sverx - Fri Sep 24, 2010 1:08 pm

wintermute wrote:
libnds 1.4.5, the default arm7 0.5.14 and dswifi 0.3.13 are now available


typo: it's 1.4.6

wintermute wrote:
Improved FIFO communication code.


Was there a bug? I had a problem with it and would be nice to know it's gone...

#175195 - wintermute - Fri Sep 24, 2010 9:44 pm

Rajveer wrote:
Nice work!

Quick question, what was wrong with the affine matrix order? Just seeing if I'll have to update some functions.


Looking at some diffs it seems that related to the libnds sprite functions. Shouldn't have any effect if you were using direct register access.

sverx wrote:
wintermute wrote:
libnds 1.4.5, the default arm7 0.5.14 and dswifi 0.3.13 are now available


typo: it's 1.4.6


meh, fixed. That's what I get for copying text from old posts & modifying.

Quote:

wintermute wrote:
Improved FIFO communication code.


Was there a bug? I had a problem with it and would be nice to know it's gone...



Nothing specific, just refactored some code that might be unstable in particular situations. Hard to know if your problem is gone without knowing what it was.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog


Last edited by wintermute on Tue Sep 28, 2010 12:29 pm; edited 2 times in total

#175197 - sverx - Mon Sep 27, 2010 3:16 pm

wintermute wrote:
Hard to know if your problem is gone without knowing what it was.


It was fifoSendValue32() failing after the 127th use. We were discussing it here -> http://devkitpro.org/viewtopic.php?f=15&t=1510

#175198 - vuurrobin - Mon Sep 27, 2010 9:22 pm

wintermute wrote:
Rajveer wrote:
Nice work!

Quick question, what was wrong with the affine matrix order? Just seeing if I'll have to update some functions.


Looking at some diffs it seems that related to the libnds sprite functions. Shouldn't have any effect if you were using direct register access.


the hdy and vdx registers were wrong in the struct (vdx should come before hdy). the sprite rotatescale function then compensated for the bug, so I corrected them both. the rotatescale function works the same as before and the affinematrix function/direct register access now behaves as it should (remember that it's an inverse affine matrix).
_________________
my blog:
http://vuurrobin.100webcustomers.com/