A89: Re: Heap table


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

A89: Re: Heap table



Well, I don't know how do do that, but I've got a couple days to waste too, so maybe I'll spend the time looking up a solution...

----- Original Message -----
From: JHill8075@aol.com
Sent: Saturday, December 16, 2000 10:39 PM
To: assembly-89@lists.ticalc.org
Subject: A89: Heap table

Hi! Is there any way to add an entry to the heap table without allocating
memory? The memory is already allocated, but doesn't have an entry in the
heap table. This may sound odd, but there is a perfectly good explanation for
it, which I will explain later. I need to create an entry so TIOS doesn't
overwrite it, thinking that the memory is not in use. Now, for why I need to
know this. I am making a program that will make a backup of all the VAT
entries of variables that are in RAM. When the calculator is reset, only the
VAT entries are erased, not the actual memory (or so I am lead to believe).
My program is kept in the archive, so it remains after a reset. It will then
look at the backup it made of the VAT, and recreate the VAT and heap table
entries associated with the allocated memory. Now you see why I don't want to
allocate the memory, but just make a heap en! try. With this program, combined
with AMS 2.0x or AMS 1.0x + AU, you won't lose any data after a crash! I'm
not sure if this is going to work, but there is only one way to find out
(plus I've got 19 days of Christmas break to waste :) ).

Josh



Get your FREE download of MSN Explorer at http://explorer.msn.com