This is a small text file detailing what we know about variable storage on the TI-85. MSB=Most significant byte LSB=Least significant byte The variable headers (contains the name, type and address of the variable) are stored in a downwards growing stack starting at $FA6F. the actual variable data is stored in an upwards growing stack starting at $8bf7. the format of the variable headers is : name of variable backwards (x bytes) length of name of variable (1 byte) position of variable in memory (2 bytes, MSB first) type of variable (1 byte) the variable types are as follows: 00 Real 01 Cplx 02 Vectr 03 Vectr complex 04 List 05 List complex 06 Matrx 07 Matrx complex 08 Const 09 Const complex 0A Equ 0B Range 0C Strng 0D-10 GDB 11 Pict 12 Prgm 13 Range but these sometimes have some upper bits set (I haven't completely figured out what the upper bits do exactly) The format of the actual variable data (pointed to by the address in the variable header) is: length of data (2 bytes, LSB first) Data [Please not that the next section may no The length of data is only the actual length in bytes for EQU,RANGE,PIC,STRNG,PRGM and RANGE variables, for other's it's number of entries, e.g. for real and complex single numbers, it's 1 (actual length is 10bytes and 20 bytes respectivey) for lists/vectors, it's the number of items in the list/vector (actual length is 10*no of bytes if real or 20*no. of bytes if complex) For matricies the length word is split into two byes and one bye is the height and the other the width (not actually sure which way round they go, though..) so the actual size is 1st byte*2nd byte*10 if real or 1st byte*2nd byte*20 if complex. Rob Taylor MAIL - mailto:rtaylor@rtaylor.u-net.com WEB - http://www.u-net.com/~rtaylor/