Recent content by JonHolland

  1. J

    GP2X Work!

    I'm a developer working for a major cell phone carrier in the US. I work on C#/ASP.Net and specialized in writing business logic. Its boring, but its a job :)
  2. J

    GP2X I Cant Program But Hear Me Out

    I don't use python, so I'm curious. Can you use classes in python to keep to organize both your data and your methods? Can you overload methods to accept more parameters? How about Operators? For example, using C++ I can create a badguy object, and then overload the ++ operator so if I...
  3. J

    GP2X I Cant Program But Hear Me Out

    I do not reccomend learning a language such as basic before you learn C, if you plan on eventually learning C. C is known as a "Curly Braces" language, which has a very different (and better) formatting system than basic, because of that, a lot of basic programmers make a lot of syntax errors...
  4. J

    GP2X Is This Emulator Portable?

    B)--> The problem with emulating PC's with a GP2x is emulating the keyboard. At its best, a virtual keyboard is always clunky. I wonder if the effort to port the emulator is really worth it, however if I have some downtime between projects I'll see what I can do.
  5. J

    GP2X High Battery Usage

    The menu is executed upon shutdown, the program is obviously hanging when the batteries are too low. The black screen makes me think it is after initializing SDL.
  6. J

    GP2X High Battery Usage

    Yes, exactly like that. My buddy has the Gp2x so I can't always be there to test stuff, but he does use the console. I'll have to ask him if it locks teh unit or just dumps back to the console
  7. J

    GP2X High Battery Usage

    I've found that the few small programs I've written for the GP2x require a fully charged battery or the AC adapter to run, otherwise they just go to a black screen. However, programs such as SquidgeSnes and the menu run just fine with a low battery. Is this from using SDL? I'm talking about a...
  8. J

    GP2X Is This Emulator Portable?

    B)--> Hey Bob, I took a look at the source code to the emulator briefly, It appears to be coded entirely in C, though there might be a inline assembly function or two that I missed. That said, porting it should not be a difficult task, the only area's that would not easily port right away...
  9. J

    GP2X Optimizing A Routine For Speed

    Today I spent some time creating some primitive graphic functions using SDL, here is a quick code snippet: /* GFX_Rect (SDL_Surface, X, Y, X2, Y2, Color) Usage: Draws a hollow rectangle in specified color on specified Surface SDL_Surface: The Surface to draw on X,Y: Starting...
  10. J

    GP2X Lets Talk About Joysticks

    Originally, I wrote some joystick code that took axis readings much like a conventional joystick, or a PC d-pad. When it didn't work, I realized that the stick on the Gp2x was digital. Now that I'm back to the drawing board, I know how to make it work, however I'm wondering on the best way to...
  11. J

    GP2X Hello Everyone

    Putting the SDL sub libraries infront of -lSDL did the trick. Seems like this sort of stuff should be documented somewhere. My GPE went for 35k to a hair over 3 megs, yet the x86 compile of it is only 400k. That doesn't make much sense.
  12. J

    GP2X Hello Everyone

    Your right, now I'm having different link errors. I think I might have to link every single SDL library even though I'm not using them all?
  13. J

    Gp2x Programming Made Easier

    High Level Languages are your friend :) What a moronic idea.
  14. J

    GP2X Hello Everyone

    I take all that back, when I add -static and attempt to link for the gp2x I get this error, it staticly links fine when creating a x86 executable. In Function 'SDL_SYS_CreateThread' [Linker Error] Undefined reference to: 'pthread_create' Blah.... Seems like something simple.
  15. J

    GP2X Hello Everyone

    Thanks, 35k became 405k, so I think it worked :P Really though, considering the non-standarization of libraries across the GP2x's, having a slightly larger executable is a small price to pay for the ability to let everyone play your game without difficulty.
Back
Top