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 > devkitARM release 16

#54675 - wintermute - Wed Sep 21, 2005 3:25 pm

catching up on some updates

http://www.devkitpro.org/

libnds updates.

  • Added glOrtho functions.
  • Started preparing headers for doxygen documentation.
  • The fdiv64 and mod64 accelerator functions have been corrected to use the correct values.
  • The CARD_CR1 register define has been fixed and the cardReadEeprom function updated, it should now work properly.
  • An interworking aware interrupt dispatcher has now been added which includes nested interrupt support. The irqInit function installs this dispatcher and all user code should use the accessor functions provided in nds/interrupts.h
  • The console printing functions have been removed and replaced with stdio hooks, including basic ansi escape sequences. Examples of their use have been provided.
  • Touch code has been tidied and stabilised slightly. There is still some work to do on this.
  • Added image24to16(sImage* img)
  • The setGenericSound function has been added to nds/arm9/sound.h , the PlaySound function has been fixed.
  • Some register definitions have been renamed, where possible the wrapper functions provided should be used in preference to direct hardware access.


libgba updates

  • The prototype syscalls have been moved to newlib and are no longer part of libgba.
  • Stdio printing support has been implemented, including basic ansi sequences. Examples are provided.
  • Default interrupt dispatcher rewritten to allow nested interrupts.
  • Some other general tidying and bugfixing.


NDS example code.

  • Added glOrtho example.
  • Corrected examples using ansi escape sequences.


devkitPro Updater 1.0.9

  • Now updates version number in add/remove programs.
  • Adds Gamecube example code.
  • Updated libnds.
  • Updated NDS example code.


devkitARM updates.

  • Improved patch to newlib to aid stdio support.
  • Ndstool embedded loader fixed and embedded default arm7 core updated.
  • Gbfs now closes input files it's finished with which should remove the limit on the number of files.

#55062 - wintermute - Sun Sep 25, 2005 3:31 am

release 16 is now available for OS X

http://www.devkitpro.org

#56700 - wwcube - Mon Oct 10, 2005 5:53 pm

I'm using CVS version of libgba.

In gba_video.h, REG_BG2X, REG_BG2Y, REG_BG3X and REG_BG3Y are
defined as vu16.
But it should be defined as vu32.
Please fix it.

#56784 - TheMikaus - Tue Oct 11, 2005 3:16 pm

When I compile with the newest grab by devkitpro's updater, it gives me the following errors

c:/devkitpro/devkitarm/bin/../lib/gcc/arm-elf/4.0.1/../../../../arm-elf/lib/interwork\libc.a(sbrkr.o): In function `_sbrk_r':
: undefined reference to `_sbrk'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-elf/4.0.1/../../../../arm-elf/lib/interwork\libc.a(makebuf.o): In function `__smakebuf':
: undefined reference to `isatty'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-elf/4.0.1/../../../../arm-elf/lib/interwork\libc.a(writer.o): In function `_write_r':
: undefined reference to `_write'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-elf/4.0.1/../../../../arm-elf/lib/interwork\libc.a(closer.o): In function `_close_r':
: undefined reference to `_close'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-elf/4.0.1/../../../../arm-elf/lib/interwork\libc.a(fstatr.o): In function `_fstat_r':
: undefined reference to `_fstat'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-elf/4.0.1/../../../../arm-elf/lib/interwork\libc.a(lseekr.o): In function `_lseek_r':
: undefined reference to `_lseek'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-elf/4.0.1/../../../../arm-elf/lib/interwork\libc.a(readr.o): In function `_read_r':


the makefile and project worked prior to my update of the devkit

#56878 - wintermute - Wed Oct 12, 2005 2:56 am

Are you using the built in specs files? If not, why not?

#56949 - TheMikaus - Wed Oct 12, 2005 2:16 pm

I'm using the makefile that AAS came with. That's what's doing all the work. And I couldn't get AAS to work with the default makefile (mainly because I don't understand how to modify makefiles very well)

#57872 - wintermute - Wed Oct 19, 2005 12:47 am

I've just committed an Apex Audio example to the gba examples in devkitPro CVS. This is basically just one of the examples from AAS 1.08 rewritten slightly to use libgba and a standardised devkitARM makefile.

I'll be releasing another examples tarball for the updater in another day or so when I get r17 in a releasable state.

#57889 - tepples - Wed Oct 19, 2005 2:42 am

Do you plan on adding some examples that work roughly the same way on Nintendo DS+PassMe+GBAMP and on recent iDeaS?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#57912 - gladius - Wed Oct 19, 2005 6:18 am

Trying to be compatible with an emulator doesn't seem like a worthwhile goal for a devkit in my opinion. Ideas doesn't support enough stuff that it's not incredibly useful as a development target in any case, plus it doesn't really have debugging tools to help you figure out if it's the emulators fault or your code.

#57916 - tepples - Wed Oct 19, 2005 6:32 am

The only reason I brought up emulators is that I want to develop for the DS, but I'm rawther put off by all the manual labor that must be repeated for each build.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#57920 - gladius - Wed Oct 19, 2005 7:42 am

You have a flash cart from gba development don't you? So you can use that and cut down on your number of steps. It usually takes me about 30 seconds to go from build to test (including flash time). That of course changes for large programs.

Relying on emulators in their current state is also asking for trouble, especially with the fun stuff like 3D and sound :).

#57933 - wintermute - Wed Oct 19, 2005 11:34 am

tepples wrote:
Do you plan on adding some examples that work roughly the same way on Nintendo DS+PassMe+GBAMP and on recent iDeaS?


This is something that puzzles me, there have been comments made about code behaving differently between FlashMe, WifiMe and PassMe but I've yet to see the evidence. Locally all the examples work the same way for me using all the methods I can currently use. If anyone has any samples which do behave differently I'd like to see them.

There are some problems with gbamp and G6 which need some modifications in their respective launchers afaict.

As for iDeaS, nothing I write that uses bios calls works with it so right now it's a waste of time.

#57965 - gladius - Wed Oct 19, 2005 5:27 pm

Wintermute: I think he might mean the fact that a wifime'd rom can't use the rom for a filesystem while the flashme or passme guy might be able to (depending on movie player status, etc.).

#58174 - TheMikaus - Fri Oct 21, 2005 2:17 pm

wintermute wrote:
I've just committed an Apex Audio example to the gba examples in devkitPro CVS. This is basically just one of the examples from AAS 1.08 rewritten slightly to use libgba and a standardised devkitARM makefile.

I'll be releasing another examples tarball for the updater in another day or so when I get r17 in a releasable state.


Thanks! Much appreciated.

#58179 - wintermute - Fri Oct 21, 2005 3:01 pm

TheMikaus wrote:

Thanks! Much appreciated.


No worries, the promised update is at http://forum.gbadev.org/viewtopic.php?t=7233