Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.ti » Dynamic Memory Allocation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Dynamic Memory Allocation [message #132813] Sun, 06 October 1985 12:15 Go to next message
jcd is currently offline  jcd
Messages: 1
Registered: October 1985
Karma: 0
Junior Member
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?


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.
Re: Dynamic Memory Allocation [message #132814 is a reply to message #132813] Wed, 09 October 1985 08:20 Go to previous message
emery is currently offline  emery
Messages: 7
Registered: August 1985
Karma: 0
Junior Member
Article-I.D.: gypsy.53600003
Posted: Wed Oct  9 08:20:00 1985
Date-Received: Fri, 11-Oct-85 07:52:23 EDT
References: <8939@ritcv.UUCP>
Lines: 9
Nf-ID: #R:ritcv:-893900:gypsy:53600003:000:144
Nf-From: gypsy!emery    Oct  9 08:20:00 1985



When you finally figure it out, could you post a summary?

Thanks!
				
					Dave Emery
					Siemens Research
			    ..princeton!siemens!emery
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: TIPC mailorder
Next Topic: TI 99/4A Extended Basic question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 17:41:29 EDT 2024

Total time taken to generate the page: 0.01620 seconds