Recent content by DrStrider

  1. D

    Is It Possible To Have Standard C Libraries On The 940?

    Though so - just after I got the post saying "it's not possible" I managed to link in the standard C library! For some reason doing a -lc didn't work and I had to specify the whole path (devkitgp2x\lib etc...) to the libc library Do you know how you go about setting the area of memory used by...
  2. D

    Is It Possible To Have Standard C Libraries On The 940?

    But for example malloc - can the standard C library malloc be set up with a section of the upper 32Meg of memory for the 940, and then work correctly?
  3. D

    Is It Possible To Have Standard C Libraries On The 940?

    Is it possible to have Standard C Libraries on the 940, for example memset? here's my makefile: # --------------------------------------------------------------------- OBJS_940 =\ 940/Main.o \ 940/Stuff.o Code940.bin : $(OBJS_940) $(LD) -e Main940 -Ttext 0 $(OBJS_940) -o Code940.elf -lc...
  4. D

    GP2X 940 Unstable

    Okay I think I've sorted it! If it helps anyone else here's what seemed to fix it, not sure which change it was or if it was all of them put together which made it stable.... static void Init940() { FILE *f=NULL; int ret=0,pos=0; unsigned char temp[0x400]; memset(temp,0,sizeof(temp))...
  5. D

    GP2X 940 Unstable

    Thanks for the stuff! It's so weird, I tried all that but the 940 is behaving even weirder now... remember that loop which counts up and fills up a few lines of the screen? void DoStuff() { // Loop forever: int i=0,col=0xfe00; for (;;) { for (i=2*320*10; i<2*320*20; i+=2) {...
  6. D

    GP2X 940 Unstable

    That's a good idea, would killall generate a similar signal? Has anyone else had this problem when programming the 940?
  7. D

    GP2X 940 Unstable

    Hello everyone, Was wondering if anyone might be able to help me - I'm trying to run some code on the 940, specifically a sound mixer, and I'm running into trouble. I can run code on the 940, which I can see by setting the video registers to the program location, but occasionally, especially...
  8. D

    GP2X Does The Gp2x Run At 81.2hz?

    yeah, i found that the other day
  9. D

    GP2X Does The Gp2x Run At 81.2hz?

    contra in bold
  10. D

    GP2X Does The Gp2x Run At 81.2hz?

    Thing you just contradicted yourself there , hehe ;) Yeah pretty sure it has vsync. I'm gonna try and match the refresh with 60hz, see if the scrolling gets nice and smooth. Just surprised no-one else has tried this! I presume they have? There's that lcd timing program isn't there? Any idea...
  11. D

    GP2X Does The Gp2x Run At 81.2hz?

    blimey :unsure: so it does! theres no units though...!!!! looked like it ran from about say 100fps left side to about 30fps right side or something... is this documented anywhere? is there a magical point on the slider where i can hit 60fps and thus get DrMD running super smooth B)
  12. D

    GP2X Does The Gp2x Run At 81.2hz?

    Can you control it?
  13. D

    GP2X Does The Gp2x Run At 81.2hz?

    I'm timing a waitvbl and here's the results I get in milliseconds: 12.315132 12.314725 12.314725 12.315132 12.314725 12.314454 12.315268 my calculations say 1000/12.315132 = 81.2 fps Is this right? I can't find any documentation on the GP2X frame rate anywhere!
Back
Top