home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / pascal / 5097 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.5 KB

  1. 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+
  2. From: ss62+@andrew.cmu.edu (Shelby Stewman)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Executable
  5. Message-ID: <UebiaTy00UhWE87xB1@andrew.cmu.edu>
  6. Date: 28 Aug 92 19:06:07 GMT
  7. Organization: Heinz School, Carnegie Mellon, Pittsburgh, PA
  8. Lines: 21
  9. In-Reply-To: <1992Aug28.183850.10823@Armstrong.EDU>
  10.  
  11. To answer your question:
  12.  
  13.     First, there are two types of DOS executables. One is strictly a
  14. memory image which is only supposed to occupy a single segment. This
  15. type is called a COM file for the obvious reason that most of these
  16. files have the name of [name].COM . The second kind of file is a little
  17. more complex. This kind of file can span multiple segments and is more
  18. than a memory image. This type of file is called an EXE file for the
  19. obvious reason that most files of this type have the name [name].EXE . 
  20.     So, to answer your question: YES YES YES YES YES YES
  21. YES!!!!!!!!!!!!!!!!!!!!!!! EXE files are the MOST common types of files
  22. on MS-DOS/DR-DOS/OS.2 (version 2.0 and 1.x compatability box) machines. 
  23.  
  24.  
  25. Note, segments are 64K blocks of memory. They are refered to in programs
  26. (TP) as Mem[segment:offset (offset value from segment originator)],
  27. MemW[segment:offset], or MemL[segment:offset].
  28.  
  29. Hope this helped.
  30.  
  31.                 -- Shannon F. Stewman, email: ss62@andrew.cmu.edu
  32.