[net.micro.att] Need help creating .com file

review@drutx.UUCP (MillhamBD) (06/22/85)

I am trying to create a .com file, using C86. Has anyone ever
succeded in doing this? The documentation in the C86 manual is
contradictory. I need to write a program (a child) that is called
from another program (the parent). The child needs to interrupt the
parent. I think that I need a .com for the child, because when I do
the interrupt back to the parent, the stack is hosed. (the child is
an .exe file currently). Any ideas?

--------------------------------------------

Brian Millham
AT & T Information Systems
Denver, Co.

...!inhp4!drutx!review

RAK@psuvm.BITNET (06/26/85)

If all that you want to do is create a COM file from your EXE file
then just do the following:
     
             1. run EXE2BIN on your EXE file  (ex. EXE2BIN MYPROG)
             2. rename the resultant BIN file to COM
                (ex. RENAME MYPROG.BIN MYPROG.COM)
             3. erase or rename the original EXE file (ex. ERASE MYPROG.EXE)
     
You can now run the program from the COM file.  You may not be able to just
convert the EXE file to a COM file without some programming changes.  I
would suggest reading about restrictions on COM files.
     
   -- Rex Knepp
     
      RAK at PSUVM and PSUMVS    BITNET
      !psuvax1!psuvm.bitnet!RAK  uucp-BITNET gateway