Texas Instruments TI89 Developer Guide - Page 121
Commands - battery
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 121 highlights
Chapter 9: Application Control Flow 79 9.3. side status info - Which side of the screen the application's window occupies. An application sharing the screen with another application in split screen mode can tell which side of the screen it is on, either AP_SIDE_A for the top or left side, or AP_SIDE_B for the bottom or right side. - A copy of many of the status flags when the event occurred. This includes the state of the 2, ¥, and ¤ keyboard modifier keys, angle mode setting, busy indicator, and so forth. - Event dependent information. It may specify keypress information, string paste pointer or handle, the address of which window to repaint, application start up information, or new mode settings. Commands The type of an event can be identified by the contents of the command field of the Event structure. Command numbers have symbolic names defined in tiams.h. 0x001 - 0x4FF Built-in strings Character strings are kept together in a table for ease of language customization. The menu system uses command numbers in this range as an index into the string table. The default event handler converts these commands into CM_PASTE_STRING events containing the cross-referenced string pointer. 0x500 - 0x6FF Application-specific commands Menu choices specific to each application. 0x700 - 0x7BF System commands OS-generated commands. 0x700 CM_NULL Sent to the active application when there are no other events to process. The application might use this event to take care of some background processing or update an animated display. 0x701 CM_INIT Sent to each application once when the calculator is reset or batteries are inserted. This command is used principally by the built-in applications. The CM_INSTALL command is better suited for initializing Flash applications. TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001