From: | Stephen Illingworth |
Date: | 10 Aug 2001 at 15:35:49 |
Subject: | [amiga-c] Re: Patchy Libraries |
Hello Twelvebullets
On 10-Aug-01, you wrote:
> I need help with calling the Original Dos Open routine.
SetFunction() returns a pointer to the old function. So make a
note of this somewhere, thus (in SAS semantics)
BPTR __asm (*old_Open)( register __d1 STRPTR, register __d2 LONG, register __a6 struct DosLibrary *);
Then from within your replacement function, do something like,
return_val = (*old_Open)(name, access_mode);
Regards
Steve
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Small business owners...
Tell us what you think!
http://us.click.yahoo.com/vO1FAB/txzCAA/ySSFAA/dpFolB/TM
---------------------------------------------------------------------~->
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/