Recent content by hammy lite

  1. H

    Pd Roms Coding Competition #3.666

    Cool compo! Maybe I'll give a shot at coding a little LCD game :)
  2. H

    Java Runtime 1.0 Beta 2

    I got to use BlueJ in school too. Didn't like it very much though, then again I'm not a big fan of Java. BlueJ is just an IDE and javavm will run any java thrown at it provided it observes limitations mentioned earlier in this thread. So yeah, it'll work just fine :)
  3. H

    Getting Started With Asm?

    Well I found that register controlled shifts does take 1 more cycle, but I have not found that you can only shift max 3 in an imbedded one. I'm starting to get pretty sure that you can make any imbedded shift for free. I was just hoping for some clarification :)
  4. H

    Getting Started With Asm?

    How can that be? The only reason I can think of is that the shift amount doesn't fit in the instruction and you'd have to shift by an amount stored in a register (which does costs one more cycle), but ALU instructions (e.g. ADD, SUB, AND, OR ...) have 8 bits to store the amount which is enough...
  5. H

    Getting Started With Asm?

    I must have underestimated it's size, I was thinking it'd be at most ~50 cycles per iteration which would give ~10 ms per frame. I checked it out and it seems that you can give it any bit-rotation of values up to 2^8, this is good news for your case, e.g. you should be able to give it...
  6. H

    Getting Started With Asm?

    Shifts are free, & and | take 1 cycle. Ah ok, I should warn you though premature optimization can be a waste of time there will proberably be bigger fish to fry than this little bugger. Don't let me discourage you though, learning and practicing optimization is a good idea. I don't think...
  7. H

    Getting Started With Asm?

    I don't think you'll get it much faster, it's pretty simple code so the compiler should do a good job of optimizing it. If you want it faster you'll either need figure out how to make the blitter do the depth conversion since this takes the most of your time or skip it completely (if that's an...
  8. H

    Compression?

    I guess it would be possible to set up a compression loop-back device and use that. I don't think it's worth the hassle though. Also, you would have to be pretty linux savvy to pull it off.
  9. H

    GP2X Installing Chrootable Gentoo On The Gp2x (guide)

    Oh, this is a cool idea! I would also like to have Lisp on the gp2x, to bad the only common lisp compiler that supports arm is gcl (which uses gcc to do it's dirty work). Gcl isn't supported by cffi or uffi so there's a lot of bindings to libs that can't be used :(. But I'm afraid to test...
  10. H

    Getting Started With Asm?

    What Squidge said. I would also recommend you use gcc's -funroll-loops flag, I think it could do wonders for your loop. A great book about coding optimized for ARM is "ARM System Developer's Guide" there are tons of hints and optimized primitive rutines to use for both C and ASM, you'll need...
  11. H

    Made Myself A New Avatar

    So does mine. Sorry guys but there's just no way you can't beat Hammy the Hamster :rolleyes:
  12. H

    Compiling Blackbox

    I've never used -rpath before but quick look in the man pages suggested that it should be passed like this -Xlinker -rpath -Xlinker /usr/local/gp2xdev/lib You can only pass one argument per -Xlinker option or it will be passed as a single argument as if it had been quoted, which seems to have...
  13. H

    Compiling Blackbox

    Well judging from the path to the ld executable you're using a linker for x86 binaries. You'll need to use the linker provided by the cross compilation tool chain. I think setting the environment variable LD to the correct ld executable should fix it, e.g. something like: export LD=gp2x-ld...
  14. H

    GP2X Devs Please Underclock Your Apps

    I think this is a grand idea! Developers have much more info when it comes to how much time their apps consume, so they should be the ones doing it. Ideally it should be done on the fly, using the lowest clock speed that lets the app run at correct fps and letting the users specify a max...
  15. H

    Gp2x Community Game Contest!

    Well, according to this rule you would have to make the entire program by yourself. So basically clones are allowed because even if they similar to another game the author made everything himself and ports because they rely on code and media not made by himself are disallowed. The port banning...
Back
Top