TI-83 Plus Developer Guide Third Release
Total Page:16
File Type:pdf, Size:1020Kb
Spine Back Front 5.31” Texas Instruments U.S.A. 7800 Banner Dr. Dallas TX. 75251 Texas Instruments Holland B.V. Rutherfordweg 102 3542 CG Utrecht-The Netherlands TI-83 Plus Developer Guide Third Release © 1997 Texas Instruments www.ti.com/calc 8.07” Variable spine Important information Texas Instruments makes no warranty, either expressed or implied, including but not limited to any implied warranties of merchantability and fitness for a particular purpose, regarding any programs or book materials and makes such materials available solely on an “as-is” basis. In no event shall Texas Instruments be liable to anyone for special, collateral, incidental, or consequential damages in connection with or arising out of the purchase or use of these materials, and the sole and exclusive liability of Texas Instruments, regardless of the form of action, shall not exceed the purchase price of this product. Moreover, Texas Instruments shall not be liable for any claim of any kind whatsoever against the use of these materials by any other party. The latest version of this Guide, along with all other up-to-date information for developers, is available at http://education.ti.com. © 1999, 2001, 2002 Texas Instruments Incorporated Z80 is a trademark of ZiLOG, Inc. IBM is a registered trademark of International Business Machines. Windows is a registered trademark of Microsoft Corporation in the United States and/or other countries. Table of Contents Chapter 1: Introduction TI- 83 Plus Developer Guide.................................................1 Conventions Used in this Guide........................................................ 1 Purpose of this Guide ....................................................................... 2 Structure of this Guide ...................................................................... 2 Chapter 2: TI-83 Plus Specific Information Architecture..........................................................................3 Hardware Layer ....................................................................4 Z80 CPU and Memory ...................................................................... 4 Z80 RAM Structure ........................................................................... 5 System RAM........................................................................................ 6 User RAM ............................................................................................ 6 Temporary RAM................................................................................... 6 Floating Point Stack ............................................................................. 6 Free RAM ............................................................................................ 7 Operator Stack..................................................................................... 7 Symbol Table....................................................................................... 7 Hardware Stack ................................................................................... 7 Flash ROM Structure ........................................................................ 8 Boot (Code) Area................................................................................10 Certification Area ................................................................................10 Operating System (OS) Area ..............................................................10 Certificate List Area.............................................................................10 User APPS (Calculator Software Applications)/Data Area...................10 Swap Area/User APPS/Data Area ......................................................11 System Development Environment................................................. 11 System Routines.................................................................................11 RST Routines......................................................................................12 System RAM Areas.............................................................................12 System Flags ................................................................................12 OP1 through OP6 RAM Registers.................................................17 Safe RAM Locations for Application Use.......................................18 TI−83 Plus Developer Guide Third Release May 28, 2002 i Table of Contents (continued) System Variables Area..................................................................19 System Variables that are Both Input and Output............................... 19 System Variable Characteristics .................................................. 19 Storing and Recalling System Variable Values................................... 20 System Variables that Are Output Only .............................................. 22 User RAM ...........................................................................................22 Variable Data Structures ...............................................................22 Numeric Based Data Types................................................................ 22 Real Data Type Structure............................................................. 23 Complex Data Type Structure ...................................................... 23 Real List Data Type Structure ...................................................... 23 Complex List Data Type Structure ............................................... 24 Matrix Data Type Structure .......................................................... 24 Token Based Data Types ................................................................... 25 TI- 83 Plus Tokens......................................................................... 25 Program, Protected Program, Equation, New Equation, and String Data Type Structures.......................................................................... 25 Screen Image Data Type Structure .................................................... 25 Graph Database Data Type Structure ................................................ 26 Unformatted AppVar Data Type Structure.......................................... 26 Guidelines for AppVar Usage....................................................... 26 Variable Naming Conventions .......................................................26 Variable Name Spellings..................................................................... 28 Predefined Variable Names ................................................................ 28 Variables: A – Z and θ .................................................................. 28 List Variables: L1 – L6.................................................................. 28 Matrix Variables: [A] – [J] ............................................................. 28 Equation Variables: Y1 – Y0, X1t – X6t, Y1t – X1t, r1 – r6, u(n), v(n), w(n) ...................................................................................... 29 String Variables: Str1 – Str0......................................................... 30 Picture Variables: Pic1 – Pic0 ...................................................... 30 Graph Database Variables: GDB1 – GDB0 ................................. 31 Variable: Ans ................................................................................ 31 User-Defined Variable Names ............................................................ 31 User-Named Lists......................................................................... 32 User-Named Programs ................................................................ 32 User-Named AppVars .................................................................. 33 Accessing User Variables Stored In RAM — (Unarchived)............33 Accessing Variables that Are Not Programs or AppVars ...............33 Accessing Programs and AppVar Variables..................................34 Output from a Variable Search on the Symbol Table ......................... 34 ii Third Release May 28, 2002 TI−83 Plus Developer Guide Table of Contents (continued) Creating Variables.........................................................................36 Storing to Variables.......................................................................39 Recalling Variables........................................................................40 Deleting Variables .........................................................................41 Archiving and Unarchiving.............................................................43 Related Routines ................................................................................ 44 Accessing Archived Variables without Unarchiving ............................ 45 Manipulation Routines...................................................................49 List Element Routines ......................................................................... 49 Matrix Element Routines..................................................................... 49 Resizing AppVar, Program, and Equation Variables .....................50 Symbol Table Structure.......................................................................52 Floating Point Stack (FPS)..................................................................57 Naming Convention.......................................................................58 General Use Rules.............................................................................. 58 FPS System Routines ...................................................................59 FPS Allocation Routines ....................................................................