Re: A82: Sqrxz 82


[Prev][Next][Index][Thread]

Re: A82: Sqrxz 82




If you only need the extra bytes while your program is running the easiest
thing to do is probably to do the following:

Find end of user mem (If it is < START_ADDR+length of program then use
this instead)
Find end of program mem
Subtract the two values, the result is the mem free.

If there is enough free mem left then the value calculated in the first
line is a pointer to the start of your "buffer". The insert_mem routine
also exists on the TI82, but it wont work because of relocation. All
memory addrs can be found in 82-RAM.TXT.

Dines
-----Original Message-----
From: Evil Sam <evil_sam@hotmail.com>
To: assembly-82@lists.ticalc.org <assembly-82@lists.ticalc.org>
Date: 16. maj 1998 04:29
Subject: Re: A82: Sqrxz 82


>
>>  Hi there, 
>>
>>I was wondering if someone could help me porting Sqrxz to the 82...
>>I'll most likely use Crash, or Ash
>>
>>Could you tell me how you can allocate memory ( I need 2048 extra bytes 
>>of free mem in order to uncrunch/copy the levels )
>>
>>On the 83, I use a call to insertmem
>>Another solution would be to get this mem between the end of user ram 
>>and the start of the VAT, but I don't know where are the pointers
>>
>>- Florent
>>
>  Email Dines and please hurry.
>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>

_______________________________________

Dines Justesen
Email: dines@post1.com or
       c958362@student.dtu.dk
WWW  : http://www.gbar.dtu.dk/~c958362/
_______________________________________