I'm creating a C program for a TI89 Titanium that plays back an encoded video. The video is larger than 64kb (after encoding in most optimal way possible), therefore I know I'll have to use multiple files. I have tried multiple ways to do this:
I just want a solution to one of these problems, or a something that might work. For the first one, maybe there a way to clear the memory after the program has ran. All i know is that the sub programs are not removed from memory until after the controlling program has finished. I couldn't find any functions regarding clearing ram on the TIGCC documentation. For the second, maybe the program is compressed after being transferred to the calculator. I am not sure. I have also been wondering if the App signing keys are anywhere, I've read about them being figured out by the community, however, I have not seen them anywhere. I know that apps do not have the same 64kb limit as programs, so I could probably switch to 68k if that is available. Regardless, any help/ideas are welcomed.
(I posted this on TI calculators subreddit a while ago, but no one replied.)
- Each file is a program, where you run the programs in the correct order in another controlling program. This works, but only for the first two programs, as after the third one is ran, it will state "Invalid program reference." I have found that this means the calculator is out of memory (188 kb memory total, 64 kb * 3 > 188 kb).
Each file is still a program, but instead of running them, use fopen to read the data they contain. When using a hex editor on the compiled 89z programs, the video data shows up exactly as stored in the C program. This data would be used by a single running program that would reuse memory. However, when trying to read this data on the calculator, the data is the same for the first few bytes, but then is completely different.
I just want a solution to one of these problems, or a something that might work. For the first one, maybe there a way to clear the memory after the program has ran. All i know is that the sub programs are not removed from memory until after the controlling program has finished. I couldn't find any functions regarding clearing ram on the TIGCC documentation. For the second, maybe the program is compressed after being transferred to the calculator. I am not sure. I have also been wondering if the App signing keys are anywhere, I've read about them being figured out by the community, however, I have not seen them anywhere. I know that apps do not have the same 64kb limit as programs, so I could probably switch to 68k if that is available. Regardless, any help/ideas are welcomed.
(I posted this on TI calculators subreddit a while ago, but no one replied.)