84PCE:RAM:D00824

From WikiTI
Revision as of 10:39, 18 July 2016 by PT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Official Name: MenuCurrent

Memory Address: D00824h

Length: 3 bytes.

This area of memory stores the value of the current TI-OS menu.

Description

  • MenuCurrent: contains a value for the type of menu (e.g. [PRGM], [MATH]). Note that the corresponding sub-menus are also equivalent to their respective menu (e.g. [PRGM] is also the same value as [DRAW])
  • MenuCurrent+1: contains which header is selected (e.g. [NUM] in the [MATH] menu).
  • MenuCurrent+2: tells us which item in the menu is selected.

Comments

Bytes two and three (the header and item) are zero-indexed, so item #1 is $00, item #2 is $01, etc.

Once a menu is exited, these bytes are reset.

A list of equates can be found in the ti84pce.inc