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 

I am looking for the 2.00 Scenand Syscalls

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



Joined: 19 Oct 2005
Posts: 68

PostPosted: Tue Apr 11, 2006 12:26 am    Post subject: I am looking for the 2.00 Scenand Syscalls Reply with quote

I am looking for the 2.00 (and higher fw versions if possible) Scenand Syscalls if any of you know about those please share any intel here

Thanks.
Back to top
View user's profile Send private message
Fanjita



Joined: 28 Sep 2005
Posts: 217

PostPosted: Tue Apr 11, 2006 1:30 am    Post subject: Reply with quote

Assuming that you mean for VSH mode, is the sceNand module even loaded?

I've always been under the impression that Groepaz's list of syscalls for v2.0 is complete for VSH (certainly, I never found any holes when deconstructing it on a module-by-module basis).

For GAME mode, I forget whether it's loaded or not. If it's in the list of modules expected to be loaded by the firmware, then the eLoader will attempt to resolve the syscall based on best-guess about the correct number (we don't have any definitive dumps of fully-resolved apps that use the sceNand functions, so it's not really possible to say for sure whether the calculated numbers are correct). So, you could always try writing a simple EBOOT app that imports the functions you want, then disassembles itself - then you'd be able to see whether those functions are available in the current mode.

Of course, I'd expect that these functions would show up in UPDATER mode, but as far as I know we don't have any means to run homebrew in that environment.
_________________
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
Back to top
View user's profile Send private message
ryoko_no_usagi



Joined: 29 Nov 2005
Posts: 65

PostPosted: Tue Apr 11, 2006 2:01 am    Post subject: Reply with quote

sceNand is used by the lfat driver and I would assume the lfat driver is used to handle the "flash0", "flash1" devices, no? Something interesting to look into: patch sceNand to redirect read/writes from internal nand to ms :)
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Mathieulh



Joined: 19 Oct 2005
Posts: 68

PostPosted: Tue Apr 11, 2006 2:02 am    Post subject: Reply with quote

I don't know about GAME mode, but I successfuly used the scenand API in VSH mode on 1.50 however it doesn't work on 2.00 probably because the scenand syscalls are not implented within eloader and that you can't use nids directly in 2.00

Also I am quite sure that the scenand API works in UPDATER mode but I didn't try it tough
Back to top
View user's profile Send private message
Mathieulh



Joined: 19 Oct 2005
Posts: 68

PostPosted: Tue Apr 11, 2006 2:09 am    Post subject: Reply with quote

ryoko_no_usagi wrote:
sceNand is used by the lfat driver and I would assume the lfat driver is used to handle the "flash0", "flash1" devices, no? Something interesting to look into: patch sceNand to redirect read/writes from internal nand to ms :)


indeed that's a good idea, it might be also interesting to look at iplupdater from the updaters
Back to top
View user's profile Send private message
Fanjita



Joined: 28 Sep 2005
Posts: 217

PostPosted: Tue Apr 11, 2006 8:50 pm    Post subject: Reply with quote

I checked and it's not present in any of the syscall lists generated by eLoader, for any of the 3 run modes (VSH/GAME/UPDATER).

If you know the filename of the PRX that they're included in, I'll take a look to see if it's possible to calculate the syscall.
_________________
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
Back to top
View user's profile Send private message
PspPet



Joined: 30 Mar 2005
Posts: 210

PostPosted: Thu Apr 13, 2006 4:11 am    Post subject: Reply with quote

> am looking for the 2.00 (and higher fw versions if possible) Scenand Syscalls
Sorry, they are all 'kernel' entries/exports, so they don't have/need syscall entries [syscalls are allocated for user exports only]

module: emc_sm.prx
Back to top
View user's profile Send private message Send e-mail 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