Recent content by white

  1. W

    Drmd Loosing Its Savestates...

    Probably too slow for random access to the drive; and they don't have an infinite amount of read/write cycles as far as I can recall. But what they definitely should have done is put a call to sync() at the start of the launcher, so when it gets reinvoked at the end of an application it syncs...
  2. W

    Drmd Loosing Its Savestates...

    I think we ought to put a reminder to call sync() after fclose() somewhere in the development help docs...
  3. W

    Drmd Loosing Its Savestates...

    Oh, forgot to mention that you can download a .gpu script which will do the same thing. Just run it after leaving your emulator and before switching off the gp2x and your savestate will be fine. http://www.gp32x.de/board/index.php?showtopic=22938
  4. W

    Drmd Loosing Its Savestates...

    fclose() will perform fflush() automatically - so your buffered data will be written to the file system. However, that's not the problem - what you really need to do is call sync() after fclose(), which causes all filesystems to flush their writeback caches to the physical device...
  5. W

    Sync Utility For Forcing Sd Card Writeback

    For people having trouble with saved games. A complete nobrainer, but no-one seems to have done it yet - or a lot of people have but haven't bothered publishing it, because it's so simple. http://found.pale.org/sync.gpu (use Save Target As...) to save This is a tiny shell script which calls...
  6. W

    Any Update On 2nd Cpu?

    I imagine it's not going to be that easy, but then I suspect I detected sarcasm in your post. Anyway, I doubt the code for the second core can be compiled using the same settings as the code for the primary core so at the very least it'll have to be in a separate object file; more likely a...
  7. W

    Any Update On 2nd Cpu?

    The ideal would be a) a skeleton assembler file for the program on the second core (you don't have to teach us ARM code) possibly just an empty program that returns a value in some memory somwhere b) how to assemble the file and build it into our own projects, possibly as a big C static array...
  8. W

    Any Update On 2nd Cpu?

    Does the mpeg decoder upload its code at boot time or at the start of any mpeg application? I.e. are we free to cheerfully overwrite the 940's address space, secure in the knowledge that the 920 will reupload the mpeg code when we want to do decoding again?
  9. W

    Any Update On 2nd Cpu?

    From what I understand, the second processor isn't really equipped to be managed by the operating system - it's useful for running parallel pieces of small code on. Even if we could run Linux processes under it, it wouldn't be the best use of resources - it's best to write a simple assembler/C...
  10. W

    Any Update On 2nd Cpu?

    It might be an interesting idea to see if it's possible to write a 3D rendering core on the second processor, so the primary could send polygon data down the pipe for rendering and then get on with something else. Perhaps a 3D library based around that idea would be a nice thing to have.
  11. W

    New Nk Snes Emu Crashing

    First thing I tried...
  12. W

    New Nk Snes Emu Crashing

    Having a bit of trouble using the latest build of the SNES emulator; it hangs after 2 - 5 minutes of play running some roms. Has anyone got any suggestions? Or has anyone got the previous (slow) version archived anywhere - that worked perfectly. NB. I've not updated the firmware yet, if that...
  13. W

    Gp2x Serial Cables

    Blimey, you're being had. Go to dreamhost.com.
  14. W

    External Power Supply

    I'm using a 500mA adapter I bought from Currys here in the UK and it seems to work fine; I played Lufia II on the SNES emulator for an hour or so yesterday. The adapter runs slightly warm but nothing too scary. The position of the socket does make it slightly awkward to use the R button because...
  15. W

    Who's Here?

    Jim, 38, Male Aberystwyth, Wales Game developer (by day I work on the PS2 and long for the simpler days of 8 bit machines)... Oes unrhywun arall o Gymru 'ma?
Back
Top