83Plus:OS:Memory Layout

From WikiTI
Revision as of 01:05, 11 May 2005 by 84plusfreak (Talk | contribs)

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

Memory Layout

This table describes how the RAM is organized.

AddressDescription
appData-userMem System RAM: Used by the OS to store various pointers, settings, buffers, etc.
userMem-(tempMem) User Memory: This is where all variables are stored.
(tempMem)-(FPBase) Temp Memory: This is where the OS stores temporary variables.
(FPBase)-(FPS) Floating Point Stack: A LIFO stack for floating point number (or variable names).
(FPS)-(OPS) Free RAM.
(OPS)-(OPBase) Operator Stack: A LIFO stack used to parse expressions and to store return information when a TI-Basic program is called from another TI-Basic program. TI won't tell anything about this.
(OPBase)-(pTemp) Variable Allocation Table (VAT) for temporary variables.
(pTemp)-(progPtr) Variable Allocation Table (VAT) for programs,appvars,groups and lists with variable length names.
(progPtr)-symTable Variable Allocation Table (VAT) for all variables with a fixed name: reals, strings, ans, functions, matrices, etc.
symTable+1 - FFFF Hardware Stack