home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / sysutil / exec.doc < prev    next >
Text File  |  1994-03-07  |  1KB  |  22 lines

  1. This routine implements the UN*X system call (in spite of the fact that I 
  2. called it exec, the name in the DOS manual) under Lattice C although it 
  3. should be easy to adopt it to other languages.  One caution, it uses the 
  4. undocumented 037h DOS call to retrieve the switch character. This is
  5. marked in the code and I will change it after DOS 2.0 so I'd rather
  6. the DOS purists don't jump down my throat about this. If you don't like it
  7. the way it is, change it. 
  8.  
  9.  
  10.                                                     Darrell Plank 
  11.                                                     BTL-IH 
  12. EXEC.ASM has been superseeded by EXEX2.ASM and EXEC3.ASM by Marco Papa.
  13. I originally wanted to produce a single routine that would have worked with
  14. both .COM and .EXE programs, but I could not find any "documented" way to
  15. check, at run-time, if I am running a .EXE or a .COM program, so that I
  16. can properly access the PSP.  Any idea?
  17.  
  18. Hopefully these will be combined to a single program again and renamed
  19. EXEC.ASM
  20. (Marco Papa papa%USC-CSE.#USCnet@USC-ECL.ARPA 5/12/84)
  21.  
  22.