I got interesting in making TI calc string variables from scratch, since there wasn't any tool to do it, and I have an interesting project that will need it quite a bit.
Needless to say, the obvious thing to do is to find and read specs!
However, as interesting and informative as they are, I have no idea what they mean!
So here's what I know:
- Start with the TI-83+ variable file format
- Use Y variable format, since Str is the same, just not graphable
- Use tokens to fill the string
- A dictionary really helps (I may use the one here: http://tibasicdev.wikidot.com/forum/t-184793/python-ti83-basic-converter)
- BYTES BYTES BYTES
What I want to know:
- I have no idea what the spec is talking about. Start from the beginning (the header/var format) and explain all the number/char/spec frenzy!
- Example how to decode and encode that format
- How does Python handle the bytes, and how can I get it to read/compare/write bytes based on hex/whatever?
- Variable naming - difference between Str(sub 0) and Str0, as represented in the file
- ...and more as I go on into token manipulatioon, Str data, etc.
I'm using http://merthsoft.com/linkguide/ti83+/format.html, http://merthsoft.com/linkguide/ti83+/vars.html#equation, and http://merthsoft.com/linkguide/ti83+/tokens.html as a reference.
Needless to say, the obvious thing to do is to find and read specs!
However, as interesting and informative as they are, I have no idea what they mean!
So here's what I know:
- Start with the TI-83+ variable file format
- Use Y variable format, since Str is the same, just not graphable
- Use tokens to fill the string
- A dictionary really helps (I may use the one here: http://tibasicdev.wikidot.com/forum/t-184793/python-ti83-basic-converter)
- BYTES BYTES BYTES
What I want to know:
- I have no idea what the spec is talking about. Start from the beginning (the header/var format) and explain all the number/char/spec frenzy!
- Example how to decode and encode that format
- How does Python handle the bytes, and how can I get it to read/compare/write bytes based on hex/whatever?
- Variable naming - difference between Str(sub 0) and Str0, as represented in the file
- ...and more as I go on into token manipulatioon, Str data, etc.
I'm using http://merthsoft.com/linkguide/ti83+/format.html, http://merthsoft.com/linkguide/ti83+/vars.html#equation, and http://merthsoft.com/linkguide/ti83+/tokens.html as a reference.