[PS2] Extend ERL library

Create a single thread for each patch to be added to the repository. Please try to stay on topic.
Post Reply
misfire
Posts: 110
Joined: Mon Sep 06, 2004 7:53 am
Location: Germany

[PS2] Extend ERL library

Post by misfire »

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
LBGSHI
Posts: 136
Joined: Mon Aug 07, 2006 5:56 am
Contact:

Post by LBGSHI »

Nice additions :)
I may be lazy, but I can...zzzZZZzzzZZZzzz...
misfire
Posts: 110
Joined: Mon Sep 06, 2004 7:53 am
Location: Germany

Post by misfire »

So, could anybody commit the patches?
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Done, thanks.
Post Reply