Jump to content


Photo

Gnuboy 1.0.3


  • Please log in to reply
50 replies to this topic

#16 juanvvc

juanvvc

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 291 posts
  • Gender:Male
  • Location:Catalonia
  • Interests:Robotics, P2P research, information security, privacy, little devices

Posted 14 June 2009 - 10:18 AM

I think that you solved the glitches and controls issues. And about the sound... it is really buzzing in SDL (not minilib) but I was never worried because I thought that it is a "simple" problem (configuration? sync?)

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 smile.gif Maybe original sound.c works OK with the SDL version of lemonboy.

#17 juanvvc

juanvvc

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 291 posts
  • Gender:Male
  • Location:Catalonia
  • Interests:Robotics, P2P research, information security, privacy, little devices

Posted 14 June 2009 - 10:35 AM

QUOTE (DaveC @ Jun 14 2009, 10:30 AM) <{POST_SNAPBACK}>
emonboy on my GP2X seems to have problems and doesn't show all of the ROMs for some reason. This would need to be corrected before Wiz use.


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 smile.gif


#18 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 15 June 2009 - 12:42 PM

The wiz is getting closer, I have SDL sound working again. Ive been messing around with the format at little bit. The sound as it is is very noisy (same effect in original gnuboy). Ive gotten a better sounding result by increasing the buffer(and other things) to 16 bit signed, I need to mess with it a bit more.
I think the original problem may be that the existing code might be clipping the sound data at 8 bits.

#19 RX Shorty

RX Shorty

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male
  • Location:Netherlands
  • Interests:GP2X, Dreamcast, Linux

Posted 15 June 2009 - 04:33 PM

Wow... nice... keep up...
can't wait for the release smile.gif

#20 b1ueskycomp1ex

b1ueskycomp1ex

    Open Sauce Fanatic & AMD Fanboy

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 640 posts
  • Gender:Male

Posted 15 June 2009 - 06:51 PM

QUOTE (Pickle @ Jun 15 2009, 01:42 PM) <{POST_SNAPBACK}>
The wiz is getting closer, I have SDL sound working again. Ive been messing around with the format at little bit. The sound as it is is very noisy (same effect in original gnuboy). Ive gotten a better sounding result by increasing the buffer(and other things) to 16 bit signed, I need to mess with it a bit more.
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 darkriku

darkriku

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 178 posts

Posted 15 June 2009 - 10:04 PM

Good job dude im excited for this release

#22 juanvvc

juanvvc

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 291 posts
  • Gender:Male
  • Location:Catalonia
  • Interests:Robotics, P2P research, information security, privacy, little devices

Posted 16 June 2009 - 11:26 AM

QUOTE (Pickle @ Jun 15 2009, 02:42 PM) <{POST_SNAPBACK}>
I think the original problem may be that the existing code might be clipping the sound data at 8 bits.


Unfortunately, at the moment I'm preparing the next teaching season and I've literally no time for this sad.gif

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 sad.gif

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 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 17 June 2009 - 01:58 AM

Some good news, SDL sound was creating some instability but I just got the wiz_lib to stream the data like minimal lib. The sound is still a little noisy, so I will do some checks to see I setup it all up right.
At least no stupid crashes.

#24 juanvvc

juanvvc

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 291 posts
  • Gender:Male
  • Location:Catalonia
  • Interests:Robotics, P2P research, information security, privacy, little devices

Posted 17 June 2009 - 09:01 AM

QUOTE (Pickle @ Jun 17 2009, 03:58 AM) <{POST_SNAPBACK}>
The sound is still a little noisy, so I will do some checks to see I setup it all up right.


Try to change the samplerate option in etc/system.gp2x smile.gif Possible values: 11025, 22050, 44100

Keep up the good work.


#25 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 18 June 2009 - 01:57 AM

OK time to have at it!

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 SML

SML

    GP32 User

  • Members
  • PipPipPip
  • 76 posts

Posted 18 June 2009 - 02:51 AM

Bravo!

...Too bad my Wiz is at the office right now. :/

#27 DaveC

DaveC

    Mega GP Mania

  • GP Guru
  • 9170 posts

Posted 18 June 2009 - 03:40 AM

QUOTE (Pickle @ Jun 18 2009, 02:57 AM) <{POST_SNAPBACK}>
OK time to have at it!

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 fettouhi

fettouhi

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 527 posts
  • Location:Odense S, Denmark

Posted 18 June 2009 - 10:12 AM

Nice, thanks for the release Pickle biggrin.gif.

Regards

André

#29 juanvvc

juanvvc

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 291 posts
  • Gender:Male
  • Location:Catalonia
  • Interests:Robotics, P2P research, information security, privacy, little devices

Posted 18 June 2009 - 10:56 AM

Thanks for your work, Pickle. Is it possible to get the source code or your modifications to introduce your improvements in my version?

Thanks again. I notice that you do not claim recognition for your work in the about box. And you obviously deserves that recognition smile.gif

#30 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 18 June 2009 - 12:54 PM

QUOTE (juanvvc @ Jun 18 2009, 06:56 AM) <{POST_SNAPBACK}>
Thanks for your work, Pickle. Is it possible to get the source code or your modifications to introduce your improvements in my version?

Thanks again. I notice that you do not claim recognition for your work in the about box. And you obviously deserves that recognition smile.gif


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.