QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

What is SDL?

This is a discussion on What is SDL? within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I've been hearing alot about SDL. What is it?...

Reply
 
LinkBack Thread Tools
Old 05-24-2006, 05:59 PM   #1

 
Zettablade's Avatar
 
Join Date: May 2006
Location: Programming or Farming Mudkips
Posts: 657
Trader Feedback: 0
Default What is SDL?

I've been hearing alot about SDL. What is it?
Zettablade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2006, 06:05 PM   #2
 
foXtrot's Avatar
 
Join Date: Jul 2005
Location: Electro World
Posts: 2,559
Trader Feedback: 0
Default

Wikipedia explains it pretty well http://en.wikipedia.org/wiki/Simple_DirectMedia_Layer
__________________
I R homaki on [URL=http://forums.**********.net/]M4M[/URL] i.e. im not on QJ for anything anymore.
foXtrot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2006, 06:16 PM   #3

 
Zettablade's Avatar
 
Join Date: May 2006
Location: Programming or Farming Mudkips
Posts: 657
Trader Feedback: 0
Default

How does it compare speed wise to the psp sdk?
Zettablade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2006, 06:31 PM   #4

Developer
 
Join Date: Nov 2005
Posts: 445
Trader Feedback: 0
Default

SDL is all rendered in software, so its not too fast.
But It is fairly fast (fast enough) in 16bit color (see commander keen for a good example).
Check out OSLib if you want something fast and easy for psp.
SDL does have the advantage of being crossplatform however, which is why I use it.
danzel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2006, 06:36 PM   #5
 
PSP10011001's Avatar
 
Join Date: Jan 2006
Location: I Don't Have A Clue!
Posts: 294
Trader Feedback: 0
Default

Search on Google
PSP10011001 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2006, 06:47 PM   #6

 
Zettablade's Avatar
 
Join Date: May 2006
Location: Programming or Farming Mudkips
Posts: 657
Trader Feedback: 0
Default

I all ready know about google, but google isn't the most precise, so I'de rather ask a person.
Zettablade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2006, 08:12 PM   #7

total-Z
 
youresam's Avatar
 
Join Date: Jul 2005
Location: texas
Posts: 2,803
Trader Feedback: 0
Default

Quote:
Originally Posted by Zettablade
I all ready know about google, but google isn't the most precise, so I'de rather ask a person.
Well, not to be rude, but the first result on google is the sdl website.

http://www.google.com/search?hl=en&q...=Google+Search
__________________
牧来栠摩琠敨映汩獥
PSN: youresam
From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
youresam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2006, 09:05 PM   #8

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

SDL is a pain in the arse to install, setup, and use effieciently... I wish you luck... If you have some libs already installed before SDL, you will not be able to install SDl... (libogg and libvorbis are exampels...)
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2006, 09:09 PM   #9
 
framerate's Avatar
 
Join Date: Aug 2005
Location: Indiana
Posts: 389
Trader Feedback: 0
Default

Quote:
Originally Posted by SG57
SDL is a pain in the arse to install, setup, and use effieciently... I wish you luck... If you have some libs already installed before SDL, you will not be able to install SDl... (libogg and libvorbis are exampels...)
HA pain in the ass? I downloaded the SDL run time package, installed it with a simple drag and drop. Then I did the same for SDL_image and SDL_ttf and BAM

My laptop compiled my program. It's quite possibly the easiest setup I've ever done.
__________________
[URL=http://www.framerate.info/psp][IMG]http://www.framerate.info/_hosted/imageupload/signature.gif[/IMG][/URL]
framerate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-24-2006, 09:23 PM   #10

 
Zettablade's Avatar
 
Join Date: May 2006
Location: Programming or Farming Mudkips
Posts: 657
Trader Feedback: 0
Default

meh, cygwin is easy to use, so I'm gonna stick with the sdk. SDL doesn't sound too good anyways.
Zettablade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-25-2006, 09:48 AM   #11
 
framerate's Avatar
 
Join Date: Aug 2005
Location: Indiana
Posts: 389
Trader Feedback: 0
Default

Quote:
Originally Posted by Zettablade
meh, cygwin is easy to use, so I'm gonna stick with the sdk. SDL doesn't sound too good anyways.
Ha, that is until you start using it and then it's the BEST THING EVER!

__________________
[URL=http://www.framerate.info/psp][IMG]http://www.framerate.info/_hosted/imageupload/signature.gif[/IMG][/URL]
framerate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-25-2006, 10:03 AM   #12

 
Zettablade's Avatar
 
Join Date: May 2006
Location: Programming or Farming Mudkips
Posts: 657
Trader Feedback: 0
Default

but using cygwin is so simple. I can download any library and install it with just a few keystrokes. all i have to do to compile my programs is type make.
honestly, you say it's good, but i'm not looking for some easy wya out of coding. anyways, sdl is executes slow, and i need to execute pretty fast for the type of game I'm working on.
__________________
Current Project: Citrus
Zettablade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-25-2006, 10:23 AM   #13

 
gracz54's Avatar
 
Join Date: Aug 2005
Posts: 1,700
Trader Feedback: 0
Default

Quote:
Originally Posted by Zettablade
but using cygwin is so simple. I can download any library and install it with just a few keystrokes. all i have to do to compile my programs is type make.
honestly, you say it's good, but i'm not looking for some easy wya out of coding. anyways, sdl is executes slow, and i need to execute pretty fast for the type of game I'm working on.
SDL is a library for Cygwin, so I don't know how can you use SDL or Cygwin.
__________________
Spoiler for a surprise:
<3
gracz54 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-25-2006, 12:01 PM   #14
 
Join Date: Jul 2005
Posts: 139
Trader Feedback: 0
Default

SDL should be considered God's Gift To PSPs,

And yes, it can be used on just about any platform. Insatlling it can be tricky, but I assure you installing it is only half as complicated as using the native PSP GU functions. And, once you start using SDL you will gain enough knowledge about the GU functions that you can slowly start using them (should you choose too).

As for speed, I suspect it is faster than LUA if somone was to do a benchmark. And it will definatly be faster if you work in some native GU functions here and there. And baby oh baby, the SDL online documention is a treat to anyomne who has tried to learn graphics programming on their PSP. Using SDL you get acces to libraries that can do just about anything you want, and again, should you chose to you can ignore those libraries and easily write your own. I couldn't possibly sing enough priase, so I will be on my mery way.

Garak
Garak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-25-2006, 12:08 PM   #15

 
Zettablade's Avatar
 
Join Date: May 2006
Location: Programming or Farming Mudkips
Posts: 657
Trader Feedback: 0
Default

Quote:
Originally Posted by Garak
SDL should be considered God's Gift To PSPs,

And yes, it can be used on just about any platform. Insatlling it can be tricky, but I assure you installing it is only half as complicated as using the native PSP GU functions. And, once you start using SDL you will gain enough knowledge about the GU functions that you can slowly start using them (should you choose too).

As for speed, I suspect it is faster than LUA if somone was to do a benchmark. And it will definatly be faster if you work in some native GU functions here and there. And baby oh baby, the SDL online documention is a treat to anyomne who has tried to learn graphics programming on their PSP. Using SDL you get acces to libraries that can do just about anything you want, and again, should you chose to you can ignore those libraries and easily write your own. I couldn't possibly sing enough priase, so I will be on my mery way.

Garak
lol
I know lua, but I don't like it. It just feels TOO easy. But I wanna know how the homebrew sdk goes up against osl and the sdl in a benchmark. If any one could post some results, that would be just awsome.
__________________
Current Project: Citrus
Zettablade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-25-2006, 04:57 PM   #16

Developer
 
Join Date: Nov 2005
Posts: 445
Trader Feedback: 0
Default

OSLib uses the Gu to do its rendering, so it will be fast.
SDL does have awesome documentation, I forgot about that one! (I'm just so used to it, lmao)
You will most likely find SDL is fast enough for you, but try what you want and report back
I haven't seen a benchmark around.
danzel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2006, 05:34 AM   #17
 
framerate's Avatar
 
Join Date: Aug 2005
Location: Indiana
Posts: 389
Trader Feedback: 0
Default

Quote:
Originally Posted by danzel
OSLib uses the Gu to do its rendering, so it will be fast.
SDL does have awesome documentation, I forgot about that one! (I'm just so used to it, lmao)
You will most likely find SDL is fast enough for you, but try what you want and report back
I haven't seen a benchmark around.
Yeah, Danzel said it was "slower" earlier... But I really dont' think you'll ever notice the speed in anything you could be running on the PSP. My program compiles/loads/runs ULTRA fast...
__________________
[URL=http://www.framerate.info/psp][IMG]http://www.framerate.info/_hosted/imageupload/signature.gif[/IMG][/URL]
framerate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2006, 06:52 AM   #18
 
iball®'s Avatar
 
My Mood: Aggressive
Join Date: Oct 2005
Location: Interstates
Posts: 9,652
Trader Feedback: 0
Default

Quote:
Originally Posted by framerate
Yeah, Danzel said it was "slower" earlier... But I really dont' think you'll ever notice the speed in anything you could be running on the PSP. My program compiles/loads/runs ULTRA fast...
Coding on a Macbook Pro I see...how's that working out for you?
Installing and compiling the PSPSDK on my mini was a snap, even if it took almost forever (stupid T-DSL!).
__________________
[spoiler=signature][center][img]http://i33.photobucket.com/albums/d75/iball2929/iballsig2fz.jpg[/img][/center]
[size=-2][center][b][color=purple]Nintendo DS WFC codes[/b][/color][/center][/size][size=-2][center][b][color=green]Mario Kart DS: 180448 583615 (I-Ball)[/color]
[color=blue]Animal Crossing: Town of Sampson 4853-9284-6519 (I-Ball)[/color]
[color=red]Metroid Prime Hunters: 5025 8054 3555[/size][/center][/color][size=-2][center]-----------------[/center][center][color=blue]Homebrew authors! If your software is based upon GPL code then you MUST release the modified source code you created the same time you release the binaries![/b][/size][/color][/center]
[size=-2][center][b]Supercard mini-SD w/2GB 150x Mini-SD card, SuperPass II, FlashMe v7 and an EFA Linker II GBA flashcart[/b][/center][/size][/spoiler]
iball® is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2006, 08:34 AM   #19
 
framerate's Avatar
 
Join Date: Aug 2005
Location: Indiana
Posts: 389
Trader Feedback: 0
Default

Quote:
Originally Posted by iball
Coding on a Macbook Pro I see...how's that working out for you?
Installing and compiling the PSPSDK on my mini was a snap, even if it took almost forever (stupid T-DSL!).
Well I gave up on the SDK when fink wasn't universal yet... just coding natively using SDL then gonna port it back over (the G5 has the pspsdk running fine).

But overall I love it =) One of these days I'll take the time to manually install the tools I need for PSPSDK on macbook pro
__________________
[URL=http://www.framerate.info/psp][IMG]http://www.framerate.info/_hosted/imageupload/signature.gif[/IMG][/URL]
framerate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
sdl

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 09:44 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us