TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: CHRIS BERKHOUT
from: DARRYL GREGORASH
date: 1998-01-16 09:13:00
subject: Memory Allocation

Replying to a message of Chris Berkhout to Darryl Gregorash:
 CB>         Odd... with .exe's and .com's being treated the same
 CB> by dos, with  regards to memory allocation, I'd have
 CB> thought that a linker directive  would exist for both or
 CB> none.
A .com is a binary image file. It is loaded into memory exactly as it appears 
on disk, and there is no program header to do any reallocation of memory. A 
.exe is not; segment relocation is necessary (eg. set up the stack segment) 
so there must be a header, and that is where memory reallocation is done.
--- FleetStreet 1.21 NR
---------------
* Origin: BIG BANG Burger Bar: Regina SK Canada (1:140/86)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.