🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #26140

Re: how to allocate a big chunk of memory?

#26140
From: braner
Date: Thu, 09 Apr 1987 04:06
11 lines
1104 bytes
[]

The C (and other) compilers can only give you what TOS yields, even if it
is repackaged.  So for example, Megamax C takes big (8K or larger) chunks
from TOS, using Malloc(), when you do a malloc(), then manages those chunks
on its own when you do more malloc()s.  It never returns the space to TOS
until you exit the program, even if you free() it all!

I wonder if some ways of using Malloc() are safe.

- Moshe Braner
Technical Details
Message-ID: <641@batcomputer.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!rochester!cornell!batcomputer!braner
References: <4464@utah-cs.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!rochester!cornell!batcomputer!braner
From: braner@batcomputer.UUCP
Newsgroups: comp.sys.atari.st
Subject: Re: how to allocate a big chunk of memory?
Message-ID: <641@batcomputer.tn.cornell.edu>
Date: Wed, 8-Apr-87 23:06:02 EST
Article-I.D.: batcompu.641
Posted: Wed Apr  8 23:06:02 1987
Date-Received: Sat, 11-Apr-87 13:49:17 EST
References: <4464@utah-cs.UUCP>
Reply-To: braner@tcgould.tn.cornell.edu.UUCP (braner)
Organization: Theory Center, Cornell University, Ithaca NY
Lines: 11
Keywords: malloc, Malloc
Summary: No easy way