home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!ss62+
- From: ss62+@andrew.cmu.edu (Shelby Stewman)
- Newsgroups: comp.lang.pascal
- Subject: Re: Executable
- Message-ID: <UebiaTy00UhWE87xB1@andrew.cmu.edu>
- Date: 28 Aug 92 19:06:07 GMT
- Organization: Heinz School, Carnegie Mellon, Pittsburgh, PA
- Lines: 21
- In-Reply-To: <1992Aug28.183850.10823@Armstrong.EDU>
-
- To answer your question:
-
- First, there are two types of DOS executables. One is strictly a
- memory image which is only supposed to occupy a single segment. This
- type is called a COM file for the obvious reason that most of these
- files have the name of [name].COM . The second kind of file is a little
- more complex. This kind of file can span multiple segments and is more
- than a memory image. This type of file is called an EXE file for the
- obvious reason that most files of this type have the name [name].EXE .
- So, to answer your question: YES YES YES YES YES YES
- YES!!!!!!!!!!!!!!!!!!!!!!! EXE files are the MOST common types of files
- on MS-DOS/DR-DOS/OS.2 (version 2.0 and 1.x compatability box) machines.
-
-
- Note, segments are 64K blocks of memory. They are refered to in programs
- (TP) as Mem[segment:offset (offset value from segment originator)],
- MemW[segment:offset], or MemL[segment:offset].
-
- Hope this helped.
-
- -- Shannon F. Stewman, email: ss62@andrew.cmu.edu
-