WhiteFalcon
Certified Guru
My batteries died quickly when testing, but so far I noticed mainly a large speedup of the menu, which is now probably too fast. I have not yet noticed any ingame speedup.
critical posted on Feb 5 2006 at 08:38 AM said:No probs - it's a good learning experience for me, as it's my first gp2x app, and I've never used SDL beforeIorgy77 posted on Feb 5 2006 at 01:31 PM said:Thank you for your continued work on this critical.
I don't have a clue why, but access to the framebuffer through the latest SDL is actually quicker than minilib (well, in my tests at least).skeezix posted on Feb 6 2006 at 04:41 PM said:SDL is good in a lot of places; on a gp2x, I'd say its just a crutch -- makes it easier to get started, but it likely costs a couple of percent performance and doesn't really help much in the logn run.. so one option is to ditch it. ie: Rlyeh's minilib makes things pretty easy.. it does the basic initialization and gives you the framebuffer pointer, so just draw direct to framebuffer. Using an SDL layer inbetween means you might have extraneous backbuffers if you don't need them, and other light overhead.
Thanks for the advice, Skeezix. I might just do that for the main rendering code.skeezix posted on Feb 6 2006 at 05:41 PM said:SDL is good in a lot of places; on a gp2x, I'd say its just a crutch -- makes it easier to get started, but it likely costs a couple of percent performance and doesn't really help much in the logn run.. so one option is to ditch it. ie: Rlyeh's minilib makes things pretty easy.. it does the basic initialization and gives you the framebuffer pointer, so just draw direct to framebuffer. Using an SDL layer inbetween means you might have extraneous backbuffers if you don't need them, and other light overhead.
Which SDL libs are you using? I linked against the pre-compiled ones that were availble for download here:woogal posted on Feb 6 2006 at 06:02 PM said:I don't have a clue why, but access to the framebuffer through the latest SDL is actually quicker than minilib (well, in my tests at least).
I'm also using the pre-compiled ones.critical posted on Feb 6 2006 at 05:07 PM said:Which SDL libs are you using? I linked against the pre-compiled ones that were availble for download here:woogal posted on Feb 6 2006 at 06:02 PM said:I don't have a clue why, but access to the framebuffer through the latest SDL is actually quicker than minilib (well, in my tests at least).
http://www.gp32x.de/board/index.php?act=ST&f=45&t=23819
I didn't notice a huge difference when using SW_SURFACE, but moving to HW_SURFACE made the menu run on speed. Shame it didn't do the same elsewhere. I don't use the SDL_DOUBLEBUF flag, as that sends things really wild and flickering.
Squidge suggested in another thread (http://www.gp32x.de/board/index.php?showtopic=25425), using the blitter to do the frame blanking. At the moment the drawing routines are using memcpy and bzero to do their work, but on the dreamcast it uses some assembler instead. Any ideas where I could pinch some code to do that? I've PM'ed squidge about it, but he's a busy man, I'm sure.skeezix posted on Feb 6 2006 at 09:28 PM said:My guess:
Double buffering leads to flicker if you're updating one buf and swapping to blank on the other
I've never looked into the HW accelerated SDL; it shoudl do good thing.s. draw to offscreen buffer, then use h/w to blit to framebuffer for 'free', so should be as good as drawing right to framebuffer.
But maybe he's tapped into some good stuff; generalyl a s/w buffer is best avoided, since you can usually better manage it yourself; its there in SDL since its handy to have a cross platform always works conveniance..
jeff
yay, squidge kindly sent me his blitter code to clear the buffer. i'll have a crack at integrating it sometime today.critical posted on Feb 6 2006 at 11:37 PM said:uses some assembler instead. Any ideas where I could pinch some code to do that? I've PM'ed squidge about it, but he's a busy man, I'm sure.
I've not had time to work on it as much as I'd have liked. This lunchtime I had a bit of a potter with cyclone (lots to do there, though), and yesterday I had the virtual keyboard working (badly).WhiteFalcon posted on Feb 9 2006 at 01:42 PM said:Very anxious to see new version How is it progressing?
critical posted on Feb 9 2006 at 01:48 PM said:I've not had time to work on it as much as I'd have liked. This lunchtime I had a bit of a potter with cyclone (lots to do there, though), and yesterday I had the virtual keyboard working (badly).
I've cleared some space on the menu, and added the option to hide the status bar (that might help with some games that had their displays obscured by the bar).
I haven't given up on it
I don't think Settlers will work until sound support is in. I believe on other UAE-alikes people enable sound while it's loading, then disable it again in order to get it to work.feddon posted on Feb 9 2006 at 10:32 PM said:sounds great, i was actually playing x-com yesterday, slowly but it was slow on the 500, so amazing, also hiding the status bar will make a couple more of my fave games playable (settlers, space crusade...) so really lookin forwardto this.
Keep it up!
I'm not sure, to be honest. Furry of the Furries needs to write to disk at some point, which may be related to the crashing.WhiteFalcon posted on Feb 10 2006 at 01:34 PM said:I have been trying to get Furry of the Furries working with no luck so far. But the interesting thig is that the game is ECS/OCS and some parts display correctly while other (title screen and other static images) look as if only in 4 or so colors and most of the picture is black. I experienced this before when trying to run an AGA game. It looked very much like this, but Furries is not AGA. Any idea?
PS. The game then is corrupted and quickly causes a halt anyway, just wanted to ask about that.