| View previous topic :: View next topic |
| Author |
Message |
neofar

Joined: 21 Jan 2004 Posts: 47 Location: Spain
|
Posted: Mon Apr 25, 2005 6:35 pm Post subject: Proposed lib - Mediamode |
|
|
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 |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Mon Apr 25, 2005 10:07 pm Post subject: |
|
|
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 |
|
 |
neofar

Joined: 21 Jan 2004 Posts: 47 Location: Spain
|
Posted: Tue Apr 26, 2005 12:00 am Post subject: |
|
|
ummmm, more interesting feature
And works with the usb_mass driver?, in what version of ps2sdk it's implemented? |
|
| Back to top |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Tue Apr 26, 2005 12:10 am Post subject: |
|
|
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 |
|
 |
|