Welcome, Guest. Please login or register.

Author Topic: Library Patching in Amiga E / ECX  (Read 1509 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline zurtTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 114
  • Country: kp
Library Patching in Amiga E / ECX
« on: April 08, 2016, 04:59:05 PM »
Dear Amigans,

Currently I am undergoing some tests on library function patching using ECX compiler.

I have been able to patch certain function of Locale.library using exec's SetFunction() function and it worked.

However, I would like to keep the original function I have patched to be called after my code.

Example:

let {A} = locale.library/GetCatalogStr() original function

and

{B} = locale.library/GetCatalogStr() patched function

{B} = my code + {A}

I have tried several ways to achieve this, also tried to find some documentation on the topic with little or no sucess.

I do not know if this can be done in Amiga E.

PS: I have also tried http://de3.aminet.net/dev/e/EZPatch.readme, but this does not allow me to reuse the original function.

Thanks in avance.
zurt

AmigaOS user since 1989
MorphOS user since 2003