[A83] Rename program for TI-83


[Next][Index][Thread]

[A83] Rename program for TI-83



I'm working on a small piece of code that will allow someone, from a TI-83
program, to rename another existing program.  I run into a problem when the
new name does not contain the same number of characters as the old name.
How do I safely insert or delete up to seven bytes from the program/list
table?  I thought of insertmem and deletemem, but this seemingly applies
only to space within variables.

I guess my question is this.  Does the pointer at FREE_MEM_END .equ $9311
indicate the lowest byte of the operator stack?  So, if I have enough free
RAM, could I simply copy every byte from a point in the program/list table
to ($9311), down or up a few bytes to create the required space in the
program table?  What pointers would I need to update after doing this?

Jeff



Follow-Ups: