[A83] Re: InsertMem/DelMem


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

[A83] Re: InsertMem/DelMem



On Thu, 5 Jun 2003 11:23:51 +0200 (MEST), robvanwijk@gmx.net wrote:

> > That means that to run, say, a 10,000 byte program, you need 10,000
> > bytes of free RAM? It seems to me that that's one hell of an
> > inefficient way to do things.
> 
> Yes, but the alternative is, as Martin said, a lot slower. To run
> large programs with little free memory, you can insert memory
> at 9d95 (and move the program to it) one byte at a time. For
> a 10,000 byte program, that would mean 10,000 b_calls just to
> get the program started.

No no no, shells first copy (max) 768 bytes to a saferam area, delete
768 bytes, insert them at progstart and then copy the saferam area
again. That way, you don't even need a single byte of free ram.



Follow-Ups: References: