Check sound.c and emu.c. In emu.c I commented out lots of lines (inside #ifndef GP2x) to enhance speed on Gp2x, and I pretty sure that some of them are related to the sound. You can check the original emu.c from gnuboy. Modifications in sound.c are more complex: the Gp2x uses a completely different version for sound than the original Gnuboy. Since it is K-teto's, I never understood that code and I just know that it works on Gp2x with minilib
Gnuboy 1.0.3
#16
Posted 14 June 2009 - 10:18 AM
Check sound.c and emu.c. In emu.c I commented out lots of lines (inside #ifndef GP2x) to enhance speed on Gp2x, and I pretty sure that some of them are related to the sound. You can check the original emu.c from gnuboy. Modifications in sound.c are more complex: the Gp2x uses a completely different version for sound than the original Gnuboy. Since it is K-teto's, I never understood that code and I just know that it works on Gp2x with minilib
#17
Posted 14 June 2009 - 10:35 AM
DaveC, it was you who reported that bug? I could never replicate that problem, you know, since all my roms are always shown in the menu. There is a limit of 1024 rom files that can be easily extended in gui/utils.h Anyway, it has now full subdirectory support, as you have asked several times
#18
Posted 15 June 2009 - 12:42 PM
I think the original problem may be that the existing code might be clipping the sound data at 8 bits.
#19
Posted 15 June 2009 - 04:33 PM
can't wait for the release
#20
Posted 15 June 2009 - 06:51 PM
I think the original problem may be that the existing code might be clipping the sound data at 8 bits.
So currently the only things it's missing is clean sound and stretching? Doesn't sound terrible. Keep up the good work, pickle =D If I had money to give you, I would give it to you. Sadly, I am penniless at this point.
#21
Posted 15 June 2009 - 10:04 PM
#22
Posted 16 June 2009 - 11:26 AM
Unfortunately, at the moment I'm preparing the next teaching season and I've literally no time for this
Anyway, keep in mind that Color and Old gameboy use different frequency tables in sound.c, so be sure of testing the sound in both systems. Besides, if you included the preliminary SuperGB support maybe you noticed an "#ifndef DEBUG" in supergb.c that MUST be "#ifdef DEBUG" (lines 407 and 435 of supergb.c) . That section saves the current palette in a file for debugging, and the final version SHOULDN'T do this. Anyway, since SuperGB palettes are not working right for most games, I still advice against including SuperGB support as is
One additional thing: you can change the about image to put your name instead of mine, of course. Please, keep the name of the graphs artist Madcore. Add your name to the CREDITS file, also. Use this clean about image to add names: http://lewis.upc.es/...about-clean.png
#23
Posted 17 June 2009 - 01:58 AM
At least no stupid crashes.
#24
Posted 17 June 2009 - 09:01 AM
Try to change the samplerate option in etc/system.gp2x
Keep up the good work.
#25
Posted 18 June 2009 - 01:57 AM
pickle.gp2x.de/lemonboy-wiz.zip
Let me know what you think, ive been pluggin at this thing for while and like to know from you following this what you think of it.
Of cource we would like to add scaling and maybe I will. Other than that fire away. (Opinions on the sound?)
#26
Posted 18 June 2009 - 02:51 AM
...Too bad my Wiz is at the office right now. :/
#27
Posted 18 June 2009 - 03:40 AM
pickle.gp2x.de/lemonboy-wiz.zip
Let me know what you think, ive been pluggin at this thing for while and like to know from you following this what you think of it.
Of cource we would like to add scaling and maybe I will. Other than that fire away. (Opinions on the sound?)
Thanks for the great work.
If you are going to add the scaling you may want to look at or ask Notaz for the routeen in GPSP. It has some kind of smoothing and for Gameboy it would need it or it would look pretty ugly.
The sound? Noise comes out and corresponds to the game but it is extremely staticy and distorted, almost like the speakers are blown. I think that could use some improvement.
#28
Posted 18 June 2009 - 10:12 AM
Regards
André
#29
Posted 18 June 2009 - 10:56 AM
Thanks again. I notice that you do not claim recognition for your work in the about box. And you obviously deserves that recognition
#30
Posted 18 June 2009 - 12:54 PM
Thanks again. I notice that you do not claim recognition for your work in the about box. And you obviously deserves that recognition
Sure, i want to get the changes into your version so they dont get lost and also when you finish other changes you make the wiz version will be ready to go.
I may need to go through everything again and cleanup the changes I really need from those I dont.











