Figure 7.4: Redirected App Frame - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Chapter 7: Flash Application Layout
ACB
ACB
The ACB now points to the hook frame installed in RAM by the localizer app with
a call to OO_InstallAppHookByName. Now when XR_stringPtr looks up a
string, it starts with the hook frame in RAM. Since the hook frame has no
attributes, the search continues down the prototype chain to the localizer app's
frames. The translated string is found in the localizer's string frame.
Not all strings need to be translated. If searching the localizer prototype chain
proves unsuccessful, the search continues with the parent of the hook frame,
picking up the search again in the app's prototype chain.
The search is quick — the header of each frame indicates the range of attributes
in the frame body. No need to search a frame if the header says the sought
attribute is not there. Disjoint ranges of string numbers can be placed in different
frames and linked together through their prototype fields.
The observer frame at the bottom of the figure above lets the localizer app peek
at every event sent to the target app. The localizer app uninstalls its language
hook when it sees the target app is about to be deleted or moved. It can reinstall
its hook when it sees the target app has finished a move.
TI-89 / TI-92 Plus Developer Guide
system frame
system frame
0
0
0
0
app attributes & strings
app attributes & strings
0
0
hook frame
hook frame
localizer strings
localizer strings
observer frame
observer frame
0
0

Figure 7.4: Redirected App Frame

Not for Distribution
61
localizer frames
localizer frames
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents