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 

RAM Access (Please Help)

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



Joined: 22 Oct 2004
Posts: 62

PostPosted: Tue Dec 21, 2004 11:20 pm    Post subject: RAM Access (Please Help) Reply with quote

Is there any way possible to dump the contents of the PS2's ram into a .bin file? I have the serial cable installed if i could do it that way... Please Help. Thanks
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Dec 21, 2004 11:31 pm    Post subject: Reply with quote

It is certainly possible, but wouldn't be very fast... sending 32MB of data over serial would take a bit of time.

As for how, you'd have to write a program to do it. There's some documentation on the serial port in ps2sdk, specifically in sio.h. Here's the important functions:

Code:
void sio_init(u32 baudrate, u8 lcr_ueps, u8 lcr_upen, u8 lcr_usbl, u8 lcr_umode);
size_t sio_write(void *buf, size_t size);
size_t sio_read(void *buf, size_t size);

BTW, you probably can't really do this while a game is running, if that was your plan...
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 -> 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