Deleted Added
full compact
ti-8x (68349) ti-8x (133359)
1# ------------------------------------------------------------------------
1# ------------------------------------------------------------------------
2# ti-8x: file(1) magic for the TI-8x and TI-92 Graphing Calculators.
2# ti-8x: file(1) magic for the TI-8x and TI-9x Graphing Calculators.
3#
4# From: Ryan McGuire (rmcguire@freenet.columbus.oh.us).
5#
3#
4# From: Ryan McGuire (rmcguire@freenet.columbus.oh.us).
5#
6# Update: Romain Lievin (roms@lpg.ticalc.org).
7#
6# NOTE: This list is not complete.
8# NOTE: This list is not complete.
9# Files for the TI-80 and TI-81 are pretty rare. I'm not going to put the
10# program/group magic numbers in here because I cannot find any.
110 string **TI80** TI-80 Graphing Calculator File.
120 string **TI81** TI-81 Graphing Calculator File.
7#
13#
14# Magic Numbers for the TI-73
15#
160 string **TI73** TI-73 Graphing Calculator
17>0x00003B byte 0x00 (real number)
18>0x00003B byte 0x01 (list)
19>0x00003B byte 0x02 (matrix)
20>0x00003B byte 0x03 (equation)
21>0x00003B byte 0x04 (string)
22>0x00003B byte 0x05 (program)
23>0x00003B byte 0x06 (assembly program)
24>0x00003B byte 0x07 (picture)
25>0x00003B byte 0x08 (gdb)
26>0x00003B byte 0x0C (complex number)
27>0x00003B byte 0x0F (window settings)
28>0x00003B byte 0x10 (zoom)
29>0x00003B byte 0x11 (table setup)
30>0x00003B byte 0x13 (backup)
31
8# Magic Numbers for the TI-82
9#
32# Magic Numbers for the TI-82
33#
100 string **TI82** TI-82 Graphing Calculator
11>0x000037 byte 0x0B TI-BASIC Group/Program File.
340 string **TI82** TI-82 Graphing Calculator
35>0x00003B byte 0x00 (real)
36>0x00003B byte 0x01 (list)
37>0x00003B byte 0x02 (matrix)
38>0x00003B byte 0x03 (Y-variable)
39>0x00003B byte 0x05 (program)
40>0x00003B byte 0x06 (protected prgm)
41>0x00003B byte 0x07 (picture)
42>0x00003B byte 0x08 (gdb)
43>0x00003B byte 0x0B (window settings)
44>0x00003B byte 0x0C (window settings)
45>0x00003B byte 0x0D (table setup)
46>0x00003B byte 0x0E (screenshot)
47>0x00003B byte 0x0F (backup)
12#
13# Magic Numbers for the TI-83
14#
48#
49# Magic Numbers for the TI-83
50#
150 string **TI83** TI-83 Graphing Calculator
16>0x000037 byte 0x0B TI-BASIC Group/Program File.
510 string **TI83** TI-83 Graphing Calculator
52>0x00003B byte 0x00 (real)
53>0x00003B byte 0x01 (list)
54>0x00003B byte 0x02 (matrix)
55>0x00003B byte 0x03 (Y-variable)
56>0x00003B byte 0x04 (string)
57>0x00003B byte 0x05 (program)
58>0x00003B byte 0x06 (protected prgm)
59>0x00003B byte 0x07 (picture)
60>0x00003B byte 0x08 (gdb)
61>0x00003B byte 0x0B (window settings)
62>0x00003B byte 0x0C (window settings)
63>0x00003B byte 0x0D (table setup)
64>0x00003B byte 0x0E (screenshot)
65>0x00003B byte 0x13 (backup)
17#
66#
67# Magic Numbers for the TI-83+
68#
690 string **TI83F* TI-83+ Graphing Calculator
70>0x00003B byte 0x00 (real number)
71>0x00003B byte 0x01 (list)
72>0x00003B byte 0x02 (matrix)
73>0x00003B byte 0x03 (equation)
74>0x00003B byte 0x04 (string)
75>0x00003B byte 0x05 (program)
76>0x00003B byte 0x06 (assembly program)
77>0x00003B byte 0x07 (picture)
78>0x00003B byte 0x08 (gdb)
79>0x00003B byte 0x0C (complex number)
80>0x00003B byte 0x0F (window settings)
81>0x00003B byte 0x10 (zoom)
82>0x00003B byte 0x11 (table setup)
83>0x00003B byte 0x13 (backup)
84>0x00003B byte 0x15 (application variable)
85>0x00003B byte 0x17 (group of variable)
86
87#
18# Magic Numbers for the TI-85
19#
88# Magic Numbers for the TI-85
89#
200 string **TI85** TI-85 Graphing Calculator
21>11 string Backup Backup File.
22>0x000032 string ZS4 - ZShell Version 4 File.
23>0x000032 string ZS3 - ZShell Version 3 File.
24>0x00000B string GDatabase Graphics Database.
25>0x00003B byte 0x12 TI-BASIC Group/Program File.
900 string **TI85** TI-85 Graphing Calculator
91>0x00003B byte 0x00 (real number)
92>0x00003B byte 0x01 (complex number)
93>0x00003B byte 0x02 (real vector)
94>0x00003B byte 0x03 (complex vector)
95>0x00003B byte 0x04 (real list)
96>0x00003B byte 0x05 (complex list)
97>0x00003B byte 0x06 (real matrix)
98>0x00003B byte 0x07 (complex matrix)
99>0x00003B byte 0x08 (real constant)
100>0x00003B byte 0x09 (complex constant)
101>0x00003B byte 0x0A (equation)
102>0x00003B byte 0x0C (string)
103>0x00003B byte 0x0D (function GDB)
104>0x00003B byte 0x0E (polar GDB)
105>0x00003B byte 0x0F (parametric GDB)
106>0x00003B byte 0x10 (diffeq GDB)
107>0x00003B byte 0x11 (picture)
108>0x00003B byte 0x12 (program)
109>0x00003B byte 0x13 (range)
110>0x00003B byte 0x17 (window settings)
111>0x00003B byte 0x18 (window settings)
112>0x00003B byte 0x19 (window settings)
113>0x00003B byte 0x1A (window settings)
114>0x00003B byte 0x1B (zoom)
115>0x00003B byte 0x1D (backup)
116>0x00003B byte 0x1E (unknown)
117>0x00003B byte 0x2A (equation)
118>0x000032 string ZS4 - ZShell Version 4 File.
119>0x000032 string ZS3 - ZShell Version 3 File.
26#
120#
121# Magic Numbers for the TI-86
122#
1230 string **TI86** TI-86 Graphing Calculator
124>0x00003B byte 0x00 (real number)
125>0x00003B byte 0x01 (complex number)
126>0x00003B byte 0x02 (real vector)
127>0x00003B byte 0x03 (complex vector)
128>0x00003B byte 0x04 (real list)
129>0x00003B byte 0x05 (complex list)
130>0x00003B byte 0x06 (real matrix)
131>0x00003B byte 0x07 (complex matrix)
132>0x00003B byte 0x08 (real constant)
133>0x00003B byte 0x09 (complex constant)
134>0x00003B byte 0x0A (equation)
135>0x00003B byte 0x0C (string)
136>0x00003B byte 0x0D (function GDB)
137>0x00003B byte 0x0E (polar GDB)
138>0x00003B byte 0x0F (parametric GDB)
139>0x00003B byte 0x10 (diffeq GDB)
140>0x00003B byte 0x11 (picture)
141>0x00003B byte 0x12 (program)
142>0x00003B byte 0x13 (range)
143>0x00003B byte 0x17 (window settings)
144>0x00003B byte 0x18 (window settings)
145>0x00003B byte 0x19 (window settings)
146>0x00003B byte 0x1A (window settings)
147>0x00003B byte 0x1B (zoom)
148>0x00003B byte 0x1D (backup)
149>0x00003B byte 0x1E (unknown)
150>0x00003B byte 0x2A (equation)
151#
152# Magic Numbers for the TI-89
153#
1540 string **TI89** TI-89 Graphing Calculator
155>0x000048 byte 0x00 (expression)
156>0x000048 byte 0x04 (list)
157>0x000048 byte 0x06 (matrix)
158>0x000048 byte 0x0A (data)
159>0x000048 byte 0x0B (text)
160>0x000048 byte 0x0C (string)
161>0x000048 byte 0x0D (graphic data base)
162>0x000048 byte 0x0E (figure)
163>0x000048 byte 0x10 (picture)
164>0x000048 byte 0x12 (program)
165>0x000048 byte 0x13 (function)
166>0x000048 byte 0x14 (macro)
167>0x000048 byte 0x1C (zipped)
168>0x000048 byte 0x21 (assembler)
169#
27# Magic Numbers for the TI-92
28#
170# Magic Numbers for the TI-92
171#
290 string **TI92** TI-92 Graphing Calculator
30>0x000058 byte 0x12 TI-BASIC Group File.
31>0x000012 string Function Function.
32>0x000048 byte 0x12 TI-BASIC Program.
33# Files for the TI-80 and TI-81 are pretty rare. I'm not going to put the
34# program/group magic numbers in here because I cannot find any.
350 string **TI80** TI-80 Graphing Calculator File.
360 string **TI81** TI-81 Graphing Calculator File.
1720 string **TI92** TI-92 Graphing Calculator
173>0x000048 byte 0x00 (expression)
174>0x000048 byte 0x04 (list)
175>0x000048 byte 0x06 (matrix)
176>0x000048 byte 0x0A (data)
177>0x000048 byte 0x0B (text)
178>0x000048 byte 0x0C (string)
179>0x000048 byte 0x0D (graphic data base)
180>0x000048 byte 0x0E (figure)
181>0x000048 byte 0x10 (picture)
182>0x000048 byte 0x12 (program)
183>0x000048 byte 0x13 (function)
184>0x000048 byte 0x14 (macro)
185>0x000048 byte 0x1D (backup)
186#
187# Magic Numbers for the TI-92+/V200
188#
1890 string **TI92P* TI-92+/V200 Graphing Calculator
190>0x000048 byte 0x00 (expression)
191>0x000048 byte 0x04 (list)
192>0x000048 byte 0x06 (matrix)
193>0x000048 byte 0x0A (data)
194>0x000048 byte 0x0B (text)
195>0x000048 byte 0x0C (string)
196>0x000048 byte 0x0D (graphic data base)
197>0x000048 byte 0x0E (figure)
198>0x000048 byte 0x10 (picture)
199>0x000048 byte 0x12 (program)
200>0x000048 byte 0x13 (function)
201>0x000048 byte 0x14 (macro)
202>0x000048 byte 0x1C (zipped)
203>0x000048 byte 0x21 (assembler)
204#
205# Magic Numbers for the TI-73/83+/89/92+/V200 FLASH upgrades
206#
2070x0000016 string Advanced TI-XX Graphing Calculator (FLASH)
2080 string **TIFL** TI-XX Graphing Calculator (FLASH)
209>8 byte >0 - Revision %d
210>>9 byte x \b.%d,
211>12 byte >0 Revision date %02x
212>>13 byte x \b/%02x
213>>14 beshort x \b/%04x,
214>17 string >/0 name: '%s',
215>48 byte 0x74 device: TI-73,
216>48 byte 0x73 device: TI-83+,
217>48 byte 0x98 device: TI-89,
218>48 byte 0x88 device: TI-92+,
219>49 byte 0x23 type: OS upgrade,
220>49 byte 0x24 type: application,
221>49 byte 0x25 type: certificate,
222>49 byte 0x3e type: license,
223>74 lelong >0 size: %ld bytes
224
225# VTi & TiEmu skins (TI Graphing Calculators).
226# From: Romain Lievin (roms@lpg.ticalc.org).
227# Magic Numbers for the VTi skins
2280 string VTI Virtual TI skin
229>3 string v - Version
230>>4 byte >0 \b %c
231>>6 byte x \b.%c
232# Magic Numbers for the TiEmu skins
2330 string TiEmu TiEmu skin
234>6 string v - Version
235>>7 byte >0 \b %c
236>>9 byte x \b.%c
237>>10 byte x \b%c