🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.ti
Article #119

Dynamic Memory Allocation

#119
From: John DiNovo
Date: Sun, 06 Oct 1985 16:15
17 lines
1258 bytes
I have been trying without success to use MS-DOS2.1 function calls
48, 49, 4A to do memory allocation on my TIPC.  When I try to allocate
I'm informed that I have insufficient size.  That makes sense because
I never freed anything.

When I try to free before allocating I get "arena trashed".  If someone
can give step-by-step guidance I would appreciate it.  My guess is that

	1.  I'm not aligning things properly so the system can't find
   	    the boundary tags.

	2.  I'm not setting the proper switches on the linker.

Also, can more than 64K be allocated or freed?

Thanks in advance.
Technical Details
Message-ID: <8939@ritcv.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!ucbvax!ucdavis!lll-crg!seismo!rochester!ritcv!jcd

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ritcv.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!ucbvax!ucdavis!lll-crg!seismo!rochester!ritcv!jcd
From: jcd@ritcv.UUCP (John DiNovo)
Newsgroups: net.micro.ti
Subject: Dynamic Memory Allocation
Message-ID: <8939@ritcv.UUCP>
Date: Sun, 6-Oct-85 12:15:50 EDT
Article-I.D.: ritcv.8939
Posted: Sun Oct  6 12:15:50 1985
Date-Received: Wed, 9-Oct-85 03:48:38 EDT
Reply-To: jcd@ritcv.UUCP
Distribution: net
Organization: Rochester Institute of Technology, Rochester, NY
Lines: 17
Summary: How do I use MS-DOS2.1 function calls to allocate memory?