Variable behaviour with different linkers

Post Reply
Baz
Posts: 2
Joined: Tue Apr 28, 2009 5:46 am

Variable behaviour with different linkers

Post by Baz » Thu Apr 30, 2009 6:54 am

Hi,


I use libnds (1.3.1 and r25.) in a research project, wrapping some of its code into software components to be able to compose various light kernels personalities.
I faced some troubles related to linkers running a test code using touchscreen, buttons, timers, interrupts, console output and 2D graphics.

On DSlinker8G, everything works fine.
On DSerial-Edge, touchscreen does not seem to work (but works with dserial-edge examples), and 2D animation also (may be an interrupt problem). system time does not works too.
On X9, the symptoms are the same as on DS linker, with a bug on text display
On DSOne, touch screen is working but not 2D animation.

I guess this is a problem of system init. I found some stuff in initSystem function, but never found any call to this function in libnds examples.

Who or what calls this function ?
What critical system init has to be done exactly ?
How a particular linker can influence the execution of a program ?

Cheers,
Baz

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests