Search results

  1. M

    Semephore Problems.

    I've got a hard copy ARM Architechure reference manual, very good. Just got my vblank interrupt working thanks to the this book. :)
  2. M

    Semephore Problems.

    Yup, that was a bug, thanks. The 940 is now not locking up. Now the 920 is, :( more daft bug hunting.
  3. M

    Semephore Problems.

    I've almost got my 920 and 940 talking to each other. The 920 writes commands in a buffer, the 940 reads them. The code for the 940 to wait when there is nothing to do works fine, this also prevents it from getting ahead of the 920. Also the code stopping the 920 writing over work (catching up...
  4. M

    GP2X Word Of Warning About Clobber List With Inline Asm

    Is there an easy way to check? (may be a dumb question, but i'm a non gcc guru) That was my first idea, go have a look at what it made but then I hit a wall. Tried googling for some kind of disassembler. Something wacky is going on, restoring regs I trash by hand got rid of all the random locks...
  5. M

    GP2X Word Of Warning About Clobber List With Inline Asm

    I've been wasting most of my dev time on this, turned out to be the clobber lists on the inline asm. That is unless I got it very wrong on how they work. (could be a posiblity ;) This one works, I store the regs I mess with, then restore on exit. asm volatile ( "stmfd sp!, {r0-r11} \n"...
  6. M

    Deving With Vs 2005 C++

    Hi, just got back, yer good film. Anyway i'm getting your error, i'm having a look now, its a real odd one. Ok, got it compiling. I made a dir devkitpro which had a devkitGP2x and copied and renamed it to what you had and I got the errors you did. I switch the rules file for the one in my...
  7. M

    Deving With Vs 2005 C++

    Not sure if that would help, its the actual project file I wanted to try out of you. I'll try the source files later, i'm about to pop out to see X men! :)
  8. M

    Deving With Vs 2005 C++

    No, I just got the SDL libs and stuff wich is why my sdk folder differs a bit from the one on the archive. Any chance of sending me your project? I'll give it a go.
  9. M

    Dispint Irq

    Outch, 10k!!! ps2 devkits were that price when they first came out! Ok, back on topic now. I've been banging my head trying to get this interupt stuff working. Got the bootloader source to look at. This what I have.... Tweeked the start of the 940 boot code too "b .CodeEntryPoint \n" //Reset...
  10. M

    Deving With Vs 2005 C++

    Have you made sure the gcc rule has been enabled for your project, its not by default. The error you have i've seen when the 'tool' is not set to the gcc compiler. Mine has the sdl stuff too.
  11. M

    Dispint Irq

    I ment this dev kit for the chip. http://www.mesdigital.com/english/Products...development.asp
  12. M

    Deving With Vs 2005 C++

    No probs mate, i'm sure that sdk is the one I got from the archive, apart from my 2005 rules additions.
  13. M

    Deving With Vs 2005 C++

    Yer sure, i've put it here.....devkitGP2X.zip Its also got a blank link,bin and 940 file aswell as the rules file and my magic batch file used in the link stage of the 940 target. Its 50 megs and i've just started the upload so give it 20mins from the time of this post before grabbing it.
  14. M

    Dispint Irq

    LoL, I read "Take a look at the documented register 0xC0004500" Note to self, read slower. ;) The devkits you can get from the chip manufacturer must come with more detailed 'insider' information. :(
  15. M

    Dispint Irq

    Nice catch, i've spent all day, on and off inbetween work to get this going using the 0xc0000800 address. Would explain why it was not working. Doh! Which docs did you find this in? I'm looking at the MP2505F manual and I can't find it there.
  16. M

    GP2X A Simple Test App Needed

    I thought there was a sleep mode for the 940 instead of just turning it off. I would have thought if its turned off it can't recive interrupts. For starters when I need to wait for the vblank i'm going set a flag to 1, enable the interrupt, spin on the on the flag (non cached). The interupt...
  17. M

    GP2X 3d Engine Demonstration Challenge

    How did you deal with sprites that were bigger than your safe area off the side of the screen comming back on the opposite side? ( I suppose if its big enough then you don't ) Did you also use the protection unit to stop drawing off the bottom?
  18. M

    GP2X 3d Engine Demonstration Challenge

    Dzz, do you know if the display width value register has to be the same as the physical width or if its a stride? If its a stride value then your be able give your self a gardband cutting down on required clipping, not sure if that would help. Also do you know the cost of a memory exception? You...
  19. M

    GP2X A Simple Test App Needed

    Yes, but as i'm testing (and being a bit cheeky) the read of the register i'm not waiting whilst there is a vsync to start with, so it could enter the loop with the vsync almost finished. Mind you that could happen how ever long the loop takes, but the longer it takes the more likely its going...
  20. M

    GP2X 3d Engine Demonstration Challenge

    Its funny but i've had this conversation so may times over the years, what you say is correct. I just think that it would be an intresting thing to try. Most all non textured 3d games that i've seen were on the old 16bit systems. And a few on the old spectrum!!! But (ok going off topic) with a...
Back
Top