Search found 39 matches

by alexp
Thu Apr 10, 2008 11:29 pm
Forum: PSP Development
Topic: Problem with non ascii filename
Replies: 4
Views: 2028

i don't know how fat.c access files, but psp filesystem calls, like sceIoDread, has a strange way of returning non ASCII filenames and uses some Devctl eand ioctls calls too. You can take a look at my previous work a http://forums.ps2dev.org/viewtopic.php?t=8590. This was valid under CF 3.40 OE, but...
by alexp
Wed Apr 02, 2008 11:03 pm
Forum: PSP Development
Topic: "Deferred" syscall hook
Replies: 5
Views: 1971

I'm trying to do something really similar and until now i've tried the first two approach, the first one is too much dependent on timing issues. I've had some problem with the second approach too because trying to load a vsh module from a kernel mode prx result in an illegal permission error. If i l...
by alexp
Wed Apr 02, 2008 10:54 am
Forum: PSP Development
Topic: Preloading VSH module from kernel mode prx
Replies: 0
Views: 947

Preloading VSH module from kernel mode prx

Hi, i'd like to preload a vsh module from a kernel mode prx loaded at game startup to mess around with its memory a bit before the game itself loads and uses it. i've tried using sceKernelLoadModule, but i get an invalid permission error. What is the correct way of doing something like that? Another...
by alexp
Mon Sep 24, 2007 9:29 pm
Forum: PSP Development
Topic: sceIoWrite MiltiLine Writing?
Replies: 11
Views: 4072

on windows a newline should coupled with a carriage return, so use "\r\n". Anyway I recommend that you learn how to program on a normale PC. PSP is a bit complex and not easily debuggable.
by alexp
Fri Sep 14, 2007 10:06 pm
Forum: PSP Development
Topic: Need help, problem with sceIoDread
Replies: 6
Views: 6124

Hi, I've worked a lot with filesystem API, while trying to develop my own filesystem, i think that SceIoDread API is valid only for ASCII names, UTF-8 names have to be read using some special IoCtls and DevCtl, in this thread http://forums.ps2dev.org/viewtopic.php?t=8590 i've posted the code i've de...
by alexp
Mon Sep 03, 2007 7:51 pm
Forum: PS2 Development
Topic: Linux 2.6 on PS2
Replies: 140
Views: 118608

Really nice work chewi,
i'd like to test your toolchain patch when i found some free time.
by alexp
Mon Jul 30, 2007 2:36 pm
Forum: PS2 Development
Topic: Linux 2.6 on PS2
Replies: 140
Views: 118608

I grabbed Alex's patches and had a look. I was actually more interested in the gcc patch than the kernel patch at this stage because the kernel patch is useless without a working compiler. I was very surprised at just how short the gcc patch was but not in a good way. I had a think about whether a ...
by alexp
Fri Jul 27, 2007 10:47 am
Forum: PS2 Development
Topic: Linux 2.6 on PS2
Replies: 140
Views: 118608

i'm really sorry i can't remember, r5900 is a strange beast, maybe i choose r4600 for compatibility purpose. For sure it's an empirical choice, so feel free to experiment with architecture settings
by alexp
Wed Jul 25, 2007 7:57 pm
Forum: PS2 Development
Topic: Linux 2.6 on PS2
Replies: 140
Views: 118608

the build command for gcc should be something like that configure --prefix=/opt/mips64/ --target=mips64el-linux --disab le-shared --disable-nls --disable-threads --enable-languages=c I was using this patched version because gcc insisted on generating 64 bit instructions not present on R5900. If you ...
by alexp
Sat Jul 21, 2007 11:08 pm
Forum: PS2 Development
Topic: Linux 2.6 on PS2
Replies: 140
Views: 118608

Keep us informed if you make any interesting development
by alexp
Fri Jul 20, 2007 6:17 am
Forum: PS2 Development
Topic: Linux 2.6 on PS2
Replies: 140
Views: 118608

Here you are a bit of patches, the included readme should explain a bit what to do. http://allievi.sssup.it/tatiana/linux-2 ... s2.tar.bz2
by alexp
Fri Jul 20, 2007 5:28 am
Forum: PSP Development
Topic: Need some advice for a filesystem project
Replies: 16
Views: 9274

Here it is my really_not_yet_ready filesystem code, i hope it can be useful to anyone

http://allievi.sssup.it/tatiana/pspfs-0.1.tar.bz2
by alexp
Fri Jul 20, 2007 2:55 am
Forum: PSP Development
Topic: Need some advice for a filesystem project
Replies: 16
Views: 9274

is it possible to publish it on ps2dev svn server or should i find some other storage solution?
by alexp
Thu Jul 19, 2007 11:48 pm
Forum: PSP Development
Topic: Need some advice for a filesystem project
Replies: 16
Views: 9274

hi, in the end i was successfull in my file system writing attempt, and during the development i found out the meaning of some new devctl and ioctl codes, I want to release the code, so i was wondering what kind of license i can use, pspsdk is BSD license, i'd like to release my code under GPL2/3 is...
by alexp
Thu Jul 12, 2007 9:35 am
Forum: PSP Development
Topic: Need some advice for a filesystem project
Replies: 16
Views: 9274

I'm facing other strange behaviours, i hope someone can explain them to me i have a DCIM directory in the root of my filesystem, it contains . .. 101MSDCF <- directory if i select the MC from the PHOTO menu in XMB, after a dopen & dread call to my filestem i get a call to getstat for /PSP/GAME/1...
by alexp
Thu Jul 12, 2007 5:18 am
Forum: PSP Development
Topic: Need some advice for a filesystem project
Replies: 16
Views: 9274

I think there were two fatms drivers. fatms, and fatmsOem (or something like that). Also, i think you should handle the ioctl and devctl of the original drivers... I'm not writing a new fatms driver, I'm just doing something like this in my plugin: sceIoUnassign("msoem0:"); sceIoAssign(&q...
by alexp
Wed Jul 11, 2007 11:45 am
Forum: PSP Development
Topic: Need some advice for a filesystem project
Replies: 16
Views: 9274

hi, i'm having a bit of problems with my fileystem and i feel i'm missing something. I'm loading my code as a custom firmware plugin, so in XMB i got correct filesystem size, but if i try to select for example PHOTO, i only get a request for /DCIM, which is not present, so i return 0x80010002 (no su...
by alexp
Mon Jul 09, 2007 5:47 am
Forum: PSP Development
Topic: Need some advice for a filesystem project
Replies: 16
Views: 9274

I'm now working on a custom log structured filesytem, which is more adapt to flash memory. It's not easy to implement other log structured filesytem (such as jffs2 or yaffs), because we have no access to the raw memory card, only a block device interface to it. I'm working both to a FUSE implementat...
by alexp
Fri Jul 06, 2007 9:08 am
Forum: PSP Development
Topic: Mounting the USBHostFS as a standard device?
Replies: 26
Views: 16093

The addres for CF 3.40 is 0x880562dc, thanks for your help
by alexp
Thu Jul 05, 2007 11:10 am
Forum: PSP Development
Topic: Need some advice for a filesystem project
Replies: 16
Views: 9274

At this moment i have a prototype driver loaded as a plugin by the custom firmware, it registers the "my_fs" driver, but i can't find a way to call it with my homebrew, if i do sceIoOpen("my_fs:/whatever",PSP_O_RDWR|PSP_O_CREAT,777) i got a NODEV error. Is there anything i'm mis...
by alexp
Thu Jul 05, 2007 6:22 am
Forum: PSP Development
Topic: Need some advice for a filesystem project
Replies: 16
Views: 9274

You'll need to reimplement fatmsmod.prx & co. I don't think that it's really needed, i already can open the raw memstick using sceIoOpen("msstor0:",PSP_O_RDWR,0), so it should be possible to write a driver that acces the raw memory, and call sceAssign("ms0", "my_fs"...
by alexp
Wed Jul 04, 2007 11:38 pm
Forum: PSP Development
Topic: Need some advice for a filesystem project
Replies: 16
Views: 9274

Need some advice for a filesystem project

Hi everyone, I'm thinking about implementing a different filesystem for accessing the memory stick, FAT is really not good for flash devices anyway, i'm able to redirect access to ms0 to my own driver, and it works in a test homebrew. But i can't find a way to make the redirect stable , so that XMB ...
by alexp
Wed Jul 04, 2007 10:15 pm
Forum: PSP Development
Topic: Mounting the USBHostFS as a standard device?
Replies: 26
Views: 16093

hi, i'm too looking for the correct address to patch in 3.40 firmware.
does anyone know this address, or a way to find it out?
by alexp
Thu Jun 28, 2007 7:47 am
Forum: PSP Development
Topic: Question about large file ( > 2 G ) and sceIoLseek
Replies: 1
Views: 1587

Question about large file ( > 2 G ) and sceIoLseek

hi everyone, i'm acessing the raw memory stick, and i need to seek around it, but i can't find a way to seek over 2 G, because the offset parameter is of type SceOff, which is an int. I've seen that there is sceIoLseek32, but also that accept int as the offset parameter. Is there any way to supply s...
by alexp
Thu Jun 28, 2007 4:51 am
Forum: PSP Development
Topic: PRX Debug Output
Replies: 2
Views: 2124

PRX Debug Output

Hi everyone,
I'm working on a prx driver, what is the best way to debug kernel modules? is there any way to get printf output from a prx?
by alexp
Mon Jun 25, 2007 6:01 am
Forum: PS2 Development
Topic: Linux 2.6 on PS2
Replies: 140
Views: 118608

Chewi wrote:With any luck, the AFL will turn out to be GPL3 compatible and the kernel will make the switch.

... Torvalds position on that is still unclear, anyway license issues are not my primary concern. SDK code can always be called as a program in userspace when linux is up and running.
by alexp
Mon Jun 18, 2007 12:48 pm
Forum: PSP Development
Topic: Nanodesktop 0.3 preview
Replies: 6
Views: 6870

how did you force the psp usb controller to be an host? i guess that the webcam is a standard pc webcam.
by alexp
Mon Jun 18, 2007 7:37 am
Forum: PSP Development
Topic: Nanodesktop 0.3 preview
Replies: 6
Views: 6870

what kind of webcam are you using during the demo?
by alexp
Sun Jun 17, 2007 3:42 am
Forum: PS2 Development
Topic: Linux 2.6 on PS2
Replies: 140
Views: 118608

hi, i've got quite far in the boot sequence now. next thing i've to do is writing a console driver, but now i'm under examination at university, so i've to wait until second half of july at least. i'm not yet releasing a patch because the code isn't quite in shape, ps2 seems to have a 32 bit address...
by alexp
Mon Jun 04, 2007 8:26 pm
Forum: PS2 Development
Topic: Linux 2.6 on PS2
Replies: 140
Views: 118608

It is possible for your application to put itself in kernel mode if thats what you need. The problem is my app need to be _loaded_ in kseg0. So the loader itself must run in kernel mode. I think I'm going to write a simple bootloader myself. But if you can suggest some experiments to make then I'm ...