Search results

  1. Z

    GP32 Frequency Generator And Mixing

    the best way to do this is to use fixedpoint maths: int SamplePos=0; int SampleSpeed; SampleSpeed=65535*2; // Would play the sample at double it's original freq SampleSpeed=65535; // would play the sample at is original freq SampleSpeed=32768; // would play the sample at 1/2 is original freq...
  2. Z

    GP32 Frequency Generator And Mixing

    >>Whoa, >>Quick reply! I'm at work and bored waiting for a build :( >>The original code is using directsound, and making each channel and just doing: >>channel->SetFrequency(freq); >>I don't know exactly how I'd map that to GP32 sound stuff, so that's where I >>am, really. umm you've got...
  3. Z

    GP32 Frequency Generator And Mixing

    So say I was doing 8bit samples. I'd want to make sure that it'd never go over 128 or under -127 because that's where it'd wrap and that's what causes the horrible distortion, correct? yup - that wrapping would cause terrible distortion, so you've gotta clip to -127,128 - you still get...
  4. Z

    GP32 Frequency Generator And Mixing

    So (Sum(Channel Values))/Num Channels is basic mixing, I think no - there is no divide - just add the channels, simple really. Also you've got to clip the result else you'll get really really horrible distortion.
  5. Z

    Why Is Snes So Hard To Emulate?

    Snes Emulation is slow because of various reason - but the main ones are: Custom GFX hardware - very powerful - very tough to emulate fast on a slow cpu (gp32) Audio Hardware another can of worms in itself. all these things have to by synchronised along with the cpu - this again takes even...
  6. Z

    Going On Trip To Australia.....

    chunk-e-munk-e: If you're really lucky you'll be on a JAL 777 - which is simply the best airplane ever - they have user on demand movies, games the lot. I think they've also just upgrade to wi-fi too!!! if it's not a 777 - don't expect much apart from a jap movie about the life of a guide dog...
  7. Z

    Genesis Emulation Reached Its Peak?

    Mr Spiv: I'm really sorry, but didn't have time to catch that damn seacat - I'm really gutted about that - but I'm sure next time I'm in se (coz it's soo hot here in oz - I guess my summer hols will be in se) i'll pop over to booze with ya!! ;)
  8. Z

    Genesis Emulation Reached Its Peak?

    Robster: I'll almost certainly be on the south island around xmas time (for a short holiday) - so I'll give you a shout for a booze up. Axeman: Man I miss the good ole drunken newport piss ups - I'll give you a shout next time I'm back :)
  9. Z

    Genesis Emulation Reached Its Peak?

    Hiya Moz!! it's wickedly hot - and it's still winter - hahah never coming back to uk :) ZJ
  10. Z

    Genesis Emulation Reached Its Peak?

    One really simply optimization to get it running at fs0 is to interlace the frames. What I mean is each frame draw alternative vertical scan lines for sprites background and blitting. Looks a bit crazy on fast moving games (sonic e.t.c) but certainly will get it running at fs0 and looks good on...
  11. Z

    Snes Advance To Gp32?

    I'm pretty sure you'd never get it to work on the gp32. This emu's speed comes from the fact that the GBA and Snes hardware are quite similar and utilizes the gba's hardware to the max.
  12. Z

    Totally Legal C64, Spectrum "roms":)

    another cool rag is http://www.retroreview.com/ - much more hardkore!!!
  13. Z

    GP32 Gp32 Dev Util

    No problem dude I'd write longer fuller answers but it's of course a fredagsol - so no chance of that today :) *burp*
  14. Z

    GP32 Gp32 Dev Util

    OK so your .dat file is a bit stream? there are multiple solutions here 1) you can block load the .dat file into a temp array and bit stream parse into your destionation array 2) Fix the program that generates the .dat so it's optimal to load directly via a struct 3) Generate a H file and...
  15. Z

    GP32 Gp32 Dev Util

    Also Just Noticed: GpFileRead(h_file, buffer, offset, (ulong*)bytes ); should be GpFileRead(h_file, buffer, offset, (ulong*)&bytes ); if the function is expecting a pointer :)
  16. Z

    GP32 Gp32 Dev Util

    Hi yes - sanity check the .dat file with any good hex viewer - just to make sure your data is indeed binary and correct and not text e.t.c..
  17. Z

    GP32 Gp32 Dev Util

    Hi Pirotic this is not the way to do it fast, any kind of file parsing like this will be slow esp for large amounts of data. The usual way to this is to read/write the structures directly: bytes=sizeof(mystruct); GpFileRead(h_file, mystruct, offset, (ulong*)bytes ); or bytes=sizeof(mystruct)...
  18. Z

    GP32 65536 Confusion

    Hi I think it means brighten all colours, and If I remember it's inverted so 1 = dark 0 = bright. The green thing I was talking about, just ment I only use it on the green channel for some trickery so just ignore that :)
  19. Z

    GP32 65536 Confusion

    Hi no - the bottom bit does affect colour - you can use it to brighten colours - or only on the green channel as usual. so the gp32 really does have 64k colours.
  20. Z

    Nintendo Patents Gb Emulation

    If you read all the various sources on that story a few important things emerge. Things are not as bad as they may seem. The patent was originally created to catch ultraHLE, and appears to be just a legal bullying tactic to shut CF down. The CF emu is nothing like the HLE specific points in the...
Back
Top