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