Skip to content

Commit 1aa83ae

Browse files
authored
more info about system_info values
- Note that the reported value of hardwareVersion in TI-Connect CE (calculator information window) is incremented by one, for some reason. - For the language, TI's values available elsewhere are on one byte (& 0xFF from the one in the struct): DE=7, EN=9, FR=12, NL=19, PT=22...
1 parent 598bcf8 commit 1aa83ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ce/include/ti/info.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ uint8_t boot_GetHardwareVer(void);
4242

4343
typedef struct system_info {
4444
size_t size; /**< number of valid bytes after this field */
45-
uint8_t hardwareVersion; /**< 7 on CE */
46-
uint8_t hardwareType; /**< 0 on TI84+CE, 1 on TI83PCE */
47-
uint8_t hardwareType2; /**< 9 on TI84+CE, 12 on TI83PCE */
45+
uint8_t hardwareVersion; /**< 7 on both CE, 8 on 82AEP */
46+
uint8_t hardwareType; /**< 0 on TI84+CE, 1 on TI83PCE/82AEP */
47+
uint8_t hardwareType2; /**< 9 on TI84+CE, 12 on TI83PCE/82AEP */
4848
uint8_t osMajorVersion; /**< e.g. 5 on OS 5.4.0.0034 */
4949
uint8_t osMinorVersion; /**< e.g. 4 on OS 5.4.0.0034 */
5050
uint8_t osRevisionVersion; /**< e.g. 0 on OS 5.4.0.0034 */
@@ -56,7 +56,7 @@ typedef struct system_info {
5656
uint8_t unknown[10]; /**< 400100f0000010300000 on CE */
5757
uint8_t calcid[8]; /**< From certificate */
5858
char ti[2]; /**< First part of device name, "TI" */
59-
uint16_t language; /**< Localization language */
59+
uint16_t language; /**< EN: 0x109, FR: 0x10C, ... */
6060
} system_info_t;
6161

6262
/**

0 commit comments

Comments
 (0)