 |
AB_serno |
Function (ROM Call 0x29F) |
Determines the serial number.
AB_serno tries to fill the buffer with the serial number of the calculator.
The serial number is constructed from the string returned from
cgetsn function (with one space inserted in the middle), and from
the hexadecimal value returned from FL_getVerNum
function. Note that these routines are very cryptic, and do some ugly things with the Flash
memory, so this probably works only on real TI (at least, it does not work under VTI).
AB_serno returns
TRUE if determining the serial number was successful, else returns
FALSE (this is a case on VTI, for example).
The serial number has the form "pphnn nnnnn vvvv", where "pp" is the platform number
(01 for TI-92 Plus, 03 for TI-89), "h" is hardware revision level, "nnnnnnn" is an ID number
which is unique to each calculator, and "vvvv" is a verification number.
All the above fields consist of hexadecimal digits.
buffer must be at least 17 bytes long to accept the serial number.
Uses: cgetsn, FL_getVerNum, memmove, sprintf, strlen
Used by: ABT_dialog