ii
Table of Contents
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
6.5. Subroutine Linkage ............................................................................................27
6.6. Sample ASM Program .......................................................................................29
7. Flash Application Layout........................................................................31
7.1. File Format.........................................................................................................31
7.1.1. Flash Header........................................................................................................31
7.1.2. Certificate Header.................................................................................................32
7.1.3. Application Header ...............................................................................................33
7.1.3.1. Magic Number .........................................................................................33
7.1.3.2. Internal Application Name .......................................................................33
7.1.3.3. Flags........................................................................................................34
7.1.3.4. Length of Data Segment..........................................................................34
7.1.3.5. Byte Offset to Code Segment..................................................................34
7.1.3.6. Byte Offset to Initial Data Table...............................................................34
7.1.3.7. Length of Initial Data Table......................................................................35
7.1.3.8. Optional Header ......................................................................................35
7.1.4. Relocation Map.....................................................................................................35
7.1.5. Application Code ..................................................................................................35
7.1.6. Initial Data Table...................................................................................................35
7.1.7. Signature ..............................................................................................................36
7.2. Layout in Memory...............................................................................................36
7.3. Source Layout....................................................................................................38
7.3.1. Interactive Applications.........................................................................................38
7.3.1.1. FRAME....................................................................................................39
7.3.1.2. Pointer to FRAME....................................................................................40
7.3.1.3. Object Frame Attributes...........................................................................40
7.3.1.3.1. Attribute OO_APP_FLAGS (0x1).........................................................40
7.3.1.3.2. Attribute OO_APP_NAME (0x2)..........................................................41
7.3.1.3.3. Attribute OO_APP_TOK_NAME (0x3).................................................41
7.3.1.3.4. Method OO_APP_PROCESS_EVENT (0x4) ......................................41
7.3.1.3.5. Attribute OO_APP_DEFAULT_MENU (0x5) .......................................42
7.3.1.3.6. Attribute OO_APP_DEFAULT_MENU_HANDLE (0x6).......................42
7.3.1.3.7. Attribute OO_APP_EXT_COUNT (0x7)...............................................42
7.3.1.3.8. Attribute OO_APP_EXTENSIONS (0x8) .............................................42