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

 CB>         So the code for that is run after the .EXE is
 CB> started,  rather than DOS doing it during loading based on
 CB> values from the header ?
 DG> Exactly; DOS merely assigns all available memory in one block to any
 DG> program it loads, and it is then up to the application to manage what
 DG> it has been given.  
 
 DG> In this case, we wish to give up some of that memeory so we can
 DG> request memory for a different purpose. In a .exe, you can achieve
 DG> that with linker directives, in a .com you must write the code
 DG> yourself. 
        Odd... with .exe's and .com's being treated the same by dos, with
 regards to memory allocation, I'd have thought that a linker directive
 would exist for both or none.
Chris.
... Sorry, the dog ate my Blue Wave packet.
--- FMail/386 1.20+
---------------
* Origin: Comms Barrier BBS +61.3.9585.1112, +61.3.9583.6119 (3:632/533)

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™.