Article View: comp.sys.atari.st
Article #34417Re: Allocating long-lived memory blocks
From: Michael B. Vederman
Date: Thu, 06 Oct 1988 15:07
Date: Thu, 06 Oct 1988 15:07
18 lines
1403 bytes
1403 bytes
You basically have the right idea as described in the second algorithm, ie.
change the _run variable pointer to point to the basepage of the oldest process
which should be the desktop. This however is a problem if allocated within a
program. We have just implemented this for SHADOW, and have it working very
well, with some helpful advice from ATARI.
The _run pointer MUST point to a valid basepage, not the desktop's, which we
found to cause trouble. Of course, the location of _run is not documented
for pre-Mega ROMs, so you will have to hack out the location and hardwire it.
- mike
Double Click Software
--
for (;;) : Use ATARINET, send an interactive
do_it(c_programmers); : message such as:
: Tell UH-INFO at UHUPVM1 ATARINET HELP
University Atari Computer Enthusiasts : University of Houston UACE
Technical Details
Message-ID:
<686@uhnix2.uh.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!rutgers!bellcore!tness7!tness1!uhnix1!uhnix2!uace0References:
<39610@yale-celray.yale.UUCP> <39617@yale-celray.yale.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!rutgers!bellcore!tness7!tness1!uhnix1!uhnix2!uace0 From: uace0@uhnix2.uh.edu (Michael B. Vederman) Newsgroups: comp.sys.atari.st Subject: Re: Allocating long-lived memory blocks Keywords: Malloc, Gemdos Message-ID: <686@uhnix2.uh.edu> Date: 6 Oct 88 15:07:28 GMT References: <39610@yale-celray.yale.UUCP> <39617@yale-celray.yale.UUCP> Reply-To: uace0@uhnix2.UUCP Organization: University of Houston Lines: 18