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

From WikiTI
Jump to: navigation, search
m
 
Line 1: Line 1:
'''Note:''' Do not take the information on this template page as actual documentation!
+
[[Category:83Plus:RAM:By_Address|859A - cxCurApp]]
 +
[[Category:83Plus:RAM:By_Name|cxCurApp]]
 +
== Synopsis ==
 +
'''Official Name:''' cxCurApp
  
The RAM Areas are named by their start address, in hexadecimal. An example is [[83Plus:RAM:8478]].
+
'''Memory Address:''' 859Ah
  
You must also add something similar to the following to make your documentation show up in the category lists:
+
'''Length:''' 1 byte
NaodW29-nowiki749864b836f6efb600000001
+
  
----
+
This area of memory tells what app is currently running, if it is one of the builtin apps.
  
== Synopsis ==
+
== Comments ==
'''Official Name:''' ValueOfPi
+
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.
  
'''Memory Address:''' 3141h
+
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.
  
'''Length:''' 1,000,000 bytes.
+
It also has some subtle effects on the behavior of the [[83Plus:OS:System Monitor|system monitor]]; for example, it controls which menus the user is allowed to use.
 
+
This area of memory stores the value of pi accurate to two million BCD digits. This is the value that is promptly truncated to only 14 digits by all the math routines.
+
 
+
== Comments ==
+
This value can be recalculated by talking to the people inside the calculator (or that's what my math teacher says.)
+
  
== Credits and Contributions ==
+
Modify this value with extreme caution.
* '''/usr/bin/vim:''' For being the superior editor (death to emacs!)
+

Revision as of 14:33, 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.