Difference between revisions of "83Plus:RAM:859A"

From WikiTI
Jump to: navigation, search
m
m
Line 1: Line 1:
[[Category:83Plus:RAM:By_Address|859A - cxCurApp]] [[Category:83Plus:RAM:By_Name|cxCurApp]]
+
[[Category:83Plus:RAM:By_Name|cxCurApp]] [[Category:83Plus:RAM:By_Address|859A - cxCurApp]]
 
== Synopsis ==
 
== Synopsis ==
 
'''Official Name:''' cxCurApp
 
'''Official Name:''' cxCurApp

Revision as of 21:25, 29 March 2005

Synopsis

Official Name: cxCurApp

Memory Address: 859Ah

Length: 1 byte

This area of memory tells what app is currently running, if it is one of the builtin apps.

Comments

The values assigned here are the same as the keypresses that ordinaily switch to the various apps, so the homescreen is indicated by kQuit, the graph by kGraph, the program editor by kPrgmEd, and so forth. If an "external" app (i.e. Flash app) is running, this should always be set to kExtApps. A full list is given in the section "TI-83 Plus Context Equates" in ti83plus.inc.

This byte can be used in hooks, for example, to distinguish between the various apps. The cxCurApp values are constant, whereas the actual context vectors and possibly even the pages they are located on may change between OS versions.

It also has some subtle effects on the behavior of the system monitor; for example, it controls which menus the user is allowed to use.

Modify this value with extreme caution.