What are all the bit shifting on the mem registers for?
int mem;
unsigned short uMem;
mem = open("/dev/mem", O_RDWR);
uMem=(unsigned short *)mmap(0, 4*sizeof(unsigned short),PROT_WRITE, MAP_SHARED, mem, 0);
is this the four bytes you mean?
I'm currently porting a software 3D engine to my GP2X writing directly to the framebuffer.
Nothing fancy just a spinning textured and lit cube that I did in turbo pascal some years ago.
The problem is I don't have a clue how to get input from the GP2X without using SDL or some other SDK.
I need...
why is it that when I follow digitaljez instructions everything works but I get a huge *.gpe file. I mean 2.5meg for a program that just tests a few simple SDL routines.
Is it because of using theoddbots SDL libs over the standard ones?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.