🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4078

thanks & memory allocation

#4078
From: Rob Wedlock
Date: Mon, 31 Dec 1990 00:02
16 lines
1238 bytes
Hi!
Thanks to Duncan Murdoch for the aid in exe file header wuestions.
Now I have another question!! Alot for someone never posted to this
group before, hunh?
 Ok, I'm trying to write a clock tsr. I want it to allocate just enough
memory at the very highest address for itself, then move there.. I can code
all this, but when I do allocatea block there, it disappears! I.E. is no
longer in the mcb chain, it just gets absorbed back into free space when
the process terminates. How can I do this? The way I'm doing this is
shrinking the block allocated to the com file that does all this by
the amount of memory i need up there, plus a little more. Allocating
memory (and it does this ok). But it wont stick around! Is this just
the way msdos is, or is there a way to do this?

Email to rob.wedlock@samba.acs.unc.edu
THANKS!!!
Technical Details
Message-ID: <2060@beguine.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!ncar!gatech!mcnc!beguine!Rob.Wedlock

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!ncar!gatech!mcnc!beguine!Rob.Wedlock
From: Rob.Wedlock@samba.acs.unc.edu (Rob Wedlock)
Newsgroups: comp.os.msdos.programmer
Subject: thanks & memory allocation
Keywords: memory allocation rutabega
Message-ID: <2060@beguine.UUCP>
Date: 31 Dec 90 00:02:41 GMT
Sender: usenet@beguine.UUCP
Lines: 16