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 

[PS2] Extend ERL library

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> Patch Submissions
View previous topic :: View next topic  
Author Message
misfire



Joined: 06 Sep 2004
Posts: 120
Location: Germany

PostPosted: Thu Feb 26, 2009 9:11 am    Post subject: [PS2] Extend ERL library Reply with quote

I've written some code that extends the functionality of the ERL library:

- add functions to relocate an ERL at a specific memory address (ERLs are relocated at a dynamic memory address by default.)

- add ability to clear ERL bytes on unload

liberl.patch.tar.gz (apply both patches)

Here is a sample project that demonstrates how to use the new *_to_addr functions. I find them very useful - if you know what you're doing. ;)

--------------

Besides, this is a small (unrelated) fix that allows debug.h and hwbp.h to be included at the same time:

hwbp.h.patch.gz
Back to top
View user's profile Send private message
LBGSHI



Joined: 07 Aug 2006
Posts: 136

PostPosted: Thu Feb 26, 2009 12:49 pm    Post subject: Reply with quote

Nice additions :)
_________________
I may be lazy, but I can...zzzZZZzzzZZZzzz...
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
misfire



Joined: 06 Sep 2004
Posts: 120
Location: Germany

PostPosted: Mon Mar 09, 2009 7:00 pm    Post subject: Reply with quote

So, could anybody commit the patches?
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Mar 11, 2009 1:23 pm    Post subject: Reply with quote

Done, thanks.
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 -> Patch Submissions 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