Re: LZ: Delete Strings in ASM?


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

Re: LZ: Delete Strings in ASM?



On Tue, 24 Sep 1996 19:08:35 -0500, you wrote:
>JEGblkbelt@aol.com wrote:
>>=20
>> Is it possible to delete a ASM program from another ASM program?  Is =
there a
>> ROM call for this or something.  How does the calc do it? Any help =
would be
>> apprieciated.
>>=20
>> -James
>no there isn't and no there isnt.
>PCoMP
>Visit Maximus Productions home page at: http://www.ntsource.com/~pcomp
>


Actually, it is possible.  The program would be complex, however.  You
would first need to make sure your program was located in a lower
memory position, otherwise it may get moved and all of a sudden the
program crashes (I'm not sure when this will occur).  One solution
would be to move your program to the graph memory, move programs, and
then go back to your main program.  Probably the most difficult
aspect, however, is knowing which variables you must update, i.e. free
memory, vat and memory pointers, checksum, and of course moving the
entire memory down.  One thing I did notice is that the ROM doesn't
totally delete a file.  I deleted a zshell program, loaded hexview,
and fragments of the program were still in memory.  I'm not sure what
exactly happens.


-Mel


References: