EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #87 background imageLoading...
Page #87 background image
Chapter 7: Flash Application Layout
45
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
This method is optional. The system implementation of this method displays the
application’s internal name, revision number, and date when its certificate was
signed.
7.3.1.3.19. Attribute OO_APPSTRING (0x1000 and up)
char const *
Applications store pointers to their strings beginning with selector number 0x1000
defined by macro
OO_APPSTRING
. The menu system and language localizers
expect application string numbers to be defined in the range 0x1000 – 0x17FF.
7.3.1.4. Example
C source file pipes.c:
#include "tiams.h"
#include "pipesr.h"
#include "pipes.h"
/* Prototypes of functions in this source file */
void main(pFrame, PEvent);
static short sabs(short);
static short random(short, short);
FRAME(pipesFrame, OO_SYSTEM_FRAME, 0, OO_APP_FLAGS, 6)
ATTR(OO_APP_FLAGS, APP_INTERACTIVE) /* This is an interactive app */
ATTR(OO_APP_NAME, "Pipes") /* Name in [APPS] menu */
ATTR(OO_APP_PROCESS_EVENT, &main) /* Address of event handler */
ATTR(OO_APP_DEFAULT_MENU, &pipesMenu) /* Menu defined in pipesr.r */
/* Strings used in menu */
ATTR(OO_FIRST_STRING+P_Tools, "Tools")
ATTR(OO_FIRST_STRING+P_Clear, "Clear")
ENDFRAME
pFrame PipesFrame = (pFrame)&pipesFrame;/* Pointer to object frame */
#define BOX_DIMENSION (15)
#define MAX_BOX (25)
WINDOW w;
SCR_COORDS width, height;
WIN_RECT box;
/* Event handler - the OS calls this routine when an event has occurred
*/
void main(pFrame self, PEvent event)
{
static short deltaX = 1, deltaY = 1;
static short boxcount = -1;

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals