The DR-DOS/OpenDOS Enhancement Project


Re: Is it worth compiling for my machine?
Re: Is it worth compiling for my machine? -- klev Post Reply Top of the thread Forum
Posted by: Udo Kuhnt
12/12/2009, 10:27:10


Since you already have a fast processor, you would probably not
notice any increase in speed. However, there is some potential for
decreasing the size. Most of the code is written in assembly
language, but the C code for COMMAND.COM can be compiled with the
option /5 (for 586 code generation), resulting in a slightly (752 B)
smaller executable. However, the decrease of the resident part of
COMMAND.COM is probably much lower, perhaps only 100 B at most.
Also, simply compiling it with the new option does not directly
translate to more available High Memory, since the size reserved for
COMMAND.COM in the kernel must also be changed for this to take
effect. Whether undergoing this procedure for such small gains is
worth the effort is up to you.


Post Reply Where am i? Original Post Top of the thread