home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / msdos / programm / 3262 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.2 KB  |  33 lines

  1. Newsgroups: alt.msdos.programmer
  2. Path: sparky!uunet!das.wang.com!ulowell!news.bbn.com!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!sol.ctr.columbia.edu!eff!world!mikep
  3. From: mikep@world.std.com (Michael Podanoffsky)
  4. Subject: Re: .com and .exe files
  5. Message-ID: <C1HtvM.Eun@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. References: <1993Jan25.231026.6514@news.unomaha.edu> <1993Jan26.201921.21687@ousrvr.oulu.fi>
  8. Date: Wed, 27 Jan 1993 03:33:21 GMT
  9. Lines: 22
  10.  
  11.  
  12. Both .com and .exe files can be loaded anywhere.
  13.  
  14. A .com file contains no segments whatsoever.  All data, code and stack share
  15. the same 64k segment.
  16.  
  17. An .exe file contains segments and can exceed 64k.  Only .exe files are really
  18. rommable should this ever be needed.  One major side effect is that different
  19. code segments may be produced.
  20.  
  21. .com files are an exact byte image of the program in memory without any
  22. relocation information.  That means all references are near.
  23.  
  24. .exe files contain a header and several segments.
  25.  
  26. ------------------------
  27.  
  28. I should know: I wrote RxDOS an msdos replacement which is available in 
  29. source code form: e-mail me if you need additional info.  
  30.  
  31. mikep@world.std.com
  32.  
  33.