🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari
Article #1740

Re: 520ST malloc help!

#1740
From: Steve Tynor
Date: Fri, 13 Dec 1985 15:18
17 lines
1336 bytes
In article <673@mprvaxa.UUCP> jackson@mprvaxa.UUCP (Taylor Jackson) writes:
>I'm having trouble with malloc, e.g. any function call previous to malloc  
>causes it to fail (can't allocate memory for x bytes).  Any suggestions?
>Taylor Jackson
>  

I had the same problem and called Richard Frick...  It turns out that TOS
gives up all of memory to the application.  (seems pretty stupid to me). So
in order to use Malloc, you have to first use Mfree to free up some memory.
Now what I haven't figured out is how to determine where to start the
Mfree?????  It seems non-deterministic since depending on how many
desk-accessories are loaded, the application will be loaded at various
locations in memory...

Any ideas?

Steve Tynor
Technical Details
Message-ID: <1184@gitpyr.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!gatech!gitpyr!tynor
References: <673@mprvaxa.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site gitpyr.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!gatech!gitpyr!tynor
From: tynor@gitpyr.UUCP (Steve Tynor)
Newsgroups: net.micro.atari
Subject: Re: 520ST malloc help!
Message-ID: <1184@gitpyr.UUCP>
Date: Fri, 13-Dec-85 10:18:17 EST
Article-I.D.: gitpyr.1184
Posted: Fri Dec 13 10:18:17 1985
Date-Received: Sat, 14-Dec-85 03:33:30 EST
References: <673@mprvaxa.UUCP>
Reply-To: tynor@gitpyr.UUCP (Steve Tynor)
Organization: Georgia Institute of Technology
Lines: 17