Mail Archives: djgpp/1998/04/19/15:17:48
Isaac Waldron wrote:
>
> Weiqi Gao wrote:
> >
> > rename prog.exe prog.com
>
> I don't believe that simply renaming prog.exe to prog.com will give the
> intended result.
I wonder what the intended result is... a situation where a .COM is
required while an .EXE will not suffice?
> In fact, it will probably hang the machine when run!
It probably will not hang the machine when run! Who knows about such
details? We may never find out.
> DOS .com files are a special breed of executable that that must be under
> a certain size (I don't know what it is) and contains direct Intel
> machine codes. COM files can be written with either NASM (the Netwide
> Assembler, available free at www.cryogen.com/nasm) or the DEBUG program
> that comes with DOS.
or vi, with the help of the Alt-Numbers keys.
> I don't believe that DJGPP can output this type of
> executable.
--
Weiqi Gao
weiqigao AT a DOT crl DOT com
- Raw text -