Posted by Dean Corcoran on March 27, 2000 at 16:54:17:
file formats and/or Basic Memory table usage
I am in the process of decoding TI BASIC files in FIAD ( File in a directory ) file format for a PC program to decode into a TXT the listing of programs stored in FIAD & Vice versa. The FIAD to TXT part is 90% finished but I cannot even start to create the TXT to FIAD part without knowing the following. After to file header ( 128 bytes ) what do the first two bytes ( 129 & 130 / >81 & >82 ) of the BASIC file represent. Or alternatively could you describe the layout of a basic saves in general. I do know that the following 6 bytes are 3 memory pointers to the following parts of the file ( Line no# table, Statement list Etc ). I have changed these two values in a FIAD file and TI BASIC will not load it, so they must be imperiative to the TI. Are they a least significant bit checksum or what? This may be a question of how the TI BASIC is held in memory & manipulated when extra lines are added. Any help would be greatly appreciated. I will eventually create a TI BASIC subprograms for MS Quick Basic or the like so TI Progs can be directly portable to PC. I if you dont know this answer do you know someone who does.