cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/19/19:21:55

From: shd AT earthling DOT net (Steven Don)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: .COM's with DJGPP?
Date: 19 Apr 1998 22:39:10 GMT
Organization: EuroNet Internet
Lines: 14
Message-ID: <6hduee$ffh@news.euro.net>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980419141830 DOT 23362N-100000 AT is>
NNTP-Posting-Host: breda25.pstn02.concepts.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <Pine DOT SUN DOT 3 DOT 91 DOT 980419141830 DOT 23362N-100000 AT is>, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>
>On 18 Apr 1998, Luke Bishop wrote:
>The simple truth is DOS doesn't use the file's extension to decide how
>to load and run it.  The extension is only used to look for the
>executable file.  When the file is found, DOS examines its first two
>bytes.  If they are MZ, DOS runs it as an .EXE-style; otherwise it
>assumes it's a .COM image.
*** Strangely, it also works if the header starts with ZM. Most people already 
know this, but the letters MZ come from the initial of DOS-programmer Mark 
Zibowski.

Grtz,
  SHD

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019