The Archive and UnArchive commands (accessible from the memory menu) are not recognized in either direction by the parser. When loading the programs to calculator, they are transmitted as text, and when decompiling them, they are just funny symbols.
In my translation tables I cannot find Archive (if I could, it would be in the compiler) or UnArchive. If you know the conversion, please assist the development of the compiler by telling me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm going to write a program that only contains "Archive" and "UnArchive" and disassemble the resulting program in a hex editor to find the translation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On my Ti-84 Plus Silver Edition, I can create a program as follows:
:0->C
:Archive C
:C
Correctly, when first executed I get an error about C being archived, on line 3. The Archive/UnArchive commands are both visible on the MEM menu (2ND -> +), items 5 and 6. I have tried decompiling these, but the result is a funny symbol.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, if you could take that exact program and send me the 8xp file (from the calculator, not from my program, and not decompiled) then I can figure out the opcodes to add. I didn't realise the MEM menu options were valid in BASIC programs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1719059
Originator: NO
In my translation tables I cannot find Archive (if I could, it would be in the compiler) or UnArchive. If you know the conversion, please assist the development of the compiler by telling me.
Logged In: YES
user_id=1719059
Originator: NO
I'm going to write a program that only contains "Archive" and "UnArchive" and disassemble the resulting program in a hex editor to find the translation.
I don't believe Archive and UnArchive are even valid syntax for TI-BASIC programs. You might need to look into writing assembly rather than BASIC.
On my Ti-84 Plus Silver Edition, I can create a program as follows:
:0->C
:Archive C
:C
Correctly, when first executed I get an error about C being archived, on line 3. The Archive/UnArchive commands are both visible on the MEM menu (2ND -> +), items 5 and 6. I have tried decompiling these, but the result is a funny symbol.
Thanks, if you could take that exact program and send me the 8xp file (from the calculator, not from my program, and not decompiled) then I can figure out the opcodes to add. I didn't realise the MEM menu options were valid in BASIC programs.
File received and will do some analysis on it as soon as possible.