Texas Instruments TI89 Developer Guide - Page 123
Cm_key_press, Cm_uninstall
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 123 highlights
Chapter 9: Application Control Flow 81 0x708 0x709 0x70A 0x70B 0x70C 0x70D 0x70E 0x70F 0x710 CM_RESTART Notifies the current application that the user has chosen to start the same application from the APPS menu. Applications may choose to ignore this command and there is no default handling. Reserved Reserved CM_ON Sent to each application when the calculator is turned on after being turned off with ( [ 2ND] [OFF]). This command is not sent if the calculator is turned on after automatic power down. CM_INSTALL Sent to an application just after it has been installed in the calculator. This message is sent to applications which are already in Flash memory when batteries are inserted or when the calculator is reset. This message is also sent to an application just after it has been downloaded into Flash memory through the link port. CM_UNINSTALL Sent to an application just before it is deleted from Flash memory. CM_PACK Informs an application that it is about to be moved to another address in Flash memory. The OS sends this message before it begins garbage collection after deleting another Flash application. The application must save any state information it needs. CM_UNPACK Sent to an application after Flash memory garbage collection is complete. The application uses this opportunity to restore state information it saved when it received the CM_PACK message. CM_KEY_PRESS Sent when a key is pressed on the calculator keyboard. This message tells the application which key was pressed. Keypresses include ASCII characters (0x20 - 0x7E), extended ASCII characters (0x80 - 0xFF), control characters and special symbols (0x00 - 0x1F, and 0x7F), and extended key codes (>= 0x100) such as function keys and the cursor arrow keys. The application usually forwards extended key codes to the default event handler for further processing. TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001