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 

Proposed lib - Mediamode

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



Joined: 21 Jan 2004
Posts: 47
Location: Spain

PostPosted: Mon Apr 25, 2005 6:35 pm    Post subject: Proposed lib - Mediamode Reply with quote

hiz allz,

As you know I was working in llibplanar, with the beta 1.0 I need to add some math funciones (sinf and cosf) for not including libm.a, but I see that in the las ps2sdk is including the libm, so I don't need to maintain this functions,

Now, I have another set of functions added in llibplanar that could be very interesting to add in ps2sdk to make more useful

It's the tipical mediamode functions for load files from any devide (in my code only test fron Host, CD, and USB_Mass)

Please see code in -> http://ps2dev.ofcode.com/loadFile.zip
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Mon Apr 25, 2005 10:07 pm    Post subject: Reply with quote

Well, I've just added some code to the sdk to complete some features that were planned, and never implemented, such as chdir. Now you can chdir("mc0:/foo"); then fopen("bar", "r"); and it'll open "mc0:/foo/bar". Enjoy! (and don't forget to test it as well! :P)
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
neofar



Joined: 21 Jan 2004
Posts: 47
Location: Spain

PostPosted: Tue Apr 26, 2005 12:00 am    Post subject: Reply with quote

ummmm, more interesting feature

And works with the usb_mass driver?, in what version of ps2sdk it's implemented?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Tue Apr 26, 2005 12:10 am    Post subject: Reply with quote

I haven't added any code to support usb mass or anything. I don't quite know how this work or so. Please check stdio.c and patch it if you want.
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 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