![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Question about the PSPSDK within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I've used c/c++ before but never for the psp, just used LUA. My first program for the psp using the ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Join Date: Dec 2005
Location: I'm alive?? You mean this isn't a dream!!
Posts: 36
Trader Feedback: 0
|
I've used c/c++ before but never for the psp, just used LUA. My first program for the psp using the sdk is going to be a simple paint program. nothing fancy like photoshop or paintshop
heck mspaint will be more advanced than mine Just something to quickly introduce me to c/c++ on the psp.I've installed the pspsdk and got it up and running. my question is will I beable to use the functions of the graphics.h file, like line, circle, floodfill, get/putpixel? would I have to init the bgi? I kinda hope not as its real slow... I appreciate any help you can give me. EDIT: oh one last thing, my pspsdk download doesn't have a docs folder I checked on the svn site and the docs folder there is empty. Where can I get the docs folder from so I can see all the psp variables/functions ? Last edited by KunoNoOni; 06-26-2006 at 02:27 AM.. |
|
|
|
|
|
#2 |
![]() ![]() Developer
Join Date: Oct 2005
Real First Name: Justin
Location: Dubuque
Just Played: ..
Posts: 414
Trader Feedback: 0
|
If you have doxygen installed when you run the toolchain script it will install the docs for the pspsdk.
You can use the graphics.h functions if you have the right files (graphics.h, graphics.c, framebuffer.h, framebuffer.c) and link them in your makefile ![]() I'm not sure what you mean by your bgi question though. |
|
|
|
|
|
#3 |
|
Join Date: Dec 2005
Location: I'm alive?? You mean this isn't a dream!!
Posts: 36
Trader Feedback: 0
|
cool, thanks for the reply!
BGI stands for Borland Graphics Interface. It was mostly used with Turbo C in the old DOS days. Here is a LINK I found that explains about it. Last edited by KunoNoOni; 06-26-2006 at 08:15 AM.. |
|
|
|
|
|
#4 |
![]() ![]() total-Z
|
The PSP doesnt use BGI...
But yes, as believe you do have to init graphics.
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
#6 |
|
Join Date: Dec 2005
Location: I'm alive?? You mean this isn't a dream!!
Posts: 36
Trader Feedback: 0
|
I checked my pspsdk and I don't have graphics.h, so I googled it and found it under luaplayer source. after looking at it I don't think its going to work unless there are 2 verisons of it...
|
|
|
|
|
|
#9 |
![]() ![]() total-Z
|
Yeldarbs tutorials have those files. You also need a few libraries for it to work..
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
#10 |
|
Join Date: Dec 2005
Location: I'm alive?? You mean this isn't a dream!!
Posts: 36
Trader Feedback: 0
|
I have a precompiled windows toolchain/compiler + PSPSDK, I have also installed libpng, zlib and libmad. should I have not used the precompiled version and gotten the one from svn and compiled it myself?
|
|
|
|
|
|
#11 |
![]() ![]() ...in a dream...
|
Oh but if your more towards the paint app side or something, then use the primitive graphics library. It has great stuff, like draw line, draw box, draw filled box, built in sceDisplayWaitVblank(#her e) (pretty easy to do, but still, its convient).
I love it, and it uses the GU so no delay at all. It initilizes it for u adn everything.
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#12 |
|
Join Date: Dec 2005
Location: I'm alive?? You mean this isn't a dream!!
Posts: 36
Trader Feedback: 0
|
Well I deleted my precompiled SDK and followed the directions in Yeldarb's tutorials. I'm just finished lesson 5 and about to start lesson 6.
I did find the graphics.h file and it not the same as the old borland one. but it does have put and get pixel in it so I should beable to create a floodfill command myself. thanks agin for your help
Last edited by KunoNoOni; 06-27-2006 at 11:59 PM.. |
|
|
|
![]() |
| Tags |
| pspsdk , question |
| Thread Tools | |
|
|