Omnimaga

Calculator Community => TI Calculators => Grammer => Topic started by: Yeong on January 03, 2012, 12:56:52 pm

Title: TI 83/84 Group Files Explanation?
Post by: Yeong on January 03, 2012, 12:56:52 pm
Like appvar, group file will be a series of data, right?
If so, how is it ordered?
Title: Re: TI 83/84 Group Files Explanation?
Post by: Xeda112358 on January 03, 2012, 01:18:23 pm
I just created a group and checked it in Calcsys. It seems to be oredered like this:
-The first byte was $FC. I have no clue why.
-Next two bytes are the size of the group (little endian)
-Next comes the VAT entry (since it is archived)
**See below for a breakdown of archived syntax**
-After this is the size bytes of the data. This is two bytes in little endian
-After that it is like reading archived variables

Archived syntax: (the 00 means the first byte, 01 is the second byte...)
00-type
01-reserved for future OS changes
02-archived status. This will be 0 since groups can only have vars in RAM selected
03-Address where the var was before grouping. two bytes, little endian
05-forgot, actually, but this seems to be 0
06-size of the var name followed by the name
 n-After this is two size bytes, followed by data

Does this help?
Title: Re: TI 83/84 Group Files Explanation?
Post by: Yeong on January 03, 2012, 01:21:39 pm
Hmm. I think I get it a bit.
I'm trying to create Group File extractor in Grammer like how Celtic III can.
Then, where is the content?
Title: Re: TI 83/84 Group Files Explanation?
Post by: Xeda112358 on January 03, 2012, 01:24:25 pm
At the "n" is where you will find it.

Also, I think we read minds, yeong :P I was working on an extractor (but written in assembly code). It was just going to let people run BASIC programs/ Assembly programs from groups and recall pictures. >:D
Title: Re: TI 83/84 Group Files Explanation?
Post by: Yeong on January 03, 2012, 01:43:33 pm
O.O
Can you add appvar support as well? ;D
Title: Re: TI 83/84 Group Files Explanation?
Post by: Nick on January 03, 2012, 01:52:56 pm
O.o that would be so awesome, than even basic would become much more editable (like levels etc)
Title: Re: TI 83/84 Group Files Explanation?
Post by: Xeda112358 on January 03, 2012, 03:42:39 pm
O.O
Can you add appvar support as well? ;D
What do you mean by that? As in executing appvars from a group as BASIC or assembly programs or recalling them as pictures? Or do you mean extracting appvars?
Title: Re: TI 83/84 Group Files Explanation?
Post by: Yeong on January 04, 2012, 07:43:13 am
O.O
Can you add appvar support as well? ;D
What do you mean by that? As in executing appvars from a group as BASIC or assembly programs or recalling them as pictures? Or do you mean extracting appvars?
I mean by extracting appvars.
Title: Re: TI 83/84 Group Files Explanation?
Post by: DrDnar on January 06, 2012, 08:09:13 pm
-The first byte was $FC. I have no clue why.
It's the status flag. See WikiTI for details (http://wikiti.brandonw.net/index.php?title=83Plus:OS:Variable_Storage_in_the_User_Archive).
Title: Re: TI 83/84 Group Files Explanation?
Post by: Xeda112358 on January 07, 2012, 12:19:13 am
Oh, cool! I could have some fun with this!