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