Amiga-C (141/157)

From:Andrew Bell
Date:29 Sep 2001 at 00:20:21
Subject:[amiga-c] Re: MyLibrary and SetFunction

Hi Twelvebullets

On 17-Sep-01, you wrote:

> I wanted to know when ANY program calls Dos Open. This would call my
> library and send a message to my AMOS program, then call the original
> DosOpen.
>
> A sort of intercept/monitoring program.. Like SnoopDos..
>
> It all works fine now....

If you're interested, I wrote a tracking program a few years back, which is
a bit like SnoopDos. It does a lot of patching of DOS routines. The source
can be found at:

http://website.lineone.net/~mechanismx/systracker/SysTracker_src.lha

Might be useful as an example. The files you'll be interested in are
st_patches.c and st_patches.asm. The actual patching is done in C, where
the patches themselves are in assembly.

Note: Disable PatchControl beforehand, if you're using it. The two seem to
conflict.

Regards, Andrew Bell.



http://website.lineone.net/~mechanismx

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE VeriSign guide to security solutions for your web site: encrypting transactions, securing intranets, and more!
http://us.click.yahoo.com/UnN2wB/m5_CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/