forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[SRC] MultiTasKing v301 + OSlib mod + libUnrar by Carlosgs

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
carl0sgs



Joined: 10 Dec 2009
Posts: 49

PostPosted: Wed Jan 05, 2011 3:15 am    Post subject: [SRC] MultiTasKing v301 + OSlib mod + libUnrar by Carlosgs Reply with quote

Hi everyone!
Right now i'm off from programming for the PSP, but i wanted to let you know here that i released the sourcecode for MultiTasKing.

Info and screenshots of the program:
http://psp.scenebeta.com/noticia/multitasking (in spanish)

I made it while learning C (by myself) so it is not a brilliant source code.
This is my first year of university and i have received my first Programming lessons, and i have realised how many stupid mistakes i made in MultiTasKing.

But still, i put a lot on effort in it and made lots of functions that could be useful.

Some of the functions it has:

- Complex 2D vertex drawing (fast): polygons, circles, circle portions, arcs, thick lines, smoothed/normal, etc
- ID3 library, you can load MP3 info and cover image.
- OSlib mod by sakya with some patches and functions added by me.
- Simple .ini config file reading/writting.
- ZIP/RAR extracting. (I ported the latest Rar SRC like AnonymousTipster did, since his code didn't worked for RARv3 -at least for me-)

MultiTasKing has lots of more specific functions, like downloading/extracting in background, mp3/wav player etc.
It also has a simple API where you can easily create list menus and textboxes (that work really fast! but crash sometimes due to their complexity :-S).

Please check the README files for more info.

You can download the SRC here:
http://bit.ly/MTKv300

Pre-compiled version: http://carlosgs.no-ip.org:8080/PSPhomebrew/multiTasKing/versions/MultiTasKingV301byCarlosgs.rar

(Please let me know if this source helps you in some way :-) )

Quote:
Here is some info of the readme in OSlib mod:
Quote:
This is another MOD of OSLIB (already mod by Sakya) by Carlosgs,
fixing some functions and adding some more stuff (loading image from memory... etc).
Every mod is marked with "CGS MOD" or similar.

Previous license is kept the same in this mod.
Just mention "Carlosgs" if you use some of my new functions or fixes.

I list here some of the modifications i have made:

Quote:
oslPlaySound(OSL_SOUND *s, int voice) //CGS MOD, if we pass voice=-1, it chooses the channel automatically

fixed something in initME();

OSL_SOUND struct has a larger memory for the "filename"

Added some functions for working with the OSK:
void oslOskGetFullText(char *text);//CGS MOD
unsigned short* oslOskGetOutData();//CGS MOD
char* oslOskGetFullTextChar();//CGS MOD

Fixed some functions of the OSK (now works at normal speed in a good way).

Fixed oslHandleLoadNoFailError(const char *filename)

Added OSL_IMAGE *oslLoadImageFileJPGfromMemory(FILE *infile, int location, int pixelFormat) and OSL_IMAGE *oslLoadImageFilePNGfromMemory(FILE *f, int location, int pixelFormat)

And maybe something else but i cant remember.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group