Hi! 20-Апр-2004 18:43 [EMAIL PROTECTED] (Bart Oldeman) wrote to [EMAIL PROTECTED]:
> +++ int2f.asm 20 Apr 2004 18:43:03 -0000 1.28 > + global NETWORK_REDIRECTOR > +NETWORK_REDIRECTOR: > + push bp > + mov bp, sp > + mov al, [bp+4] > + pop bp > + call call_int2f > + ret 2 Isn't better for Watcom declare call_int2f through "#pragma aux" and do "#define network_redirector call_int2f"? Like this: %ifndef WATCOM global NETWORK_REDIRECTOR NETWORK_REDIRECTOR: ... ret 2 %endif > +++ proto.h 20 Apr 2004 18:43:03 -0000 1.62 > /* network.c */ > +COUNT ASMPASCAL network_redirector(unsigned cmd); [...] > #pragma aux (cdecl_axdx) remote_printset > -#pragma aux (cdecl_axdx) remote_rename > +#pragma aux (pascal) network_redirector modify exact [ax dx] #pragma aux (pascal) call_int2f parm [al] modify exact [ax dx] #define network_redirector call_int2f > #endif ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel