Another option that might be worth to consider:
It is a LGPL library which started as a library around the bare linux framebuffer and input devices.
According to the news it already supports the platform. With some of the extension projects
opengl and X window integration seems possible
Thank you, to both of you.
I just noticed that the second output did not include the code from crt0.o.
ld -T script.ld -N -s -o 940bin.elf
ld skiped the contents of crt0.s because the code there was marked to go into
the .init section.
I want to use the 2nd core of the gp2x. But up to now nothing happens.
Here is the code that is supposed to load the binary that resides in "940bin.hpp"
Some weeks ago I wrote a kernel module to be able to read the joystick like a normal linux joystick. I was told to properly advertise the module, so I updated the wiki page and provided a file in the file archive:
gp2xjoy in file archive
Reading from input device
Since the /dev/gpio code is pretty useless to keep track of input. I wrote a proper joystick
input module. The code uses a timer, i think it would be simple to turn that into an interupt handler, but I wasnt sure how the interrupt handling works on the mmsp...
Reorganize your main loop. Put /dev/GPIO and maybe some other devices like /dev/js0 or /dev/js1 (if you also want to support usb joysticks) into the read fd_set of select, and manage a list of time points. Take the smallest time point of that list and use the smallest_time_point - now() as...