Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.os.msdos.programmer FAQ part 2/5
Section - - How do I create a .COM file?

( Part1 - Part2 - Part3 - Part4 - Part5 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Forum ]


Top Document: comp.os.msdos.programmer FAQ part 2/5
Previous Document: - What's the difference between .COM and .EXE formats?
Next Document: - Where is EXE2BIN located?
See reader questions & answers on this topic! - Help others by sharing your knowledge

 There are two steps to creating a .COM file. First, your program must
 not have a stack. In C, you must compile your program with the TINY
 memory model. Second, use EXE2BIN or a similar program to convert an EXE
 file to a COM file. To find EXE2BIN see subject: <Q:03.10> [Where is
 EXE2BIN located?]

User Contributions:

1
Ben in Seattle
Jun 2, 2026 @ 4:16 pm
Another solution is to use a parallel port loopback plug. It makes the PC think there is a printer attached. The benefit of this is it doesn't require anticipating the problem with ANSI.SYS escape sequences nor does it make you wait half an hour for the "Abort, Retry, Ignore?" prompt, as some versions of DOS do.

Comment about this article, ask questions, or add new information about this topic:




Top Document: comp.os.msdos.programmer FAQ part 2/5
Previous Document: - What's the difference between .COM and .EXE formats?
Next Document: - Where is EXE2BIN located?

Part1 - Part2 - Part3 - Part4 - Part5 - Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
jeffrey@carlyle.org (Jeffrey Carlyle)





Last Update March 27 2014 @ 02:11 PM