Search found 7 matches

by Copper
Sun Feb 15, 2015 9:21 pm
Forum: Announcements
Topic: devkitARM release 44 and libraries
Replies: 12
Views: 63279

Re: devkitARM release 44

Compiling libnds project not working with this version :

libnds9.a(initSystem.o): In function `initSystem':
arm9/system/initSystem.c:97: undefined reference to `punixTime'
collect2.exe: error: ld returned 1 exit status
by Copper
Tue Aug 12, 2014 8:59 am
Forum: Announcements
Topic: devkitARM release 42 and associated libraries.
Replies: 5
Views: 30947

Re: devkitARM release 42 and associated libraries.

When I use this new version i've got an error : (I use c99 mode) c:\devkitPro\libnds\include\nds\arm9\videoGL.h||In function 'glFlush':| c:\devkitPro\libnds\include\nds\arm9\videoGL.h|731|error: 'asm' undeclared (first use in this function)| c:\devkitPro\libnds\include\nds\arm9\videoGL.h|731|note: e...
by Copper
Thu Jan 27, 2011 10:07 pm
Forum: DS/DSi Development
Topic: Obtain MAC address
Replies: 8
Views: 9193

Re: Obtain MAC address

In my NIFI homebrews i use :

Code: Select all

	Wifi_InitDefault(false);

...

	u8 macAddress[6];
	Wifi_GetData(WIFIGETDATA_MACADDRESS, 6, macAddress);
by Copper
Mon Oct 05, 2009 1:20 pm
Forum: DS/DSi Development
Topic: Trouble with timers.h (SOLVED)
Replies: 6
Views: 6764

Re: Trouble with timers.h

Perhaps remove irqInit(); if you're using last versions (libnds 1.3.x)
by Copper
Sun Sep 27, 2009 7:29 pm
Forum: DS/DSi Development
Topic: libnds 1.3.5 / 1.3.8 FIFO problem
Replies: 1
Views: 3264

Re: libnds 1.3.5 / 1.3.8 FIFO problem

I think I found the bug (memory leak) : The bug is in fifoInternalSend : Current code in libnds 1.3.8 : if (!firstwordsent) { u32 head = fifo_allocBlock(); FIFO_BUFFER_DATA(head)=firstword; fifo_send_queue.head = fifo_send_queue.tail = head; } If first word not sent and fifo_send_queue.head != FIFO_...
by Copper
Sun Sep 20, 2009 9:14 pm
Forum: DS/DSi Development
Topic: libnds 1.3.5 / 1.3.8 FIFO problem
Replies: 1
Views: 3264

libnds 1.3.5 / 1.3.8 FIFO problem

Hi, I have a little problem with the FIFO based arm9->arm7 communication in the last libnds... Actually in my 'work in progress' emulator, after a while (some minutes), X / Y keys and stylus are not working anymore... In my code I use only arm9 -> arm7 communication for sound, and when the problem o...
by Copper
Tue Jan 27, 2009 9:41 am
Forum: DS/DSi Development
Topic: libnds 1.3.1 - FIFO Problem
Replies: 10
Views: 20221

RE

found the problem :-) So for anyone else interested: In my very old project i had the wrong cpu architecture selected in the arm9 makefile was ARCH := -marm -mthumb-interwork which has to be changed to this, so the fifo works: ARCH := -mthumb -mthumb-interwork additionally the arm9 main shouldn't c...