Or Botton wrote:
> 
> The DOS program loader doesnt care about the extension, but only of
> the first "tag" in the begining of the file. This is why you can
> rename .COM to .EXE, and .EXE to .COM and still have them working
> perfectly ok.

No, that's not correct. EXE and COM are loaded very differently.
A .com file is loaded at 0100H in the first available segment and it begins
execution at exactly 0100H.
An .exe has 256 bytes of crap in front of it and if you rename it to .com
DOS will try to execute the crap.

-  Clarence Verge
--
-  Help stamp out FATWARE.  As a start visit: http://home.arachne.cz/
--


Reply via email to