[net.micro.pc] exec from DOS 2.0

jay@rochester.UUCP (Jay Weber) (02/19/84)

A plea for help:

Lately I have been trying to get a system(3)-like routine going to
be called from C-programs written with the Computer Innovations'
compiler, and I have run up against some problems.  I have been modifying
a piece of code that appeared in this newsgroup a few months ago
that does this from Lattice C programs (submitted by Darrell Plank),
but the "cvtobj" program with CI-C86 doesn't convert the .OBJ file
to a .o, saying "unknown record type A2 len 002C offset 000148".

Does anyone know what this message means?  The C86 documentation has
nary a clue, and I can't figure out a reasonable meaning from browsing
the the OBJ file.  If you do know what it means, do you know what I
have to do to the assembly code?

Also, if you use the CI-C86 compiler and have a routine that calls
the 2.0 system call EXEC correctly, could you share the source?  I have
puzzled over EXEC and SETBLOCK, and can't get a combination that works.

An exasperated PC-user,

Jay Weber
..!seismo!rochester!jay
jay@rochester.arpa