To: The Public Domain & Free Software Users of the New World Order... Fr: Me. (jdunn@dsac.dla.mil) Da: 5 Aug 1991 Re: DOSCALL0.ZIP - a free implementation of the DOS >= 3.3 CALL function Recently gmcmanus@dsac.dla.mil noted a problem that some users have with older versions of DOS. The problem being one of needing the call function found in later versions of DOS. Gene's solution was to simply write a C program named CALL.C, compile it, and post it. At first I thought, uh oh, but then I tested it and found that it only used about 14.5k of memory according to mapmem. This was impressive since I have tried to write similar code, using the C system function, and couldn't get memory usage below 70k. Hat's off to Gene and his 1988 Microsoft C compiler, however he does it! Now, here's the *better* solution. First, I've written a CALL.BAT file which contains the following lines: @echo off %1 %2 %3 %4 %5 %6 %7 %8 %9 Meaning that, as long as I have no more than 8 parameters to pass, all will be fine. Of course, the CALL.BAT file is compiled into CALL.COM using the BAT2EXEC program from PCMAGazine. (which I got from Garbo, due to Prof. Salmi making it available; gotcha Timo! :) Best of Skill! :) Jim, jdunn@dsac.dla.mil