Difference between revisions of "83Plus:OS:ti83plus.inc"

From WikiTI
Jump to: navigation, search
(Updated the no longer accurate About.)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
== About ==
 
== About ==
This is just the commonly used ti83plus.inc include file (edited by Rusty Wagner for use with TASM) for those who just want to have a short look at some tokens or bcall equates etc.
+
The ti83plus.inc is used by many assembly programs and includes essential equates used by the operating system. This version is more complete than what TI provides, due to years of research from various programmers throughout the decades.
Use your browser's search function to find what you need.
+
  
To see a more complete and up to date ti83plus.inc see: [http://www.brandonw.net/calcstuff/ti83plus.txt here]
+
To open in a browser window, click [http://www.brandonw.net/calcstuff/ti83plus.txt here]
 +
To search for specific equates, use your browser search function.
  
 
== Content ==
 
== Content ==
  <nowiki>;======================================================================
+
  <nowiki>;TI-83 Plus Include File
; Include File for the TI-83 Plus
+
;05/07/2007
; Last Updated 06/20/2002
+
 
;
+
;Included for TASM Compatibility
; Copyright (c) 1999, 2001, 2002 Texas Instruments: The Licensed Materials are
+
;-------------------------------
; copyrighted by TI. LICENSEE agrees that it will
+
; not delete the copyright notice, trademarks or
+
; protective notices from any copy made by LICENSEE.
+
;
+
; Warranty: TI does not warrant that the Licensed Materials will
+
; be free from errors or will meet your specific requirements.
+
; The Licensed Materials are made available "AS IS" to LICENSEE.
+
;
+
; Limitations: TI MAKES NO WARRANTY OR CONDITION, EITHER EXPRESS
+
; OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED
+
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE,
+
; REGARDING THE LICENSED MATERIALS.  IN NO EVENT SHALL
+
; TI OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, INCIDENTAL
+
; OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS, LOSS OF USE OR DATA,
+
; OR INTERRUPTION OF BUSINESS, WHETHER THE ALLEGED DAMAGES ARE
+
; LABELED IN TORT, CONTRACT OR INDEMNITY.
+
;
+
;
+
;:::::::::::::::::::::::
+
;Edited by Brett Wagner
+
;For use with TASM
+
;:::::::::::::::::::::::
+
;
+
;======================================================================
+
; Defines (to make asm easier)
+
;======================================================================
+
;
+
#define bcall(xxxx)    rst 28h        \ .dw xxxx
+
#define bjump(xxxx) call 50h \ .dw xxxx
+
#define bcallz(xxxx) jr nz,$+5 \ rst 28h \ .dw xxxx
+
#define bcallnz(xxxx) jr z,$+5 \ rst 28h \ .dw xxxx
+
#define bcallc(xxxx) jr nc,$+5 \ rst 28h \ .dw xxxx
+
#define bcallnc(xxxx) jr c,$+5 \ rst 28h \ .dw xxxx
+
 
#define equ .equ
 
#define equ .equ
 
#define EQU .equ
 
#define EQU .equ
#define errhandon(label) ld hl,label \ call 59h
+
#define end .end
#define errhandoff() call 5Ch
+
#define END .end
;
+
;======================================================================
+
;          System Variable Equates
+
;======================================================================
+
;      Entry Points : RclSysTok, StoSysTok
+
;
+
XSCLt EQU  2
+
YSCLt EQU  3
+
XMINt EQU  0Ah
+
XMAXt EQU  0Bh
+
YMINt EQU  0Ch
+
YMAXt EQU  0Dh
+
TMINt EQU  0Eh
+
TMAXt EQU  0Fh
+
THETMINt EQU  10h
+
THETMAXt EQU  11h
+
TBLMINt EQU  1Ah
+
PLOTSTARTt EQU  1Bh
+
NMAXt EQU  1Dh
+
NMINt EQU  1Fh
+
TBLSTEPt EQU  21h
+
TSTEPt EQU  22h
+
THETSTEPt EQU  23h
+
DELTAXt EQU  26h
+
DELTAYt EQU  27h
+
XFACTt EQU  28h
+
YFACTt EQU  29h
+
FINNt EQU  2Bh
+
FINIt EQU  2Ch
+
FINPVt EQU  2Dh
+
FINPMTt EQU  2Eh
+
FINFVt EQU  2Fh
+
FINPYt EQU  30h
+
FINCYt EQU  31h
+
PLOTSTEPt EQU  34h
+
XRESt EQU  36h
+
;
+
  
;======================================================================
+
;System Variable Equates
;           Run indicators
+
;------------------------------
;======================================================================
+
XSCLt equ 2
;
+
YSCLt equ 3
busyPause EQU 10101010b
+
XMINt equ 0Ah
busyNormal EQU 11110000b
+
XMAXt equ 0Bh
;
+
YMINt equ 0Ch
;======================================================================
+
YMAXt equ 0Dh
; Macro to call base code from an app,
+
TMINt equ 0Eh
;======================================================================
+
TMAXt equ 0Fh
;
+
THETMINt equ 10h
;rBR_CALL EQU 28h ; NEEDED FOR APPS
+
THETMAXt equ 11h
;BRT_JUMP0 EQU 50h
+
TBLMINt equ 1Ah
;
+
PLOTSTARTt equ 1Bh
;B_CALL macro  label
+
NMAXt equ 1Dh
;     RST    rBR_CALL
+
NMINt equ 1Fh
;     DW      _&label
+
TBLSTEPt equ 21h
;      .endm
+
TSTEPt equ 22h
;
+
THETSTEPt equ 23h
;B_JUMP macro  label
+
DELTAXt equ 26h
;     CALL    BRT_JUMP0     ; fixed location on page 0
+
DELTAYt equ 27h
;     DW      _&label
+
XFACTt equ 28h
;      .endm
+
YFACTt equ 29h
 +
FINNt equ 2Bh
 +
FINIt equ 2Ch
 +
FINPVt equ 2Dh
 +
FINPMTt equ 2Eh
 +
FINFVt equ 2Fh
 +
FINPYt equ 30h
 +
FINCYt equ 31h
 +
PLOTSTEPt equ 34h
 +
XRESt equ 36h
  
;======================================================================
+
;Run indicators
;           Common subroutine RST numbers 
+
;------------------------------------
;======================================================================
+
busyPause equ 10101010b
;
+
busyNormal equ 11110000b
rOP1TOOP2 EQU  08h
+
rFINDSYM EQU  10h
+
rPUSHREALO1 EQU  18h
+
rMOV9TOOP1 EQU  20h
+
rFPADD EQU  30h
+
;
+
  
;SYMBOLIC_DEBUG_START
+
;Banked Call Equates/Macros
;======================================================================
+
;-----------------------------------------------
;          Entry points 
+
rBR_CALL equ 28h
;======================================================================
+
BRT_JUMP0 equ 50h
;
+
#define bcall(xxxx) rst 28h \ .dw xxxx
_AbsO1O2Cp EQU 410Eh
+
#define bjump(xxxx) call 50h \ .dw xxxx
_AbsO1PAbsO2 EQU 405Ah
+
_ACos EQU 40DEh
+
_ACosH EQU 40F0h
+
_ACosRad EQU 40D2h
+
_AdrLEle EQU 462Dh
+
_AdrMEle EQU 4609h
+
_AdrMRow EQU 4606h
+
_AllEq EQU 4876h
+
_AllocFPS EQU 43A5h
+
_AllocFPS1 EQU 43A8h
+
_Angle EQU 4102h
+
_AnsName EQU 4B52h
+
_ApdSetup EQU 4C93h
+
_AppGetCalc EQU 4C78h
+
_AppGetCbl EQU 4C75h
+
_AppInit EQU 404Bh  ;***
+
_Arc_Unarc EQU 4FD8h
+
_ASin EQU 40E4h
+
_ASinH EQU 40EDh
+
_ASinRad EQU 40DBh
+
_ATan EQU 40E1h
+
_ATan2 EQU 40E7h
+
_ATan2Rad EQU 40D8h
+
_ATanH EQU 40EAh
+
_ATanRad EQU 40D5h
+
  
_BinOPExec EQU 4663h
+
;Common Restart Routines
_Bit_VertSplit EQU 4FA8h
+
;------------------------------
_BufClr EQU 5074h
+
rOP1TOOP2 equ 08h
_BufCpy EQU 5071h
+
rFINDSYM equ 10h
 +
rPUSHREALO1 equ 18h
 +
rMOV9TOOP1 equ 20h
 +
rFPADD equ 30h
  
_CAbs EQU 4E97h
+
;Error Handler Equates/Macros
_CAdd EQU 4E88h
+
;-------------------------------------------
_CanAlphIns EQU 4C69h
+
APP_PUSH_ERRORH equ 59h
_CDiv EQU 4E94h
+
APP_POP_ERRORH equ 5Ch
_CDivByReal EQU 4EBBh
+
#define AppOnErr(xxxx) ld hl,xxxx \ call 59h
_CEtoX EQU 4EA9h
+
#define AppOffErr call 5Ch
_CFrac EQU 4EC1h
+
_CheckSplitFlag EQU 49F0h
+
_Chk_Batt_Low EQU 50B3h  ;***
+
_ChkFindSym EQU 42F1h
+
_CIntgr EQU 4EC4h
+
_CircCmd EQU 47D4h
+
_CkInt EQU 4234h
+
_CkOdd EQU 4237h
+
_CkOP1C0 EQU 4225h
+
_CkOP1Cplx EQU 40FCh
+
_CkOP1FP0 EQU 4228h
+
_CkOP1Pos EQU 4258h
+
_CkOP1Real EQU 40FFh
+
_CkOP2FP0 EQU 422Bh
+
_CkOP2Pos EQU 4255h
+
_CkOP2Real EQU 42DFh
+
_CkPosInt EQU 4231h
+
_CkValidNum EQU 4270h
+
_CleanAll EQU 4A50h
+
_ClearRect EQU 4D5Ch
+
_ClearRow EQU 4CEDh
+
_CLine EQU 4798h
+
_CLineS EQU 479Bh
+
_CLN EQU 4EA0h
+
_CLog EQU 4EA3h
+
_CloseEditBuf EQU 48D3h  ;***
+
_CloseEditBufNoR EQU 476Eh
+
_CloseEditEqu EQU 496Ch  ;***
+
_CloseProg EQU 4A35h
+
_ClrGraphRef EQU 4A38h
+
_ClrLCD EQU 4543h
+
_ClrLCDFull EQU 4540h
+
_ClrLp EQU 41D1h
+
_ClrOP1S EQU 425Eh
+
_ClrOP2S EQU 425Bh
+
_ClrScrn EQU 4549h
+
_ClrScrnFull EQU 4546h
+
_ClrTxtShd EQU 454Ch
+
_CMltByReal EQU 4EB8h
+
_CmpSyms EQU 4A4Ah
+
_CMult EQU 4E8Eh
+
_Conj EQU 4EB5h
+
_ConvDim EQU 4B43h
+
_ConvDim00 EQU 4B46h
+
_ConvLcToLr EQU 4A23h
+
_ConvLrToLc EQU 4A56h
+
_ConvOP1 EQU 4AEFh
+
_COP1Set0 EQU 4105h
+
_Cos EQU 40C0h
+
_CosH EQU 40CCh
+
_CpHLDE EQU 400Ch
+
_CPoint EQU 4DC8h
+
_CPointS EQU 47F5h
+
_CpOP1OP2 EQU 4111h
+
_CpOP4OP3 EQU 4108h
+
_CpyO1ToFPS1 EQU 445Ch
+
_CpyO1ToFPS2 EQU 446Bh
+
_CpyO1ToFPS3 EQU 4477h
+
_CpyO1ToFPS4 EQU 4489h
+
_CpyO1ToFPS5 EQU 4483h
+
_CpyO1ToFPS6 EQU 447Dh
+
_CpyO1ToFPS7 EQU 4480h
+
_CpyO1ToFPST EQU 444Ah
+
_CpyO2ToFPS1 EQU 4459h
+
_CpyO2ToFPS2 EQU 4462h
+
_CpyO2ToFPS3 EQU 4474h
+
_CpyO2ToFPS4 EQU 4486h
+
_CpyO2ToFPST EQU 4444h
+
_CpyO3ToFPS1 EQU 4453h
+
_CpyO3ToFPS2 EQU 4465h
+
_CpyO3ToFPST EQU 4441h
+
_CpyO5ToFPS1 EQU 4456h
+
_CpyO5ToFPS3 EQU 4471h
+
_CpyO6ToFPS2 EQU 4468h
+
_CpyO6ToFPST EQU 4447h
+
_CpyStack EQU 4429h
+
_CpyTo1FPS1 EQU 4432h
+
_CpyTo1FPS10 EQU 43F3h
+
_CpyTo1FPS11 EQU 43D8h
+
_CpyTo1FPS2 EQU 443Bh
+
_CpyTo1FPS3 EQU 4408h
+
_CpyTo1FPS4 EQU 440Eh
+
_CpyTo1FPS5 EQU 43DEh
+
_CpyTo1FPS6 EQU 43E4h
+
_CpyTo1FPS7 EQU 43EAh
+
_CpyTo1FPS8 EQU 43EDh
+
_CpyTo1FPS9 EQU 43F6h
+
_CpyTo1FPST EQU 4423h
+
_CpyTo2FPS1 EQU 442Fh
+
_CpyTo2FPS2 EQU 4438h
+
_CpyTo2FPS3 EQU 4402h
+
_CpyTo2FPS4 EQU 43F9h
+
_CpyTo2FPS5 EQU 43DBh
+
_CpyTo2FPS6 EQU 43E1h
+
_CpyTo2FPS7 EQU 43E7h
+
_CpyTo2FPS8 EQU 43F0h
+
_CpyTo2FPST EQU 4420h
+
_CpyTo3FPS1 EQU 442Ch
+
_CpyTo3FPS2 EQU 4411h
+
_CpyTo3FPST EQU 441Dh
+
_CpyTo4FPST EQU 441Ah
+
_CpyTo5FPST EQU 4414h
+
_CpyTo6FPS2 EQU 43FFh
+
_CpyTo6FPS3 EQU 43FCh
+
_CpyTo6FPST EQU 4417h
+
_CpyToFPS1 EQU 445Fh
+
_CpyToFPS2 EQU 446Eh
+
_CpyToFPS3 EQU 447Ah
+
_CpyToFPST EQU 444Dh
+
_CpyToStack EQU 4450h
+
_Create0Equ EQU 432Ah
+
_CreateAppVar EQU 4E6Ah
+
_CreateCList EQU 431Bh
+
_CreateCplx EQU 430Ch
+
_CreateEqu EQU 4330h
+
_CreatePair EQU 4B0Dh
+
_CreatePict EQU 4333h
+
_CreateProg EQU 4339h
+
_CreateProtProg EQU 4E6Dh
+
_CreateReal EQU 430Fh
+
_CreateRList EQU 4315h
+
_CreateRMat EQU 4321h
+
_CreateStrng EQU 4327h
+
_CRecip EQU 4E91h
+
_CSqRoot EQU 4E9Dh
+
_CSquare EQU 4E8Bh
+
_CSub EQU 4E85h
+
_CTenX EQU 4EA6h
+
_CTrunc EQU 4EBEh
+
_Cube EQU 407Bh
+
_CursorOff EQU 45BEh
+
_CursorOn EQU 45C4h
+
_CXrootY EQU 4EACh
+
_CYtoX EQU 4EB2h
+
  
_DarkLine EQU 47DDh
+
;Page 1Bh ROM Calls
_DarkPnt EQU 47F2h
+
;--------------------------------
_DataSize EQU 436Ch
+
_JErrorNo equ 4000h
_DataSizeA EQU 4369h
+
_FontHook equ 4003h
_DeallocFPS EQU 439Fh
+
_call_character_hook equ 4006h ;calls character(localize) hook
_DeallocFPS1 EQU 43A2h
+
_ldHLind equ 4009h ;l=a=(hl),h=(hl+1)
_DecO1Exp EQU 4267h
+
_CpHLDE equ 400Ch
_DelListEl EQU 4A2Fh
+
_DivHLBy10 equ 400Fh
_DelMem EQU 4357h
+
_DivHLByA equ 4012h
_DelRes EQU 4A20h
+
_kdbScan equ 4015h
_DelVar EQU 4351h
+
_GetCSC equ 4018h ;key board scan codes
_DelVarArc EQU 4FC6h
+
_coorMon equ 401Bh ;
_DelVarNoArc EQU 4FC9h
+
_Mon equ 401Eh ;system monitor, customized through the context vectors
_DisableApd EQU 4C84h
+
_monForceKey equ 4021h ;
_Disp EQU 4F45h
+
_sendKPress equ 4024h
_DispDone EQU 45B5h
+
_JForceCmdNoChar equ 4027h
_DispEOL EQU 45A6h
+
_JForceCmd equ 402Ah ;
_DispHL EQU 4507h
+
_sysErrHandler equ 402Dh ;loads error context? sp=(onSP)
_DisplayImage EQU 4D9Bh
+
_newContext equ 4030h ;(kbdKey)=0, loads context, restores page in 4000h-7fffh
_DispMenuTitle EQU 5065h
+
_newContext0 equ 4033h ;loads context
_DispOP1A EQU 4BF7h
+
_cxPutAway equ 4036h ;
_DivHLBy10 EQU 400Fh
+
_cxPutAway2 equ 4039h ;same but also does a B_CALL CanAlphIns
_DivHLByA EQU 4012h
+
_cxPPutAway equ 403Ch
_DrawCirc2 EQU 4C66h
+
_cxSizeWind equ 403Fh
_DrawCmd EQU 48C1h
+
_cxErrEP equ 4042h
_DrawRectBorder EQU 4D7Dh
+
_cxMain equ 4045h
_DrawRectBorderClear EQU 4D8Ch
+
_monErrHand equ 4048h ;installs errorhandler to start of ROM call, loads error context, jumps to mon
_DToR EQU 4075h
+
_AppInit equ 404Bh ;loads vector data at hl to cxMain and the rest of the vectors
 +
_resetRam equ 404Eh
 +
_lcd_busy equ 4051h ;wait till bit 1 of port 2 is set
 +
_Min equ 4054h ;op1 = lowest number between op1 and op2
 +
_Max equ 4057h ;op1 = highest number between op1 and op2
 +
_Trunc equ 4060h
 +
_InvSub equ 4063h
 +
_Times2 equ 4066h
 +
_Plus1 equ 4069h ;op1=op1+1
 +
_Minus1 equ 406Ch
 +
_FPSub equ 406Fh
 +
_FPAdd equ 4072h
 +
_DToR equ 4075h
 +
_RToD equ 4078h
 +
_Cube equ 407Bh
 +
_TimesPt5 equ 407Eh
 +
_FPSquare equ 4081h
 +
_FPMult equ 4084h ;op1=op1*op2
 +
_LJRND equ 4087h ;adjusts op1 if 0s precede the actual number... rounding? when
 +
_InvOP1SC equ 408Ah
 +
_InvOP1S equ 408Dh
 +
_InvOP2S equ 4090h
 +
_frac equ 4093h
 +
_fprecip equ 4096h
 +
_fpdiv equ 4099h
 +
_SqRoot equ 409Ch
 +
_RndGuard equ 409Fh
 +
_RnFx equ 40A2h
 +
_int equ 40A5h
 +
_Round equ 40A8h
 +
_LnX equ 40ABh
 +
_LogX equ 40AEh
 +
_LJNORND equ 40B1h ;like _LJRND but no rounding
 +
_EToX equ 40B4h
 +
_TenX equ 40B7h
 +
_SinCosRad equ 40BAh
 +
_Sin equ 40BDh
 +
_cos equ 40C0h
 +
_Tan equ 40C3h
 +
_SinHCosH equ 40C6h
 +
_TanH equ 40C9h
 +
_cosh equ 40CCh
 +
_SinH equ 40CFh
 +
_ACosRad equ 40D2h
 +
_ATanRad equ 40D5h
 +
_ATan2Rad equ 40D8h
 +
_ASinRad equ 40DBh
 +
_ACos equ 40DEh
 +
_ATan equ 40E1h
 +
_ASin equ 40E4h
 +
_ATan2 equ 40E7h
 +
_ATanH equ 40EAh
 +
_ASinH equ 40EDh
 +
_ACosH equ 40F0h
 +
_PtoR equ 40F3h
 +
_RToP equ 40F6h
 +
_HLTimes9 equ 40F9h
 +
_CkOP1Cplx equ 40FCh
 +
_CkOP1Real equ 40FFh
 +
_Angle equ 4102h
 +
_COP1Set0 equ 4105h
 +
_CpOP4OP3 equ 4108h
 +
_Mov9OP2Cp equ 410Bh
 +
_AbsO1O2Cp equ 410Eh
 +
_cpop1op2 equ 4111h
 +
_OP3ToOP4 equ 4114h
 +
_OP1ToOP4 equ 4117h
 +
_OP2ToOP4 equ 411Ah
 +
_OP4ToOP2 equ 411Dh
 +
_OP1ToOP3 equ 4123h
 +
_OP5ToOP2 equ 4126h
 +
_OP5ToOP6 equ 4129h
 +
_OP5ToOP4 equ 412Ch
 +
_OP1ToOP2 equ 412Fh
 +
_OP6ToOP2 equ 4132h
 +
_OP6ToOP1 equ 4135h
 +
_OP4ToOP1 equ 4138h
 +
_OP5ToOP1 equ 413Bh
 +
_OP3ToOP1 equ 413Eh
 +
_OP6ToOP5 equ 4141h
 +
_OP4ToOP5 equ 4144h
 +
_OP3ToOP5 equ 4147h
 +
_OP2ToOP5 equ 414Ah
 +
_OP2ToOP6 equ 414Dh
 +
_OP1ToOP6 equ 4150h
 +
_OP1ToOP5 equ 4153h
 +
_OP2ToOP1 equ 4156h
 +
_Mov11B equ 4159h
 +
_Mov10B equ 415Ch
 +
_Mov9B equ 415Fh
 +
_mov9B2 equ 4162h ;points to _mov9B
 +
_Mov8B equ 4165h
 +
_Mov7B equ 4168h
 +
_Mov7B2 equ 416Bh ;same pointer as _Mov7B
 +
_OP2ToOP3 equ 416Eh
 +
_OP4ToOP3 equ 4171h
 +
_OP5ToOP3 equ 4174h
 +
_OP4ToOP6 equ 4177h
 +
_Mov9ToOP1 equ 417Ah
 +
_Mov9OP1OP2 equ 417Dh
 +
_Mov9ToOP2 equ 4180h
 +
_MovFrOP1 equ 4183h
 +
_OP4Set1 equ 4186h
 +
_OP3Set1 equ 4189h
 +
_OP2Set8 equ 418Ch
 +
_OP2Set5 equ 418Fh
 +
_OP2SetA equ 4192h
 +
_OP2Set4 equ 4195h
 +
_OP2Set3 equ 4198h
 +
_OP1Set1 equ 419Bh
 +
_OP1Set4 equ 419Eh
 +
_OP1Set3 equ 41A1h
 +
_OP3Set2 equ 41A4h
 +
_OP1Set2 equ 41A7h
 +
_OP2Set2 equ 41AAh
 +
_OP2Set1 equ 41ADh
 +
_Zero16D equ 41B0h
 +
_OP5Set0 equ 41B3h
 +
_OP4Set0 equ 41B6h
 +
_OP3Set0 equ 41B9h
 +
_OP2Set0 equ 41BCh
 +
_OP1Set0 equ 41BFh
 +
_OPSet0 equ 41C2h ;hl = location to write floating point 0
 +
_ZeroOP1 equ 41C5h
 +
_ZeroOP2 equ 41C8h
 +
_ZeroOP3 equ 41CBh
 +
_ZeroOP equ 41CEh
 +
_ClrLp equ 41D1h
 +
_ShRAcc equ 41D4h ;move high nibble in a to low nibble
 +
_ShLAcc equ 41D7h ;move low nibble in a to high nibble
 +
_ShR18 equ 41DAh ;insert a 0 nibble at high nibble of (hl), shift 9 bytes 1 nibble to right
 +
_SHR18A equ 41DDh ;insert low nibble in a at high nibble of (hl), shift 9 bytes 1 nibble to right
 +
_SHR16 equ 41E0h ;insert a 0 nibble at highnibble of (hl), shift 8 bytes 1 nibble to right
 +
_SHR14 equ 41E3h ;insert low nibble in a at high nibble of (hl), shift 7 bytes 1 nibble to right
 +
_SHL16 equ 41E6h ;insert nibble of 0 in low nibble of (hl), shift 8 bytes (before and including (hl)) to the left 1 nibble
 +
_SHL14 equ 41E9h ;insert low nibble of a in low nibble of (hl), shift 7 bytes (before and including (hl)) to the left 1 nibble
 +
_SRDO1 equ 41ECh
 +
_SHRDRND equ 41EFh
 +
_MANTPA equ 41F2h ;adds the value of a to hl which points to the end of the bcd 7 bytes long
 +
_ADDPROP equ 41F5h ;adds the value of a to hl which points to the end of the bcd (b bytes long)
 +
_ADDPROPLP equ 41F8h ;adds the value of a and carry to hl which points to the end of the bcd (b bytes long)
 +
_ADD16D equ 41FBh ;adds the bcd numbers at (hl-7) and (de-7)
 +
_ADD14D equ 41FEh ;adds the bcd numbers at (hl-6) and (de-6)
 +
_SUB16D equ 4201h ;subtracts bcd numbers at (hl-7) and (de-7)
 +
_SUB14D equ 4204h ;subtracts bcd numbers at (hl-6) and (de-6)
 +
_OP2ExOP6 equ 4207h
 +
_OP5ExOP6 equ 420Ah
 +
_OP1ExOP5 equ 420Dh
 +
_OP1ExOP6 equ 4210h
 +
_OP2ExOP4 equ 4213h
 +
_OP2ExOP5 equ 4216h
 +
_OP1ExOP3 equ 4219h
 +
_OP1ExOP4 equ 421Ch
 +
_OP1ExOP2 equ 421Fh
 +
_ExLp equ 4222h
 +
_CkOP1C0 equ 4225h
 +
_CkOP1FP0 equ 4228h
 +
_CkOP2FP0 equ 422Bh
 +
_PosNo0Int equ 422Eh
 +
_CKPosInt equ 4231h
 +
_CKInt equ 4234h
 +
_CKOdd equ 4237h
 +
_CKOP1M equ 423Ah
 +
_GETCONOP1 equ 423Dh ;a=0 opX=57.29577951308232 (1 radian in degrees)
 +
_GETCONOP2 equ 4240h ;a=1 opX=1.570796326794897 (90 deg = pi/2)
 +
  ;a=2 opX=.7853981633974483 (45 deg = pi/4)
 +
  ;a=3 opX=.4342944819032518 (log e)
 +
  ;a=4 opX=3.141592653589800 (pi)
 +
  ;a=5 opX=.0174532925199433 (pi/180 = 1 degree in radians)
 +
  ;a=6 opX=2.302585092994046 (ln 10)
 +
_PIDIV2 equ 4243h ;not code, but a pointer to: .db 80h,15h,70h,79h,63h,26h,79h,48h,97h
 +
_PIDIV4 equ 4246h ; .db 7fh,78h,53h,98h,16h,33h,97h,44h,83h
 +
_PItimes2 equ 4249h ;not code, but a pointer to a 2*pi in non-OP format (no exponent byte)
 +
_PI equ 424Ch ;not code, but a pointer to a pi in non-OP format (no exponent byte)
 +
_ExpToHex equ 424Fh
 +
_OP1ExpToDec equ 4252h
 +
_ckop2pos equ 4255h
 +
_CkOP1Pos equ 4258h
 +
_ClrOP2S equ 425Bh
 +
_ClrOP1S equ 425Eh
 +
_FDIV100 equ 4261h ;op1=op1/100
 +
_FDIV10 equ 4264h ;op1=op1/10
 +
_DecO1Exp equ 4267h ;decrease exponent by 1, this can go from 0 to FF
 +
_INCO1EXP equ 426Ah ;op1=op1*10
 +
_INCEXP equ 426Dh ;hl points to the floating point's exponent to be multiplied by 10
 +
_CkValidNum equ 4270h
 +
_GETEXP equ 4273h ;a=OP1's exponent, carry set if negative exponent, Z if e0
 +
_HTimesL equ 4276h
 +
_EOP1NotReal equ 4279h
 +
_ThetaName equ 427Ch
 +
_RName equ 427Fh
 +
_REGEQNAME equ 4282h
 +
_RECURNNAME equ 4285h
 +
_XName equ 4288h
 +
_YName equ 428Bh
 +
_TName equ 428Eh
 +
_REALNAME equ 4291h
 +
_SETesTOfps equ 4294h ;moves the word at fps to es
 +
_markTableDirty equ 4297h ;looks up table variable and marks VAT entry as "dirty" or selected
 +
_OP1MOP2EXP equ 429Ah ;op1's exponent = op1's expoent - op2's exponent
 +
_OP1EXPMinusE equ 429Dh ;a=(op1+1)-e
 +
_CHKERRBREAK equ 42A0h
 +
_isA2ByteTok equ 42A3h
 +
_GETLASTENTRY equ 42A6h
 +
_GETLASTENTRYPTR equ 42A9h
 +
_REGCLRCHNG equ 42ACh
 +
_RESETWINTOP equ 42AFh ;takes into account grfsplitoverride and grfsplit flags
 +
_SetYUp equ 42B2h ;loads 7 to port 10... what does this do?
 +
_SetXUp equ 42B5h ;loads 5 to port 10...
 +
_ISO1NONTLSTorPROG equ 42B8h ;checks if op1 contains a list, program, group, or appvar obj name
 +
_ISO1NONTEMPLST equ 42BBh ;checks if op1 contains a list (why would op1+1 contain 01, or 0d for a var name?)
 +
_IS_A_LSTorCLST equ 42BEh ;checks if a = 1 or 0Dh
 +
_CHK_HL_999 equ 42C1h ;returns nc if less than 999, throws invalid dim error if greater than or equal to 999
 +
_equ_or_newequ equ 42C4h
 +
_errd_op1notpos equ 42C7h
 +
_ErrD_OP1Not_R equ 42CAh
 +
_ErrD_OP1NotPosInt equ 42CDh
 +
_ErrD_OP1_LE_0 equ 42D0h
 +
_ErrD_OP1_0 equ 42D3h
 +
_FINDSYM_GET_SIZE equ 42D6h ;like findsym, but on output hl is the size of the variable
 +
_STO_STATVAR equ 42D9h
 +
_Rcl_StatVar equ 42DCh
 +
_CkOP2Real equ 42DFh
 +
_GET_X_INDIRECT equ 42E2h ;whatever this is, it uses the imathptrX locations
 +
_MemChk equ 42E5h
 +
_CMPPRGNAMLEN1 equ 42E8h ;gets variable name length from HL
 +
_CMPPRGNAMLEN equ 42EBh ;gets variable name length from OP1
 +
_FINDPROGSYM equ 42EEh ;find the program whose name is in op1 (see chkfindsym in SDK)
 +
_ChkFindSym equ 42F1h
 +
_FindSym equ 42F4h
 +
_InsertMem equ 42F7h
 +
_INSERTMEMA equ 42FAh ;not sure how this differs from insertmem
 +
_EnoughMem equ 42FDh
 +
_CMPMEMNEED equ 4300h
 +
_CREATEPVAR4 equ 4303h
 +
_CREATEPVAR3 equ 4306h
 +
_CREATEVAR3 equ 4309h
 +
_CreateCplx equ 430Ch
 +
_CreateReal equ 430Fh
 +
_CreateTempRList equ 4312h
 +
_CreateRList equ 4315h
 +
_CREATETCLIST equ 4318h
 +
_CreateCList equ 431Bh
 +
_CreateTempRMat equ 431Eh
 +
_CreateRMat equ 4321h
 +
_CreateTempString equ 4324h
 +
_CreateStrng equ 4327h
 +
_Create0Equ equ 432Ah
 +
_CreateTempEqu equ 432Dh
 +
_CreateEqu equ 4330h
 +
_CreatePict equ 4333h
 +
_CreateGDB equ 4336h
 +
_CreateProg equ 4339h
 +
_CHKDEL equ 433Ch
 +
_CHKDELA equ 433Fh
 +
_ADJPARSER equ 4342h
 +
_ADJMATH equ 4345h
 +
_ADJM7 equ 4348h
 +
_DELMEMA equ 434Bh
 +
_GET_FORM_NUM equ 434Eh
 +
_DelVar equ 4351h
 +
_DELVARIO equ 4354h
 +
_DelMem equ 4357h
 +
_DELVAR3D equ 435Ah
 +
_DELVAR3C equ 435Dh
 +
_DELVAR3DC equ 4360h ;may be incorrect
 +
_IsFixedName equ 4363h
 +
_DelVarEntry equ 4366h
 +
_DataSizeA equ 4369h
 +
_DataSize equ 436Ch
 +
_POPMCPLXO1 equ 436Fh
 +
_POPMCPLX equ 4372h
 +
_MOVCPLX equ 4375h
 +
_popOP5 equ 4378h
 +
_popOP3 equ 437Bh
 +
_popOP1 equ 437Eh
 +
_PopRealO6 equ 4381h
 +
_PopRealO5 equ 4384h
 +
_PopRealO4 equ 4387h
 +
_PopRealO3 equ 438Ah
 +
_PopRealO2 equ 438Dh
 +
_PopRealO1 equ 4390h
 +
_PopReal equ 4393h
 +
_FPOPCPLX equ 4396h
 +
_FPOPREAL equ 4399h
 +
_FPOPFPS equ 439Ch
 +
_DeallocFPS equ 439Fh
 +
_DeallocFPS1 equ 43A2h
 +
_AllocFPS equ 43A5h
 +
_AllocFPS1 equ 43A8h
 +
_PushRealO6 equ 43ABh
 +
_PushRealO5 equ 43AEh
 +
_PushRealO4 equ 43B1h
 +
_PushRealO3 equ 43B4h
 +
_PushRealO2 equ 43B7h
 +
_PushRealO1 equ 43BAh
 +
_PushReal equ 43BDh
 +
_PushOP5 equ 43C0h
 +
_PushOP3 equ 43C3h
 +
_PUSHMCPLXO3 equ 43C6h
 +
_PushOP1 equ 43C9h
 +
_PUSHMCPLXO1 equ 43CCh
 +
_PUSHMCPLX equ 43CFh
 +
_ExMCplxO1 equ 43D2h
 +
_Exch9 equ 43D5h
 +
_CpyTo1FPS11 equ 43D8h
 +
_CpyTo2FPS5 equ 43DBh
 +
_CpyTo1FPS5 equ 43DEh
 +
_CpyTo2FPS6 equ 43E1h
 +
_CpyTo1FPS6 equ 43E4h
 +
_CpyTo2FPS7 equ 43E7h
 +
_CpyTo1FPS7 equ 43EAh
 +
_CpyTo1FPS8 equ 43EDh
 +
_CpyTo2FPS8 equ 43F0h
 +
_CpyTo1FPS10 equ 43F3h
 +
_CpyTo1FPS9 equ 43F6h
 +
_CpyTo2FPS4 equ 43F9h
 +
_CpyTo6FPS3 equ 43FCh
 +
_CpyTo6FPS2 equ 43FFh
 +
_CpyTo2FPS3 equ 4402h
 +
_CPYCTO1FPS3 equ 4405h
 +
_CpyTo1FPS3 equ 4408h
 +
_CPYFPS3 equ 440Bh
 +
_CpyTo1FPS4 equ 440Eh
 +
_CpyTo3FPS2 equ 4411h
 +
_CpyTo5FPST equ 4414h
 +
_CpyTo6FPST equ 4417h
 +
_CpyTo4FPST equ 441Ah
 +
_CpyTo3FPST equ 441Dh
 +
_CpyTo2FPST equ 4420h
 +
_CpyTo1FPST equ 4423h
 +
_CPYFPST equ 4426h
 +
_CpyStack equ 4429h
 +
_CpyTo3FPS1 equ 442Ch
 +
_CpyTo2FPS1 equ 442Fh
 +
_CpyTo1FPS1 equ 4432h
 +
_CPYFPS1 equ 4435h
 +
_CpyTo2FPS2 equ 4438h
 +
_CpyTo1FPS2 equ 443Bh
 +
_CPYFPS2 equ 443Eh
 +
_CpyO3ToFPST equ 4441h
 +
_CpyO2ToFPST equ 4444h
 +
_CpyO6ToFPST equ 4447h
 +
_CpyO1ToFPST equ 444Ah
 +
_CpyToFPST equ 444Dh
 +
_CpyToStack equ 4450h
 +
_CpyO3ToFPS1 equ 4453h
 +
_CpyO5ToFPS1 equ 4456h
 +
_CpyO2ToFPS1 equ 4459h
 +
_CpyO1ToFPS1 equ 445Ch
 +
_CpyToFPS1 equ 445Fh
 +
_CpyO2ToFPS2 equ 4462h
 +
_CpyO3ToFPS2 equ 4465h
 +
_CpyO6ToFPS2 equ 4468h
 +
_CpyO1ToFPS2 equ 446Bh
 +
_CpyToFPS2 equ 446Eh
 +
_CpyO5ToFPS3 equ 4471h
 +
_CpyO2ToFPS3 equ 4474h
 +
_CpyO1ToFPS3 equ 4477h
 +
_CpyToFPS3 equ 447Ah
 +
_CpyO1ToFPS6 equ 447Dh
 +
_CpyO1ToFPS7 equ 4480h
 +
_CpyO1ToFPS5 equ 4483h
 +
_CpyO2ToFPS4 equ 4486h
 +
_CpyO1ToFPS4 equ 4489h
 +
_ErrNotEnoughMem equ 448Ch ;only if not HL bytes free
 +
_FPSMINUS9 equ 448Fh
 +
_HLMINUS9 equ 4492h
 +
_ErrOverflow equ 4495h
 +
_ErrDivBy0 equ 4498h
 +
_ErrSingularMat equ 449Bh
 +
_ErrDomain equ 449Eh
 +
_ErrIncrement equ 44A1h
 +
_ErrNon_Real equ 44A4h
 +
_ErrSyntax equ 44A7h
 +
_ErrDataType equ 44AAh
 +
_ErrArgument equ 44ADh
 +
_ErrDimMismatch equ 44B0h
 +
_ErrDimension equ 44B3h
 +
_ErrUndefined equ 44B6h
 +
_ErrMemory equ 44B9h
 +
_ErrInvalid equ 44BCh
 +
_ErrBreak equ 44BFh
 +
_ErrStat equ 44C2h
 +
_ErrSignChange equ 44C5h
 +
_ErrIterations equ 44C8h
 +
_ErrBadGuess equ 44CBh
 +
_ErrTolTooSmall equ 44CEh
 +
_ErrStatPlot equ 44D1h
 +
_ErrLinkXmit equ 44D4h
 +
_JError equ 44D7h
 +
_noErrorEntry equ 44DAh
 +
_pushErrorHandleR equ 44DDh
 +
_popErrorHandleR equ 44E0h
 +
_strcopy equ 44E3h
 +
_strCat equ 44E6h
 +
_isInSet equ 44E9h
 +
_sDone equ 44ECh ;this should actually be called _SetEquToOP1
 +
_serrort equ 44EFh
 +
_sNameEq equ 44F2h
 +
_sUnderScr equ 44F5h
 +
_sFAIL equ 44F8h
 +
_sName equ 44FBh
 +
_sOK equ 44FEh
 +
_PutMap equ 4501h
 +
_PutC equ 4504h
 +
_DispHL equ 4507h
 +
_PutS equ 450Ah
 +
_putpsb equ 450Dh
 +
_PutPS equ 4510h
 +
_wputps equ 4513h
 +
_putbuf equ 4516h
 +
_putbuf1 equ 4519h
 +
_wputc equ 451Ch
 +
_wputs equ 451Fh
 +
_wputsEOL equ 4522h ;displays string in HL in big font, and uses ... if too long
 +
_wdispEOL equ 4525h
 +
_whomeup equ 4528h
 +
_setNumWindow equ 452Bh ;based on current cursor position, sets winleft and similar (for input prompts)
 +
_newline equ 452Eh
 +
_moveDown equ 4531h
 +
_scrollUp equ 4534h
 +
_shrinkWindow equ 4537h
 +
_moveUp equ 453Ah
 +
_scrollDown equ 453Dh
 +
_ClrLCDFull equ 4540h
 +
_ClrLCD equ 4543h
 +
_ClrScrnFull equ 4546h
 +
_ClrScrn equ 4549h
 +
_ClrTxtShd equ 454Ch
 +
_ClrWindow equ 454Fh
 +
_EraseEOL equ 4552h
 +
_EraseEOW equ 4555h
 +
_HomeUp equ 4558h
 +
_getcurloc equ 455Bh
 +
_VPutMap equ 455Eh
 +
_VPutS equ 4561h
 +
_VPutSN equ 4564h
 +
_vputsnG equ 4567h
 +
_vputsnT equ 456Ah
 +
_RunIndicOn equ 456Dh
 +
_RunIndicOff equ 4570h
 +
_saveCmdShadow equ 4573h
 +
_saveShadow equ 4576h
 +
_rstrShadow equ 4579h
 +
_rstrpartial equ 457Ch
 +
_rstrCurRow equ 457Fh
 +
_rstrUnderMenu equ 4582h
 +
_rstrbotrow equ 4585h
 +
_saveTR equ 4588h ;save top right corner of LCD so 2nd arrow can be displayed, indicinuse flag must be set
 +
_restoreTR equ 458Bh ;restore top right corner of LCD destroyed by an arrow. indicinuse flag must be set
 +
_GetKeyPress equ 458Eh
 +
_GetTokLen equ 4591h ;input: hl=pointer to token. output: a=lenght of string, hl=pointer to string on page 1
 +
_GET_TOK_STRNG equ 4594h ;input: hl=pointer to token. output: op3=string of the token, a=length of string
 +
_GETTOKSTRING equ 4597h ;input: DE=token. output: hl=pointer to the string on page 1
 +
_PUTBPATBUF2 equ 459Ah
 +
_PUTBPATBUF equ 459Dh
 +
_putbPAT equ 45A0h
 +
_putcCheckScrolL equ 45A3h
 +
_DispEOL equ 45A6h
 +
_fdispEOL equ 45A9h
 +
_MAKEROWCMD equ 45ACh
 +
_TOTOSTRP equ 45AFh
 +
_SETVARNAME equ 45B2h
 +
_DispDone equ 45B5h
 +
_finishoutput equ 45B8h
 +
_curBlink equ 45BBh
 +
_CursorOff equ 45BEh
 +
_hideCursor equ 45C1h
 +
_CursorOn equ 45C4h
 +
_showCursor equ 45C7h
 +
_KeyToString equ 45CAh
 +
_PULLDOWNCHK equ 45CDh ;something wrong here
 +
_MenuCatCommon equ 45D0h
 +
_ZIfCatalog equ 45D3h
 +
_ZIfMatrixMenu equ 45D6h ;_loadCurCat
 +
_LoadMenuNum equ 45D9h
 +
_LoadMenuNumL equ 45DCh
 +
_MenCatRet equ 45DFh ;restores display as though a menu were just cleared (restores some flags too)
 +
_MenuSwitchContext equ 45E2h ;switches to context in A, calls menu hook with A=3, set 5,(iy+16h) for some sort of override to not make switch
 +
_MenuEdKey equ 45E5h
 +
_BackUpGraphSettings equ 45E8h
 +
_notalphnum equ 45EBh
 +
_SaveSavedFlags equ 45EEh
 +
_SetMenuFlags equ 45F1h
 +
_RstrSomeFlags equ 45F4h
 +
_RstrOScreen equ 45F7h ;restores saveSScreen to the display
 +
_SaveOScreen equ 45FAh ;stores display in saveSScreen
 +
_dispListName equ 45FDh ;_SeeIfErrorCx
 +
_PrevContext equ 4600h
 +
_CompareContext equ 4603h
 +
_AdrMRow equ 4606h
 +
_AdrMEle equ 4609h
 +
_GETMATOP1A equ 460Ch
 +
_GETM1TOOP1 equ 460Fh
 +
_GETM1TOP1A equ 4612h
 +
_GetMToOP1 equ 4615h
 +
_PUTTOM1A equ 4618h
 +
_PUTTOMA1 equ 461Bh
 +
_PutToMat equ 461Eh
 +
_MAT_EL_DIV equ 4621h
 +
_CMATFUN equ 4624h
 +
_ROWECH_POLY equ 4627h
 +
_ROWECHELON equ 462Ah
 +
_AdrLEle equ 462Dh
 +
_GETL1TOOP1 equ 4630h
 +
_GETL1TOP1A equ 4633h
 +
_GetLToOP1 equ 4636h
 +
_GETL1TOOP2 equ 4639h
 +
_GETL1TOP2A equ 463Ch
 +
_GETL2TOP1A equ 463Fh
 +
_PUTTOLA1 equ 4642h
 +
_PutToL equ 4645h
 +
_MAXMINLST equ 4648h
 +
_LLOW equ 464Bh
 +
_LHIGH equ 464Eh
 +
_LSUM equ 4651h
 +
CUMSUM equ 4654h
 +
_ToFrac equ 4657h
 +
_SEQSET equ 465Ah
 +
_SEQSOLVE equ 465Dh
 +
_CMP_NUM_INIT equ 4660h
 +
_BinOPExec equ 4663h
 +
_EXMEAN1 equ 4666h
 +
_SET2MVLPTRS equ 4669h
 +
_SETMAT1 equ 466Ch
 +
_CREATETLIST equ 466Fh
 +
_UnOPExec equ 4672h
 +
_ThreeExec equ 4675h
 +
_RESTOREERRNO equ 4678h
 +
_FourExec equ 467Bh
 +
_FiveExec equ 467Eh
 +
_CPYTO2ES1 equ 4681h
 +
_CPYTO6ES1 equ 4684h
 +
_CPYTO1ES1 equ 4687h
 +
_CPYTO3ES1 equ 468Ah
 +
_CPYTO3ES2 equ 468Dh
 +
_CPYTO2ES2 equ 4690h
 +
_CPYTO1ES2 equ 4693h
 +
_CPYTO2ES3 equ 4696h
 +
_CPYTO1ES3 equ 4699h
 +
_CPYTO3ES4 equ 469Ch
 +
_CPYTO6ES3 equ 469Fh
 +
_CPYTO2ES4 equ 46A2h
 +
_CPYTO1ES4 equ 46A5h
 +
_CPYTO2ES5 equ 46A8h
 +
_CPYTO1ES5 equ 46ABh
 +
_CPYTO4EST equ 46AEh
 +
_CPYTO2EST equ 46B1h
 +
_CPYTO1EST equ 46B4h
 +
_CPYTO2ES6 equ 46B7h
 +
_CPYTO1ES6 equ 46BAh
 +
_CPYTO2ES7 equ 46BDh
 +
_CPYTO1ES7 equ 46C0h
 +
_CPYTO2ES8 equ 46C3h
 +
_CPYTO1ES8 equ 46C6h
 +
_CPYTO1ES9 equ 46C9h
 +
_CPYTO2ES9 equ 46CCh
 +
_CPYTO2ES10 equ 46CFh
 +
_CPYTO1ES10 equ 46D2h
 +
_CPYTO2ES11 equ 46D5h
 +
_CPYTO1ES11 equ 46D8h
 +
_CPYTO2ES12 equ 46DBh
 +
_CPYTO1ES12 equ 46DEh
 +
_CPYTO2ES13 equ 46E1h
 +
_CPYTO1ES13 equ 46E4h
 +
_CPYTO1ES14 equ 46E7h
 +
_CPYTO1ES16 equ 46EAh
 +
_CPYTO1ES17 equ 46EDh
 +
_CPYTO1ES18 equ 46F0h
 +
_CPYTO1ES15 equ 46F3h
 +
_CPYTO2ES15 equ 46F6h
 +
_CPYO1TOEST equ 46F9h
 +
_CPYO1TOES1 equ 46FCh
 +
_CPYO6TOES1 equ 46FFh
 +
_CPYO6TOES3 equ 4702h
 +
_CPYO1TOES2 equ 4705h
 +
_CPYO2TOES2 equ 4708h
 +
_CPYO1TOES3 equ 470Bh
 +
_CPYO1TOES4 equ 470Eh
 +
_CPYO1TOES5 equ 4711h
 +
_CPYO1TOES6 equ 4714h
 +
_CPYO1TOES7 equ 4717h
 +
_CPYO2TOES4 equ 471Ah
 +
_CPYO2TOES5 equ 471Dh
 +
_CPYO2TOES6 equ 4720h
 +
_CPYO2TOES7 equ 4723h
 +
_CPYO2TOES8 equ 4726h
 +
_CPYO2TOES9 equ 4729h
 +
_CPYO1TOES8 equ 472Ch
 +
_CPYO1TOES9 equ 472Fh
 +
_CPYO1TOES10 equ 4732h
 +
_CPYO1TOES11 equ 4735h
 +
_CPYO1TOES12 equ 4738h
 +
_CPYO1TOES13 equ 473Bh
 +
_CPYO1TOES14 equ 473Eh
 +
_CPYO1TOES15 equ 4741h
 +
;_EVALF3A equ 4744h ;Zeda: misassigned
 +
_GetK equ 4744h
 +
_setTitle              equ 474Ah
 +
_dispVarVal equ 474Dh
 +
_RecallEd equ 4750h ;_setupBuffer
 +
_createNumEditBuf equ 4753h
 +
_ProcessBufKeys equ 4756h ;may be default key processing like [CLEAR], etc. especially for an edit buffer.
 +
_CallCommon equ 4759h
 +
_CommonKeys equ 475Ch
 +
_Leftmore equ 475Fh
 +
_fDel equ 4762h
 +
_fClear equ 4765h
 +
_finsDisp equ 4768h ;Michael says _FinsDisp02 equ 4768h (something's not right)
 +
_FinsDisp02 equ 476Bh ;_setIndicator
 +
_closeeditbufnor equ 476Eh
 +
_releaseBuffer equ 4771h
 +
_varnameToOP1hl equ 4774h
 +
_nameToOP1 equ 4777h
 +
_numPPutAway equ 477Ah
 +
_numRedisp equ 477Dh
 +
_numError02 equ 4780h
 +
_Load_SFont equ 4783h
 +
_SFont_Len equ 4786h
 +
_InitNumVec equ 4789h ;inits window settings/table setup/finance solver context (dialog-like)
 +
_SetXXOP1 equ 478Ch
 +
_SetXXOP2 equ 478Fh
 +
_SetXXXXOP2 equ 4792h
 +
_UCLineS equ 4795h
 +
_CLine equ 4798h
 +
_CLineS equ 479Bh
 +
_XRootY equ 479Eh
 +
_YToX equ 47A1h
 +
_ZmStats equ 47A4h
 +
_POINT_STAT_HLP equ 47A7h
 +
_DRAWSPLOT equ 47AAh
 +
_INITNEWTRACEP equ 47ADh ;A is input here, goes to (8E63h)
 +
_SPLOTCOORD equ 47B0h
 +
_SPLOTRIGHT equ 47B3h
 +
_SPLOTLEFT equ 47B6h
 +
_CMPBOXINFO equ 47B9h
 +
_NEXTPLOT equ 47BCh
 +
_PREVPLOT equ 47BFh
 +
_CLRPREVPLOT equ 47C2h
 +
_PUT_INDEX_LST equ 47C5h
 +
_GET_INDEX_LST equ 47C8h
 +
_HEAP_SORT equ 47CBh
 +
_StoGDB2 equ 47CEh
 +
_RclGDB2 equ 47D1h
 +
_CircCmd equ 47D4h
 +
_GrphCirc equ 47D7h
 +
_Mov18B equ 47DAh
 +
_DarkLine equ 47DDh
 +
_ILine equ 47E0h
 +
_IPoint equ 47E3h
 +
_XYRNDBOTH equ 47E6h
 +
_XYRND equ 47E9h
 +
_CheckTOP equ 47ECh
 +
_CheckXY equ 47EFh
 +
_DarkPnt equ 47F2h
 +
_CPointS equ 47F5h
 +
_WTOV equ 47F8h
 +
_VtoWHLDE equ 47FBh
 +
_Xitof equ 47FEh
 +
_YftoI equ 4801h
 +
_XftoI equ 4804h
 +
_TraceOff equ 4807h
 +
_GrRedisp equ 480Ah
 +
_GDISPTOKEN equ 480Dh
 +
_GRDECODA equ 4810h
 +
_LABCOOR equ 4813h ;draws labels with _GRLABELS and X/Y/whatever coordinates, including stat plot stuff
 +
_COORDISP equ 4816h ;draws X & Y coordinates (or R and theta if PolarGC)
 +
_TMPEQUNOSRC equ 4819h
 +
_GRLABELS equ 481Ch
 +
_YPIXSET equ 481Fh
 +
_XPIXSET equ 4822h
 +
_COPYRNG equ 4825h
 +
_VALCUR equ 4828h ;just sets/resets three flags, enables graph cursor
 +
_GRPUTAWAY equ 482Bh
 +
_RSTGFLAGS equ 482Eh
 +
_GRReset equ 4831h
 +
_XYCENT equ 4834h
 +
_ZOOMXYCMD equ 4837h
 +
_CPTDELY equ 483Ah
 +
_CPTDELX equ 483Dh
 +
_SetFuncM equ 4840h
 +
_SetSeqM equ 4843h
 +
_SetPolM equ 4846h
 +
_SetParM equ 4849h
 +
_ZmInt equ 484Ch
 +
_ZmDecml equ 484Fh
 +
_ZmPrev equ 4852h
 +
_ZmUsr equ 4855h
 +
_SETUZM equ 4858h
 +
_ZmFit equ 485Bh
 +
_ZmSquare equ 485Eh
 +
_ZmTrig equ 4861h
 +
_SetXMinMax equ 4864h
 +
_ZooDefault equ 4867h
 +
_GrBufCpy equ 486Ah
 +
_DRAWSPLITLINE equ 486Dh
 +
_RestoreDisp equ 4870h
 +
_FNDDB equ 4873h
 +
_AllEq equ 4876h
 +
_fndallseleq equ 4879h
 +
_NEXTEQ equ 487Ch
 +
_PREVEQ equ 487Fh
 +
_BLINKGCUR equ 4882h
 +
_NBCURSOR equ 4885h
 +
_STATMARK equ 4888h
 +
_CHKTEXTCURS equ 488Bh
 +
_Regraph equ 488Eh
 +
_DOREFFLAGS02 equ 4891h ;something wrong here
 +
INITNSEQ equ 4894h
 +
_YRES equ 4897h ;_PLOTPTXY2
 +
_Ceiling equ 489Ah ;ceil(OP1)
 +
_PutXY equ 489Dh ;draws X & Y coordinates (regardless of PolarGC)
 +
_PUTEQUNO equ 48A0h
 +
_PDspGrph equ 48A3h
 +
_HorizCmd equ 48A6h
 +
_VertCmd equ 48A9h
 +
_LineCmd equ 48ACh
 +
_UnLineCmd equ 48AFh
 +
_PointCmd equ 48B2h
 +
_PixelTest equ 48B5h
 +
_PixelCmd  equ 48B8h
 +
_TanLnF equ 48BBh
 +
_DRAWCMD_INIT equ 48BEh
 +
_DrawCmd equ 48C1h
 +
_SHADECMD equ 48C4h
 +
_InvCmd equ 48C7h
 +
_STATSHADE equ 48CAh
 +
_dspmattable equ 48CDh
 +
_dsplsts equ 48D0h
 +
_closeEditBuf equ 48D3h
 +
_parseEditBuf equ 48D6h
 +
_putsm equ 48D9h
 +
_DspCurTbl equ 48DCh
 +
_DSPGRTBL equ 48DFh
 +
_zeroTemplate equ 48E2h
 +
_settblrefs equ 48E5h
 +
_dispTblBot equ 48E8h
 +
_DispTblTop equ 48EBh
 +
_dispTblbody equ 48EEh
 +
_VPUTBLANK equ 48F1h
 +
_TBLTRACE equ 48F4h
 +
_dispListNameY equ 48F7h
 +
_CurNameLength equ 48FAh
 +
_NameToBuf equ 48FDh
 +
_jpromptcursor equ 4900h
 +
_BufLeft equ 4903h
 +
_BufRight equ 4906h
 +
_bufInsert equ 4909h
 +
_bufQueueChar equ 490Ch
 +
_BufReplace equ 490Fh
 +
_BufDelete equ 4912h
 +
_BUFPEEK equ 4915h
 +
_BUFPEEK1 equ 4918h
 +
_BUFPEEK2 equ 491Bh
 +
_BUFPEEK3 equ 491Eh
 +
_BufToBtm equ 4921h
 +
_setupEditEqu equ 4924h
 +
_BufToTop equ 4927h
 +
_isEditFull equ 492Ah
 +
_IsEditEmpty equ 492Dh
 +
_IsAtTop equ 4930h
 +
_IsAtBtm equ 4933h
 +
_BufClear equ 4936h
 +
_JcursorFirst equ 4939h
 +
_JcursorLast equ 493Ch
 +
_CursorLeft equ 493Fh
 +
_cursorRight equ 4942h
 +
_cursorUp equ 4945h
 +
_CursorDown equ 4948h
 +
_cursorToOffset equ 494Bh
 +
_InsDisp equ 494Eh
 +
_FDISPBOL1 equ 4951h
 +
_FDISPBOL equ 4954h
 +
_DispEOW equ 4957h
 +
_DispHead equ 495Ah
 +
_DispTail equ 495Dh
 +
_PutTokString equ 4960h
 +
_setupEditCmd equ 4963h
 +
_setEmptyEditEqu equ 4966h
 +
_SetEmptyEditPtr equ 4969h
 +
_CloseEditEqu equ 496Ch
 +
_GetPrevTok equ 496Fh
 +
_getkey equ 4972h
 +
_canIndic equ 4975h
 +
_LCD_DRIVERON equ 4978h
 +
_DFMIN2 equ 497Bh
 +
_formDisp equ 497Eh ;this is directly what the OS calls on the homescreen to display a result
 +
_formMatrix equ 4981h
 +
_wscrollLeft equ 4984h
 +
_wscrollUp equ 4987h
 +
_wscrollDown equ 498Ah
 +
_wscrollRight equ 498Dh
 +
_FormEReal equ 4990h
 +
_formERealTOK equ 4993h
 +
_FormDCplx equ 4996h
 +
_FormReal equ 4999h
 +
_formScrollUp equ 499Ch
 +
_setwinabove equ 499Fh
 +
_disarmScroll equ 49A2h
 +
_OP1toEdit equ 49A5h
 +
_MinToEdit equ 49A8h
 +
_rclVarToEdit equ 49ABh
 +
_rclVarToEditPtR equ 49AEh
 +
_RCLENTRYTOEDIT equ 49B1h
 +
_rclToQueue equ 49B4h ;recalls bytes at OP1 into edit buffer
 +
_FORMTOTOK equ 49B7h
 +
_DISP_INTERVAL equ 49BAh
 +
_DisplstName equ 49BDh
 +
_dispSLstNameHL equ 49C0h
 +
_EditEqu equ 49C3h
 +
_closeEquField equ 49C6h
 +
_AutoSelect equ 49C9h
 +
_DISPYEOS equ 49CCh
 +
_dispNumEOS equ 49CFh
 +
_setupdispeq equ 49D2h
 +
_DispForward equ 49D5h
 +
_DispYPrompt2 equ 49D8h
 +
_stringwidth equ 49DBh
 +
_dispErrorScreen equ 49DEh ;displays top row of error screen (error message)
 +
_POPCX equ 49E1h ;moves 14 bytes at cxPrev to cxMain, 15th byte goes to replace appflags
 +
_loadnoeentry equ 49E4h
 +
_SaveScreen equ 49E7h
 +
_RETSCREEN equ 49EAh
 +
_RetScreenErr equ 49EDh
 +
_CheckSplitFlag equ 49F0h
 +
_SolveRedisp equ 49F3h
 +
_SolveDisp equ 49F6h
 +
_itemName equ 49F9h
 +
_SetNorm_Vals equ 49FCh
 +
_SetYOffset equ 49FFh ;sets up YOffset and next 4 bytes (possibly specialized for the table editor)
 +
_ConvKeyToTok equ 4A02h
 +
_ConvFCKeyToTok equ 4A05h
 +
_ConvFEKeyToTok equ 4A08h
 +
_TokToKey equ 4A0Bh
 +
_SendSkipExitPacket equ 4A0Eh
 +
_GETVARCMD equ 4A11h
 +
_SendVarCmd equ 4A14h
 +
_SendScreenshot equ 4A17h
 +
keyscnlnk equ 4A1Ah
 +
_DeselectAllVars equ 4A1Dh
 +
_DelRes equ 4A20h
 +
_ConvLcToLr equ 4A23h
 +
_RedimMat equ 4A26h
 +
_IncLstSize equ 4A29h
 +
_InsertList equ 4A2Ch
 +
_dellistel equ 4A2Fh
 +
_EditProg equ 4A32h
 +
_CloseProg equ 4A35h
 +
_ClrGraphRef equ 4A38h
 +
_FixTempCnt equ 4A3Bh
 +
_SAVEDATA equ 4A3Eh
 +
_RESTOREDATA equ 4A41h
 +
_FindAlphaUp equ 4A44h
 +
_FindAlphaDn equ 4A47h
 +
_CmpSyms equ 4A4Ah
 +
_CREATETEMP equ 4A4Dh
 +
_CleanAll equ 4A50h
 +
_MoveToNextSym equ 4A53h ;input: hl=pointer to type byte of VAT entry. output: hl = pointer to next entry's type byte
 +
_ConvLrToLc equ 4A56h
 +
_TblScreenDn equ 4A59h ;something is not right here
 +
_TblScreenUp equ 4A5Ch
 +
_SCREENUP equ 4A5Fh
 +
_ScreenUpDown equ 4A62h
 +
_ZifRclHandler equ 4A65h
 +
_zifrclkapp equ 4A68h
 +
_rclkeyRtn equ 4A6Bh
 +
_RCLKEY equ 4A6Bh
 +
_RCLREGEQ_CALL equ 4A6Eh
 +
_RCLREGEQ equ 4A71h
 +
_initNamePrompt equ 4A74h
 +
_NamePrompt2 equ 4A77h
 +
_CATALOGCHK equ 4A7Ah
 +
_clrTR equ 4A7Dh
 +
_QUAD equ 4A80h
 +
_GRAPHQUAD equ 4A83h
 +
_BC2NOREAL equ 4A86h
 +
_ErrNonReal_FPST_FPS1 equ 4A89h
 +
_ErrNonReal equ 4A8Ch ;ERR:DATA TYPE if top B numers from FPS are non-real
 +
_WRITE_TEXT equ 4A8Fh
 +
_FORSEQINIT equ 4A92h
 +
_GRPHPARS equ 4A95h
 +
_PLOTPARS equ 4A98h
 +
_ParseInp equ 4A9Bh
 +
_PARSEOFF equ 4A9Eh
 +
_PARSESCAN equ 4AA1h
 +
_GETPARSE equ 4AA4h
 +
_SAVEPARSE equ 4AA7h
 +
_InitPFlgs equ 4AAAh
 +
_CKENDLINERR equ 4AADh
 +
_OP2Set60 equ 4AB0h
 +
_GETSTATPTR equ 4AB3h
 +
_CMP_STATPTR equ 4AB6h
 +
_VARSYSADR equ 4AB9h
 +
_StoSysTok equ 4ABCh
 +
_StoAns equ 4ABFh
 +
_StoTheta equ 4AC2h
 +
_StoR equ 4AC5h
 +
_StoY equ 4AC8h
 +
_StoN equ 4ACBh
 +
_StoT equ 4ACEh
 +
_StoX equ 4AD1h
 +
_StoOther equ 4AD4h
 +
_RclAns equ 4AD7h
 +
_RclY equ 4ADAh
 +
_RclN equ 4ADDh
 +
_RclX equ 4AE0h
 +
_RclVarSym equ 4AE3h
 +
_RclSysTok equ 4AE6h
 +
_StMatEl equ 4AE9h
 +
_STLSTVECEL equ 4AECh
 +
_ConvOP1 equ 4AEFh
 +
_Find_Parse_Formula equ 4AF2h
 +
_PARSE_FORMULA equ 4AF5h
 +
_FetchQuotedString equ 4AF8h
 +
_FetchNumLine equ 4AFBh
 +
_ParseNameTokens equ 4AFEh
 +
_ParseInpGraph equ 4B01h ;same as _ParseInp except 3,(iy+1Fh) is graph/split screen override, or something
 +
_ParseInpGraphReset equ 4B04h ;_ParseInpGraph except zeroes out iy+6/7, resets 3,(iy+1Ah) & 0,(iy+1Fh), fmtFlags->fmtOverride, parse within ParseInp?
 +
_ParseInpLastEnt equ 4B07h ;ParseInp on program 05h,23h,00h
 +
_ErrOnCertainTypes equ 4B0Ah ;ERR:DATA TYPE if A is one of a couple of values...subroutine in ParseInp, somehow
 +
_CreatePair equ 4B0Dh
 +
_PUSHNUM equ 4B10h
 +
_INCCURPCERREND equ 4B13h
 +
_ERREND equ 4B16h
 +
_COMMAERRF equ 4B19h
 +
_COMMAERR equ 4B1Ch
 +
_STEQARG2 equ 4B1Fh
 +
_STEQARG equ 4B22h
 +
_INPARG equ 4B25h
 +
_STEQARG3 equ 4B28h
 +
_NXTFETCH equ 4B2Bh
 +
_CKFETCHVAR equ 4B2Eh
 +
_FETCHVARA equ 4B31h
 +
_FETCHVAR equ 4B34h
 +
_CKENDLIN equ 4B37h ;gets parse byte in A and then _CKENDEXP
 +
_CKENDEXP equ 4B3Ah ;checks A for 3Eh or 3Fh
 +
_CKPARSEND equ 4B3Dh
 +
_STOTYPEARG equ 4B40h
 +
_ConvDim equ 4B43h
 +
_ConvDim00 equ 4B46h
 +
_AHEADEQUAL equ 4B49h
 +
_PARSAHEADS equ 4B4Ch
 +
_PARSAHEAD              equ 4B4Fh
 +
_AnsName equ 4B52h
 +
_STOCMPREALS equ 4B55h
 +
_GETDEPTR equ 4B58h
 +
_PUSH2BOPER equ 4B5Bh ;push the value in bc onto the operator stack
 +
_POP2BOPER equ 4B5Eh ;pop 2 bytes on the operator stack to bc
 +
_PUSHOPER equ 4B61h ;push the value in a onto the operator stack
 +
_POPOPER equ 4B64h ;pop 1 byte on the operator stack to a
 +
_FIND_E_UNDEF equ 4B67h
 +
_STTMPEQ equ 4B6Ah
 +
_FINDEOL equ 4B6Dh
 +
_BRKINC equ 4B70h
 +
_INCFETCH equ 4B73h
 +
_CURFETCH equ 4B76h
 +
_Random equ 4B79h
 +
_StoRand equ 4B7Ch
 +
_RandInit equ 4B7Fh
 +
_resetStacks equ 4B82h ;(onsp)->(errsp), (fpbase)->(fps), (opbase)->(ops)
 +
_Factorial equ 4B85h
 +
_YONOFF equ 4B88h
 +
_EQSELUNSEL equ 4B8Bh
 +
_ITSOLVER equ 4B8Eh
 +
_GRITSOLVER equ 4B91h
 +
_ITSOLVERB equ 4B94h
 +
_ITSOLVERNB equ 4B97h
 +
_ExTest_INT equ 4B9Ah
 +
_DIST_FUN equ 4BADh
 +
_LogGamma equ 4BA0h
 +
_OneVar equ 4BA3h
 +
_ONEVARS_0 equ 4BA6h
 +
_ORDSTAT equ 4BA9h
 +
_INITSTATANS2 equ 4BACh
 +
_ANOVA_SPEC equ 4BAFh
 +
_OutputExpr equ 4BB2h
 +
_CentCursor equ 4BB5h
 +
_TEXT equ 4BB8h
 +
_FINISHSPEC equ 4BBBh
 +
_TRCYFUNC equ 4BBEh
 +
_RCL_SEQ_X equ 4BC1h
 +
_RCLSEQ2 equ 4BC4h
 +
_GRPPutAway equ 4BC7h
 +
_CKVALDELX equ 4BCAh
 +
_CKVALDELTA equ 4BCDh
 +
_GrBufClr equ 4BD0h
 +
_GRBUFCPY_V equ 4BD3h
 +
_FNDSELEQ equ 4BD6h
 +
_CLRGRAPHXY equ 4BD9h
 +
_NEDXT_Y_STYLE equ 4BDCh
 +
_PLOTPT equ 4BDFh
 +
_NEWINDEP equ 4BE2h
 +
_Axes equ 4BE5h
 +
_setPenX equ 4BE8h
 +
_setPenY equ 4BEBh
 +
_setPenT equ 4BEEh
 +
_TAN_EQU_DISP equ 4BF1h
 +
_PutAns equ 4BF4h
 +
_DispOP1A equ 4BF7h
 +
_MATHTANLN equ 4BFAh
 +
_ENDDRAW equ 4BFDh
 +
_SetTblGraphDraw equ 4C00h
 +
_StartDialog equ 4C03h
 +
_DialogInit equ 4C06h
 +
_GetDialogNumOP1 equ 4C09h
 +
_SetDialogNumOP1 equ 4C0Ch
 +
_GetDialogNumHL equ 4C0Fh
 +
_ErrArgumentO123 equ 4C12h ;ERR:ARGUMENT if OP2>OP1 or OP1>OP3
 +
_SetDialogKeyOverride equ 4C15h
 +
_ResDialogKeyOverride equ 4C18h
 +
_ForceDialogKeypress equ 4C1Bh
 +
_DialogStartGetKey equ 4C1Eh
 +
_StartDialog_Override equ 4C21h
 +
_CallDialogCallback equ 4C24h
 +
_SetDialogCallback equ 4C27h
 +
_ResDialogCallback equ 4C2Ah
 +
_CopyDialogNum equ 4C2Dh
 +
_MemClear equ 4C30h
 +
_MemSet equ 4C33h
 +
_ReloadAppEntryVecs equ 4C36h
 +
_PointOn equ 4C39h
 +
_ExecuteNewPrgm equ 4C3Ch
 +
_StrLength equ 4C3Fh
 +
_VPutMapRec equ 4C42h
 +
_getRomPage equ 4C45h
 +
_FindAppUp equ 4C48h
 +
_FindAppDn equ 4C4Bh
 +
_FindApp equ 4C4Eh
 +
_ExecuteApp equ 4C51h
 +
_MonReset equ 4C54h
 +
_ClearParseVar equ 4C57h
 +
_SetParseVarProg equ 4C5Ah
 +
_isContextKey equ 4C5Dh
 +
_IBounds equ 4C60h
 +
_IOffset equ 4C63h
 +
_DrawCirc2 equ 4C66h
 +
_CanAlphIns equ 4C69h
 +
cxRedisp equ 4C6Ch
 +
_GetBaseVer equ 4C6Fh
 +
_OPSet0DE equ 4C72h ;loads a floating point 0 to location de
 +
_AppGetCbl equ 4C75h
 +
_AppGetCalc equ 4C78h
 +
_SaveDisp equ 4C7Bh
 +
_SetIgnoreKey  equ 4C7Eh ;set 1,(iy+28h) / ret
 +
_SetSendThisKeyBack equ 4C81h ;set 2,(iy+28h) / ld (kbdKey),a / ret
 +
_DisableApd equ 4C84h
 +
_EnableApd equ 4C87h ;set apdable,(iy+apdflags)
 +
_JForceCmdNoChar2 equ 4C8Ah ;2.41 at least
 +
_set2IY34 equ 4C8Dh ;set 2,(iy+34) / ret
 +
_forcecmd equ 4C90h
 +
_ApdSetup equ 4C93h
 +
_Get_NumKey equ 4C96h
 +
_AppSetup equ 4C99h ;or _AppCleanup, or something
 +
_HandleLinkKeyActivity equ 4C9Ch
 +
_JForceCmdNoChar3 equ 4C9Fh ;2.41 at least
 +
_ReleaseSedit equ 4CA2h
 +
_initsmalleditline equ 4CA5h
 +
_startsmalledit equ 4CA8h
 +
;4CABh
 +
_SGetTokString equ 4CAEh
 +
_LoadPattern equ 4CB1h
 +
_SStringLength equ 4CB4h
 +
_RestorePenCol equ 4CB7h
 +
;4CBAh
 +
_DoNothing equ 4CBDh
 +
_ForceSmallEditReturn equ 4CC0h
 +
;4CC3h ;saves context
 +
;4CC6h
 +
;4CC9h
 +
;4CCCh
 +
_VEraseEOL equ 4CCFh
 +
;4CD2h
 +
;4CD5h
 +
_GoToErr equ 4CD8h
 +
_initsmalleditBox equ 4CDBh
 +
;4CDEh
 +
_EmptyHook equ 4CE1h
 +
_ForceSmallEditReturn2 equ 4CE4h
 +
;4CE7h ;same as 4CC3h
 +
;4CEAh
 +
_ClearRow equ 4CEDh
 +
;4CF0h
 +
;4CF3h
 +
;4CF6h
 +
;4CF9h
 +
;4CFCh
 +
;4CFFh
 +
;4D02h
 +
;4D05h
 +
;4D08h
 +
;4D0Bh
 +
;4D0Eh
 +
;4D11h
 +
;4D14h
 +
;4D17h
 +
;4D1Ah
 +
;4D1Dh
 +
;4D20h
 +
;4D23h
 +
_AppScreenUpDown equ 4D26h ;shifts screen up/down, A is LCD row, H is number of lines to shift, (OP1)-(OP1+3) are something
 +
_AppScreenUpDown1 equ 4D29h ;shifts screen up/down, but really no clue what the inputs are (all registers and (OP1)-(OP1+3))
 +
;4D2Ch
 +
_initsmalleditlinevar equ 4D2Fh
 +
_initsmalleditlineop1 equ 4D32h
 +
_initsmalleditboxvar equ 4D35h
 +
_initsmalleditboxop1 equ 4D38h
 +
;4D3Bh
 +
_RestartDialog equ 4D3Eh
 +
_ErrCustom1 equ 4D41h
 +
_ErrCustom2 equ 4D44h
 +
_AppStartMouse equ 4D47h
 +
_AppStartMouseNoSetup equ 4D4Ah
 +
_AppMouseGetKey equ 4D4Dh
 +
_AppDispMouse equ 4D50h
 +
_AppEraseMouse equ 4D53h
 +
_AppSetupMouseMem equ 4D56h
 +
_GetDispRowOffset equ 4D59h ;HL=A*12 (intended for A to be row and HL becomes offset into plotSScreen)
 +
_ClearRect equ 4D5Ch
 +
_InvertRect equ 4D5Fh
 +
_FillRect equ 4D62h
 +
_AppUpdateMouse equ 4D65h
 +
_AppDispPrevMouse equ 4D68h ;might bring previous keypress's movement to current coordinates with flags to not display
 +
;4D6Bh ;restores some cursor flags and stuff
 +
_initcellbox equ 4D6Eh
 +
_drawcell equ 4D71h
 +
;4D74h
 +
_invertcell equ 4D77h
 +
_setcelloverride equ 4D7Ah
 +
_DrawRectBorder equ 4D7Dh
 +
_ClearCell equ 4D80h
 +
_covercell equ 4D83h
 +
_EraseRectBorder equ 4D86h
 +
_FillRectPattern equ 4D89h
 +
_DrawRectBorderClear equ 4D8Ch
 +
;4D8Fh ;mouse subroutine
 +
;4D92h
 +
_VerticalLine equ 4D95h
 +
_IBoundsFull equ 4D98h
 +
_DisplayImage equ 4D9Bh
 +
;4D9Eh ;does something dumb with ports 10h/11h
 +
;4DA1h ;mouse subroutine
 +
_AppUpdateMouseCoords equ 4DA4h
 +
_ShiftBitsLeft equ 4DA7h ;mouse subroutine, shifts B bits left from DE sprite to HL one
 +
;4DAAh ;mouse subroutine
 +
;4DADh ;mouse subroutine
 +
;4DB0h ;mouse subroutine
 +
;4DB3h ;mouse subroutine
 +
;4DB6h ;mouse subroutine
 +
;4DB9h ;mouse subroutine
 +
;4DBCh ;mouse subroutine
 +
_AppUpdateMouseRow equ 4DBFh
 +
_AppDrawMouse equ 4DC2h ;set 2,(iy+2Ch) for AppEraseMouse, reset for AppDispMouse
 +
_AppDrawMouseDirect equ 4DC5h ;pretty much _AppDrawMouse, but you pass LCD column in A
 +
_CPoint equ 4DC8h
 +
_DeleteApp equ 4DCBh
 +
_AppUpdateMouseXY equ 4DCEh
 +
_setmodecellflag equ 4DD1h
 +
_resetmodecellflag equ 4DD4h
 +
_ismodecellset equ 4DD7h
 +
_getmodecellflag equ 4DDAh
 +
;4DDDh
 +
_CellBoxManager equ 4DE0h
 +
_startnewcell equ 4DE3h
 +
;4DE6h
 +
_CellCursorHandle equ 4DE9h
 +
;4DECh
 +
;4DEFh
 +
_ClearCurCell equ 4DF2h
 +
_drawcurcell equ 4DF5h
 +
_invertcurcell equ 4DF8h
 +
_covercurcell equ 4DFBh
 +
_BlinkCell equ 4DFEh
 +
_BlinkCellNoLookUp equ 4E01h
 +
_BlinkCurCell equ 4E04h
 +
_BlinkCellToOn equ 4E07h
 +
_BlinkCellToOnNoLookUp equ 4E0Ah
 +
_BlinkCurCellToOn equ 4E0Dh
 +
_BlinkCellToOff equ 4E10h
 +
_BlinkCellToOffNoLookUp equ 4E13h
 +
_BlinkCurCellToOff equ 4E16h
 +
_getcurmodecellflag equ 4E19h
 +
;4E1Ch
 +
_startsmalleditreturn equ 4E1Fh
 +
;4E22h
 +
;4E25h
 +
_CellkHandle equ 4E28h
 +
_errchkalphabox equ 4E2Bh
 +
;4E2Eh
 +
;4E31h
 +
;4E34h
 +
;4E37h
 +
_eraseallcells equ 4E3Ah
 +
_iscurmodecellset equ 4E3Dh
 +
;4E40h
 +
_initalphabox equ 4E43h
 +
;4E46h
 +
;4E49h
 +
_drawblnkcell equ 4E4Ch
 +
_ClearBlnkCell equ 4E4Fh
 +
_invertblnkcell equ 4E52h
 +
_AppMouseForceKey equ 4E55h
 +
_AppSetupMouseMemCoords equ 4E58h ;this is _AppSetupMouseMem except you pass starting coordinates in HL
 +
_AppMoveMouse equ 4E5Bh ;this is _AppMouseForceKey and then updating coordinates
 +
_GetStringInput equ 4E5Eh
 +
_GetStringInput2 equ 4E61h
 +
_WaitEnterKeyValue equ 4E64h
 +
_HorizontalLine equ 4E67h
 +
_CreateAppVar equ 4E6Ah
 +
_CreateProtProg equ 4E6Dh
 +
_CreateVar equ 4E70h
 +
_AsmComp equ 4E73h
 +
_GetAsmSize equ 4E76h
 +
_SquishPrgm equ 4E79h
 +
_ExecutePrgm equ 4E7Ch
 +
_ChkFindSymAsm equ 4E7Fh
 +
_ParsePrgmName equ 4E82h
 +
_CSub equ 4E85h
 +
_CAdd equ 4E88h
 +
_CSqaure equ 4E8Bh
 +
_CMult equ 4E8Eh
 +
_CRecip equ 4E91h
 +
_CDiv equ 4E94h
 +
_CAbs equ 4E97h
 +
_AddSquares equ 4E9Ah
 +
_CSqRoot equ 4E9Dh
 +
_CLN equ 4EA0h
 +
_CLog equ 4EA3h
 +
_CTenX equ 4EA6h
 +
_CEtoX equ 4EA9h
 +
_CXrootY equ 4EACh
 +
;4EAFh
 +
_CYtoX equ 4EB2h
 +
_InvertNonReal equ 4EB5h
 +
_CplxMult equ 4EB8h
 +
_CplxDiv equ 4EBBh
 +
_CplxTrunc equ 4EBEh
 +
_CplxFrac equ 4EC1h
 +
_CplxFloor equ 4EC4h
 +
_SendHeaderPacket equ 4EC7h
 +
_CancelTransmission equ 4ECAh
 +
_SendScreenContents equ 4ECDh
 +
_SendRAMVarData equ 4ED0h
 +
_SendRAMCmd equ 4ED3h
 +
_SendPacket equ 4ED6h
 +
_ReceiveAck equ 4ED9h
 +
_Send4BytePacket equ 4EDCh
 +
_SendDataByte equ 4EDFh
 +
_Send4Bytes equ 4EE2h
 +
_SendAByte equ 4EE5h
 +
_SendCByte equ 4EE8h
 +
_GetSmallPacket equ 4EEBh
 +
_GetDataPacket equ 4EEEh
 +
_SendAck equ 4EF1h
 +
_Get4Bytes equ 4EF4h
 +
_Get3Bytes equ 4EF7h
 +
_Rec1stByte equ 4EFAh
 +
_Rec1stByteNC equ 4EFDh
 +
_ContinueGetByte equ 4F00h
 +
_RecAByteIO equ 4F03h
 +
_ReceiveVar equ 4F06h
 +
_ReceiveVarDataExists equ 4F09h
 +
_ReceiveVarData equ 4F0Ch
 +
_SrchVLstUp equ 4F0Fh
 +
_SrchVLstDn equ 4F12h
 +
_SendVariable equ 4F15h
 +
_Get4BytesCursor equ 4F18h
 +
_Get4BytesNC equ 4F1Bh
 +
_Convert85List equ 4F1Eh
 +
_SendDirectoryContents equ 4F21h
 +
_SendReadyPacket equ 4F24h
 +
_Convert85Real equ 4F27h
 +
_ret_6 equ 4F2Ah
 +
_SendCertificate equ 4F2Dh ;sends certificate in header/data packets, Flash must be unlocked, used with sending an application in LINK menu
 +
_SendApplication equ 4F30h
 +
_SendOSHeader equ 4F33h
 +
_SendOSPage equ 4F36h
 +
_SendOS equ 4F39h
 +
_FlashWriteDisable equ 4F3Ch
 +
_SendCmd equ 4F3Fh
 +
_SendOSValidationData equ 4F42h
 +
_Disp equ 4F45h
 +
_SendGetkeyPress equ 4F48h
 +
_RejectCommand equ 4F4Bh
 +
_CheckLinkLines equ 4F4Eh
 +
_GetHookByte equ 4F51h
 +
_GetBytePaged equ 4F54h
 +
_cursorhook equ 4F57h
 +
_call_library_hook equ 4F5Ah
 +
_call_rawkey_hook equ 4F5Dh
 +
_setCursorHook equ 4F60h ;enable cursor hook
 +
_EnableLibraryHook equ 4F63h
 +
_SetGetKeyHook equ 4F66h
 +
_ClrCursorHook equ 4F69h
 +
_DisableLibraryHook equ 4F6Ch
 +
_ClrRawKeyHook  equ 4F6Fh
 +
_ResetHookBytes equ 4F72h
 +
_AdjustAllHooks equ 4F75h
 +
_getkeyhook equ 4F78h
 +
_SetGetcscHook equ 4F7Bh
 +
_ClrGetKeyHook equ 4F7Eh
 +
_call_linkactivity_hook equ 4F81h
 +
_EnableLinkActivityHook equ 4F84h
 +
_DisableLinkHook equ 4F87h
 +
_GetSmallPacket2 equ 4F8Ah
 +
_EnableCatalog2Hook equ 4F8Dh
 +
_DisableCatalog2Hook equ 4F90h
 +
_EnableLocalizeHook equ 4F93h
 +
_DisableLocalizeHook equ 4F96h
 +
_SetTokenHook equ 4F99h
 +
_ClearTokenHook equ 4F9Ch
 +
;4F9Fh ld hl,92c6 / ld a,(92c5) / res 2,a / cp (hl) / ret
 +
;4FA2h hl=11*(92fc)+92c9 / ld a,(hl) / and Fh / cp 2 / ret ; I can almost guarantee this is stat plot related
 +
_DispListElementOffLA equ 4FA5h
 +
_Bit_VertSplit equ 4FA8h
 +
_SetHomescreenHook equ 4FABh
 +
_ClrHomeScreenHook equ 4FAEh
 +
_SetWindowHook equ 4FB1h
 +
_DisableWindowHook equ 4FB4h
 +
_SetGraphModeHook equ 4FB7h
 +
_DisableGraphHook equ 4FBAh
 +
_ParseAndStoreSysVar equ 4FBDh
 +
_DisplayEditSysVar equ 4FC0h
 +
_JForceWindowSettings equ 4FC3h
 +
_DelVarArc equ 4FC6h
 +
_DelVarNoArc equ 4FC9h
 +
_SetAllPlots equ 4FCCh
 +
_SetYeditHook    equ 4FCFh
 +
_DisableYEquHook equ 4FD2h
 +
_JForceYEqu equ 4FD5h
 +
_Arc_Unarc equ 4FD8h ;checks for low battery
 +
_ArchiveVar equ 4FDBh ;set 0,(iy+24h) to check for low battery first
 +
_UnarchiveVar equ 4FDEh
 +
_DialogKeyHook equ 4FE1h ;rawkey hook used by OS for dialog context
 +
_SetFontHook equ 4FE4h
 +
_ClrFontHook equ 4FE7h
 +
_SetRegraphHook equ 4FEAh
 +
_DisableRegraphHook equ 4FEDh
 +
_RunGraphingHook equ 4FF0h
 +
_SetTraceHook equ 4FF3h
 +
_DisableTraceHook equ 4FF6h
 +
_RunTraceHook equ 4FF9h
 +
_NDeriv equ 4FFCh
 +
_PolarDerivative equ 4FFFh
 +
_JForceGraphNoKey equ 5002h
 +
_JForceGraphKey equ 5005h
 +
_PowerOff equ 5008h
 +
_GetKeyRetOff equ 500Bh ;same as getkey, only returns kOff if 2nd+on is pressed
 +
_FindGroupSym equ 500Eh
 +
_FillBasePageTable equ 5011h
 +
_ArcChk equ 5014h
 +
_FlashToRam equ 5017h
 +
_LoadDEIndPaged equ 501Ah
 +
_LoadCIndPaged equ 501Dh
 +
_SetupPagedPtr equ 5020h
 +
_PagedGet equ 5023h
 +
_SetParserHook equ 5026h
 +
_ClearParserHook equ 5029h
 +
_SetAppChangeHook equ 502Ch
 +
_ClearAppChangeHook equ 502Fh
 +
_EnableGraphicsHook equ 5032h
 +
_DisableGraphicsHook equ 5035h
 +
_IPointNoGraphicsHook equ 5038h
 +
_ILineNoHook equ 503Bh
 +
;503Eh
 +
_DeleteTempPrograms equ 5041h
 +
_EnableCatalog1Hook equ 5044h
 +
_DisableCatalog1Hook equ 5047h
 +
_EnableHelpHook equ 504Ah
 +
_DisableHelpHook equ 504Dh
 +
_DispCatalogEnd equ 5050h
 +
_GetMenuKeypress equ 5053h
 +
_GetCatalogItem equ 5056h
 +
_RunCatalog2Hook equ 5059h
 +
_RunCatalog1Hook equ 505Ch
 +
;505Fh
 +
;5062h
 +
_dispMenuTitle equ 5065h
 +
;5068h
 +
_EnablecxRedispHook equ 506Bh
 +
_DisablecxRedispHook equ 506Eh
 +
_BufCpy equ 5071h
 +
_BufClr equ 5074h
 +
_UnOPExec2 equ 5077h
 +
_BinOPExec2 equ 507Ah
 +
_LoadMenuB equ 507Dh ;clears screen and loads menu from B, plus a couple flag changes
 +
_DisplayVarInfo equ 5080h
 +
_SetMenuHook equ 5083h
 +
_ClearMenuHook equ 5086h
 +
_getBCOffsetIX equ 5089h
 +
_GetBCOffsetIX2 equ 508Ch
 +
_ForceFullScreen equ 508Fh
 +
_GetVariableData equ 5092h
 +
_FindSwapSector equ 5095h
 +
_CopyFlashPage equ 5098h
 +
_FindAppNumPages equ 509Bh
 +
_HLMinus5 equ 509Eh
 +
_SendArcPacket equ 50A1h
 +
_ForceGraphKeypress equ 50A4h
 +
_DoNothing3 equ 50A7h
 +
_FormBase equ 50AAh
 +
;50ADh
 +
_IsFragmented equ 50B0h
 +
_Chk_Batt_Low equ 50B3h
 +
_Chk_Batt_Low_2 equ 50B6h
 +
_Arc_Unarc2 equ 50B9h ;identical to _Arc_Unarc, except you can choose to res 0,(iy+24h) to skip low battery check
 +
_GetAppBasePage equ 50BCh ;input: a=one of an app's pages. output: a=app's first page
 +
_SetExSpeed equ 50BFh
 +
_RclExit equ 50C2h
 +
_GroupAllVars equ 50C5h
 +
_UngroupVar equ 50C8h
 +
_WriteToFlash equ 50CBh ;ReceiveApplication or something like that on OSes below 2.40
 +
_SetSilentLinkHook equ 50CEh
 +
_DisableSilentLinkHook equ 50D1h
 +
_TwoVarSet equ 50D4h
 +
_ExecClassCToken equ 50D7h
 +
_ExecClass3Token equ 50DAh
 +
_GetSysInfo equ 50DDh
 +
_NZIf83Plus equ 50E0h
 +
_LinkStatus equ 50E3h
 +
_DoNothing2 equ 50E6h ;originally for TI-Navigator
 +
_KeyboardGetKey equ 50E9h
 +
_RunAppLib equ 50ECh
 +
_FindSpecialAppHeader equ 50EFh
 +
_SendUSBData equ 50F2h
 +
_AppGetCBLUSB equ 50F5h
 +
_AppGetCalcUSB equ 50F8h
 +
_GetVarCmdUSB equ 50FBh
 +
;50FEh
 +
_TenX2 equ 5101h
 +
;5104h
 +
;5107h
 +
_GetVarVersion equ 510Ah
 +
;510Dh
 +
;5110h
 +
_DeleteTempEditEqu equ 5113h
 +
_JcursorFirst2 equ 5116h
 +
;5119h
 +
_PromptMoveBackLeft equ 511Ch
 +
_wputsEOL2 equ 511Fh ;same except res 0,(iy+0Eh) first
 +
_InvertTextInsMode equ 5122h
 +
;5125h
 +
_ResetDefaults equ 5128h
 +
_ZeroFinanceVars equ 512Bh
 +
_DispHeader equ 512Eh
 +
_JForceGroup equ 5131h
 +
;5134h
 +
;5137h
 +
_DispCoords equ 513Ah
 +
;513Dh
 +
;5140h
 +
_chkTmr equ 5143h
 +
;5146h
 +
;5149h
 +
;514Ch
 +
_getDate equ 514Fh
 +
_GetDateString equ 5152h
 +
_getDtFmt equ 5155h
 +
_getDtStr equ 5158h
 +
_getTime equ 515Bh
 +
_GetTimeString equ 515Eh
 +
_getTmFmt equ 5161h
 +
_getTmStr equ 5164h
 +
_SetZeroOne equ 5167h
 +
_setDate equ 516Ah
 +
_IsOneTwoThree equ 516Dh
 +
_setTime equ 5170h
 +
_IsOP112or24 equ 5173h
 +
_chkTimer0 equ 5176h
 +
_timeCnv equ 5179h
 +
_GetLToOP1Extra equ 517Ch
 +
_ClrWindowAndFlags equ 517Fh
 +
_SetMachineID equ 5182h
 +
_ResetLists equ 5185h
 +
_DispValue equ 5188h
 +
;518Bh
 +
;518Eh
 +
_ExecLib equ 5191h
 +
;5194h
 +
_CPOP1OP2Rounded equ 5197h
 +
_CPOP1OP2Rounded2 equ 519Ah
 +
_OpenLib equ 519Dh
 +
;51A0h
 +
;51A3h
 +
_ResetIOPrompt equ 51A6h
 +
_StrCpyVarData equ 51A9h
 +
_SetUpEditor equ 51ACh
 +
_SortA equ 51AFh
 +
_SortD equ 51B2h
 +
;51B5h
 +
_IsOP1ResID equ 51B8h
 +
_ListEdNameCxMain equ 51BBh
 +
_ListEdEnterNewName equ 51BEh
 +
;51C1h
 +
_ForceModeKeypress equ 51C4h ;forces a keypress (and calls help hook) on any of several mode-setting contexts
 +
_DispAboutScreen equ 51C7h
 +
_ChkHelpHookVer equ 51CAh
 +
_Disp32 equ 51CDh
 +
;51D0h
 +
;51D3h
 +
;51D6h
 +
;51D9h
 +
_DrawTableEditor equ 51DCh ;draws table editor lines
 +
_DisplayListNameEquals equ 51DFh
 +
_DisplayListHeader equ 51E2h
 +
_DispMatrixDimensions equ 51E5h
 +
_HighlightListEdItem equ 51E8h
 +
;51EBh
 +
;51EEh
 +
_MatrixName equ 51F1h
 +
;51F4h
 +
;51F7h
 +
;51FAh
 +
;51FDh
 +
;5200h
 +
;5203h
 +
;5206h
 +
;5209h
 +
;520Ch
 +
;520Fh
 +
_SetupEmptyEditTempEqu equ 5212h
 +
_ExecClass1Token equ 5215h
 +
_HandleMathTokenParse equ 5218h
 +
_MaybePushMultiplyOp equ 521Bh
 +
_RestartParseOP1Result equ 521Eh
 +
_Chk_Batt_Level equ 5221h
 +
;5224h
 +
;5227h
 +
;522Ah
 +
_DisplayListEquals equ 522Dh
 +
_GetCurPlotListOffset equ 5230h
 +
_GoToLastRow equ 5233h
 +
_RectBorder equ 5236h
 +
;5239h
 +
;523Ch
 +
;523Fh
 +
_LoadA5 equ 5242h
 +
;5245h
 +
_NamedListToOP1 equ 5248h
 +
;524Bh
 +
;524Eh
 +
;5251h
 +
_InitUSBDeviceCallback equ 5254h
 +
_KillUSBDevice equ 5257h ;this actually recycles the USB connection and re-inits it (I think)
 +
_SetUSBConfiguration equ 525Ah
 +
_RequestUSBData equ 525Dh
 +
_StopReceivingUSBData equ 5260h
 +
_FindAppHeaderByPage equ 5263h
 +
_FindNextHeaderByPage equ 5266h
 +
_IsMatchingLaunchApp equ 5269h
 +
_InitTimer equ 526Ch
 +
_KillTimer equ 526Fh
 +
_StartTimer equ 5272h
 +
_RestartTimer equ 5275h
 +
_StopTimer equ 5278h
 +
_WaitTimer equ 527Bh
 +
_CheckTimer equ 527Eh
 +
_CheckTimerRestart equ 5281h
 +
_SetVertGraphActive equ 5284h
 +
_ClearVertGraphActive equ 5287h
 +
_EnableUSBHook equ 528Ah
 +
_DisableUSBHook equ 528Dh
 +
_InitUSBDevice equ 5290h
 +
_KillUSBPeripheral equ 5293h
 +
_GetCurPlotListOffset2 equ 5296h
 +
;5299h
 +
_GraphLine equ 529Ch
 +
;529Fh
 +
;52A2h
 +
;52A5h
 +
;52A8h
 +
;52ABh
 +
;52AEh
 +
_ZifTableEditor equ 52B1h
 +
;52B4h
 +
_GetCurPlotOffset equ 52B7h
 +
;52BAh
 +
_FindAppName equ 52BDh
 +
;52C0h
 +
;52C3h
 +
_UpdateStatPlotLists equ 52C6h
 +
_GrBufCpyCustom equ 52C9h
 +
;52CCh
 +
;52CFh
 +
;52D2h
 +
_VDispRealOP1 equ 52D5h
 +
_DispXEqualsNum equ 52D8h
 +
_ResetGraphSettings equ 52DBh
 +
_InitializeVariables equ 52DEh
 +
;52E1h ;bit 4,(9C75h) (this is DEFINITELY returning the status of something when acting as a TI-SmartView Input Pad...this bit is bit 1 of the data byte from a PC HID Set Report request)
 +
_DelVarSym equ 52E4h
 +
_FindAppUpNoCase equ 52E7h
 +
_FindAppDnNoCase equ 52EAh
 +
_DeleteInvalidApps equ 52EDh
 +
_DeleteApp_Link equ 52F0h
 +
_CmpSymsNoCase equ 52F3h
 +
_SetAppRestrictions equ 52F6h
 +
_RemoveAppRestrictions equ 52F9h
 +
_QueryAppRestrictions equ 52FCh
 +
_DispAppRestrictions equ 52FFh
 +
_SetupHome equ 5302h
 +
_GRPUTAWAYFull equ 5305h ;same as _GRPUTAWAY except it assumes no split screen
 +
_SendSmartPadKeypress equ 5308h ;B and A are the inputs
 +
_ToggleUSBSmartPadInput equ 530Bh ;A is input, 0 or 1 to enable/disable
 +
_IsUSBDeviceConnected equ 530Eh ;bit 4,(81h) \ ret, this is just a guess on its purpose but it seems to work
 +
_RecycleUSB equ 5311h ;identical to 5257h
 +
_PolarEquToOP1 equ 5314h
 +
_ParamXEquToOP1 equ 5317h
 +
_ParamYEquToOP1 equ 531Ah
 +
_GetRestrictionsOptions equ 531Dh
 +
_DispResetComplete equ 5320h
 +
_PTTReset equ 5323h
 +
_FindAppCustom equ 5326h
 +
_ClearGraphStyles equ 5329h
 +
;532Ch
 +
;532Fh
 +
;5332h
 +
;5335h
 +
;5338h
 +
;533Bh
 +
;533Eh
 +
;5341h
 +
;5344h
 +
;5347h
 +
;534Ah
 +
;534Dh
 +
;5350h
 +
;5353h
 +
;5356h
 +
;5359h
 +
;535Ch
 +
;535Fh
 +
;5362h
 +
;5365h
 +
;5368h
 +
;536Bh
 +
;536Eh
 +
;5371h
 +
;5374h
 +
;5377h
 +
;537Ah
 +
;537Dh
 +
;5380h
 +
;5383h
 +
;5386h
 +
;5389h
 +
;538Ch
 +
;538Fh
 +
;5392h
 +
;5395h
 +
;5398h
 +
;539Bh
 +
;539Eh
 +
;53A1h
 +
;53A4h
 +
;53A7h
 +
;53AAh
 +
;53ADh
 +
;53B0h
 +
;53B3h
 +
;53B6h
 +
;53B9h
 +
;53BCh
 +
;53BFh
 +
;53C2h
 +
;53C5h
 +
;53C8h
 +
;53CBh
 +
;53CEh
 +
;53D1h
 +
;53D4h
 +
;53D7h
 +
;53DAh
 +
;53DDh
 +
;53E0h
 +
;53E3h
 +
;53E6h
 +
;53E9h
 +
;53ECh
 +
;53EFh
 +
;53F2h
 +
;53F5h
 +
;53F8h
 +
;53FBh
 +
;53FEh
 +
;5401h
 +
;5404h
 +
;5407h
 +
;540Ah
 +
;540Dh
 +
;5410h
 +
;5413h
 +
;5416h
 +
;5419h
 +
;541Ch
 +
;541Fh
 +
;5422h
 +
;5425h
 +
;5428h
 +
;542Bh
 +
;542Eh
 +
;5431h
 +
;5434h
 +
;5437h
 +
;543Ah
 +
;543Dh
 +
;5440h
 +
;5443h
 +
;5446h
 +
;5449h
 +
_xorAret equ 5443h
 +
_scfRet equ 5446h
 +
_ret equ 5449h
  
_EditProg EQU 4A32h
+
;Page 1Fh ROM Calls
_EnableApd EQU 4C87h
+
;--------------------------------
_EnoughMem EQU 42FDh
+
bootbtf equ 8000h
_EOP1NotReal EQU 4279h
+
;400Fh may point to version string ("1.02 ",0)
_Equ_or_NewEqu EQU 42C4h
+
_MD5Final equ 8018h
_EraseEOL EQU 4552h
+
_RSAValidate equ 801Bh
_EraseRectBorder EQU 4D86h
+
_cmpStr equ 801Eh ;BigNumCompare
_ErrArgument EQU 44ADh
+
_WriteAByte equ 8021h
_ErrBadGuess EQU 44CBh
+
_EraseFlash equ 8024h
_ErrBreak EQU 44BFh
+
_FindFirstCertField equ 8027h
_ErrD_OP1_0 EQU 42D3h
+
_ZeroToCertificate equ 802Ah
_ErrD_OP1_LE_0 EQU 42D0h
+
_GetCertificateEnd equ 802Dh
_ErrD_OP1Not_R EQU 42CAh
+
_FindGroupedField equ 8030h
_ErrD_OP1NotPos EQU 42C7h
+
_ret_1 equ 8033h
_ErrD_OP1NotPosInt EQU 42CDh
+
_ret_2 equ 8036h
_ErrDataType EQU 44AAh
+
_ret_3 equ 8039h
_ErrDimension EQU 44B3h
+
_ret_4 equ 803Ch
_ErrDimMismatch EQU 44B0h
+
_ret_5 equ 803Fh
_ErrDivBy0 EQU 4498h
+
_Mult8By8 equ 8042h
_ErrDomain EQU 449Eh
+
_Mult16By8 equ 8045h
_ErrIncrement EQU 44A1h
+
_Div16By8 equ 8048h
_ErrInvalid EQU 44BCh
+
_Div16By16 equ 804Bh
_ErrIterations EQU 44C8h
+
;804Eh ;scary certificate reading and writing, something about calc ID and fields 0A10/0A20
_ErrLinkXmit EQU 44D4h
+
_LoadAIndPaged equ 8051h
_ErrMemory EQU 44B9h
+
_FlashToRam2 equ 8054h
_ErrNon_Real EQU 44A4h
+
_GetCertificateStart equ 8057h
_ErrNonReal EQU 4A8Ch
+
_GetFieldSize equ 805Ah
_ErrNotEnoughMem EQU 448Ch
+
_FindSubField equ 805Dh
_ErrOverflow EQU 4495h
+
_EraseCertificateSector equ 8060h
_ErrSignChange EQU 44C5h
+
_CheckHeaderKey equ 8063h
_ErrSingularMat EQU 449Bh
+
;8066h ;just returns Z if specified data in field 0310h, subfield 0610h exists, DE points to data of that field you want to find
_ErrStat EQU 44C2h
+
;8069h ;just returns number of 0810h/0710h fields that exist in certificate or something, in IX
_ErrStatPlot EQU 44D1h
+
_Load_LFontV2 equ 806Ch
_ErrSyntax EQU 44A7h
+
_Load_LFontV equ 806Fh
_ErrTolTooSmall EQU 44CEh
+
_ReceiveOS equ 8072h
_ErrUndefined EQU 44B6h
+
_FindOSHeaderSubField equ 8075h
_EToX EQU 40B4h
+
_FindNextCertField equ 8078h
_Exch9 EQU 43D5h
+
_GetByteOrBoot equ 807Bh
_ExLp EQU 4222h
+
_getSerial equ 807Eh ;GetCalcSerial
_ExpToHex EQU 424Fh
+
_ReceiveCalcID equ 8081h ;receives certificate replacement (including calculator ID, fails if already exists) and writes it, requires Flash unlocked
 +
_EraseFlashPage equ 8084h
 +
_WriteFlashUnsafe equ 8087h
 +
_dispBootVer equ 808Ah
 +
_MD5Init equ 808Dh
 +
_MD5Update equ 8090h
 +
_MarkOSInvalid equ 8093h
 +
_FindProgramLicense equ 8096h ;copies 8010h field to appID and other insane stuff that makes zero sense
 +
_MarkOSValid equ 8099h
 +
_CheckOSValidated equ 809Ch
 +
_SetupAppPubKey equ 809Fh
 +
_SigModR equ 80A2h
 +
_TransformHash equ 80A5h
 +
_IsAppFreeware equ 80A8h
 +
_FindAppHeaderSubField equ 80ABh
 +
_WriteValidationNumber equ 80AEh ;generates two-byte validation number from calc ID and stores to certificate
 +
_Div32By16 equ 80B1h
 +
_FindGroup equ 80B4h ;searches until field of DE-like group is found (DE=0A00h, it stops when it finds 0Ax0h)
 +
_getBootVer equ 80B7h
 +
_getHardwareVersion equ 80BAh
 +
_xorA equ 80BDh ;xor a
 +
_bignumpowermod17 equ 80C0h
 +
_ProdNrPart1 equ 80C3h
 +
_WriteAByteSafe equ 80C6h
 +
_WriteFlash equ 80C9h
 +
_SetupDateStampPubKey equ 80CCh
 +
_SetFlashLowerBound equ 80CFh
 +
_LowBatteryBoot equ 80D2h
 +
;TI-84 Plus/Silver Edition Only Entry Points
 +
_AttemptUSBOSReceive equ 80E4h ;Z to wait for USB cable insert & get OS, NZ and A= contents of port 4Dh or 56h, ON to cancel & clear RAM
 +
_DisplayBootMessage equ 80E7h
 +
_NewLine2 equ 80EAh
 +
_DisplayBootError10 equ 80EDh
 +
_Chk_Batt_Low_B equ 80F0h
 +
_Chk_Batt_Low_B2 equ 80F3h
 +
_ReceiveOS_USB equ 80F6h
 +
_DisplayOSProgress equ 80F9h
 +
_ResetCalc equ 80FCh
 +
_SetupOSPubKey equ 80FFh
 +
_CheckHeaderKeyHL equ 8102h ;same as _CheckHeaderKey, only you pass the address of header in HL, not at appData
 +
_USBErrorCleanup equ 8105h ;kills some USB stuff (doesn't completely kill periph communication), error handler in boot code
 +
_InitUSB equ 8108h ;initializes USB hardware as peripheral, sets 5,(iy+1Bh), C set if problems
 +
;810Bh set 1,(81h) and wait (has something to do with USB peripheral kill, but it doesn't actually kill it)
 +
_KillUSB equ 810Eh ;identical to 8105h, except in the middle of the outputs, it sends zero to port 4Ch
 +
_DisplayBootError1 equ 8111h
 +
_DisplayBootError2 equ 8114h
 +
_DisplayBootError3 equ 8117h
 +
_DisplayBootError4 equ 811Ah
 +
_DisplayBootError5 equ 811Dh
 +
_DisplayBootError6 equ 8120h
 +
_DisplayBootError7 equ 8123h
 +
_DisplayBootError8 equ 8126h
 +
_DisplayBootError9 equ 8129h
  
_Factorial EQU 4B85h
+
;RAM Equates
_FillRect EQU 4D62h
+
;--------------------------------
_FillRectPattern EQU 4D89h
+
ramStart equ 8000h
_Find_Parse_Formula EQU 4AF2h
+
appData equ 8000h
_FindAlphaDn EQU 4A47h
+
ramCode equ 8100h
_FindAlphaUp EQU 4A44h
+
SmallEditColumnLeft equ 8177h
_FindApp EQU 4C4Eh
+
SmallEditRow equ 8178h
_FindAppDn EQU 4C4Bh
+
SmallEditColumnRight equ 8179h
_FindAppNumPages EQU 509Bh
+
;penCol left edge? equ 817Bh
_FindAppUp EQU 4C48h
+
bigInteger1 equ 8182h
_FindSym EQU 42F4h
+
SmallEditCancelParse equ 8194h
_FiveExec EQU 467Eh
+
SmallEditRowCount equ 81B7h
_FixTempCnt EQU 4A3Bh
+
bigInteger2 equ 81C3h
_FlashToRam EQU 5017h
+
SmallEditPromptString equ 81CCh
_ForceFullScreen EQU 508Fh
+
ramCodeEnd equ 822Fh
_FormBase EQU 50AAh
+
baseAppBrTab equ 8230h ;table of base pages for apps on page < 20h (starts with eight zeroes because they're OS pages)
_FormDCplx EQU 4996h
+
clockFlag equ 8230h ;bit 2 set for 24-hour mode and don't display "AM/PM"
_FormEReal EQU 4990h
+
clockIDs equ 8231h ;five bytes, numbers 0-4 in memory, that when present, stops displaying clock numbers in time setting context?
_FormReal EQU 4999h
+
bootTemp equ 8251h
_FourExec EQU 467Bh
+
MD5Temp equ 8259h
_FPAdd EQU 4072h
+
MD5Length equ 8269h
_FPDiv EQU 4099h
+
MD5Hash equ 8292h
_FPMult EQU 4084h
+
appSearchPage equ 82A3h
_FPRecip EQU 4096h
+
tempSwapArea equ 82A5h
_FPSquare EQU 4081h
+
;something equ 837Bh ;18 bytes, probably indicates something about Flash app pages, start out as 0FFh
_FPSub EQU 406Fh
+
appID equ 838Dh
_Frac EQU 4093h
+
arcPageEnd equ 8392h
 +
arcPtrEnd equ 8393h
 +
;839Fh something...field size bytes?
 +
MD5Buffer equ 83A5h
 +
Abackup equ 83EBh
 +
ramReturnData equ 83EDh
 +
arcInfo equ 83EEh
 +
savedArcInfo equ 8406h
 +
appInfo equ 8432h
 +
appBank_jump equ 843Ch
 +
appPage equ 843Eh
 +
kbdScanCode equ 843Fh
 +
kbdKey equ 8444h
 +
kbdGetKy equ 8445h
 +
keyExtend equ 8446h
 +
EXTECHO equ keyExtend
 +
contrast equ 8447h
 +
apdSubTimer equ 8448h
 +
apdTimer equ 8449h
 +
curTime equ 844Ah
 +
curRow equ 844Bh
 +
curCol equ 844Ch
 +
curOffset equ 844Dh
 +
curUnder equ 844Eh
 +
curY equ 844Fh
 +
curType equ 8450h
 +
curXRow equ 8451h
 +
prevDData equ 8452h
 +
lFont_record equ 845Ah
 +
sFont_record equ 8462h
 +
tokVarPtr equ 846Ah
 +
tokLen equ 846Ch
 +
indicMem equ 846Eh ;eight bytes used by _saveTR and _restoreTR to store image in top right corner
 +
indicCounter equ 8476h
 +
indicBusy equ 8477h
 +
OP1 equ 8478h
 +
OP1M equ 847Ah
 +
OP2 equ 8483h
 +
OP2M equ 8485h
 +
OP2EXT equ 848Ch
 +
OP3 equ 848Eh
 +
OP3M equ 8490h
 +
OP4 equ 8499h
 +
OP4M equ 849Bh
 +
OP5 equ 84A4h
 +
OP5M equ 84A6h
 +
OP6 equ 84AFh
 +
OP6M equ 84B1h
 +
OP6EXT equ 84B8h
 +
progToEdit equ 84BFh
 +
nameBuff equ 84C7h
 +
equ_edit_save equ 84D2h
 +
iMathPtr1 equ 84D3h
 +
iMathPtr2 equ 84D5h
 +
iMathPtr3 equ 84D7h
 +
iMathPtr4 equ 84D9h
 +
iMathPtr5 equ 84DBh
 +
chkDelPtr1 equ 84DDh
 +
chkDelPtr2 equ 84DFh
 +
insDelPtr equ 84E1h
 +
upDownPtr equ 84E3h
 +
fOutDat equ 84E5h
 +
asm_data_ptr1 equ 84EBh
 +
asm_data_ptr2 equ 84EDh
 +
asm_sym_ptr1 equ 84EFh
 +
asm_sym_ptr2 equ 84F1h
 +
asm_ram equ 84F3h
 +
asm_ind_call equ 8507h
 +
textShadow equ 8508h
 +
textShadCur equ 8588h
 +
textShadTop equ 858Ah
 +
textShadAlph equ 858Bh
 +
textShadIns equ 858Ch
 +
cxMain equ 858Dh
 +
cxPPutAway equ 858Fh
 +
cxPutAway equ 8591h
 +
cxErrorEP equ 8595h
 +
cxSizeWind equ 8597h
 +
cxPage equ 8599h
 +
cxCurApp equ 859Ah
 +
cxPrev equ 859Bh ;12 bytes are shadows of cxMain through cxCurApp and appFlags
 +
monQH equ 85AAh
 +
monQT equ 85ABh
 +
monQueue equ 85ACh
 +
onSP equ 85BCh
 +
promptRow equ 85C0h
 +
promptCol equ 85C1h
 +
promptIns equ 85C2h
 +
promptShift equ 85C3h
 +
promptRet equ 85C4h
 +
promptValid equ 85C6h
 +
promptTop equ 85C8h
 +
promptCursor equ 85CAh
 +
promptTail equ 85CCh
 +
promptBtm equ 85CEh
 +
varType equ 85D0h
 +
varCurrent equ 85D1h
 +
varClass equ 85D9h
 +
CatalogCurrent equ 85DAh ;word at this location starting with 6007h corresponds to what is highlighted in catalog
 +
menuActive equ 85DCh
 +
menuAppDepth equ 85DDh
 +
MenuCurrent equ 85DEh
 +
; equ 85DFh ;holds current submenu index
 +
; equ 85E0h ;holds currently selected item in current submenu
 +
; equ 85E1h ;holds number of submenus for this menu
 +
; equ 85E2h ;holds number of items in this submenu
 +
; equ 85E3h ;iy+appFlags backup for menu stuff
 +
; equ 85E4h ;iy+0Ch backup for menu stuff
 +
; equ 85E5h ;curGStyle backup for menu stuff
 +
; equ 85E6h ;iy+graphFlags backup for menu stuff
 +
ProgCurrent equ 85E8h
 +
;something, OP1 backup? equ 85F2h ;type and name of topmost variable on menu with names
 +
;something equ 85FDh
 +
userMenuSA equ 85FEh
 +
ioPrompt equ 865Fh
 +
dImageWidth equ 8660h
 +
ioFlag equ 8670h
 +
sndRecState equ 8672h
 +
ioErrState equ 8673h
 +
header equ 8674h
 +
ioData equ 867Dh
 +
ioNewData equ 8689h
 +
bakHeader equ 868Bh
 +
;something equ 8697h ;app bitmap for selecting stuff from menus
 +
;something equ 86B7h ;used in 47h and 74h link packets
 +
penCol equ 86D7h
 +
penRow equ 86D8h
 +
rclQueue equ 86D9h
 +
rclQueueEnd equ 86DBh
 +
errNo equ 86DDh
 +
errSP equ 86DEh
 +
errOffset equ 86E0h
 +
saveSScreen equ 86ECh
 +
asm_prgm_size equ 89ECh
 +
bstCounter equ 89EEh
 +
flags equ 89F0h
 +
appFlagsAddr equ 89FDh
 +
;something equ 8A36h ;stats-related? This gets stored to (varCurrent) for some reason
 +
statVars equ 8A3Ah
 +
anovaf_vars equ 8C17h
 +
infVars equ 8C4Dh
 +
infVar1 equ 8C56h
 +
infVar2 equ 8C5Fh
 +
infVar3 equ 8C68h
 +
infVar4 equ 8C71h
 +
infVar5 equ 8C7Ah
 +
infVar6 equ 8C83h
 +
infVar7 equ 8C8Ch
 +
infVar8 equ 8C95h
 +
infVar9 equ 8C9Eh
 +
infVar10 equ 8CA7h
 +
infVar11 equ 8CB0h
 +
infVar12 equ 8CB9h
 +
infVar13 equ 8CC2h
 +
infVar14 equ 8CCBh
 +
infVar15 equ 8CD4h
 +
infVar16 equ 8CDDh
 +
infVar17 equ 8CE6h
 +
infVar18 equ 8CEFh
 +
infVar19 equ 8CF8h
 +
infVar20 equ 8D01h
 +
;something equ 8D0Bh
 +
;list-related stat vars equ 8D0Dh
 +
curGStyle equ 8D17h
 +
curGY equ 8D18h
 +
curGX equ 8D19h
 +
curGY2 equ 8D1Ah
 +
curGX2 equ 8D1Bh ;currently selected equation while graphing
 +
freeSaveY equ 8D1Ch
 +
freeSaveX equ 8D1Dh
 +
;100 bytes equ 8D2Ah
 +
XOffset equ 8DA1h
 +
YOffset equ 8DA2h
 +
lcdTallP equ 8DA3h
 +
pixWideP equ 8DA4h
 +
pixWide_m_1 equ 8DA5h
 +
pixWide_m_2 equ 8DA6h
 +
lastEntryPTR equ 8DA7h ;pointer to the next available byte in the entry stack
 +
lastEntryStk equ 8DA9h ;the start of entry stack (note last entry is not in the stack, it is in the program '#'.)  This is a stack of strings.  first 2 bytes are length, followed by string. 2nd from last entry is first in this stack.
 +
numLastEntries equ 8E29h ;number of entries you can back-track through minus one
 +
currLastEntry equ 8E2Ah ;counter used by OS to keep track of which entry was just displayed by pressing 2nd+enter
 +
curPlotNumber equ 8E63h ;current plot being graphed (1-3), this gets reset back to 0
 +
;something equ 8E65h
 +
;something equ 8E66h
 +
curInc equ 8E67h
 +
uXmin equ 8E7Eh
 +
uXmax equ 8E87h
 +
uXscl equ 8E90h
 +
uYmin equ 8E99h
 +
uYmax equ 8EA2h
 +
uYscl equ 8EABh
 +
uThetMin equ 8EB4h
 +
uThetMax equ 8EBDh
 +
uThetStep equ 8EC6h
 +
uTmin equ 8ECFh
 +
uTmax equ 8ED8h
 +
uTStep equ 8EE1h
 +
uPlotStart equ 8EEAh
 +
unMax equ 8EF3h
 +
uu0 equ 8EFCh
 +
uv0 equ 8F05h
 +
unMin equ 8F0Eh
 +
uu02 equ 8F17h
 +
uv02 equ 8F20h
 +
uw0 equ 8F29h
 +
uPlotStep equ 8F32h
 +
uXres equ 8F3Bh
 +
uw02 equ 8F44h
 +
Xmin equ 8F50h
 +
Xmax equ 8F59h
 +
Xscl equ 8F62h
 +
Ymin equ 8F6Bh
 +
Ymax equ 8F74h
 +
Yscl equ 8F7Dh
 +
ThetaMin equ 8F86h
 +
ThetaMax equ 8F8Fh
 +
ThetaStep equ 8F98h
 +
TminPar equ 8FA1h
 +
TmaxPar equ 8FAAh
 +
Tstep equ 8FB3h
 +
PlotStart equ 8FBCh
 +
nMax equ 8FC5h
 +
u0 equ 8FCEh
 +
v0 equ 8FD7h
 +
nMin equ 8FE0h
 +
u02 equ 8FE9h
 +
v02 equ 8FF2h
 +
w0 equ 8FFBh
 +
PlotStep equ 9004h
 +
XresO equ 900Dh
 +
w02 equ 9016h
 +
un1 equ 901Fh
 +
un2 equ 9028h
 +
vn1 equ 9031h
 +
vn2 equ 903Ah
 +
wn1 equ 9043h
 +
wn2 equ 904Ch
 +
fin_N equ 9055h
 +
fin_I equ 905Eh
 +
fin_PV equ 9067h
 +
fin_PMT equ 9070h
 +
fin_FV equ 9079h
 +
fin_PY equ 9082h
 +
fin_CY equ 908Bh
 +
cal_N equ 9094h
 +
cal_I equ 909Dh
 +
cal_PV equ 90A6h
 +
cal_PMT equ 90AFh
 +
cal_FV equ 90B8h
 +
cal_PY equ 90C1h
 +
smallEditRAM equ 90D3h
 +
XFact equ 913Fh
 +
YFact equ 9148h
 +
Xres_int equ 9151h
 +
deltaX equ 9152h
 +
deltaY equ 915Bh
 +
shortX equ 9164h
 +
shortY equ 916Dh
 +
lower equ 9176h
 +
upper equ 917Fh
 +
XOutSym equ 918Ch
 +
XOutDat equ 918Eh
 +
YOutSym equ 9190h
 +
YOutDat equ 9192h
 +
inputSym equ 9194h
 +
inputDat equ 9196h
 +
prevData equ 9198h
 +
;something equ 91D9h
 +
;something equ 91DAh
 +
CurTableRow equ 91DCh
 +
CurTableCol equ 91DDh
 +
TblMin equ 92B3h
 +
TblStep equ 92BCh
 +
;something equ 92C5h
 +
;something equ 92C6h
 +
;somePlotThing1 equ 92D9h
 +
;somePlotThing2 equ 92EAh
 +
;somePlotThing3 equ 92FBh
 +
ES equ 9302h ;bottom of the es
 +
EST equ 9305h ;current height of the es
 +
;something equ 9311h ;this is the pointer to a table of stuff for a BASIC menu
 +
plotSScreen equ 9340h
 +
seed1 equ 9640h
 +
seed2 equ 9649h
 +
basic_prog equ 9652h
 +
basic_start equ 965Bh
 +
nextParseByte equ 965Dh ;basic_pc
 +
basic_end equ 965Fh
 +
numArguments equ 9661h
 +
;something equ 9665h ;parser-related word
 +
;something equ 966Ch
 +
;something equ 966Dh
 +
cmdShadow equ 966Eh
 +
cmdShadCur equ 96EEh
 +
cmdShadAlph equ 96F0h
 +
cmdShadIns equ 96F1h
 +
cmdCursor equ 96F2h
 +
editTop equ 96F4h
 +
editCursor equ 96F6h
 +
editTail equ 96F8h
 +
editBtm equ 96FAh
 +
;something equ 96FEh ;word, this is offset into list for currently-highlighted element in list editor
 +
;something equ 9700h ;table entry pointer used in dialog/menu/edit buffer routines
 +
matrixDimensions equ 9702h ;dimensions of matrix being edited in matrix editor
 +
editSym equ 9706h ;pointer to symbol table entry of variable being edited
 +
editDat equ 9708h ;pointer to data of variable being edited
 +
;something equ 970Eh ;stats/list editor related, usually 1
 +
;something equ 970Fh ;stats/list editor related, usually 0 (this is 0-based offset from listName1), pretty sure this is a page offset
 +
;something equ 9710h ;stats/list editor related, usually 0 (this is 0-based currently-selected list)
 +
listName1 equ 9711h
 +
listName2 equ 9716h
 +
listName3 equ 971Bh
 +
listName4 equ 9720h
 +
listName5 equ 9725h
 +
listName6 equ 972Ah
 +
listName7 equ 972Fh
 +
listName8 equ 9734h
 +
listName9 equ 9739h
 +
listName10 equ 973Eh
 +
listName11 equ 9743h
 +
listName12 equ 9748h
 +
listName13 equ 974Dh
 +
listName14 equ 9752h
 +
listName15 equ 9757h
 +
listName16 equ 975Ch
 +
listName17 equ 9761h
 +
listName18 equ 9766h
 +
listName19 equ 976Bh
 +
listName20 equ 9770h
 +
;something equ 9775h
 +
y1LineType equ 9776h ;these bytes define the line type for functions which are graphed
 +
y2LineType equ 9777h
 +
y3LineType equ 9778h
 +
y4LineType equ 9779h
 +
y5LineType equ 977Ah
 +
y6LineType equ 977Bh
 +
y7LineType equ 977Ch
 +
y8LineType equ 977Dh
 +
y9LineType equ 977Eh
 +
y0LineType equ 977Fh
 +
para1LineType equ 9780h
 +
para2LineType equ 9781h
 +
para3LineType equ 9782h
 +
para4LineType equ 9783h
 +
para5LineType equ 9784h
 +
para6LineType equ 9785h
 +
polar1LineType equ 9786h
 +
polar2LineType equ 9787h
 +
polar3LineType equ 9788h
 +
polar4LineType equ 9789h
 +
polar5LineType equ 978Ah
 +
polar6LineType equ 978Bh
 +
secULineType equ 978Ch
 +
secVLineType equ 978Dh
 +
secWLineType equ 978Eh
 +
;something equ 979Fh
 +
;something equ 97A1h
 +
winTop equ 97A5h
 +
winBtm equ 97A6h
 +
winLeftEdge equ 97A7h
 +
winLeft equ 97A8h
 +
winAbove equ 97AAh
 +
winRow equ 97ACh
 +
winCol equ 97AEh
 +
fmtDigits equ 97B0h
 +
fmtString equ 97B1h
 +
fmtConv equ 97F2h
 +
fmtLeft equ 9804h
 +
fmtIndex equ 9806h
 +
fmtMatSym equ 9808h
 +
fmtMatMem equ 980Ah
 +
EQS equ 980Ch
 +
;something equ 980Eh
 +
;something equ 9810h
 +
freeRAM equ 9815h ;pretty sure this is the amount of RAM free, valid in Mem Mgmt/Del anyway
 +
;something equ 9817h
 +
tSymPtr1 equ 9818h
 +
tSymPtr2 equ 981Ah
 +
chkDelPtr3 equ 981Ch
 +
chkDelPtr4 equ 981Eh
 +
tempMem equ 9820h
 +
fpBase equ 9822h
 +
FPS equ 9824h
 +
OPBase equ 9826h
 +
OPS equ 9828h
 +
pTempCnt equ 982Ah
 +
cleanTmp equ 982Ch
 +
pTemp                  equ 982Eh ;end of symbol table
 +
progPtr equ 9830h
 +
newDataPtr equ 9832h
 +
pagedCount equ 9834h
 +
pagedPN equ 9835h
 +
pagedGetPtr equ 9836h
 +
pagedPutPtr equ 9838h
 +
pagedBuf equ 983Ah
 +
;something equ 984Ah ;this is the top LCD row for a menu (usually 1)
 +
appErr1 equ 984Dh
 +
appErr2 equ 985Ah
 +
flashByte1 equ 9867h
 +
flashByte2 equ 9868h
 +
freeArcBlock equ 9869h
 +
arcPage equ 986Bh
 +
arcPtr equ 986Ch
 +
appRawKeyHandle equ 9870h
 +
appBackUpScreen equ 9872h
 +
customHeight equ 9B72h
 +
localLanguage equ 9B73h
 +
hookExecTemp equ 9B75h
 +
linkActivityHook equ 9B78h
 +
cursorHookPtr equ 9B7Ch
 +
libraryHookPtr equ 9B80h
 +
rawKeyHookPtr equ 9B84h
 +
getKeyHookPtr equ 9B88h
 +
homescreenHookPtr equ 9B8Ch
 +
windowHookPtr equ 9B90h
 +
graphHookPtr equ 9B94h
 +
yEqualsHookPtr equ 9B98h
 +
fontHookPtr equ 9B9Ch
 +
regraphHookPtr equ 9BA0h
 +
graphicsHook equ 9BA4h
 +
traceHookPtr equ 9BA8h
 +
parserHookPtr equ 9BACh
 +
appChangeHookPtr equ 9BB0h
 +
catalog1HookPtr equ 9BB4h
 +
helpHookPtr equ 9BB8h
 +
cxRedispHookPtr equ 9BBCh
 +
menuHookPtr equ 9BC0h
 +
catalog2HookPtr equ 9BC4h
 +
tokenHookPtr equ 9BC8h
 +
localizeHookPtr equ 9BCCh
 +
silentLinkHookPtr equ 9BD0h ;restartClr?
 +
USBActivityHookPtr equ 9BD4h
 +
baseAppBrTab2 equ 9C06h ;table of base pages for apps on page >= 20h; first 20h bytes are zeroes.
 +
USBcallbackPage equ 9C13h
 +
USBcallbackPtr equ 9C14h
 +
vendorID equ 9C16h
 +
productID equ 9C18h
 +
devReleaseNumber equ 9C1Ah
 +
oldSESpeed equ 9C21h
 +
calcPeripheralState equ 9C26h
 +
usb_dataWaitingCount equ 9C27h
 +
basePageTable2End equ 9C6Fh ;this is the last page
 +
port91hTemp equ 9C79h
 +
usb_dataExpectCount equ 9C80h
 +
offPageCallPage equ 9C83h ;temporarily stores off-page page and address
 +
offPageCallAddress equ 9C84h
 +
;something equ 9C86h ;used with SE link activity, values of 00h, 0FAh, 0FFh probably mean something
 +
;something equ 9C87h ;zero this to force the APPS menu to recache itself (this is always either 0, 1, or last app page, for some reason)
 +
;something equ 9C88h ;don't know, but it's 14 bytes and has to do with selecting stuff (if 9C87h is non-zero, this is zeroed out)
 +
;something equ 9C9Eh ;funky, this actually gets written to the certificate on non-83+ (11 bytes)
 +
SEspeed equ 9CAEh
 +
;something, table index equ 9CAFh
 +
;something equ 9CB0h
 +
;something equ 9CB1h ;table
 +
;something equ 9CCDh
 +
localTokStr equ 9D65h
 +
keyForStr equ 9D76h
 +
keyToStrRam equ 9D77h
 +
sedMonSp equ 9D88h ;small edit monitor SP
 +
bpSave equ 9D8Ah
 +
userMem equ 9D95h
 +
symTable equ 0FE66h
  
_Get_Tok_Strng EQU 4594h  ;***
+
;System Flags
_GetBaseVer EQU 4C6Fh
+
;----------------------------------------------------------------------
_GetCSC EQU 4018h
+
ioDelFlag equ 0h
_GetKey EQU 4972h
+
inDelete equ 0 ;1 = DELETE SCREEN
_GetLToOP1 EQU 4636h
+
_GetMToOP1 EQU 4615h
+
_GetSysInfo EQU 50DDh  ; v. 1.13+ only
+
_GetTokLen EQU 4591h  ;***
+
_GrBufClr EQU 4BD0h
+
_GrBufCpy EQU 486Ah
+
_GrphCirc EQU 47D7h
+
  
_HLTimes9 EQU 40F9h
+
trigFlags equ 0h ;Trigonometry mode settings
_HorizCmd EQU 48A6h
+
trigDeg equ 2 ;1=degrees, 0=radians
_HTimesL EQU 4276h
+
  
_IBounds EQU 4C60h
+
kbdFlags equ 0h ;Keyboard scan
_IBoundsFull EQU 4D98h
+
kbdSCR equ 3 ;1=scan code ready
_ILine EQU 47E0h
+
kbdKeyPress equ 4 ;1=key has been pressed
_IncLstSize EQU 4A29h
+
_InsertList EQU 4A2Ch
+
_InsertMem EQU 42F7h
+
_Int EQU 40A5h
+
_Intgr EQU 405Dh
+
_InvCmd EQU 48C7h
+
_InvertRect EQU 4D5Fh
+
_InvOP1S EQU 408Dh
+
_InvOP1SC EQU 408Ah
+
_InvOP2S EQU 4090h
+
_InvSub EQU 4063h
+
_IOffset EQU 4C63h
+
_IPoint EQU 47E3h
+
_IsA2ByteTok EQU 42A3h  ;***
+
_IsEditEmpty EQU 492Dh  ;***
+
  
_JError EQU 44D7h
+
doneFlags equ 0h ;display "Done"
_JErrorNo EQU 4000h
+
donePrgm equ 5 ;1=display "Done" after prgm
_JForceCmdNoChar EQU 4027h
+
;----------------------------------------------------------------------
_JForceGraphKey EQU 5005h
+
editFlags equ 1h
_JForceGraphNoKey EQU 5002h
+
editOpen equ 2 ;1=edit buffer is open
  
_KeyToString EQU 45CAh
+
ansFlags equ 1
 +
AnsScroll equ 3 ;1=answer can scroll, seems must be reset in order to move about edit buffer
  
_LCD_BUSY EQU 4051h ;***
+
monFlags equ 1h ;monitor flags
_LCD_DRIVERON equ 4978h  ;***
+
monAbandon equ 4 ;1=don't start any long process in put away (#715)
_LdHLind equ 4009h  ;***
+
;----------------------------------------------------------------------
_LineCmd EQU 48ACh
+
plotFlags equ 2h ;plot generation flags
_LnX EQU 40ABh
+
plotLoc equ 1 ;0=bkup & display, 1=display only
_Load_SFont EQU 4783h
+
plotDisp equ 2 ;1=plot is in display, 0=text in display, this also indicates whether graph is being shown or not
_LoadCIndPaged EQU 501Dh
+
_LoadDEIndPaged EQU 501Ah
+
_LoadPattern EQU 4CB1h
+
_LogX EQU 40AEh
+
  
_Max EQU 4057h
+
grfModeFlags equ 2h ;graph mode settings
_MemChk EQU 42E5h
+
grfFuncM equ 4 ;1=function graph
_MemClear EQU 4C30h
+
grfPolarM equ 5 ;1=polar graph
_MemSet EQU 4C33h
+
grfParamM equ 6 ;1=parametric graph
_Min EQU 4054h
+
grfRecurM equ 7 ;1=RECURSION graph
_Minus1 EQU 406Ch
+
;----------------------------------------------------------------------
_Mov10B EQU 415Ch
+
graphFlags equ 3h
_Mov18B EQU 47DAh
+
graphDraw equ 0 ;0=graph is valid, 1=redraw graph(dirty)
_Mov7B EQU 4168h
+
graphCursor equ 2
_Mov8B EQU 4165h
+
;----------------------------------------------------------------------
_Mov9B EQU 415Fh
+
grfDBFlags equ 4h
_Mov9OP1OP2 EQU 417Dh
+
grfDot equ 0 ;0=line, 1=dot
_Mov9OP2Cp EQU 410Bh
+
grfSimul equ 1 ;0=sequential, 1=simultaneous
_Mov9ToOP1 EQU 417Ah
+
grfGrid equ 2 ;0=no grid, 1=grid
_Mov9ToOP2 EQU 4180h
+
grfPolar equ 3 ;0=rectangular, 1=polar coordinates
_MovFrOP1 EQU 4183h
+
grfNoCoord equ 4 ;0=display coordinates, 1=off
 +
grfNoAxis equ 5 ;0=axis, 1=no axis
 +
grfLabel equ 6 ;0=off, 1=axis label
 +
;----------------------------------------------------------------------
 +
textFlags equ 5h ;Text output flags
 +
textEraseBelow equ 1 ;1=erase line below small char
 +
textScrolled equ 2 ;1=screen scrolled
 +
textInverse equ 3 ;1=display inverse bit-map
 +
textInsMode equ 4 ;0=overstrike, 1=insert mode
 +
;----------------------------------------------------------------------
 +
ParsFlag equ 6h ;PARSER flags
 +
;----------------------------------------------------------------------
 +
ParsFlag2 equ 7h ;PARSER flags
 +
numOP1 equ 0 ;1=RESULT IN OP1, 0=NO RESULT
 +
;----------------------------------------------------------------------
 +
newDispF equ 8h ;Derivative mode flags
 +
preClrForMode equ 0 ;1=HELP BLINK ON MODE SCREEN
 +
allowProgTokens equ 1 ;1=allow programming tokens to be parsed in BASIC programs
  
_NewLine EQU 452Eh  ;***
+
apdFlags equ 8h ;Automatic power-down
_NZIf83Plus EQU 50E0h  ; v. 1.13+ only
+
apdAble equ 2 ;1=APD enabled
 +
apdRunning equ 3 ;1=APD clock running
 +
apdWarmStart equ 4 ;1=calculator is turning on from APD or power loss
 +
;----------------------------------------------------------------------
 +
web_err_mask equ 60h
 +
;----------------------------------------------------------------------
 +
onFlags equ 9h ;on key flags
 +
parseInput equ 1 ;1=parse input when done
 +
onRunning equ 3 ;1=calculator is running
 +
onInterrupt equ 4 ;1=on key interrupt request
  
_OneVar EQU 4BA3h
+
statFlags equ 9h ;statistics flags
_OP1ExOP2 EQU 421Fh
+
;unknown equ 5 ;unknown
_OP1ExOP3 EQU 4219h
+
statsValid equ 6 ;1=stats are valid
_OP1ExOP4 EQU 421Ch
+
;----------------------------------------------------------------------
_OP1ExOP5 EQU 420Dh
+
fmtFlags equ 0Ah ;numeric format flags
_OP1ExOP6 EQU 4210h
+
fmtExponent equ 0 ;1=show exponent, 0=no exponent
_OP1ExpToDec EQU 4252h
+
fmtEng equ 1 ;1=engineering notion, 0=scientific
_OP1Set0 EQU 41BFh
+
fmtHex equ 2 ;1=hexadecimal
_OP1Set1 EQU 419Bh
+
fmtOct equ 3 ;1=octal
_OP1Set2 EQU 41A7h
+
fmtBin equ 4 ;1=binary
_OP1Set3 EQU 41A1h
+
_OP1Set4 EQU 419Eh
+
_OP1ToOP2 EQU 412Fh
+
_OP1ToOP3 EQU 4123h
+
_OP1ToOP4 EQU 4117h
+
_OP1ToOP5 EQU 4153h
+
_OP1ToOP6 EQU 4150h
+
_OP2ExOP4 EQU 4213h
+
_OP2ExOP5 EQU 4216h
+
_OP2ExOP6 EQU 4207h
+
_OP2Set0 EQU 41BCh
+
_OP2Set1 EQU 41ADh
+
_OP2Set2 EQU 41AAh
+
_OP2Set3 EQU 4198h
+
_OP2Set4 EQU 4195h
+
_OP2Set5 EQU 418Fh
+
_OP2Set60 EQU 4AB0h
+
_OP2Set8 EQU 418Ch
+
_OP2SetA EQU 4192h
+
_OP2ToOP1 EQU 4156h
+
_OP2ToOP3 EQU 416Eh
+
_OP2ToOP4 EQU 411Ah
+
_OP2ToOP5 EQU 414Ah
+
_OP2ToOP6 EQU 414Dh
+
_OP3Set0 EQU 41B9h
+
_OP3Set1 EQU 4189h
+
_OP3Set2 EQU 41A4h
+
_OP3ToOP1 EQU 413Eh
+
_OP3ToOP2 EQU 4120h
+
_OP3ToOP4 EQU 4114h
+
_OP3ToOP5 EQU 4147h
+
_OP4Set0 EQU 41B6h
+
_OP4Set1 EQU 4186h
+
_OP4ToOP1 EQU 4138h
+
_OP4ToOP2 EQU 411Dh
+
_OP4ToOP3 EQU 4171h
+
_OP4ToOP5 EQU 4144h
+
_OP4ToOP6 EQU 4177h
+
_OP5ExOP6 EQU 420Ah
+
_OP5Set0 EQU 41B3h
+
_OP5ToOP1 EQU 413Bh
+
_OP5ToOP2 EQU 4126h
+
_OP5ToOP3 EQU 4174h
+
_OP5ToOP4 EQU 412Ch
+
_OP5ToOP6 EQU 4129h
+
_OP6ToOP1 EQU 4135h
+
_OP6ToOP2 EQU 4132h
+
_OP6ToOP5 EQU 4141h
+
_OutputExpr EQU 4BB2h
+
  
_PagedGet EQU 5023h
+
numMode equ 0Ah
_ParseInp EQU 4A9Bh
+
fmtReal equ 5
_PDspGrph EQU 48A3h
+
fmtRect equ 6
_PixelTest EQU 48B5h
+
fmtPolar equ 7
_Plus1 EQU 4069h
+
_PointCmd EQU 48B2h
+
_PointOn EQU 4C39h
+
_PopMCplxO1 EQU 436Fh  ;***
+
_PopOP1 EQU 437Eh
+
_PopOP3 EQU 437Bh
+
_PopOP5 EQU 4378h
+
_PopReal EQU 4393h
+
_PopRealO1 EQU 4390h
+
_PopRealO2 EQU 438Dh
+
_PopRealO3 EQU 438Ah
+
_PopRealO4 EQU 4387h
+
_PopRealO5 EQU 4384h
+
_PopRealO6 EQU 4381h
+
_PosNo0Int EQU 422Eh
+
_PToR EQU 40F3h
+
_PushMCplxO1 EQU 43CFh  ;***
+
_PushMCplxO3 EQU 43C6h  ;***
+
_PushOP1 EQU 43C9h
+
_PushOP3 EQU 43C3h
+
_PushOP5 EQU 43C0h
+
_PushReal EQU 43BDh
+
_PushRealO1 EQU 43BAh
+
_PushRealO2 EQU 43B7h
+
_PushRealO3 EQU 43B4h
+
_PushRealO4 EQU 43B1h
+
_PushRealO5 EQU 43AEh
+
_PushRealO6 EQU 43ABh
+
_PutAway EQU 403ch  ;***
+
_PutC EQU 4504h
+
_PutMap EQU 4501h
+
_PutPS EQU 4510h
+
_PutPSB EQU 450dh  ;***
+
_PutS EQU 450Ah
+
_PutTokString EQU 4960h
+
_PutToL EQU 4645h
+
_PutToMat EQU 461Eh
+
  
_RandInit EQU 4B7Fh
+
realMode equ 5
_Random EQU 4B79h
+
rectMode equ 6
_Rcl_StatVar EQU 42DCh
+
polarMode equ 7
_RclAns EQU 4AD7h
+
; ;if Hex and Oct both = 1
_RclGDB2 EQU 47D1h
+
; ; then Bin=0 means >Frac
_RclN EQU 4ADDh
+
; ; Bin=1 means >DMS
_RclSysTok EQU 4AE6h
+
fmtBaseMask equ 00011100b ; mask to base flags
_RclVarSym EQU 4AE3h
+
fmtBaseShift equ  2 ; offset to base flags
_RclX EQU 4AE0h
+
_RclY EQU 4ADAh
+
_Rec1stByte EQU 4EFAh
+
_Rec1stByteNC EQU 4EFDh
+
_RecAByteIO EQU 4F03h
+
_RedimMat EQU 4A26h
+
_Regraph EQU 488Eh
+
_ReleaseBuffer EQU 4771h  ;***
+
_ReloadAppEntryVecs EQU 4C36h
+
_RestoreDisp EQU 4870h
+
_RName EQU 427Fh
+
_RndGuard EQU 409Fh
+
_RnFx EQU 40A2h
+
_Round EQU 40A8h
+
_RToD EQU 4078h
+
_RToP EQU 40F6h
+
_RunIndicOff EQU 4570h
+
_RunIndicOn EQU 456Dh
+
 
+
_SaveDisp EQU 4C7Bh
+
_SendAByte EQU 4EE5h
+
_SendVarCmd EQU 4A14h ;***
+
_SetAllPlots EQU 4FCCh
+
_SetExSpeed EQU 50BFh ; v. 1.13+ only
+
_SetFuncM EQU 4840h
+
_SetNorm_Vals EQU 49FCh
+
_SetParM EQU 4849h
+
_SetPolM EQU 4846h
+
_SetSeqM EQU 4843h
+
_SetTblGraphDraw EQU 4C00h
+
_SetupPagedPtr EQU 5020h
+
_SetXXOP1 EQU 478Ch
+
_SetXXOP2 EQU 478Fh
+
_SetXXXXOP2 EQU 4792h
+
_SFont_Len EQU 4786h
+
_Sin EQU 40BDh
+
_SinCosRad EQU 40BAh
+
_SinH EQU 40CFh
+
_SinHCosH EQU 40C6h
+
_SqRoot EQU 409Ch
+
_SrchVLstDn EQU 4F12h
+
_SrchVLstUp EQU 4F0Fh
+
_SStringLength EQU 4CB4h
+
_StMatEl EQU 4AE9h
+
_StoAns EQU 4ABFh
+
_StoGDB2 EQU 47CEh
+
_StoN EQU 4ACBh
+
_StoOther EQU 4AD4h
+
_StoR EQU 4AC5h
+
_StoRand EQU 4B7Ch
+
_StoSysTok EQU 4ABCh
+
_StoT EQU 4ACEh
+
_StoTheta EQU 4AC2h
+
_StoX EQU 4AD1h
+
_StoY EQU 4AC8h
+
_StrCopy EQU 44E3h
+
_StrLength EQU 4C3Fh 
+
 
+
_Tan EQU 40C3h
+
_TanH EQU 40C9h
+
_TanLnF EQU 48BBh
+
_TenX EQU 40B7h
+
_ThetaName EQU 427Ch
+
_ThreeExec EQU 4675h
+
_Times2 EQU 4066h
+
_TimesPt5 EQU 407Eh
+
_TName EQU 428Eh
+
_ToFrac EQU 4657h
+
_Trunc EQU 4060h
+
_TwoVarSet EQU 50D4h ; v. 1.13+ only
+
 
+
_UCLineS EQU 4795h
+
_UnLineCmd EQU 48AFh
+
_UnOPExec EQU 4672h
+
 
+
_VertCmd EQU 48A9h
+
_VPutMap EQU 455Eh
+
_VPutS EQU 4561h
+
_VPutSN EQU 4564h
+
_VtoWHLDE EQU 47FBh
+
 
+
 
+
_XftoI EQU 4804h
+
_Xitof EQU 47FEh
+
_XName EQU 4288h
+
_XRootY EQU 479Eh
+
 
+
_YftoI EQU 4801h
+
_YName EQU 428Bh
+
_YToX EQU 47A1h
+
 
+
_Zero16D EQU 41B0h
+
_ZeroOP EQU 41CEh
+
_ZeroOP1 EQU 41C5h
+
_ZeroOP2 EQU 41C8h
+
_ZeroOP3 EQU 41CBh
+
_ZmDecml EQU 484Fh
+
_ZmFit EQU 485Bh
+
_ZmInt EQU 484Ch
+
_ZmPrev EQU 4852h
+
_ZmSquare EQU 485Eh
+
_ZmStats EQU 47A4h
+
_ZmTrig EQU 4861h
+
_ZmUsr EQU 4855h
+
_ZooDefault EQU 4867h
+
 
;
 
;
;======================================================================
+
;       CHECK IF THESE ARE USED BY NUMFORM,
;          System-defined RAM Variable Address Equates
+
;======================================================================
+
 
;
 
;
 +
;              equ  6
 +
;              equ  7
 +
;----------------------------------------------------------------------
 +
fmtOverride equ 0Bh ;copy of fmtFlags with conversion override
 +
;----------------------------------------------------------------------
 +
fmtEditFlags equ 0Ch ;numeric editing flags
 +
fmtEdit equ 0 ;1=format number for editing
  
ramStart            EQU  8000h
+
curFlags equ 0Ch ;Cursor
appData              EQU  8000h
+
curAble equ 2 ;1=cursor flash is enabled
ramCode              EQU  8100h
+
curOn equ 3 ;1=cursor is showing
ramCodeEnd          EQU  822Fh
+
curLock equ 4 ;1=cursor is locked off
baseAppBrTab        EQU  8230h
+
bootTemp            EQU  8251h
+
appSearchPage        EQU  82A3h
+
tempSwapArea        EQU  82A5h
+
appID                EQU  838Dh
+
ramReturnData        EQU  83EDh
+
arcInfo              EQU  83EEh
+
savedArcInfo        EQU  8406h
+
appInfo              EQU  8432h
+
appBank_jump        EQU  843Ch
+
appPage              EQU  843Eh
+
kbdScanCode          EQU  843Fh
+
kbdKey              EQU  8444h
+
kbdGetKy            EQU  8445h
+
keyExtend            EQU  8446h
+
contrast            EQU  8447h
+
apdSubTimer          EQU  8448h
+
apdTimer            EQU  8449h
+
curTime              EQU  844Ah
+
curRow              EQU  844Bh
+
curCol              EQU  844Ch
+
curOffset            EQU  844Dh
+
curUnder            EQU  844Eh
+
curY                EQU  844Fh
+
curType              EQU  8450h
+
curXRow              EQU  8451h
+
prevDData            EQU  8452h
+
lFont_record        EQU  845Ah
+
sFont_record        EQU  8462h
+
tokVarPtr            EQU  846Ah
+
tokLen              EQU  846Ch
+
indicMem            EQU  846Eh
+
indicCounter        EQU  8476h
+
indicBusy            EQU  8477h
+
OP1                  EQU  8478h
+
OP1M                EQU  847Ah
+
OP2                  EQU  8483h
+
OP2M                EQU  8485h
+
OP2EXT              EQU  848Ch
+
OP3                  EQU  848Eh
+
OP3M                EQU  8490h
+
OP4                  EQU  8499h
+
OP4M                EQU  849Bh
+
OP5                  EQU  84A4h
+
OP5M                EQU  84A6h
+
OP6                  EQU  84AFh
+
OP6M                EQU  84B1h
+
OP6EXT              EQU  84B8h
+
progToEdit          EQU  84BFh
+
nameBuff            EQU  84C7h
+
equ_edit_save        EQU  84D2h
+
iMathPtr1            EQU  84D3h
+
iMathPtr2            EQU  84D5h
+
iMathPtr3            EQU  84D7h
+
iMathPtr4            EQU  84D9h
+
iMathPtr5            EQU  84DBh
+
chkDelPtr1          EQU  84DDh
+
chkDelPtr2          EQU  84DFh
+
insDelPtr            EQU  84E1h
+
upDownPtr            EQU  84E3h
+
fOutDat              EQU  84E5h
+
asm_data_ptr1        EQU  84EBh
+
asm_data_ptr2        EQU  84EDh
+
asm_sym_ptr1        EQU  84EFh
+
asm_sym_ptr2        EQU  84F1h
+
asm_ram              EQU  84F3h
+
asm_ind_call        EQU  8507h
+
textShadow          EQU  8508h
+
textShadCur          EQU  8588h
+
textShadTop          EQU  858Ah
+
textShadAlph        EQU  858Bh
+
textShadIns          EQU  858Ch
+
cxMain              EQU  858Dh
+
cxPPutAway          EQU  858Fh
+
cxPutAway            EQU  8591h
+
cxRedisp            EQU  8593h
+
cxErrorEP            EQU  8595h
+
cxSizeWind          EQU  8597h
+
cxPage              EQU  8599h
+
cxCurApp            EQU  859Ah
+
cxPrev              EQU  859Bh
+
monQH                EQU  85AAh
+
monQT                EQU  85ABh
+
monQueue            EQU  85ACh
+
onSP                EQU  85BCh
+
promptRow            EQU  85C0h
+
promptCol            EQU  85C1h
+
promptIns            EQU  85C2h
+
promptShift          EQU  85C3h
+
promptRet            EQU  85C4h
+
promptValid          EQU  85C6h
+
promptTop            EQU  85C8h
+
promptCursor        EQU  85CAh
+
promptTail          EQU  85CCh
+
promptBtm            EQU  85CEh
+
varType              EQU  85D0h
+
varCurrent          EQU  85D1h
+
varClass            EQU  85D9h
+
menuActive          EQU  85DCh
+
menuAppDepth        EQU  85DDh
+
MenuCurrent          EQU  85DEh
+
ProgCurrent          EQU  85E8h
+
userMenuSA          EQU  85FEh
+
ioPrompt            EQU  865Fh
+
dImageWidth          EQU  8660h
+
RectFillPHeight      equ 8660h
+
RectFillPWidth      equ 8661h
+
RectFillPattern      equ 8662h
+
ioFlag              EQU  8670h
+
sndRecState          EQU  8672h
+
ioErrState          EQU  8673h
+
header              EQU  8674h
+
ioData              EQU  867Dh
+
ioNewData            EQU  8689h
+
bakHeader            EQU  868Bh
+
penCol              EQU  86D7h
+
penRow              EQU  86D8h
+
rclQueue            EQU  86D9h
+
rclQueueEnd          EQU  86DBh
+
errNo                EQU  86DDh
+
errSP                EQU  86DEh
+
errOffset            EQU  86E0h
+
saveSScreen          EQU  86ECh
+
bstCounter          EQU  89EEh
+
flags                EQU  89F0h
+
statVars            EQU  8A3Ah
+
anovaf_vars          EQU  8C17h
+
infVars              EQU  8C4Dh
+
curGStyle            EQU  8D17h
+
curGY                EQU  8D18h
+
curGX                EQU  8D19h
+
curGY2              EQU  8D1Ah
+
curGX2              EQU  8D1Bh
+
freeSaveY            EQU  8D1Ch
+
freeSaveX            EQU  8D1Dh
+
XOffset              EQU  8DA1h
+
YOffset              EQU  8DA2h
+
lcdTallP            EQU  8DA3h
+
pixWideP            EQU  8DA4h
+
pixWide_m_1          EQU  8DA5h
+
pixWide_m_2          EQU  8DA6h
+
lastEntryPTR        EQU  8DA7h
+
lastEntryStk        EQU  8DA9h
+
numLastEntries      EQU  8E29h
+
currLastEntry        EQU  8E2Ah
+
curInc              EQU  8E67h
+
uXmin                EQU  8E7Eh
+
uXmax                EQU  8E87h
+
uXscl                EQU  8E90h
+
uYmin                EQU  8E99h
+
uYmax                EQU  8EA2h
+
uYscl                EQU  8EABh
+
uThetMin            EQU  8EB4h
+
uThetMax            EQU  8EBDh
+
uThetStep            EQU  8EC6h
+
uTmin                EQU  8ECFh
+
uTmax                EQU  8ED8h
+
uTStep              EQU  8EE1h
+
uPlotStart          EQU  8EEAh
+
unMax                EQU  8EF3h
+
uu0                  EQU  8EFCh
+
uv0                  EQU  8F05h
+
unMin                EQU  8F0Eh
+
uu02                EQU  8F17h
+
uv02                EQU  8F20h
+
uw0                  EQU  8F29h
+
uPlotStep            EQU  8F32h
+
uXres                EQU  8F3Bh
+
uw02                EQU  8F44h
+
Xmin                EQU  8F50h
+
Xmax                EQU  8F59h
+
Xscl                EQU  8F62h
+
Ymin                EQU  8F6Bh
+
Ymax                EQU  8F74h
+
Yscl                EQU  8F7Dh
+
ThetaMin            EQU  8F86h
+
ThetaMax            EQU  8F8Fh
+
ThetaStep            EQU  8F98h
+
TminPar              EQU  8FA1h
+
TmaxPar              EQU  8FAAh
+
Tstep                EQU  8FB3h
+
PlotStart            EQU  8FBCh
+
nMax                EQU  8FC5h
+
u0                  EQU  8FCEh
+
v0                  EQU  8FD7h
+
nMin                EQU  8FE0h
+
u02                  EQU  8FE9h
+
v02                  EQU  8FF2h
+
w0                  EQU  8FFBh
+
PlotStep            EQU  9004h
+
XresO                EQU  900Dh
+
w02                  EQU  9016h
+
un1                  EQU  901Fh
+
un2                  EQU  9028h
+
vn1                  EQU  9031h
+
vn2                  EQU  903Ah
+
wn1                  EQU  9043h
+
wn2                  EQU  904Ch
+
fin_N                EQU  9055h
+
fin_I                EQU  905Eh
+
fin_PV              EQU  9067h
+
fin_PMT              EQU  9070h
+
fin_FV              EQU  9079h
+
fin_PY              EQU  9082h
+
fin_CY              EQU  908Bh
+
cal_N                EQU  9094h
+
cal_I                EQU  909Dh
+
cal_PV              EQU  90A6h
+
cal_PMT              EQU  90AFh
+
cal_FV              EQU  90B8h
+
cal_PY              EQU  90C1h
+
smallEditRAM        EQU  90D3h
+
XFact                EQU  913Fh
+
YFact                EQU  9148h
+
Xres_int            EQU  9151h
+
deltaX              EQU  9152h
+
deltaY              EQU  915Bh
+
shortX              EQU  9164h
+
shortY              EQU  916Dh
+
lower                EQU  9176h
+
upper                EQU  917Fh
+
XOutSym              EQU  918Ch
+
XOutDat              EQU  918Eh
+
YOutSym              EQU  9190h
+
YOutDat              EQU  9192h
+
inputSym            EQU  9194h
+
inputDat            EQU  9196h
+
prevData            EQU  9198h
+
TblMin              EQU  92B3h
+
TblStep              EQU  92BCh
+
P1Type     EQU  92C9h
+
SavX1List     EQU  92CAh
+
SavY1List     EQU  92CFh
+
SavF1List     EQU  92D4h
+
P1FrqOnOff     EQU  92D9h
+
P2Type     EQU  92DAh
+
SavX2List     EQU  92DBh
+
SavY2List     EQU  92E0h
+
SavF2List     EQU  92E5h
+
P2FrqOnOff     EQU  92EAh
+
P3Type     EQU  92EBh
+
SavX3List     EQU  92ECh
+
SavY3List     EQU  92F1h
+
SavF3List     EQU  92F6h
+
P3FrqOnOff     EQU  92FBh
+
plotSScreen          EQU  9340h
+
seed1                EQU  9640h
+
seed2                EQU  9649h
+
cmdShadow            EQU  966Eh
+
cmdShadCur          EQU  96EEh
+
cmdShadAlph          EQU  96F0h
+
cmdShadIns          EQU  96F1h
+
cmdCursor            EQU  96F2h
+
editTop              EQU  96F4h
+
editCursor          EQU  96F6h
+
editTail            EQU  96F8h
+
editBtm              EQU  96FAh
+
editSym              EQU  9706h
+
editDat              EQU  9708h
+
winTop              EQU  97A5h
+
winBtm              EQU  97A6h
+
winLeftEdge          EQU  97A7h
+
winLeft              EQU  97A8h
+
winAbove            EQU  97AAh
+
winRow              EQU  97ACh
+
winCol              EQU  97AEh
+
fmtDigits            EQU  97B0h
+
fmtString            EQU  97B1h
+
fmtConv              EQU  97F2h
+
fmtLeft              EQU  9804h
+
fmtIndex            EQU  9806h
+
fmtMatSym            EQU  9808h
+
fmtMatMem            EQU  980Ah
+
EQS                  EQU  980Ch
+
tSymPtr1            EQU  9818h
+
tSymPtr2            EQU  981Ah
+
chkDelPtr3          EQU  981Ch
+
chkDelPtr4          EQU  981Eh
+
tempMem              EQU  9820h
+
fpBase              EQU  9822h
+
FPS                  EQU  9824h
+
OPBase              EQU  9826h
+
OPS                  EQU  9828h
+
pTempCnt            EQU  982Ah
+
cleanTmp            EQU  982Ch
+
pTemp                EQU  982Eh
+
progPtr              EQU  9830h
+
newDataPtr          EQU  9832h
+
pagedCount          EQU  9834h
+
pagedPN              EQU  9835h
+
pagedGetPtr          EQU  9836h
+
pagedPutPtr          EQU  9838h
+
pagedBuf            EQU  983Ah
+
appErr1              EQU  984Dh
+
appErr2              EQU  985Ah
+
flashByte1          EQU  9867h
+
flashByte2          EQU  9868h
+
freeArcBlock        EQU  9869h
+
arcPage              EQU  986Bh
+
arcPtr              EQU  986Ch
+
appRawKeyHandle      EQU  9870h
+
appBackUpScreen      EQU  9872h
+
customHeight        EQU  9B72h
+
localLanguage        EQU  9B73h
+
cursorHookPtr        EQU  9B7Ch
+
rawKeyHookPtr        EQU  9B84h
+
getKeyHookPtr        EQU  9B88h
+
fontHookPtr          EQU  9B9Ch
+
restartClr          EQU  9BD0h
+
localTokStr          EQU  9D65h
+
keyForStr            EQU  9D76h
+
keyToStrRam          EQU  9D77h
+
sedMonSp            EQU  9D88h
+
bpSave              EQU  9D8Ah
+
userMem              EQU  9D95h
+
symTable            EQU  0FE66h
+
  
;SYMBOLIC_DEBUG_END
+
cmdFlags equ 0Ch ;command editor flags
;
+
cmdVirgin equ 5 ;1=nothing has been typed in cmd bfr
;======================================================================
+
;----------------------------------------------------------------------
; Language localization equates
+
appFlags equ 0Dh ;application flags
;======================================================================
+
appWantIntrpt equ 0 ;1=want ON key interrupts
LANG_NEUTRAL                      equ   00h
+
appTextSave equ 1 ;1=save characters in textShadow
LANG_DANISH                        equ   06h
+
appAutoScroll equ 2 ;1=auto-scroll text on last line
LANG_DUTCH                        equ   13h
+
appMenus equ 3 ;1=process keys that bring up menus, 0=check Lock menu flag
LANG_ENGLISH                      equ   09h
+
appLockMenus equ 4 ;1=ignore menu keys, 0=switch to home screen and bring up menu
LANG_FINNISH                      equ   0bh
+
appCurGraphic equ 5 ;1=graphic cursor
LANG_FRENCH                        equ   0ch
+
appCurWord equ 6 ;1=text cursor covers entire word
LANG_GERMAN                        equ   07h
+
appExit equ 7 ;1=application handles [EXIT] key itself
LANG_HUNGARIAN                    equ  0eh
+
LANG_ITALIAN                      equ  10h
+
LANG_NORWEGIAN                    equ  14h
+
LANG_POLISH                        equ  15h
+
LANG_PORTUGUESE                    equ  16h
+
LANG_SPANISH                      equ  0ah
+
LANG_SWEDISH                      equ  1dh
+
  
SUBLANG_NEUTRAL                    equ   00h  ; language neutral
+
appWantIntrptF equ 1<<appWantIntrpt
SUBLANG_DUTCH                    equ   01h  ; Dutch
+
appTextSaveF equ 1<<appTextSave
SUBLANG_ENGLISH_US              equ   01h  ; English (USA)
+
appAutoScrollF equ 1<<appAutoScroll
SUBLANG_FRENCH                  equ   01h  ; French
+
appMenusF equ 1<<appMenus
SUBLANG_GERMAN                  equ   01h  ; German
+
appLockMenusF equ 1<<appLockMenus
SUBLANG_ITALIAN                  equ   01h  ; Italian
+
appCurGraphicF equ 1<<appCurGraphic
SUBLANG_NORWEGIAN_BOKMAL        equ   01h  ; Norwegian (Bokmal)
+
appCurWordF equ 1<<appCurWord
SUBLANG_PORTUGUESE              equ   02h  ; Portuguese
+
appExitF equ 1<<appExit
SUBLANG_SPANISH                  equ   01h  ; Spanish (Castilian)
+
;----------------------------------------------------------------------
 +
rclFlag equ 0Eh ;OS recall queue flags
 +
enableQueue equ 7 ;1 = enable recall queue
 +
;----------------------------------------------------------------------
 +
seqFlags equ 0Fh ;Sequential Graph flags
 +
webMode equ 0 ;0 = NORMAL SEQ MODE, 1 = WEB MODE
 +
webVert equ 1
 +
sequv equ 2 ;U vs V
 +
seqvw equ 3 ;V vs W
 +
sequw equ 4 ;U vs W
 +
;----------------------------------------------------------------------
 +
promptFlags equ 11h ;prompt line flags
 +
promptEdit equ 0 ;1=editing in prompt buffer
 +
;----------------------------------------------------------------------
 +
indicFlags equ 12h ;Indicator flags
 +
indicRun equ 0 ;1=run indicator ON
 +
indicInUse equ 1 ;indicator save area in use=1, free=0 ;resetting will disable 2nd while in _getkey
 +
indicOnly equ 2 ;interrupt handler only checks run indicator
  
;======================================================================
+
shiftFlags equ 12h ;[2nd] and [ALPHA] flags
;           System and State Flags
+
shift2nd equ 3 ;1=[2nd] has been pressed
;======================================================================
+
shiftAlpha equ 4 ;1=[ALPHA] has been pressed
;
+
shiftLwrAlph equ 5 ;1=lower case, 0=upper case
 
+
shiftALock equ 6 ;1=alpha lock has been pressed
trigFlags EQU  0 ;Trigonometry mode settings
+
shiftKeepAlph equ 7 ;1=cannot cancel alpha shift
trigDeg EQU    2 ; 1=degrees, 0=radians
+
;----------------------------------------------------------------------
 
+
tblFlags equ 13h ;table flags.
kbdFlags EQU  0 ;Keyboard scan
+
autoFill equ 4 ;1=prompt, 0=fillAuto
kbdSCR EQU    3 ; 1=scan code ready
+
autoCalc equ 5 ;1=prompt, 0=CalcAuto
kbdKeyPress EQU    4 ; 1=key has been pressed
+
reTable equ 6 ;0=table is okay, 1=must recompute table.
 +
;----------------------------------------------------------------------
 +
sGrFlags equ 14h
 +
grfSplit equ 0 ;1=Split Graph, 0=Normal
 +
vertSplit equ 1 ;1=Vertical (left-right) Split
 +
grfSChanged equ 2 ;1=Graph just changed Split <-> normal
 +
grfSplitOverride equ 3 ;1 = ignore graph split flag if set
 +
write_on_graph equ 4 ;1 = TEXT OR EQU WRITING TO GRAPH SCREEN
 +
g_style_active equ 5 ;1 = GRAPH STYLES ARE ENABLED, USE THEM
 +
cmp_mod_box equ 6 ;1 = DOING MOD BOX PLOT COMPUTATION
 +
textWrite equ 7
 +
;----------------------------------------------------------------------
 +
newIndicFlags equ 15h
 +
extraIndic equ 0
 +
saIndic equ 1
 +
;3 has something to do with stat/list editor
 +
;----------------------------------------------------------------------
 +
interruptFlags equ 16h
 +
secondTimerEnabled equ 0 ;1 = second hardware timer enabled
 +
batteryFlags equ 16h
 +
batteriesGood equ 2 ;1 = batteries good, I think this being reset will force the calc to shut off, used in USB error handler
 +
;----------------------------------------------------------------------
 +
smartFlags equ 17h
 +
smarter_mask equ 3
 +
smarter_test equ 1
 +
smartGraph equ 0
 +
smartGraph_inv equ 1
 +
;----------------------------------------------------------------------
 +
traceFlags equ 18h
 +
grfExpr equ 0 ;set to hide expression while tracing
 +
;----------------------------------------------------------------------
 +
;There is a flag 19h.
 +
;----------------------------------------------------------------------
 +
statFlags2 equ 1Ah
 +
statDiagnosticsOn equ 0 ;1 = stat diagnostics on
 +
;----------------------------------------------------------------------
 +
linkFlags equ 1Bh
 +
IDis95h equ 1 ;1 = link routines use machine ID 95h (CBL)
 +
IDis82h equ 2 ;1 = link routines use machine ID 82h (TI-82)
 +
IDis83h equ 3 ;1 = link routines use machine ID 83h (TI-83)
 +
IDis03h equ 4 ;1 = link routines use machine ID 03h (PC to TI-83)
 +
USBenabled equ 5 ;1 = use USB port first, or at least try to
 +
;----------------------------------------------------------------------
 +
;There is a flag 1Ch (stats-related).
 +
;----------------------------------------------------------------------
 +
;There is a flag 1Dh.
 +
;----------------------------------------------------------------------
 +
;There is a flag 1Eh.
 +
;----------------------------------------------------------------------
 +
varTypeMask equ 1Fh ;is this a flag byte? yes
 +
varGraphRef equ 6
 +
;----------------------------------------------------------------------
 +
graphFlags2 equ 1Fh
 +
splitOverride equ 3 ;0 = force full screen with ParseInp, or something
 +
;----------------------------------------------------------------------
 +
asm_Flag1 equ 21h ;ASM CODING
 +
asm_Flag2 equ 22h ;ASM CODING
 +
asm_Flag3 equ 23h ;ASM CODING
 +
;----------------------------------------------------------------------
 +
arcFlag equ 24h
 +
checkBatteryLevelFirst equ 0 ;1 = check battery levels in Arc_Unarc first and throw error if low
  
doneFlags EQU  0 ;display "Done"
+
getSendFlg equ 24h
donePrgm EQU    5 ; 1=display "Done" after prgm
+
comFailed equ 1 ;1 = Get/Send Communication Failed
  
ioDelFlag EQU  0
+
selfTestFlag equ 24h
inDelete EQU    0 ;1 = DELETE SCREEN
+
resetOnPowerOn equ 2 ;1 = Force RAM reset when APD disabled on next power on
  
 +
appLwrCaseFlag equ 24h
 +
lwrCaseActive equ 3
 
;----------------------------------------------------------------------
 
;----------------------------------------------------------------------
editFlags EQU  1
+
contextFlags equ 25h
editOpen EQU    2 ; 1=edit buffer is open
+
nocxPutAway equ 5 ;1 = do not call cxPutAway routine
 +
;----------------------------------------------------------------------
 +
groupFlags equ 26h ;used temporarily in Arc_Unarc
 +
inGroup equ 1 ;1 = IN GROUP CONTEXT
 +
noCompletionByte equ 2 ;1 = do not write 0FCh when calling Arc_Unarc, leave as 0FEh
 +
noDataWrite equ 3 ;1 = do not write data when calling Arc_Unarc, nor size bytes
 +
writeSizeBytesOnly equ 5 ;1 = only write size bytes when calling Arc_Unarc
 +
;----------------------------------------------------------------------
 +
;There is a flag 27h.
 +
;----------------------------------------------------------------------
 +
APIFlg equ 28h
 +
appAllowContext equ 0          ;App wants context changes to happen
 +
;1 set to ignore a key after returning from rawkeyhook
 +
;2 set to send this key back?
 +
;3
 +
appRunning equ 4 ;app is currently running
 +
;5
 +
;6
 +
appRetKeyOff equ 7 ;1 = GetKey returns kOff when [2nd]+[ON] pressed
 +
;----------------------------------------------------------------------
 +
apiFlg2 equ 29h
 +
;----------------------------------------------------------------------
 +
apiFlg3 equ 2Ah
 +
;1 set means using small font?
 +
;----------------------------------------------------------------------
 +
apiFlg4 equ 2Bh
 +
cellOverride equ 1 ;use cell override
 +
fullScrnDraw equ 2 ;DRAW INTO LAST ROW/COL OF SCREEN
 +
;----------------------------------------------------------------------
 +
mouseFlag1 equ 2Ch
 +
;----------------------------------------------------------------------
 +
mouseFlag2 equ 2Dh ;might want to keep this always reset
 +
;----------------------------------------------------------------------
 +
xapFlag0 equ 2Eh ;external app flags, do not use 0,(iy+2Eh) (used by mouse routines)
 +
xapFlag1 equ 2Fh
 +
xapFlag2 equ 30h
 +
xapFlag3 equ 31h
 +
;----------------------------------------------------------------------
 +
fontFlags equ 32h
 +
fracDrawLFont equ 2
 +
fracTallLFont equ 3
 +
customFont equ 7
 +
;----------------------------------------------------------------------
 +
hookflags1 equ 33h ;also scriptFlag, rclFlag2, backGroundLink
 +
alt_On equ 0 ;run ONSCRPT at startup
 +
alt_Off equ 1 ;run OFFSCRPT at shutdown
 +
useRclQueueEnd equ 2 ;1 = external mode
 +
ignoreBPLink equ 3 ;1 = override flag for link activity hook
 +
bPLinkOn equ 4 ;1 = link activity hook active
 +
enableKeyEcho equ 5 ;1 = sends keypresses back to connected calc as remote control packets (with GetCSC vs. GetKey codes...really dumb, TI)
 +
noTempDelete equ 6 ;1 = do not delete temporary programs at homescreen
 +
;----------------------------------------------------------------------
 +
hookflags2 equ 34h ;also sysHookFlg
 +
getCSCHookActive equ 0 ;1 = GetCSC hook active
 +
libraryHookActive equ 1 ;1 = library hook active
 +
;2 This is set in the OS, but never referenced and the code is never executed
 +
homescreenHookActive equ 4 ;1 = homescreen hook active
 +
rawKeyHookActive equ 5 ;1 = raw key hook active
 +
catalog2HookActive equ 6 ;1 = catalog 2 hook active
 +
cursorHookActive equ 7 ;1 = cursor hook active
 +
;----------------------------------------------------------------------
 +
hookflags3 equ 35h ;also sysHookFlg1
 +
tokenHookActive equ 0 ;1 = token hook active
 +
localizeHookActive equ 1 ;1 = localize hook active
 +
windowHookActive equ 2 ;1 = window hook active
 +
graphHookActive equ 3 ;1 = graph hook active
 +
yEquHookActive equ 4 ;1 = Y= hook active
 +
fontHookActive equ 5 ;1 = font hook active
 +
regraphHookActive equ 6 ;1 = regraph hook active
 +
drawingHookActive equ 7 ;1 = drawing hook active
 +
;----------------------------------------------------------------------
 +
hookflags4 equ 36h ;also sysHookFlag2
 +
traceHookActive equ 0 ;1 = trace hook active
 +
parserHookActive equ 1 ;1 = parser hook active
 +
appChangeHookActive equ 2 ;1 = app change hook active
 +
catalog1HookActive equ 3 ;1 = catalog 1 hook active
 +
helpHookActive equ 4 ;1 = help hook active
 +
cxRedispHookActive equ 5 ;1 = cxRedisp hook active
 +
menuHookActive equ 6 ;1 = menu hook active
 +
silentLinkHookActive equ 7 ;1 = silent link hook active
 +
;----------------------------------------------------------------------
 +
;hookflags2Override equ 37h ;set corresponding bit to kill iy+35h hook when executing app
 +
;----------------------------------------------------------------------
 +
;hookflags3Override equ 38h ;set corresponding bit to kill iy+36h hook when executing app
 +
;----------------------------------------------------------------------
 +
;hookflags4Override equ 39h ;set corresponding bit to kill iy+37h hook when executing app
 +
;----------------------------------------------------------------------
 +
;hookflags5 equ 3Ah
 +
usbActivityHookActive equ 0 ;1 = USB activity hook active
 +
;----------------------------------------------------------------------
 +
plotFlag3 equ 3Ch 
 +
bufferOnly equ 0
 +
useFastCirc equ 4
 +
;----------------------------------------------------------------------
 +
dBKeyFlags equ 3Dh
 +
keyDefaultsF equ 6 ;1 = GetKey returns extended keycodes with TI-Keyboard
 +
;----------------------------------------------------------------------
 +
silentLinkFlags equ 3Eh
 +
silentLinkActive equ 0 ;1 = SE/84+ silent link is active
  
monFlags EQU  1 ;monitor flags
+
extraHookFlags equ 3Eh
monAbandon EQU    4 ; 1=don't start any long process
+
checkCatalog2HookVer equ 3 ;1 = check catalog 2 hook's version before executing it (and error or take other action if so)
; in put away (#715)
+
openLibActive equ 4 ;1 = OpenLib( was successfully called on a Flash application (ExecLib will error if zero)
 +
;5
 +
;----------------------------------------------------------------------
 +
clockFlags equ 3Fh
 +
notMDYMode equ 0 ;0 = M/D/Y format
 +
isYMDMode equ 1 ;1 = Y/M/D format
 +
is24Hour equ 2 ;1 = clock in 24 hour mode
 +
inAfternoon equ 3 ;1 = current time is in afternoon (PM) (I think)
 +
useTokensInString equ 4 ;1 = use tokens instead of characters when displaying clock as string (for getTmStr and getDtStr vs. MODE screen) (keep this reset)
 +
displayClock equ 5 ;1 = display clock (this is set every second, reset otherwise)
 +
clockOn equ 6 ;1 = clock on
 +
;----------------------------------------------------------------------
 +
USBFlag1 equ 40h
 +
;1 Reset in I/O receiving code, doesn't seem to be used anywhere else
 +
usbReceiveZone1 equ 2 ;1 = receive to RAM pages 3/2 ("zone 1")
 +
;----------------------------------------------------------------------
 +
USBFlag2 equ 41h
 +
;0
 +
;2
 +
noUSBHostInit equ 3 ;1 = _InitSpecificUSBDevice must fail
 +
usbDataWaiting equ 5
 +
;6
 +
;7
 +
;----------------------------------------------------------------------
 +
USBFlag3 equ 42h
 +
;----------------------------------------------------------------------
 +
USBFlag4 equ 43h
 +
usbTimeoutError equ 0 ;1 = USB timeout error (crystal timer expired)
 
;----------------------------------------------------------------------
 
;----------------------------------------------------------------------
plotFlags EQU  2 ;plot generation flags
 
plotLoc EQU    1 ; 0=bkup & display, 1=display only
 
plotDisp EQU    2 ; 1=plot is in display, 0=text in display
 
  
 +
;Character Font Equates 
 +
;-------------------------------
 +
LrecurN equ 001h
 +
LrecurU equ 002h
 +
LrecurV equ 003h
 +
LrecurW equ 004h
 +
Lconvert equ 005h
 +
LsqUp equ 006h
 +
LsqDown equ 007h
 +
Lintegral equ 008h
 +
Lcross equ 009h
 +
LboxIcon equ 00Ah
 +
LcrossIcon equ 00Bh
 +
LdotIcon equ 00Ch
 +
LsubT  equ 00Dh ;small capital T for parametric mode.
 +
LcubeR  equ 00Eh ;slightly different 3 for cubed root.
 +
LhexF equ 00Fh
 +
Lroot equ 010h
 +
Linverse equ 011h
 +
Lsquare equ 012h
 +
Langle equ 013h
 +
Ldegree equ 014h
 +
Lradian equ 015h
 +
Ltranspose equ 016h
 +
LLE equ 017h
 +
LNE equ 018h
 +
LGE equ 019h
 +
Lneg equ 01Ah
 +
Lexponent equ 01Bh
 +
Lstore equ 01Ch
 +
Lten equ 01Dh
 +
LupArrow equ 01Eh
 +
LdownArrow equ 01Fh
 +
Lspace equ 020h
 +
Lexclam equ 021h
 +
Lquote equ 022h
 +
Lpound equ 023h
 +
Lfourth equ 024h
 +
Lpercent equ 025h
 +
Lampersand equ 026h
 +
Lapostrophe equ 027h
 +
LlParen equ 028h
 +
LrParen equ 029h
 +
Lasterisk equ 02Ah
 +
LplusSign equ 02Bh
 +
Lcomma equ 02Ch
 +
Ldash equ 02Dh
 +
Lperiod equ 02Eh
 +
Lslash equ 02Fh
 +
L0 equ 030h
 +
L1 equ 031h
 +
L2 equ 032h
 +
L3 equ 033h
 +
L4 equ 034h
 +
L5 equ 035h
 +
L6 equ 036h
 +
L7 equ 037h
 +
L8 equ 038h
 +
L9 equ 039h
 +
Lcolon equ 03Ah
 +
Lsemicolon equ 03Bh
 +
LLT equ 03Ch
 +
LEQ equ 03Dh
 +
LGT equ 03Eh
 +
Lquestion equ 03Fh
 +
LatSign equ 040h
 +
LcapA equ 041h
 +
LcapB equ 042h
 +
LcapC equ 043h
 +
LcapD equ 044h
 +
LcapE equ 045h
 +
LcapF equ 046h
 +
LcapG equ 047h
 +
LcapH equ 048h
 +
LcapI equ 049h
 +
LcapJ equ 04Ah
 +
LcapK equ 04Bh
 +
LcapL equ 04Ch
 +
LcapM equ 04Dh
 +
LcapN equ 04Eh
 +
LcapO equ 04Fh
 +
LcapP equ 050h
 +
LcapQ equ 051h
 +
LcapR equ 052h
 +
LcapS equ 053h
 +
LcapT equ 054h
 +
LcapU equ 055h
 +
LcapV equ 056h
 +
LcapW equ 057h
 +
LcapX equ 058h
 +
LcapY equ 059h
 +
LcapZ equ 05Ah
 +
Ltheta equ 05Bh
 +
Lbackslash equ 05Ch
 +
LrBrack equ 05Dh
 +
Lcaret equ 05Eh
 +
Lunderscore equ 05Fh
 +
Lbackquote equ 060h
 +
La equ 061h
 +
Lb equ 062h
 +
Lc equ 063h
 +
Ld equ 064h
 +
Le equ 065h
 +
Lf equ 066h
 +
Lg equ 067h
 +
Lh equ 068h
 +
Li equ 069h
 +
Lj equ 06Ah
 +
Lk equ 06Bh
 +
Ll equ 06Ch
 +
Lm equ 06Dh
 +
Ln equ 06Eh
 +
Lo equ 06Fh
 +
Lp equ 070h
 +
Lq equ 071h
 +
Lr equ 072h
 +
Ls equ 073h
 +
Lt equ 074h
 +
Lu equ 075h
 +
Lv equ 076h
 +
Lw equ 077h
 +
Lx equ 078h
 +
Ly equ 079h
 +
Lz equ 07Ah
 +
LlBrace equ 07Bh
 +
Lbar equ 07Ch
 +
LrBrace equ 07Dh
 +
Ltilde equ 07Eh
 +
LinvEQ equ 07Fh
 +
Lsub0 equ 080h
 +
Lsub1 equ 081h
 +
Lsub2 equ 082h
 +
Lsub3 equ 083h
 +
Lsub4 equ 084h
 +
Lsub5 equ 085h
 +
Lsub6 equ 086h
 +
Lsub7 equ 087h
 +
Lsub8 equ 088h
 +
Lsub9 equ 089h
 +
LcapAAcute equ 08Ah
 +
LcapAGrave equ 08Bh
 +
LcapACaret equ 08Ch
 +
LcapADier equ 08Dh
 +
LaAcute equ 08Eh
 +
LaGrave equ 08Fh
 +
LaCaret equ 090h
 +
LaDier equ 091h
 +
LcapEAcute equ 092h
 +
LcapEGrave equ 093h
 +
LcapECaret equ 094h
 +
LcapEDier equ 095h
 +
LeAcute equ 096h
 +
LeGrave equ 097h
 +
LeCaret equ 098h
 +
LeDier equ 099h
 +
LcapIAcute equ 09Ah
 +
LcapIGrave equ 09Bh
 +
LcapICaret equ 09Ch
 +
LcapIDier equ 09Dh
 +
LiAcute equ 09Eh
 +
LiGrave equ 09Fh
 +
LiCaret equ 0A0h
 +
LiDier equ 0A1h
 +
LcapOAcute equ 0A2h
 +
LcapOGrave equ 0A3h
 +
LcapOCaret equ 0A4h
 +
LcapODier equ 0A5h
 +
LoAcute equ 0A6h
 +
LoGrave equ 0A7h
 +
LoCaret equ 0A8h
 +
LoDier equ 0A9h
 +
LcapUAcute equ 0AAh
 +
LcapUGrave equ 0ABh
 +
LcapUCaret equ 0ACh
 +
LcapUDier equ 0ADh
 +
LuAcute equ 0AEh
 +
LuGrave equ 0AFh
 +
LuCaret equ 0B0h
 +
LuDier equ 0B1h
 +
LcapCCed equ 0B2h
 +
LcCed equ 0B3h
 +
LcapNTilde equ 0B4h
 +
LnTilde equ 0B5h
 +
Laccent equ 0B6h
 +
Lgrave equ 0B7h
 +
Ldieresis equ 0B8h
 +
LquesDown equ 0B9h
 +
LexclamDown equ 0BAh
 +
Lalpha equ 0BBh
 +
Lbeta equ 0BCh
 +
Lgamma equ 0BDh
 +
LcapDelta equ 0BEh
 +
Ldelta equ 0BFh
 +
Lepsilon equ 0C0h
 +
LlBrack equ 0C1h
 +
Llambda equ 0C2h
 +
Lmu equ 0C3h
 +
Lpi equ 0C4h
 +
Lrho equ 0C5h
 +
LcapSigma equ 0C6h
 +
Lsigma equ 0C7h
 +
Ltau equ 0C8h
 +
Lphi equ 0C9h
 +
LcapOmega equ 0CAh
 +
LxMean equ 0CBh
 +
LyMean equ 0CCh
 +
LsupX equ 0CDh
 +
Lellipsis equ 0CEh
 +
Lleft equ 0CFh
 +
Lblock equ 0D0h
 +
Lper equ 0D1h
 +
Lhyphen equ 0D2h
 +
Larea equ 0D3h
 +
Ltemp equ 0D4h
 +
Lcube equ 0D5h
 +
Lenter equ 0D6h
 +
LimagI equ 0D7h
 +
Lphat equ 0D8h
 +
Lchi equ 0D9h
 +
LstatF equ 0DAh
 +
Llne equ 0DBh
 +
LlistL equ 0DCh
 +
LfinanN equ 0DDh
 +
L2_r_paren equ 0DEh
 +
LblockArrow    equ 0DFh
 +
LcurO  equ 0E0h
 +
LcurO2  equ 0E1h
 +
LcurOcapA      equ 0E2h
 +
LcurOa  equ 0E3h
 +
LcurI  equ 0E4h
 +
LcurI2  equ 0E5h
 +
LcurIcapA      equ 0E6h
 +
LcurIa  equ 0E7h
 +
LGline          equ 0E8h ; = 0
 +
LGthick        equ 0E9h ; = 1
 +
LGabove equ 0EAh ; = 2
 +
LGbelow equ 0EBh ; = 3
 +
LGpath equ 0ECh ; = 4
 +
LGanimate equ 0EDh ; = 5
 +
LGdot equ 0EEh ; = 6
 +
LUpBlk equ 0EFh ;Up arrow and Block in solver
 +
LDnBlk equ 0F0h ;Down arrow and Block in solver
 +
LcurFull equ 0F1h ;note: must be last char (PutMap checks)
  
grfModeFlags EQU  2 ;graph mode settings
+
;(MenuCurrent) Values
grfFuncM EQU    4 ; 1=function graph
+
;--------------------------
grfPolarM EQU    5 ; 1=polar graph
+
mConfirmation equ 01h
grfParamM EQU    6 ; 1=parametric graph
+
mApps equ 02h
grfRecurM      EQU    7        ; 1=RECURSION graph
+
mProgramHome equ 03h
 +
mPrgm_Run equ 00h
 +
mPrgm_Edit equ 01h
 +
mPrgm_New equ 02h
 +
mZoom equ 04h
 +
mZoom_Zoom equ 00h
 +
mZoom_Memory equ 01h
 +
mDraw equ 05h
 +
mDraw_Draw equ 00h
 +
mDraw_Points equ 01h
 +
mDraw_Store equ 02h
 +
mStatPlots equ 06h
 +
mStat equ 07h
 +
mStat_Edit equ 00h
 +
mStat_Calc equ 01h
 +
mStat_Tests equ 02h
 +
mMath equ 08h
 +
mMath_Math equ 00h
 +
mMath_Number equ 01h
 +
mMath_Complex equ 02h
 +
mMath_Prob equ 03h
 +
mTest equ 09h
 +
mTest_Test equ 00h
 +
mTest_Logic equ 01h
 +
mVars equ 0Ah
 +
mVars_Vars equ 00h
 +
mVars_YVars equ 01h
 +
mMemory equ 0Ch
 +
mMatrix equ 0Dh
 +
mMatrix_Name equ 00h
 +
mMatrix_Math equ 01h
 +
mMatrix_Edit equ 02h
 +
mDistr equ 0Eh
 +
mDistr_Distr equ 00h
 +
mDistr_Draw equ 01h
 +
mAngle equ 0Fh
 +
mList equ 10h
 +
mList_Names equ 00h
 +
mList_Ops equ 01h
 +
mList_Math equ 02h
 +
mCalculate equ 11h
 +
mVarsWin equ 14h
 +
mVarsWin_XY equ 00h
 +
mVarsWin_TTh equ 01h
 +
mVarsWin_UVW equ 02h
 +
mVarsZoom equ 15h
 +
mVarsZoom_ZXY equ 00h
 +
mVarsZoom_ZT equ 01h
 +
mVarsZoom_UVW equ 02h
 +
mVarsGDB equ 16h
 +
mVarsPics equ 17h
 +
mVarsStrings equ 18h
 +
mVarsStat equ 19h
 +
mVarsStat_XY equ 00h
 +
mVarsStat_Sigma equ 01h
 +
mVarsStat_EQ equ 02h
 +
mVarsStat_Test equ 03h
 +
mVarsStat_Pts equ 04h
 +
mVarsTable equ 1Ah
 +
mVarsYEqu equ 1Bh
 +
mVarsParametric equ 1Ch
 +
mVarsPolar equ 1Dh
 +
mVarsFnOnOff equ 1Eh
 +
mMemReset equ 1Fh
 +
mMemReset_RAM equ 00h
 +
mMemReset_ROM equ 01h
 +
mMemReset_All equ 02h
 +
mMemMgmtDel equ 20h
 +
mMemResetDefaults equ 21h
 +
mMemResetRAMAll equ 23h
 +
mMemResetROMVars equ 24h
 +
mMemResetROMApps equ 25h
 +
mMemResetROMAll equ 26h
 +
mMemResetAll equ 27h
 +
mGroup equ 28h
 +
mGroup_New equ 00h
 +
mGroup_Ungroup equ 01h
 +
mGroupVars equ 29h
 +
mProgramEdit equ 2Ah
 +
mPrgmEd_Ctrl equ 00h
 +
mPrgmEd_IO equ 01h
 +
mPrgmEd_Exec equ 02h
 +
mPrgmZoom equ 2Bh
 +
mPrgmZoom_Zoom equ 00h
 +
mPrgmZoom_Mem equ 01h
 +
mPrgmDraw equ 2Ch
 +
mPrgmDraw_Draw equ 00h
 +
mPrgmDraw_Pt equ 01h
 +
mPrgmDraw_Store equ 02h
 +
mPrgmStatPlot equ 2Dh
 +
mPrgmSP_Plots equ 00h
 +
mPrgmSP_Type equ 01h
 +
mPrgmSP_Mark equ 02h
 +
mPrgmStat equ 2Eh
 +
mPrgmStat_Edit equ 00h
 +
mPrgmStat_Calc equ 01h
 +
mPrgmStat_Tests equ 02h
 +
mPrgmMath equ 2Fh
 +
mPrgmMath_Math equ 00h
 +
mPrgmMath_Num equ 01h
 +
mPrgmMath_Cplx equ 02h
 +
mPrgmMath_Prob equ 03h
 +
mLink equ 30h
 +
mLink_Send equ 00h
 +
mLink_Recieve equ 01h
 +
mLinkTrasmit equ 31h
 +
mLinkXmit_Xmit equ 01h
 +
mGarbageCollect equ 3Fh
 +
mSelectGroupVars equ 40h
 +
mSelGrpVars_Sel equ 00h
 +
mSelGrpVars_Grp equ 01h
 +
mDuplicateName equ 42h
 +
mCatalog equ 45h
 +
mFinance equ 22h
 +
mFinance_Calc equ 00h
 +
mFinance_Vars equ 01h
  
graphFlags EQU  3
+
;Keypress Equates
graphDraw EQU    0 ; 0=graph is valid, 1=redraw graph
+
;-------------------------------
 +
kRight equ 001h
 +
kLeft equ 002h
 +
kUp equ 003h
 +
kDown equ 004h
 +
kEnter equ 005h
 +
kAlphaEnter equ 006h
 +
kAlphaUp equ 007h
 +
kAlphaDown equ 008h
 +
kClear equ 009h
 +
kDel equ 00Ah
 +
kIns equ 00Bh
 +
kRecall equ 00Ch
 +
kLastEnt equ 00Dh
 +
kBOL equ 00Eh
 +
kEOL equ 00Fh
  
grfDBFlags EQU  4
+
kSelAll equ 010h
grfDot EQU    0 ; 0=line, 1=dot
+
kUnselAll equ 011h
grfSimul EQU    1 ; 0=sequential, 1=simultaneous
+
kLtoTI82 equ 012h
grfGrid EQU    2 ; 0=no grid, 1=grid
+
kBackup equ 013h
grfPolar EQU    3 ; 0=rectangular, 1=polar coordinates
+
kRecieve equ 014h
grfNoCoord EQU    4 ; 0=display coordinates, 1=off
+
kLnkQuit equ 015h
grfNoAxis EQU    5 ; 0=axis, 1=no axis
+
kTrans equ 016h
grfLabel EQU    6 ; 0=off, 1=axis label
+
kRename equ 017h
 +
kOverw equ 018h
 +
kOmit equ 019h
 +
kCont equ 01Ah
 +
kSendID equ 01Bh
 +
kSendSW equ 01Ch
 +
kYes equ 01Dh
 +
kNoWay equ 01Eh
 +
kvSendType equ 01Fh
 +
kOverWAll equ 020h
 +
kNo equ 025h
 +
kKReset equ 026h
 +
kApp equ 027h
 +
kDoug equ 028h
 +
kListflag equ 029h
 +
menuStart equ 02Bh
 +
kAreYouSure equ 02Bh
 +
kAppsMenu equ 02Ch
 +
kPrgm equ 02Dh
 +
kZoom equ 02Eh
 +
kDraw equ 02Fh
 +
kSPlot equ 030h
 +
kStat equ 031h
 +
kMath equ 032h
 +
kTest equ 033h
 +
kChar equ 034h
 +
kVars equ 035h
 +
kMem equ 036h
 +
kMatrix equ 037h
 +
kDist equ 038h
 +
kAngle equ 039h
 +
kList equ 03Ah
 +
kCalc equ 03Bh
 +
kFin equ 03Ch
 +
menuEnd equ kFin
 +
kCatalog equ 03Eh
 +
kInputDone equ 03Fh
 +
kOff equ kInputDone
 +
kQuit equ 040h
 +
appStart equ kQuit
 +
kLinkIO equ 041h
 +
kMatrixEd equ 042h
 +
kStatEd equ 043h
 +
kGraph equ 044h
 +
kMode equ 045h
 +
kPrgmEd equ 046h ;PROGRAM EDIT
 +
kPrgmCr equ 047h ;PROGRAM CREATE
 +
kWindow equ 048h ;RANGE EDITOR
 +
kYequ equ 049h ;EQUATION EDITOR
 +
kTable equ 04Ah ;TABLE EDITOR
 +
kTblSet equ 04Bh ;TABLE SET
 +
kChkRAM equ 04Ch ;CHECK RAM (About screen)
 +
kDelMem equ 04Dh ;DELETE MEM
 +
kResetMem equ 04Eh ;RESET MEM
 +
kResetDef equ 04Fh ;RESET DEFAULT
 +
kPrgmInput equ 050h ;PROGRAM INPUT
 +
kZFactEd equ 051h ;ZOOM FACTOR EDITOR
 +
kError equ 052h ;ERROR
 +
kSolveTVM equ 053h ;TVM SOLVER
 +
kSolveRoot equ 054h ;SOLVE EDITOR
 +
kStatP equ 055h ;stat plot
 +
kInfStat equ 056h ;Inferential Statistic
 +
kFormat equ 057h ;FORMAT
 +
kExtApps equ 058h ;External Applications.    NEW
 +
kNewApps equ 059h ;New Apps for Cerberus.
 +
append equ kNewApps
 +
echoStart1 equ 05Ah
 +
kTrace equ 05Ah
 +
kZFit equ 05Bh
 +
kZIn equ 05Ch
 +
kZOut equ 05Dh
 +
kZPrev equ 05Eh
 +
kBox equ 05Fh
 +
kDecml equ 060h
 +
kSetZm equ 061h
 +
kSquar equ 062h
 +
kStd equ 063h
 +
kTrig equ 064h
 +
kUsrZm equ 065h
 +
kZSto equ 066h
 +
kZInt equ 067h
 +
kZStat equ 068h
 +
echoStart2 equ 069h
 +
kSelect equ 069h
 +
kCircl equ 06Ah
 +
kClDrw equ 06Bh
 +
kLine equ 06Ch
 +
kPen equ 06Dh
 +
kPtChg equ 06Eh
 +
kPtOff equ 06Fh
 +
kPtOn equ 070h
 +
kVert equ 071h
 +
kHoriz equ 072h
 +
kText equ 073h
 +
kTanLn equ 074h
 +
kEval equ 075h
 +
kInters equ 076h
 +
kDYDX equ 077h
 +
kFnIntg equ 078h
 +
kRootG equ 079h
 +
kDYDT equ 07Ah
 +
kDXDT equ 07Bh
 +
kDRDo equ 07Ch
 +
KGFMin equ 07Dh
 +
KGFMax equ 07Eh
 +
EchoStart equ 07Fh
 +
kListName equ 07Fh
 +
kAdd equ 080h
 +
kSub equ 081h
 +
kMul equ 082h
 +
kDiv equ 083h
 +
kExpon equ 084h
 +
kLParen equ 085h
 +
kRParen equ 086h
 +
kLBrack equ 087h
 +
kRBrack equ 088h
 +
kShade equ 089h
 +
kStore equ 08Ah
 +
kComma equ 08Bh
 +
kChs equ 08Ch
 +
kDecPnt equ 08Dh
 +
k0 equ 08Eh
 +
k1 equ 08Fh
 +
k2 equ 090h
 +
k3 equ 091h
 +
k4 equ 092h
 +
k5 equ 093h
 +
k6 equ 094h
 +
k7 equ 095h
 +
k8 equ 096h
 +
k9 equ 097h
 +
kEE equ 098h
 +
kSpace equ 099h
 +
kCapA equ 09Ah
 +
kCapB equ 09Bh
 +
kCapC equ 09Ch
 +
kCapD equ 09Dh
 +
kCapE equ 09Eh
 +
kCapF equ 09Fh
 +
kCapG equ 0A0h
 +
kCapH equ 0A1h
 +
kCapI equ 0A2h
 +
kCapJ equ 0A3h
 +
kCapK equ 0A4h
 +
kCapL equ 0A5h
 +
kCapM equ 0A6h
 +
kCapN equ 0A7h
 +
kCapO equ 0A8h
 +
kCapP equ 0A9h
 +
kCapQ equ 0AAh
 +
kCapR equ 0ABh
 +
kCapS equ 0ACh
 +
kCapT equ 0ADh
 +
kCapU equ 0AEh
 +
kCapV equ 0AFh
 +
kCapW equ 0B0h
 +
kCapX equ 0B1h
 +
kCapY equ 0B2h
 +
kCapZ equ 0B3h
 +
kVarx equ 0B4h
 +
kPi equ 0B5h
 +
kInv equ 0B6h
 +
kSin equ 0B7h
 +
kASin equ 0B8h
 +
kCos equ 0B9h
 +
kACos equ 0BAh
 +
kTan equ 0BBh
 +
kATan equ 0BCh
 +
kSquare equ 0BDh
 +
kSqrt equ 0BEh
 +
kLn equ 0BFh
 +
kExp equ 0C0h
 +
kLog equ 0C1h
 +
kALog equ 0C2h
 +
kToABC equ 0C3h
 +
kClrTbl equ 0C4h
 +
kAns equ 0C5h
 +
kColon equ 0C6h
 +
kNDeriv equ 0C7h
 +
kFnInt equ 0C8h
 +
kRoot equ 0C9h
 +
kQuest equ 0CAh
 +
kQuote equ 0CBh
 +
kTheta equ 0CCh
 +
kIf equ 0CDh
 +
kThen equ 0CEh
 +
kElse equ 0CFh
 +
kFor equ 0D0h
 +
kWhile equ 0D1h
 +
kRepeat equ 0D2h
 +
kEnd equ 0D3h
 +
kPause equ 0D4h
 +
kLbl equ 0D5h
 +
kGoto equ 0D6h
 +
kISG equ 0D7h
 +
kDSL equ 0D8h
 +
kMenu equ 0D9h
 +
kExec equ 0DAh
 +
kReturn equ 0DBh
 +
kStop equ 0DCh
 +
kInput equ 0DDh
 +
kPrompt equ 0DEh
 +
kDisp equ 0DFh
 +
kDispG equ 0E0h
 +
kDispT equ 0E1h
 +
kOutput equ 0E2h
 +
kGetKey equ 0E3h
 +
kClrHome equ 0E4h
 +
kPrtScr equ 0E5h
 +
kSinH equ 0E6h
 +
kCosH equ 0E7h
 +
kTanH equ 0E8h
 +
kASinH equ 0E9h
 +
kACosH equ 0EAh
 +
kATanH equ 0EBh
 +
kLBrace equ 0ECh
 +
kRBrace equ 0EDh
 +
kI equ 0EEh
 +
kCONSTeA equ 0EFh
 +
kPlot3 equ 0F0h
 +
kFMin equ 0F1h
 +
kFMax equ 0F2h
 +
kL1A equ 0F3h
 +
kL2A equ 0F4h
 +
kL3A equ 0F5h
 +
kL4A equ 0F6h
 +
kL5A equ 0F7h
 +
kL6A equ 0F8h
 +
kunA equ 0F9h
 +
kvnA equ 0FAh
 +
kwnA equ 0FBh
  
textFlags EQU  5 ;Text output flags
+
;THIS KEY MEANS THAT IT IS A 2 BYTE KEYCODE
textEraseBelow EQU    1 ; 1=erase line below small char
+
;THERE ARE 2 OF THESE KEYS; BE CAREFUL WITH USAGE
textScrolled EQU    2 ; 1=screen scrolled
+
;------------------------------------------------
textInverse EQU    3 ; 1=display inverse bit-map
+
kExtendEcho2 equ 0FCh
textInsMode EQU    4 ; 0=overstrike, 1=insert mode
+
  
ParsFlag2 EQU  7 ;PARSER flags
+
;THIS KEY MEANS THAT THE KEY PRESS IS ONE THAT ECHOS
numOP1 EQU    0 ; 1=RESULT IN OP1, 0=NO RESULT
+
;INTO A BUFFER, AND IT IS A 2 BYTE KEY CODE, GO LOOK AT
 +
;(EXTECHO) FOR THE KEY VALUE
 +
;------------------------------------------------------
 +
kExtendEcho equ 0FEh
  
newDispF        EQU  8 ;Derivative mode flags
+
kE1BT equ 0
preClrForMode  EQU    0 ; 1=HELP BLINK ON MODE SCREEN
+
kDrawInv equ kE1BT
 +
kDrawF equ kE1BT+1
 +
kPixelOn equ kE1BT+2
 +
kPixelOff equ kE1BT+3
 +
kPxlTest equ kE1BT+4
 +
kRCGDB equ kE1BT+5
 +
kRCPic equ kE1BT+6
 +
kSTGDB equ kE1BT+7
 +
kSTPic equ kE1BT+8
 +
kAbs equ kE1BT+9
 +
kTEqu equ kE1BT+10 ;==
 +
kTNoteQ equ kE1BT+11 ;<>
 +
kTGT equ kE1BT+12 ;>
 +
kTGTE equ kE1BT+13 ;>=
 +
kTLT equ kE1BT+14 ;<
 +
kTLTE equ kE1BT+15 ;<=
 +
kAnd equ kE1BT+16
 +
kOr equ kE1BT+17
 +
kXor equ kE1BT+18
 +
kNot equ kE1BT+19
 +
kLR1 equ kE1BT+20
 +
kXRoot equ kE1BT+21
 +
kCube equ kE1BT+22
 +
kCbRt equ kE1BT+23 ;Cube ROOT
 +
kToDec equ kE1BT+24
 +
kCubicR equ kE1BT+25
 +
kQuartR equ kE1BT+26
 +
kPlot1 equ kE1BT+27
 +
kPlot2 equ kE1BT+28
 +
kRound equ kE1BT+29
 +
kIPart equ kE1BT+30
 +
kFPart equ kE1BT+31
 +
kInt equ kE1BT+32
 +
kRand equ kE1BT+33
 +
kNPR equ kE1BT+34
 +
kNCR equ kE1BT+35
 +
kXFactorial equ kE1BT+36
 +
kRad equ kE1BT+37
 +
kDegr equ kE1BT+38 ;DEGREES CONV
 +
kAPost equ kE1BT+39
 +
kToDMS equ kE1BT+40
 +
kRToPo equ kE1BT+41 ;R
 +
kRToPr equ kE1BT+42
 +
kPToRx equ kE1BT+43
 +
kPToRy equ kE1BT+44
 +
kRowSwap equ kE1BT+45
 +
kRowPlus equ kE1BT+46
 +
kTimRow equ kE1BT+47
 +
kTRowP equ kE1BT+48
 +
kSortA equ kE1BT+49
 +
kSortD equ kE1BT+50
 +
kSeq equ kE1BT+51
 +
kMin equ kE1BT+52
 +
kMax equ kE1BT+53
 +
kMean equ kE1BT+54
 +
kMedian equ kE1BT+55
 +
kSum equ kE1BT+56
 +
kProd equ kE1BT+57
 +
kDet equ kE1BT+58
 +
kTransp equ kE1BT+59
 +
kDim equ kE1BT+60
 +
kFill equ kE1BT+61
 +
kIdent equ kE1BT+62
 +
kRandm equ kE1BT+63
 +
kAug equ kE1BT+64
 +
kOneVar equ kE1BT+65
 +
kTwoVar equ kE1BT+66
 +
kLR equ kE1BT+67
 +
kLRExp equ kE1BT+68
 +
kLRLn equ kE1BT+69
 +
kLRPwr equ kE1BT+70
 +
kMedMed equ kE1BT+71
 +
kQuad equ kE1BT+72
 +
kClrLst equ kE1BT+73
 +
kHist equ kE1BT+74
 +
kxyLine equ kE1BT+75
 +
kScatter equ kE1BT+76
 +
kmRad equ kE1BT+77
 +
kmDeg equ kE1BT+78
 +
kmNormF equ kE1BT+79
 +
kmSci equ kE1BT+80
 +
kmEng equ kE1BT+81
 +
kmFloat equ kE1BT+82
 +
kFix equ kE1BT+83
 +
kSplitOn equ kE1BT+84
 +
kFullScreen equ kE1BT+85
 +
kStndrd equ kE1BT+86
 +
kParam equ kE1BT+87
 +
kPolar equ kE1BT+88
 +
kSeqG equ kE1BT+89
 +
kAFillOn equ kE1BT+90
 +
kAFillOff equ kE1BT+91
 +
kACalcOn equ kE1BT+92
 +
kACalcOff equ kE1BT+93
 +
kFNOn equ kE1BT+94
 +
kFNOff equ kE1BT+95
 +
kPlotsOn equ kE1BT+96
 +
kPlotsOff equ kE1BT+97
 +
kPixelChg equ kE1BT+98
 +
kSendMBL equ kE1BT+99
 +
kRecvMBL equ kE1BT+100
 +
kBoxPlot equ kE1BT+101
 +
kBoxIcon equ kE1BT+102
 +
kCrossIcon equ kE1BT+103
 +
kDotIcon equ kE1BT+104
 +
kE2BT equ kE1BT+105
 +
kSeqential equ kE2BT
 +
kSimulG equ kE2BT+1
 +
kPolarG equ kE2BT+2
 +
kRectG equ kE2BT+3
 +
kCoordOn equ kE2BT+4
 +
kCoordOff equ kE2BT+5
 +
kDrawLine equ kE2BT+6
 +
kDrawDot equ kE2BT+7
 +
kAxisOn equ kE2BT+8
 +
kAxisOff equ kE2BT+9
 +
kGridOn equ kE2BT+10
 +
kGridOff equ kE2BT+11
 +
kLblOn equ kE2BT+12
 +
kLblOff equ kE2BT+13
 +
kL1 equ kE2BT+14
 +
kL2 equ kE2BT+15
 +
kL3 equ kE2BT+16
 +
kL4 equ kE2BT+17
 +
kL5 equ kE2BT+18
 +
kL6 equ kE2BT+19
  
apdFlags EQU  8 ;Automatic power-down
+
;These keys are laid on top of existing keys to
apdAble EQU    2 ; 1=APD enabled
+
;enable localization in the inferential stats editor.
apdRunning EQU    3 ; 1=APD clock running
+
;----------------------------------------------------
 +
kinfData equ kL1
 +
kinfStats equ kL1+1
 +
kinfYes equ kL1+2
 +
kinfNo equ kL1+3
 +
kinfCalc equ kL1+4
 +
kinfDraw equ kL1+5
 +
kinfAlt1ne equ kL1+6
 +
kinfAlt1lt equ kL1+7
 +
kinfAlt1gt equ kL1+8
 +
kinfAlt2ne equ kL1+9
 +
kinfAlt2lt equ kL1+10
 +
kinfAlt2gt equ kL1+11
 +
kinfAlt3ne equ kL1+12
 +
kinfAlt3lt equ kL1+13
 +
kinfAlt3gt equ kL1+14
 +
kinfAlt4ne equ kL1+15
 +
kinfAlt4lt equ kL1+16
 +
kinfAlt4gt equ kL1+17
 +
kinfAlt5ne equ kL1+18
 +
kinfAlt5lt equ kL1+19
 +
kinfAlt5gt equ kL1+20
 +
kinfAlt6ne equ kL1+21
 +
kinfAlt6lt equ kL1+22
 +
kinfAlt6gt equ kL1+23
 +
kMatA equ kE2BT+20
 +
kMatB equ kE2BT+21
 +
kMatC equ kE2BT+22
 +
kMatD equ kE2BT+23
 +
kMatE equ kE2BT+24
 +
kXmin equ kE2BT+25
 +
kXmax equ kE2BT+26
 +
kXscl equ kE2BT+27
 +
kYmin equ kE2BT+28
 +
kYmax equ kE2BT+29
 +
kYscl equ kE2BT+30
 +
kTmin equ kE2BT+31
 +
kTmax equ kE2BT+32
 +
kTStep equ kE2BT+33
 +
kOmin equ kE2BT+34
 +
kOmax equ kE2BT+35
 +
kOStep equ kE2BT+36
 +
ku0 equ kE2BT+37
 +
kv0 equ kE2BT+38
 +
knMin equ kE2BT+39
 +
knMax equ kE2BT+40
 +
kDeltaY equ kE2BT+41
 +
kDeltaX equ kE2BT+42
 +
kZXmin equ kE2BT+43
 +
kZXmax equ kE2BT+44
 +
kZXscl equ kE2BT+45
 +
kZYmin equ kE2BT+46
 +
kZYmax equ kE2BT+47
 +
kZYscl equ kE2BT+48
 +
kZTmin equ kE2BT+49
 +
kZTmax equ kE2BT+50
 +
kZTStep equ kE2BT+51
 +
kZOmin equ kE2BT+52
 +
kZOmax equ kE2BT+53
 +
kZOStep equ kE2BT+54
 +
kZu0 equ kE2BT+55
 +
kZv0 equ kE2BT+56
 +
kZnMin equ kE2BT+57
 +
kZnMax equ kE2BT+58
 +
kDelLast equ kE2BT+59
 +
kSinReg equ kE2BT+60
 +
kConstE equ kE2BT+61
 +
kPic1 equ kE2BT+62
 +
kPic2 equ kE2BT+63
 +
kPic3 equ kE2BT+64
 +
kDelVar equ kE2BT+65
 +
kGetCalc equ kE2BT+66
 +
kRealM equ kE2BT+67
 +
kPolarM equ kE2BT+68
 +
kRectM equ kE2BT+69
 +
kuv equ kE2BT+70 ;U vs V
 +
kvw equ kE2BT+71 ;V vs W
 +
kuw equ kE2BT+72 ;U vs W
 +
kFinPMTend equ kE2BT+73
 +
kFinPMTbeg equ kE2BT+74
 +
kGraphStyle equ kE2BT+75
 +
kExprOn equ kE2BT+76
 +
kExprOff equ kE2BT+77
 +
kStatA equ kE2BT+78
 +
kStatB equ kE2BT+79
 +
kStatC equ kE2BT+80
 +
kCorr equ kE2BT+81
 +
kStatD equ kE2BT+82
 +
kStatE equ kE2BT+83
 +
kRegEq equ kE2BT+84
 +
kMinX equ kE2BT+85
 +
kQ1 equ kE2BT+86
 +
kMD equ kE2BT+87
 +
kQ3 equ kE2BT+88
 +
kMaxX equ kE2BT+89
 +
kStatX1 equ kE2BT+90
 +
kStatY1 equ kE2BT+91
 +
kStatX2 equ kE2BT+92
 +
kStatY2 equ kE2BT+93
 +
kStatX3 equ kE2BT+94
 +
kStatY3 equ kE2BT+95
 +
kTblMin equ kE2BT+96
 +
kTblStep equ kE2BT+97
 +
kSetupLst equ kE2BT+98
 +
kClrAllLst equ kE2BT+99
 +
kLogistic equ kE2BT+100
 +
kZTest equ kE2BT+101
 +
kTTest equ kE2BT+102
 +
k2SampZTest equ kE2BT+103
 +
k2SampTTest equ kE2BT+104
 +
k1PropZTest equ kE2BT+105
 +
k2PropZTest equ kE2BT+106
 +
kChiTest equ kE2BT+107
 +
k2SampFTest equ kE2BT+108
 +
kZIntVal equ kE2BT+109
 +
kTIntVal equ kE2BT+110
 +
k2SampTInt equ kE2BT+111
 +
k2SampZInt equ kE2BT+112
 +
k1PropZInt equ kE2BT+113
 +
k2PropZInt equ kE2BT+114
 +
kDNormal equ kE2BT+115
 +
kInvNorm equ kE2BT+116
 +
kDT equ kE2BT+117
 +
kChi equ kE2BT+118
 +
kDF equ kE2BT+119
 +
kBinPDF equ kE2BT+120
 +
kBinCDF equ kE2BT+121
 +
kPoiPDF equ kE2BT+122
 +
kPoiCDF equ kE2BT+123
 +
kun equ kE2BT+124
 +
kvn equ kE2BT+125
 +
kwn equ kE2BT+126
 +
kRecn equ kE2BT+127
 +
kPlotStart equ kE2BT+128
 +
kZPlotStart equ kE2BT+129 ;recursion n
 +
kXFact equ kE2BT+130 ;PlotStart
 +
kYFact equ kE2BT+131 ;ZPlotStart
 +
kANOVA equ kE2BT+132 ;XFact
 +
kMaxY equ kE2BT+133 ;YFact
 +
kWebOn equ kE2BT+134 ;MinY
 +
kWebOff equ kE2BT+135 ;MaxY
 +
kTblInput equ kE2BT+136 ;WEB ON
 +
kGeoPDF equ kE2BT+137 ;WEB OFF
 +
kGeoCDF equ kE2BT+138 ;WEB OFF
 +
kShadeNorm equ kE2BT+139
 +
kShadeT equ kE2BT+140
 +
kShadeChi equ kE2BT+141
 +
kShadeF equ kE2BT+142
 +
kPlotStep equ kE2BT+143
 +
kZPlotStep equ kE2BT+144
 +
kLinRegtTest equ kE2BT+145
 +
KMGT equ kE2BT+146 ;VERT SPLIT
 +
kSelectA equ kE2BT+147
 +
kZFitA equ kE2BT+148
 +
kE2BT_End equ kZFitA
  
 +
;More 2 Byte Keys
 +
;------------------------------------
 +
kE2BT2 equ 0
 +
kGDB1 equ kE2BT2
 +
kGDB2 equ kE2BT2+1
 +
kGDB3 equ kE2BT2+2
 +
kY1 equ kE2BT2+3
 +
kY2 equ kE2BT2+4
 +
kY3 equ kE2BT2+5
 +
kY4 equ kE2BT2+6
 +
kY5 equ kE2BT2+7
 +
kY6 equ kE2BT2+8
 +
kY7 equ kE2BT2+9
 +
kY8 equ kE2BT2+10
 +
kY9 equ kE2BT2+11
 +
kY0 equ kE2BT2+12
 +
kX1T equ kE2BT2+13
 +
kY1T equ kE2BT2+14
 +
kX2T equ kE2BT2+15
 +
kY2T equ kE2BT2+16
 +
kX3T equ kE2BT2+17
 +
kY3T equ kE2BT2+18
 +
kX4T equ kE2BT2+19
 +
kY4T equ kE2BT2+20
 +
kX5T equ kE2BT2+21
 +
kY5T equ kE2BT2+22
 +
kX6T equ kE2BT2+23
 +
kY6T equ kE2BT2+24
 +
kR1 equ kE2BT2+25
 +
kR2 equ kE2BT2+26
 +
kR3 equ kE2BT2+27
 +
kR4 equ kE2BT2+28
 +
kR5 equ kE2BT2+29
 +
kR6 equ kE2BT2+30
 +
kGDB4 equ kE2BT2+31
 +
kGDB5 equ kE2BT2+32
 +
kGDB6 equ kE2BT2+33
 +
kPic4 equ kE2BT2+34
 +
kPic5 equ kE2BT2+35
 +
kPic6 equ kE2BT2+36
 +
kGDB7 equ kE2BT2+37
 +
kGDB8 equ kE2BT2+38
 +
kGDB9 equ kE2BT2+39
 +
kGDB0 equ kE2BT2+40
 +
kPic7 equ kE2BT2+41
 +
kPic8 equ kE2BT2+42
 +
kPic9 equ kE2BT2+43
 +
kPic0 equ kE2BT2+44
 +
kStatN equ kE2BT2+45
 +
kXMean equ kE2BT2+46
 +
kConj equ kE2BT2+47
 +
kReal equ kE2BT2+48
 +
kFAngle equ kE2BT2+49
 +
kLCM equ kE2BT2+50
 +
kGCD equ kE2BT2+51
 +
kRandInt equ kE2BT2+52
 +
kRandNorm equ kE2BT2+53
 +
kToPolar equ kE2BT2+54
 +
kToRect equ kE2BT2+55
 +
kYMean equ kE2BT2+56
 +
kStdX equ kE2BT2+57
 +
kStdX1 equ kE2BT2+58
 +
kw0 equ kE2BT2+59
 +
kMatF equ kE2BT2+60
 +
kMatG equ kE2BT2+61
 +
kMatRH equ kE2BT2+62
 +
kMatI equ kE2BT2+63
 +
kMatJ equ kE2BT2+64
 +
kYMean1 equ kE2BT2+65
 +
kStdY equ kE2BT2+66
 +
kStdY1 equ kE2BT2+67
 +
kMatToLst equ kE2BT2+68
 +
kLstToMat equ kE2BT2+69
 +
kCumSum equ kE2BT2+70
 +
kDeltaLst equ kE2BT2+71
 +
kStdDev equ kE2BT2+72
 +
kVariance equ kE2BT2+73
 +
kLength equ kE2BT2+74
 +
kEquToStrng equ kE2BT2+75
 +
kStrngToEqu equ kE2BT2+76
 +
kExpr equ kE2BT2+77
 +
kSubStrng equ kE2BT2+78
 +
kInStrng equ kE2BT2+79
 +
kStr1 equ kE2BT2+80
 +
kStr2 equ kE2BT2+81
 +
kStr3 equ kE2BT2+82
 +
kStr4          equ kE2BT2+83
 +
kStr5          equ kE2BT2+84
 +
kStr6          equ kE2BT2+85
 +
kStr7          equ kE2BT2+86
 +
kStr8          equ kE2BT2+87
 +
kStr9          equ kE2BT2+88
 +
kStr0          equ kE2BT2+89
 +
kFinN          equ kE2BT2+90
 +
kFinI          equ kE2BT2+91
 +
kFinPV          equ kE2BT2+92
 +
kFinPMT        equ kE2BT2+93
 +
kFinFV          equ kE2BT2+94
 +
kFinPY          equ kE2BT2+95
 +
kFinCY          equ kE2BT2+96
 +
kFinFPMT        equ kE2BT2+97
 +
kFinFI          equ kE2BT2+98
 +
kFinFPV        equ kE2BT2+99
 +
kFinFN          equ kE2BT2+100
 +
kFinFFV        equ kE2BT2+101
 +
kFinNPV        equ kE2BT2+102
 +
kFinIRR        equ kE2BT2+103
 +
kFinBAL        equ kE2BT2+104
 +
kFinPRN        equ kE2BT2+105
 +
kFinINT        equ kE2BT2+106
 +
kSumX          equ kE2BT2+107
 +
kSumX2          equ kE2BT2+108
 +
kFinToNom      equ kE2BT2+109
 +
kFinToEff      equ kE2BT2+110
 +
kFinDBD        equ kE2BT2+111
 +
kStatVP        equ kE2BT2+112
 +
kStatZ          equ kE2BT2+113
 +
kStatT          equ kE2BT2+114
 +
kStatChi        equ kE2BT2+115
 +
kStatF          equ kE2BT2+116
 +
kStatDF        equ kE2BT2+117
 +
kStatPhat      equ kE2BT2+118
 +
kStatPhat1      equ kE2BT2+119
 +
kStatPhat2      equ kE2BT2+120
 +
kStatMeanX1    equ kE2BT2+121
 +
kStatMeanX2    equ kE2BT2+122
 +
kStatStdX1      equ kE2BT2+123
 +
kStatStdX2      equ kE2BT2+124
 +
kStatStdXP equ kE2BT2+125
 +
kStatN1 equ kE2BT2+126
 +
kStatN2 equ kE2BT2+127
 +
kStatLower equ kE2BT2+128
 +
kStatUpper equ kE2BT2+129
 +
kuw0 equ kE2BT2+130
 +
kImag equ kE2BT2+131
 +
kSumY equ kE2BT2+132
 +
kXres equ kE2BT2+133
 +
kStat_s equ kE2BT2+134
 +
kSumY2 equ kE2BT2+135
 +
kSumXY equ kE2BT2+136
 +
kuXres equ kE2BT2+137
 +
kModBox equ kE2BT2+138
 +
kNormProb equ kE2BT2+139
 +
kNormalPDF equ kE2BT2+140
 +
kTPDF equ kE2BT2+141
 +
kChiPDF equ kE2BT2+142
 +
kFPDF equ kE2BT2+143
 +
kMinY equ kE2BT2+144 ;MinY
 +
kRandBin equ kE2BT2+145
 +
kRef equ kE2BT2+146
 +
kRRef equ kE2BT2+147
 +
kLRSqr equ kE2BT2+148
 +
kBRSqr equ kE2BT2+149
 +
kDiagOn equ kE2BT2+150
 +
kDiagOff equ kE2BT2+151
 +
kun1 equ kE2BT2+152 ;FOR RCL USE WHEN GOTTEN FROM 82
 +
kvn1 equ kE2BT2+153 ;FOR RCL USE WHEN GOTTEN FROM 82
 +
k83_00End equ kvn1 ;end of original keys...
 +
kArchive equ k83_00End + 1
 +
kUnarchive equ k83_00End + 2
 +
kAsm equ k83_00End + 3 ;Asm(
 +
kAsmPrgm equ k83_00End + 4 ;AsmPrgm
 +
kAsmComp equ k83_00End + 5 ;AsmComp(
 +
kcapAAcute equ k83_00End + 6
 +
kcapAGrave equ k83_00End + 7
 +
kcapACaret equ k83_00End + 8
 +
kcapADier equ k83_00End + 9
 +
kaAcute equ k83_00End + 10
 +
kaGrave equ k83_00End + 11
 +
kaCaret equ k83_00End + 12
 +
kaDier equ k83_00End + 13
 +
kcapEAcute equ k83_00End + 14
 +
kcapEGrave equ k83_00End + 15
 +
kcapECaret equ k83_00End + 16
 +
kcapEDier equ k83_00End + 17
 +
keAcute equ k83_00End + 18
 +
keGrave equ k83_00End + 19
 +
keCaret equ k83_00End + 20
 +
keDier equ k83_00End + 21
 +
kcapIAcute equ k83_00End + 22
 +
kcapIGrave equ k83_00End + 23
 +
kcapICaret equ k83_00End + 24
 +
kcapIDier equ k83_00End + 25
 +
kiAcute equ k83_00End + 26
 +
kiGrave equ k83_00End + 27
 +
kiCaret equ k83_00End + 28
 +
kiDier equ k83_00End + 29
 +
kcapOAcute equ k83_00End + 30
 +
kcapOGrave equ k83_00End + 31
 +
kcapOCaret equ k83_00End + 32
 +
kcapODier equ k83_00End + 33
 +
koAcute equ k83_00End + 34
 +
koGrave equ k83_00End + 35
 +
koCaret equ k83_00End + 36
 +
koDier equ k83_00End + 37
 +
kcapUAcute equ k83_00End + 38
 +
kcapUGrave equ k83_00End + 39
 +
kcapUCaret equ k83_00End + 40
 +
kcapUDier equ k83_00End + 41
 +
kuAcute equ k83_00End + 42
 +
kuGrave equ k83_00End + 43
 +
kuCaret equ k83_00End + 44
 +
kuDier equ k83_00End + 45
 +
kcapCCed equ k83_00End + 46
 +
kcCed equ k83_00End + 47
 +
kcapNTilde equ k83_00End + 48
 +
knTilde equ k83_00End + 49
 +
kaccent equ k83_00End + 50
 +
kgrave equ k83_00End + 51
 +
kdieresis equ k83_00End + 52
 +
kquesDown equ k83_00End + 53
 +
kexclamDown    equ k83_00End + 54
 +
kalpha          equ k83_00End + 55
 +
kbeta          equ k83_00End + 56
 +
kgamma          equ k83_00End + 57
 +
kcapDelta equ k83_00End + 58
 +
kdelta equ k83_00End + 59
 +
kepsilon equ k83_00End + 60
 +
klambda equ k83_00End + 61
 +
kmu equ k83_00End + 62
 +
kpi2 equ k83_00End + 63
 +
krho equ k83_00End + 64
 +
kcapSigma equ k83_00End + 65
 +
ksigma equ k83_00End + 66
 +
ktau equ k83_00End + 67
 +
kphi equ k83_00End + 68
 +
kcapOmega equ k83_00End + 69
 +
kphat equ k83_00End + 70
 +
kchi2 equ k83_00End + 71
 +
kstatF2 equ k83_00End + 72
 +
kLa equ k83_00End + 73
 +
kLb equ k83_00End + 74
 +
kLc equ k83_00End + 75
 +
kLd equ k83_00End + 76
 +
kLe equ k83_00End + 77
 +
kLf equ k83_00End + 78
 +
kLg equ k83_00End + 79
 +
kLh equ k83_00End + 80
 +
kLi equ k83_00End + 81
 +
kLj equ k83_00End + 82
 +
kLk equ k83_00End + 83
 +
kLl equ k83_00End + 84
 +
kLm equ k83_00End + 85
 +
kLsmalln equ k83_00End + 86
 +
kLo equ k83_00End + 87
 +
kLp equ k83_00End + 88
 +
kLq equ k83_00End + 89
 +
kLsmallr equ k83_00End + 90
 +
kLs equ k83_00End + 91
 +
kLt equ k83_00End + 92
 +
kLu equ k83_00End + 93
 +
kLv equ k83_00End + 94
 +
kLw equ k83_00End + 95
 +
kLx equ k83_00End + 96
 +
kLy equ k83_00End + 97
 +
kLz equ k83_00End + 98
 +
kGarbageC equ k83_00End + 99 ;GarbageCollect
 +
kE2BT2_End equ kGarbageC
  
web_err_mask    EQU  60h
+
;TI-83 Plus Context Equates
 +
;---------------------------------------------
 +
cxCmd equ kQuit ;home screen
 +
cxMatEdit equ kMatrixEd ;matrix editor
 +
cxPrgmEdit equ kPrgmEd ;program editor
 +
cxEquEdit equ kYequ ;equation editor
 +
cxGrRange equ kWindow ;graph range editor
 +
cxGrZfact equ kZFactEd ;graph zoom factors editor
 +
cxGraph equ kGraph ;graph mode
 +
cxStatEdit equ kStatEd ;statistics list editor
 +
cxPrgmInput equ kPrgmInput ;programmed input
 +
cxError equ kError ;error handler
 +
cxLinkIO equ kLinkIO ;LINK I/O interface
 +
cxMem equ kResetMem ;reset memory
 +
cxDefMem equ kResetDef ;reset default
 +
cxRAMApp equ kChkRAM ;RAM usage screen
 +
cxMode equ kMode ;mode settings screen
 +
cxErase equ kDelMem ;memory erase
 +
cxPrgmCreate equ kPrgmCr ;PROGRAM CREATE
 +
cxTableEditor equ kTable ;TABLE EDITOR
 +
cxTableSet equ kTblSet ;TABLE SET UP
 +
cxStatPlot equ kStatP ;STAT PLOTS
 +
cxInfStat equ kInfStat ;Inferential Statistic
 +
cxFormat equ kFormat ;FORMAT CONTEXT
 +
cxSolveTVM equ kSolveTVM ;Solve TVM
 +
cxSolveRoot equ kSolveRoot ;Solve Root
 +
lastOldApp equ kExtApps ;external applications
 +
cxextapps equ kExtApps
 +
cxNewApps equ kNewApps ;new cerberus applications
 +
cxGroup equ cxNewApps+0 ;1st new app.
 +
cxUnGroup equ cxNewApps+1 ;2nd new app.
 +
lastNewApp equ cxUnGroup ;last new app for this ver
  
onFlags EQU  9 ;on key flags
+
;Scan Code Equates
onRunning EQU  3 ; 1 = calculator is running
+
;-------------------------------
onInterrupt EQU    4 ; 1=on key interrupt request
+
skDown equ 01h
 +
skLeft equ 02h
 +
skRight equ 03h
 +
skUp equ 04h
 +
skEnter equ 09h
 +
skAdd equ 0Ah
 +
skSub equ 0Bh
 +
skMul equ 0Ch
 +
skDiv equ 0Dh
 +
skPower equ 0Eh
 +
skClear equ 0Fh
 +
skChs equ 11h
 +
sk3 equ 12h
 +
sk6 equ 13h
 +
sk9 equ 14h
 +
skRParen equ 15h
 +
skTan equ 16h
 +
skVars equ 17h
 +
skDecPnt equ 19h
 +
sk2 equ 1Ah
 +
sk5 equ 1Bh
 +
sk8 equ 1Ch
 +
skLParen equ 1Dh
 +
skCos equ 1Eh
 +
skPrgm equ 1Fh
 +
skStat equ 20h
 +
sk0 equ 21h
 +
sk1 equ 22h
 +
sk4 equ 23h
 +
sk7 equ 24h
 +
skComma equ 25h
 +
skSin equ 26h
 +
skMatrix equ 27h
 +
skGraphvar equ 28h
 +
skStore equ 2Ah
 +
skLn equ 2Bh
 +
skLog equ 2Ch
 +
skSquare equ 2Dh
 +
skRecip equ 2Eh
 +
skMath equ 2Fh
 +
skAlpha equ 30h
 +
skGraph equ 31h
 +
skTrace equ 32h
 +
skZoom equ 33h
 +
skWindow equ 34h
 +
skYEqu equ 35h
 +
sk2nd equ 36h
 +
skMode equ 37h
 +
skDel equ 38h
  
statFlags EQU  9 ;statistics flags
+
;Tokens
statsValid EQU    6 ; 1=stats are valid
+
;----------------------------------------------------
statANSDISP EQU  7 ; 1=display stat results
+
EOSSTART equ 0
  
 
+
;DISPLAY CONVERSIONS COME IMMEDIATELY BEFORE 'TSTORE'
fmtFlags EQU  10 ;numeric format flags
+
fmtExponent EQU    0 ; 1=show exponent, 0=no exponent
+
fmtEng EQU    1 ; 1=engineering notion, 0=scientific
+
fmtHex EQU    2 ; 1=hexadecimal
+
fmtOct EQU    3 ; 1=octal
+
fmtBin EQU    4 ; 1=binary
+
 
;
 
;
numMode        EQU  10
+
DCONV equ 01h
fmtReal        EQU    5
+
fmtRect        EQU    6
+
fmtPolar        EQU    7
+
 
+
realMode        EQU    5
+
rectMode        EQU    6
+
polarMode      EQU    7
+
; ;  if Hex and Oct both = 1
+
; ;  then Bin=0 means >Frac
+
; ; Bin=1 means >DMS
+
fmtBaseMask    EQU  00011100B ; mask to base flags
+
fmtBaseShift    EQU  2 ; offset to base flags
+
 
;
 
;
;       CHECK IF THESE ARE USED BY NUMFORM,
+
tToDMS equ DCONV ;01h
 +
tToDEC equ DCONV+1 ;02h
 +
tToAbc equ DCONV+2 ;03h > A b/c
 
;
 
;
;              EQU  6
+
tStore equ DCONV+3 ;04h Lstore 01
;              EQU  7
+
 
+
fmtOverride EQU  11 ;copy of fmtFlags with conversion override
+
 
+
fmtEditFlags EQU  12 ;numeric editing flags
+
fmtEdit EQU    0 ; 1=format number for editing
+
 
+
curFlags EQU  12 ;Cursor
+
curAble EQU    2 ; 1=cursor flash is enabled
+
curOn EQU    3 ; 1=cursor is showing
+
curLock EQU    4 ; 1=cursor is locked off
+
 
+
appFlags EQU  13 ;application flags
+
appWantIntrpt EQU    0 ; 1=want ON key interrupts
+
appTextSave EQU    1 ; 1=save characters in textShadow
+
appAutoScroll EQU    2 ; 1=auto-scroll text on last line
+
appMenus EQU    3 ; 1=process keys that bring up menus
+
; 0=check Lock menu flag
+
appLockMenus EQU    4 ; 1=ignore menu keys
+
; 0=switch to home screen and bring up menu
+
appCurGraphic EQU    5 ; 1=graphic cursor
+
appCurWord EQU    6 ; 1=text cursor covers entire word
+
appExit EQU    7 ; 1=application handles [EXIT] key itself
+
 
+
appWantIntrptF EQU 1<<appWantIntrpt
+
appTextSaveF EQU 1<<appTextSave
+
appAutoScrollF EQU 1<<appAutoScroll
+
appMenusF EQU 1<<appMenus
+
appLockMenusF EQU 1<<appLockMenus
+
appCurGraphicF EQU 1<<appCurGraphic
+
appCurWordF EQU 1<<appCurWord
+
appExitF EQU 1<<appExit
+
 
+
 
+
seqFlags        EQU  15              ; Sequential Graph flags
+
webMode        EQU    0            ; 0 = NORMAL SEQ MODE, 1 = WEB MODE
+
webVert        EQU    1            ;
+
sequv          EQU    2            ; U vs V
+
seqvw          EQU    3            ; V vs W
+
sequw          EQU    4            ; U vs W
+
 
+
 
+
promptFlags EQU  17 ;prompt line flags
+
promptEdit EQU    0 ; 1=editing in prompt buffer
+
 
+
indicFlags EQU  18 ;Indicator flags
+
indicRun EQU    0 ; 1=run indicator ON
+
indicInUse EQU    1 ; indicator save area in use=1, free=0
+
indicOnly EQU    2 ; interrupt handler only checks run indicator
+
 
+
shiftFlags EQU  18 ;[2nd] and [ALPHA] flags
+
shift2nd EQU    3 ; 1=[2nd] has been pressed
+
shiftAlpha EQU    4 ; 1=[ALPHA] has been pressed
+
shiftLwrAlph EQU    5 ; 1=lower case, 0=upper case
+
shiftALock EQU    6 ; 1=alpha lock has been pressed
+
shiftKeepAlph EQU    7 ; 1=cannot cancel alpha shift
+
 
+
 
+
tblFlags        EQU  19 ;table flags.
+
autoFill        EQU    4 ; 1=prompt, 0=fillAuto
+
autoCalc        EQU    5 ; 1=prompt, 0=CalcAuto
+
reTable        EQU    6 ; 0=table is ok, 1=must recompute table.
+
 
+
sGrFlags EQU  20
+
grfSplit        EQU    0 ; 1=Split Graph, 0=Normal
+
vertSplit      EQU    1 ; 1=Vertical (left-right) Split
+
grfSChanged    EQU    2 ; 1=Graph just changed Split <-> normal
+
grfSplitOverride EQU  3 ; 1 = ignore graph split flag if set
+
write_on_graph  EQU    4 ; 1 = TEXT OR EQU WRITING TO GRAPH SCREEN
+
g_style_active  EQU    5 ; 1 = GRAPH STYLES ARE ENABLED, USE THEM
+
cmp_mod_box    EQU    6 ; 1 = DOING MOD BOX PLOT COMPUTATION
+
textWrite      EQU    7 ; 1 = Small font writes to buffer
+
; 0 = Small font writes to display
+
 
;
 
;
 
+
tBoxPlot equ 05h
newIndicFlags  EQU  21
+
extraIndic      EQU    0
+
saIndic        EQU    1
+
 
+
newFlags2     EQU  22
+
noRestores     EQU  5
+
 
+
smartFlags      EQU  23
+
 
;
 
;
;----------------------------------------------------------------------
+
BRACKS equ 06h
; Note: Fix these Equates if smartFlags are moved                           
+
;----------------------------------------------------------------------
+
 
;
 
;
smarter_mask    EQU  3
+
tLBrack equ BRACKS ;06h '['
smarter_test    EQU  1
+
tRBrack equ BRACKS+1 ;07h ']'
smartGraph      EQU  0
+
tLBrace equ BRACKS+2 ;08h '{'
smartGraph_inv  EQU  1                                               
+
tRBrace equ BRACKS+3 ;09h '}'
 
+
more_Flags EQU 26
+
 
+
No_Del_Stat EQU 2
+
;----------------------------------------------------------------------
+
;          Available for ASM programming
+
;----------------------------------------------------------------------
+
 
+
asm_Flag1      EQU  33          ; ASM CODING
+
asm_Flag2      EQU  34          ; ASM CODING
+
asm_Flag3      EQU  35          ; ASM CODING
+
 
+
;----------------------------------------------------------------------
+
 
;
 
;
getSendFlg EQU  36
+
tPOST1 equ BRACKS+4
comFailed EQU  1       ; 1 = Get/Send Communication Failed
+
 
;
 
;
appLwrCaseFlag  EQU  36
+
tFromRad equ tPOST1 ;0Ah Lradian
lwrCaseActive  EQU  3
+
tFromDeg equ tPOST1+1 ;0Bh Ldegree
 +
tRecip equ tPOST1+2 ;0Ch Linverse
 +
tSqr equ tPOST1+3 ;0Dh Lsquare
 +
tTrnspos equ tPOST1+4 ;0Eh Ltranspose
 +
tCube equ tPOST1+5 ;0Fh '^3'
 
;
 
;
apiFlg3 EQU  42
+
tLParen equ 10h ;10h '('
 +
tRParen equ 11h ;11h ')'
 
;
 
;
apiFlg4 EQU  43
+
IMUN equ 12h
fullScrnDraw EQU    2 ; DRAW INTO LAST ROW/COL OF SCREEN
+
 
+
groupFlags EQU  38
+
inGroup EQU  1 ;1 = IN GROUP CONTEXT
+
 
+
 
+
xapFlag0        EQU  46      ; external app flags
+
xapFlag1        EQU  47
+
xapFlag2        EQU  48
+
xapFlag3        EQU  49
+
 
+
fontFlags EQU  50
+
fracDrawLFont EQU    2
+
fracTallLFont EQU    3
+
customFont EQU    7 
+
 
+
plotFlag3 EQU  60 
+
bufferOnly EQU    0
+
useFastCirc EQU    4
+
 
+
 
;
 
;
varTypeMask EQU  1FH           
+
tRound equ IMUN ;12h 'round'
varGraphRef EQU    6
+
tPxTst equ IMUN+1 ;13h 'PXL-TEST'
 
+
tAug equ IMUN+2 ;14h 'aug'
 +
tRowSwap equ IMUN+3 ;15h 'rSwap'
 +
tRowPlus equ IMUN+4 ;16h 'rAdd'
 +
tmRow equ IMUN+5 ;17h 'multR'
 +
tmRowPlus equ IMUN+6 ;18h 'mRAdd'
 +
tMax equ IMUN+7 ;19h 'max'
 +
tMin equ IMUN+8 ;1Ah 'min'
 +
tRToPr equ IMUN+9 ;1Bh 'R>Pr
 +
tRToPo equ IMUN+10 ;1Ch 'R>Po
 +
tPToRx equ IMUN+11 ;1Dh 'P>Rx
 +
tPToRy equ IMUN+12 ;1Eh 'P>Ry
 +
tMedian equ IMUN+13 ;1Fh 'MEDIAN
 +
tRandM equ IMUN+14 ;20h 'randM'
 +
tMean equ IMUN+15 ;21h
 +
tRoot equ IMUN+16 ;22h 'ROOT'
 +
tSeries equ IMUN+17 ;23h 'seq'
 +
tFnInt equ IMUN+18 ;24h 'fnInt'
 +
tNDeriv equ IMUN+19 ;25h 'fnIr'
 +
tEvalF equ IMUN+20 ;26h
 +
tFmin equ IMUN+21 ;27h
 +
tFmax equ IMUN+22 ;28h
 
;
 
;
;======================================================================
+
tEOSEL equ IMUN+23
;          Character Font equates 
+
;======================================================================
+
 
;
 
;
; Large font equates
+
tSpace equ tEOSEL ;29h ' '
 +
tString equ tEOSEL+1 ;2Ah '"'
 +
tComma equ tEOSEL+2 ;2Bh ','
 
;
 
;
LrecurN        EQU    001h
+
tii equ 2Ch ;i
LrecurU EQU 002h
+
LrecurV EQU 003h
+
LrecurW EQU 004h
+
Lconvert EQU 005h
+
LsqUp EQU 006h
+
LsqDown EQU 007h
+
Lintegral EQU 008h
+
Lcross EQU 009h
+
LboxIcon EQU    00Ah
+
LcrossIcon EQU    00Bh
+
LdotIcon EQU    00Ch
+
LsubT  EQU    00Dh ;small capital T for parametric mode.
+
LcubeR  EQU    00Eh ;slightly different 3 for cubed root.
+
LhexF EQU 00Fh
+
Lroot EQU 010h
+
Linverse EQU 011h
+
Lsquare EQU 012h
+
Langle EQU 013h
+
Ldegree EQU 014h
+
Lradian EQU 015h
+
Ltranspose EQU 016h
+
LLE EQU 017h
+
LNE EQU 018h
+
LGE EQU 019h
+
Lneg EQU 01Ah
+
Lexponent EQU 01Bh
+
Lstore EQU 01Ch
+
Lten EQU 01Dh
+
LupArrow EQU 01Eh
+
LdownArrow EQU 01Fh
+
Lspace EQU 020h
+
Lexclam EQU 021h
+
Lquote EQU 022h
+
Lpound EQU 023h
+
Lfourth EQU    024h
+
Lpercent EQU 025h
+
Lampersand EQU 026h
+
Lapostrophe EQU 027h
+
LlParen EQU 028h
+
LrParen EQU 029h
+
Lasterisk EQU 02Ah
+
LplusSign EQU 02Bh
+
Lcomma EQU 02Ch
+
Ldash EQU 02Dh
+
Lperiod EQU 02Eh
+
Lslash EQU 02Fh
+
L0 EQU 030h
+
L1 EQU 031h
+
L2 EQU 032h
+
L3 EQU 033h
+
L4 EQU 034h
+
L5 EQU 035h
+
L6 EQU 036h
+
L7 EQU 037h
+
L8 EQU 038h
+
L9 EQU 039h
+
Lcolon EQU 03Ah
+
Lsemicolon EQU 03Bh
+
LLT EQU 03Ch
+
LEQ EQU 03Dh
+
LGT EQU 03Eh
+
Lquestion EQU 03Fh
+
LatSign EQU 040h
+
LcapA EQU 041h
+
LcapB EQU 042h
+
LcapC EQU 043h
+
LcapD EQU 044h
+
LcapE EQU 045h
+
LcapF EQU 046h
+
LcapG EQU 047h
+
LcapH EQU 048h
+
LcapI EQU 049h
+
LcapJ EQU 04Ah
+
LcapK EQU 04Bh
+
LcapL EQU 04Ch
+
LcapM EQU 04Dh
+
LcapN EQU 04Eh
+
LcapO EQU 04Fh
+
LcapP EQU 050h
+
LcapQ EQU 051h
+
LcapR EQU 052h
+
LcapS EQU 053h
+
LcapT EQU 054h
+
LcapU EQU 055h
+
LcapV EQU 056h
+
LcapW EQU 057h
+
LcapX EQU 058h
+
LcapY EQU 059h
+
LcapZ EQU 05Ah
+
Ltheta  EQU    05Bh
+
Lbackslash EQU 05Ch
+
LrBrack EQU 05Dh
+
Lcaret EQU 05Eh
+
Lunderscore EQU 05Fh
+
Lbackquote EQU 060h
+
La EQU 061h
+
Lb EQU 062h
+
Lc EQU 063h
+
Ld EQU 064h
+
Le EQU 065h
+
Lf EQU 066h
+
Lg EQU 067h
+
Lh EQU 068h
+
Li EQU 069h
+
Lj EQU 06Ah
+
Lk EQU 06Bh
+
Ll EQU 06Ch
+
Lm EQU 06Dh
+
Ln EQU 06Eh
+
Lo EQU 06Fh
+
Lp EQU 070h
+
Lq EQU 071h
+
Lr EQU 072h
+
Ls EQU 073h
+
Lt EQU 074h
+
Lu EQU 075h
+
Lv EQU 076h
+
Lw EQU 077h
+
Lx EQU 078h
+
Ly EQU 079h
+
Lz EQU 07Ah
+
LlBrace EQU 07Bh
+
Lbar EQU 07Ch
+
LrBrace EQU 07Dh
+
Ltilde EQU 07Eh
+
LinvEQ EQU 07Fh
+
Lsub0 EQU 080h
+
Lsub1 EQU 081h
+
Lsub2 EQU 082h
+
Lsub3 EQU 083h
+
Lsub4 EQU 084h
+
Lsub5 EQU 085h
+
Lsub6 EQU 086h
+
Lsub7 EQU 087h
+
Lsub8 EQU 088h
+
Lsub9 EQU 089h
+
LcapAAcute EQU 08Ah
+
LcapAGrave EQU 08Bh
+
LcapACaret EQU 08Ch
+
LcapADier EQU 08Dh
+
LaAcute EQU 08Eh
+
LaGrave EQU 08Fh
+
LaCaret EQU 090h
+
LaDier EQU 091h
+
LcapEAcute EQU 092h
+
LcapEGrave EQU 093h
+
LcapECaret EQU 094h
+
LcapEDier EQU 095h
+
LeAcute EQU 096h
+
LeGrave EQU 097h
+
LeCaret EQU 098h
+
LeDier EQU 099h
+
LcapIAcute EQU 09Ah
+
LcapIGrave EQU 09Bh
+
LcapICaret EQU 09Ch
+
LcapIDier EQU 09Dh
+
LiAcute EQU 09Eh
+
LiGrave EQU 09Fh
+
LiCaret EQU 0A0h
+
LiDier EQU 0A1h
+
LcapOAcute EQU 0A2h
+
LcapOGrave EQU 0A3h
+
LcapOCaret EQU 0A4h
+
LcapODier EQU 0A5h
+
LoAcute EQU 0A6h
+
LoGrave EQU 0A7h
+
LoCaret EQU 0A8h
+
LoDier EQU 0A9h
+
LcapUAcute EQU 0AAh
+
LcapUGrave EQU 0ABh
+
LcapUCaret EQU 0ACh
+
LcapUDier EQU 0ADh
+
LuAcute EQU 0AEh
+
LuGrave EQU 0AFh
+
LuCaret EQU 0B0h
+
LuDier EQU 0B1h
+
LcapCCed EQU 0B2h
+
LcCed EQU 0B3h
+
LcapNTilde EQU 0B4h
+
LnTilde EQU 0B5h
+
Laccent EQU 0B6h
+
Lgrave EQU 0B7h
+
Ldieresis EQU 0B8h
+
LquesDown EQU 0B9h
+
LexclamDown EQU 0BAh
+
Lalpha EQU 0BBh
+
Lbeta EQU 0BCh
+
Lgamma EQU 0BDh
+
LcapDelta EQU 0BEh
+
Ldelta EQU 0BFh
+
Lepsilon EQU 0C0h
+
LlBrack EQU    0C1h
+
Llambda EQU 0C2h
+
Lmu EQU 0C3h
+
Lpi EQU 0C4h
+
Lrho EQU 0C5h
+
LcapSigma EQU 0C6h
+
Lsigma EQU 0C7h
+
Ltau EQU 0C8h
+
Lphi EQU 0C9h
+
LcapOmega EQU 0CAh
+
LxMean EQU 0CBh
+
LyMean EQU 0CCh
+
LsupX EQU 0CDh
+
Lellipsis EQU 0CEh
+
Lleft EQU 0CFh
+
Lblock EQU 0D0h
+
Lper EQU 0D1h
+
Lhyphen EQU 0D2h
+
Larea EQU 0D3h
+
Ltemp EQU 0D4h
+
Lcube EQU 0D5h
+
Lenter EQU 0D6h
+
LimagI EQU 0D7h
+
Lphat EQU 0D8h
+
Lchi EQU 0D9h
+
LstatF EQU    0DAh
+
Llne EQU 0DBh
+
LlistL EQU 0DCh
+
LfinanN EQU 0DDh
+
L2_r_paren EQU 0DEh
+
LblockArrow    EQU    0DFh
+
LcurO  EQU    0E0h
+
LcurO2  EQU    0E1h
+
LcurOcapA      EQU    0E2h
+
LcurOa  EQU    0E3h
+
LcurI  EQU    0E4h
+
LcurI2  EQU    0E5h
+
LcurIcapA      EQU    0E6h
+
LcurIa  EQU    0E7h
+
LGline          EQU    0E8h    ; = 0
+
LGthick        EQU    0E9h    ; = 1
+
LGabove        EQU    0EAh    ; = 2
+
LGbelow        EQU    0EBh    ; = 3
+
LGpath          EQU    0ECh    ; = 4
+
LGanimate      EQU    0EDh    ; = 5
+
LGdot          EQU    0EEh    ; = 6
+
LUpBlk          EQU    0EFh    ;Up arrow and Block in solver
+
LDnBlk          EQU    0F0h    ;Down arrow and Block in solver
+
LcurFull        EQU    0F1h    ;note: must be last char (PutMap checks)
+
  
;Small font equates
+
;Postfix Functions
 +
;-----------------------------------------
 +
tPost equ 2Dh
 
;
 
;
SrecurN        equ     001h
+
tFact equ tPost ;2Dh '!'
SrecurU equ 002h
+
SrecurV equ 003h
+
SrecurW equ 004h
+
Sconvert equ 005h
+
SFourSpaces equ 006h
+
SsqDown equ 007h
+
Sintegral equ 008h
+
Scross equ 009h
+
SboxIcon equ 00Ah
+
ScrossIcon equ 00Bh
+
SdotIcon equ    00Ch
+
SsubT  equ    00Dh
+
ScubeR  equ    00Eh
+
ShexF equ 00Fh
+
Sroot equ 010h
+
Sinverse equ 011h
+
Ssquare equ 012h
+
Sangle equ 013h
+
Sdegree equ 014h
+
Sradian equ 015h
+
Stranspose equ 016h
+
SLE equ 017h
+
SNE equ 018h
+
SGE equ 019h
+
Sneg equ 01Ah
+
Sexponent equ 01Bh
+
Sstore equ 01Ch
+
Sten equ 01Dh
+
SupArrow equ 01Eh
+
SdownArrow equ 01Fh
+
Sspace equ 020h
+
Sexclam equ 021h
+
Squote equ 022h
+
Spound equ 023h
+
Sdollar equ 024h
+
Spercent equ 025h
+
Sampersand equ 026h
+
Sapostrophe equ 027h
+
SlParen equ 028h
+
SrParen equ 029h
+
Sasterisk equ 02Ah
+
SplusSign equ 02Bh
+
Scomma equ 02Ch
+
Sdash equ 02Dh
+
Speriod equ 02Eh
+
Sslash equ 02Fh
+
S0 equ 030h
+
S1 equ 031h
+
S2 equ 032h
+
S3 equ 033h
+
S4 equ 034h
+
S5 equ 035h
+
S6 equ 036h
+
S7 equ 037h
+
S8 equ 038h
+
S9 equ 039h
+
Scolon equ 03Ah
+
Ssemicolon equ 03Bh
+
SLT equ 03Ch
+
SEQ equ 03Dh
+
SGT equ 03Eh
+
Squestion equ 03Fh
+
SatSign equ 040h
+
ScapA equ 041h
+
ScapB equ 042h
+
ScapC equ 043h
+
ScapD equ 044h
+
ScapE equ 045h
+
ScapF equ 046h
+
ScapG equ 047h
+
ScapH equ 048h
+
ScapI equ 049h
+
ScapJ equ 04Ah
+
ScapK equ 04Bh
+
ScapL equ 04Ch
+
ScapM equ 04Dh
+
ScapN equ 04Eh
+
ScapO equ 04Fh
+
ScapP equ 050h
+
ScapQ equ 051h
+
ScapR equ 052h
+
ScapS equ 053h
+
ScapT equ 054h
+
ScapU equ 055h
+
ScapV equ 056h
+
ScapW equ 057h
+
ScapX equ 058h
+
ScapY equ 059h
+
ScapZ equ 05Ah
+
Stheta  equ    05Bh
+
Sbackslash equ 05Ch
+
SrBrack equ 05Dh
+
Scaret equ 05Eh
+
Sunderscore equ 05Fh
+
Sbackquote equ 060h
+
SmallA equ 061h
+
SmallB equ 062h
+
SmallC equ 063h
+
SmallD equ 064h
+
SmallE equ 065h
+
SmallF equ 066h
+
SmallG equ 067h
+
SmallH equ 068h
+
SmallI equ 069h
+
SmallJ equ 06Ah
+
SmallK equ 06Bh
+
SmallL equ 06Ch
+
SmallM equ 06Dh
+
SmallN equ 06Eh
+
SmallO equ 06Fh
+
SmallP equ 070h
+
SmallQ equ 071h
+
SmallR equ 072h
+
SmallS equ 073h
+
SmallT equ 074h
+
SmallU equ 075h
+
SmallV equ 076h
+
SmallW equ 077h
+
SmallX equ 078h
+
SmallY equ 079h
+
SmallZ equ 07Ah
+
SlBrace equ 07Bh
+
Sbar equ 07Ch
+
SrBrace equ 07Dh
+
Stilde equ 07Eh
+
SinvEQ equ 07Fh
+
Ssub0 equ 080h
+
Ssub1 equ 081h
+
Ssub2 equ 082h
+
Ssub3 equ 083h
+
Ssub4 equ 084h
+
Ssub5 equ 085h
+
Ssub6 equ 086h
+
Ssub7 equ 087h
+
Ssub8 equ 088h
+
Ssub9 equ 089h
+
ScapAAcute equ 08Ah
+
ScapAGrave equ 08Bh
+
ScapACaret equ 08Ch
+
ScapADier equ 08Dh
+
SaAcute equ 08Eh
+
SaGrave equ 08Fh
+
SaCaret equ 090h
+
SaDier equ 091h
+
ScapEGrave equ 092h
+
ScapEAcute equ 093h
+
ScapECaret equ 094h
+
ScapEDier equ 095h
+
SeAcute equ 096h
+
SeGrave equ 097h
+
SeCaret equ 098h
+
SeDier equ 099h
+
ScapIAcute equ 09Ah
+
ScapIGrave equ 09Bh
+
ScapICaret equ 09Ch
+
ScapIDier equ 09Dh
+
SiAcute equ 09Eh
+
SiGrave equ 09Fh
+
SiCaret equ 0A0h
+
SiDier equ 0A1h
+
ScapOAcute equ 0A2h
+
ScapOGrave equ 0A3h
+
ScapOCaret equ 0A4h
+
ScapODier equ 0A5h
+
SoAcute equ 0A6h
+
SoGrave equ 0A7h
+
SoCaret equ 0A8h
+
SoDier equ 0A9h
+
ScapUAcute equ 0AAh
+
ScapUGrave equ 0ABh
+
ScapUCaret equ 0ACh
+
ScapUDier equ 0ADh
+
SuAcute equ 0AEh
+
SuGrave equ 0AFh
+
SuCaret equ 0B0h
+
SuDier equ 0B1h
+
ScapCCed equ 0B2h
+
ScCed equ 0B3h
+
ScapNTilde equ 0B4h
+
SnTilde equ 0B5h
+
Saccent equ 0B6h
+
Sgrave equ 0B7h
+
Sdieresis equ 0B8h
+
SquesDown equ 0B9h
+
SexclamDown equ 0BAh
+
Salpha equ 0BBh
+
Sbeta equ 0BCh
+
Sgamma equ 0BDh
+
ScapDelta equ 0BEh
+
Sdelta equ 0BFh
+
Sepsilon equ 0C0h
+
SlBrack equ    0C1h
+
Slambda equ 0C2h
+
Smu equ 0C3h
+
Spi equ 0C4h
+
Srho equ 0C5h
+
ScapSigma equ 0C6h
+
Ssigma equ 0C7h
+
Stau equ 0C8h
+
Sphi equ 0C9h
+
ScapOmega equ 0CAh
+
SxMean equ 0CBh
+
SyMean equ 0CCh
+
SsupX equ 0CDh
+
Sellipsis equ 0CEh
+
Sleft equ 0CFh
+
Sblock equ 0D0h
+
Sper equ 0D1h
+
Shyphen equ 0D2h
+
Sarea equ 0D3h
+
Stemp equ 0D4h
+
Scube equ 0D5h
+
Senter equ 0D6h
+
SimagI equ 0D7h
+
Sphat equ 0D8h
+
Schi equ 0D9h
+
SstatF  equ    0DAh
+
Slne equ 0DBh
+
SlistL equ 0DCh
+
SfinanN equ 0DDh
+
S2_r_paren equ 0DEh
+
SnarrowCapE    equ    0DFh
+
SListLock equ 0E0h
+
Sscatter1 equ 0E1h                   
+
Sscatter2 equ 0E2h                   
+
Sxyline1  equ 0E3h                   
+
Sxyline2  equ 0E4h
+
Sboxplot1 equ 0E5h
+
Sboxplot2 equ 0E6h
+
Shist1    equ 0E7h
+
Shist2    equ 0E8h
+
SmodBox1  equ 0E9h
+
SmodBox2  equ 0EAh
+
Snormal1  equ 0EBh
+
Snormal2  equ 0ECh
+
 
;
 
;
;======================================================================
+
tCubicR equ 2Eh
;          Keypress Equates
+
tQuartR equ 2Fh
;======================================================================
+
 
;           Keyboard key names
+
;Number Tokens
 +
;---------------------------------------
 +
NUMS equ 30h
 
;
 
;
 +
t0 equ NUMS ;30h
 +
t1 equ NUMS+1 ;31h
 +
t2 equ NUMS+2 ;32h
 +
t3 equ NUMS+3 ;33h
 +
t4 equ NUMS+4 ;34h
 +
t5 equ NUMS+5 ;35h
 +
t6 equ NUMS+6 ;36h
 +
t7 equ NUMS+7 ;37h
 +
t8 equ NUMS+8 ;38h
 +
t9 equ NUMS+9 ;39h
 +
tDecPt equ NUMS+10 ;3Ah
 +
tee equ NUMS+11 ;3Bh
 +
 +
;Binary OP
 +
;-------------------------------------------
 +
tOr equ 3Ch ;3Ch '_or_'
 +
tXor equ 3Dh ;3Dh
 
;
 
;
kRight          EQU      001h
+
tColon equ 3Eh ;3Eh ':'
kLeft          EQU      002h
+
tEnter equ 3Fh ;3Fh Lenter
kUp            EQU      003h
+
kDown          EQU      004h
+
kEnter          EQU      005h
+
kAlphaEnter    EQU      006h
+
kAlphaUp        EQU      007h
+
kAlphaDown      EQU      008h
+
kClear          EQU      009h
+
kDel            EQU      00Ah
+
kIns            EQU      00Bh
+
kRecall        EQU      00Ch
+
kLastEnt        EQU      00Dh
+
kBOL            EQU      00Eh
+
kEOL            EQU      00Fh
+
 
;
 
;
kSelAll        EQU      010h
+
tAnd equ 40h ;40h '_and_'
kUnselAll      EQU      011h
+
 
kLtoTI82        EQU      012h
+
;Letter Tokens
kBackup        EQU      013h
+
;--------------------------------------
kRecieve        EQU      014h
+
LET equ 41h
kLnkQuit        EQU      015h
+
tA equ LET ;41h
kTrans          EQU      016h
+
tB equ LET+1 ;42h
kRename        EQU      017h
+
tC equ LET+2 ;43h
kOverw          EQU      018h
+
tD equ LET+3 ;44h
kOmit          EQU      019h
+
tE equ LET+4 ;45h
kCont          EQU      01Ah
+
tF equ LET+5 ;46h
kSendID        EQU      01Bh
+
tG equ LET+6 ;47h
kSendSW        EQU      01Ch
+
tH equ LET+7 ;48h
kYes            EQU      01Dh
+
tI equ LET+8 ;49h
kNoWay          EQU      01Eh
+
tJ equ LET+9 ;4Ah
kvSendType      EQU      01Fh
+
tK equ LET+10 ;4Bh
kOverWAll      EQU      020h
+
tL equ LET+11 ;4Ch
;
+
tM equ LET+12 ;4Dh
kNo            EQU      025h
+
tN equ LET+13 ;4Eh
kKReset        EQU      026h
+
tO equ LET+14 ;4Fh
kApp            EQU      027h
+
tP equ LET+15 ;50h
;
+
tQ equ LET+16 ;51h
kDoug          EQU      028h
+
tR equ LET+17 ;52h
kListflag      EQU      029h
+
tS equ LET+18 ;53h
menuStart      EQU      02Bh
+
tT equ LET+19 ;54h
;
+
tU equ LET+20 ;55h
kAreYouSure    EQU      02Bh
+
tV equ LET+21 ;56h
kAppsMenu      EQU      02Ch
+
tW equ LET+22 ;57h
kPrgm          EQU      02Dh
+
tX equ LET+23 ;58h
kZoom          EQU      02Eh
+
tY equ LET+24 ;59h
kDraw          EQU      02Fh
+
tZ equ LET+25 ;5Ah
kSPlot          EQU      030h
+
tTheta equ LET+26 ;5Bh
kStat          EQU      031h
+
 
kMath          EQU      032h
+
;These Var Tokens Are 1st Of A Double Token
kTest          EQU      033h
+
;------------------------------------------
kChar          EQU      034h
+
 
kVars          EQU      035h
+
vToks equ LET+27
kMem            EQU      036h
+
kMatrix        EQU      037h
+
kDist          EQU      038h
+
kAngle          EQU      039h
+
kList          EQU      03Ah
+
kCalc          EQU      03Bh
+
kFin            EQU      03Ch
+
;
+
menuEnd        EQU      kFin
+
;
+
kCatalog        EQU      03Eh
+
kInputDone      EQU      03Fh
+
kOff            EQU      kInputDone
+
;
+
kQuit          EQU      040h
+
appStart        EQU      kQuit
+
  
 +
;User Matrix Token, 2nd Token Needed For Name
 
;
 
;
kLinkIO        EQU      041h
+
tVarMat equ vToks ;5Ch
kMatrixEd      EQU      042h
+
kStatEd        EQU      043h
+
kGraph          EQU      044h
+
kMode          EQU      045h
+
kPrgmEd        EQU      046h        ; PROGRAM EDIT
+
kPrgmCr        EQU      047h        ; PROGRAM CREATE
+
kWindow        EQU      048h        ; RANGE EDITOR
+
kYequ          EQU      049h        ; EQUATION EDITOR
+
kTable          EQU      04Ah        ; TABLE EDITOR
+
kTblSet        EQU      04Bh        ; TABLE SET
+
kChkRAM        EQU      04Ch        ; CHECK RAM
+
kDelMem        EQU      04Dh        ; DELETE MEM
+
kResetMem      EQU      04Eh        ; RESET MEM
+
kResetDef EQU   04Fh        ; RESET DEFAULT
+
kPrgmInput      EQU      050h        ; PROGRAM INPUT
+
kZFactEd        EQU      051h        ; ZOOM FACTOR EDITOR
+
kError          EQU      052h        ; ERROR
+
kSolveTVM      EQU      053h        ; TVM SOLVER
+
kSolveRoot EQU   054h        ; SOLVE EDITOR
+
kStatP          EQU      055h        ; stat plot
+
kInfStat EQU   056h       ; Inferential Statistic
+
kFormat        EQU      057h        ; FORMAT
+
kExtApps        EQU      058h        ; External Applications.    NEW
+
kNewApps        EQU      059h        ; New Apps for Cerberus.
+
 
;
 
;
append          EQU      kNewApps
+
;User List Token, 2nd Token Needed For Name
 
;
 
;
echoStart1      EQU      05Ah
+
tVarLst equ vToks+1 ;5Dh
 
;
 
;
kTrace          EQU      05Ah
+
;User Equation Token, 2nd Token Needed For Name
kZFit          EQU      05Bh
+
kZIn            EQU      05Ch
+
kZOut          EQU      05Dh
+
kZPrev          EQU      05Eh
+
kBox            EQU      05Fh
+
kDecml          EQU      060h
+
kSetZm          EQU      061h
+
kSquar          EQU      062h
+
kStd            EQU      063h
+
kTrig          EQU      064h
+
kUsrZm          EQU      065h
+
kZSto          EQU      066h
+
kZInt          EQU      067h
+
kZStat          EQU      068h
+
 
;
 
;
echoStart2      EQU      069h
+
tVarEqu equ vToks+2 ;5Eh
 +
tProg equ vToks+3 ;5Fh
 
;
 
;
kSelect        EQU      069h
+
;User Pict Token, 2nd Token Needed For Name
kCircl          EQU      06Ah
+
kClDrw          EQU      06Bh
+
kLine          EQU      06Ch
+
kPen            EQU      06Dh
+
kPtChg          EQU      06Eh
+
kPtOff          EQU      06Fh
+
kPtOn          EQU      070h
+
kVert          EQU      071h
+
kHoriz          EQU      072h
+
kText          EQU      073h
+
kTanLn          EQU      074h
+
 
;
 
;
kEval          EQU      075h
+
tVarPict equ vToks+4 ;60h
kInters        EQU      076h
+
kDYDX          EQU      077h
+
kFnIntg        EQU      078h
+
kRootG          EQU      079h
+
kDYDT          EQU      07Ah
+
kDXDT          EQU      07Bh
+
kDRDo          EQU      07Ch
+
KGFMin          EQU      07Dh
+
KGFMax          EQU      07Eh
+
 
;
 
;
 +
;User GDB Token, 2nd Token Needed For Name
 
;
 
;
EchoStart      EQU      07Fh
+
tVarGDB equ vToks+5 ;61h
;
+
tVarOut equ vToks+6 ;62h
kListName      EQU      07Fh
+
tVarSys equ vToks+7 ;63h
kAdd            EQU      080h
+
kSub            EQU      081h
+
kMul            EQU      082h
+
kDiv            EQU      083h
+
kExpon          EQU      084h
+
kLParen        EQU      085h
+
kRParen        EQU      086h
+
kLBrack        EQU      087h
+
kRBrack        EQU      088h
+
kShade          EQU      089h
+
kStore          EQU      08Ah
+
kComma          EQU      08Bh
+
kChs            EQU      08Ch
+
kDecPnt        EQU      08Dh
+
k0              EQU      08Eh
+
k1              EQU      08Fh
+
k2              EQU      090h
+
k3              EQU      091h
+
k4              EQU      092h
+
k5              EQU      093h
+
k6              EQU      094h
+
k7              EQU      095h
+
k8              EQU      096h
+
k9              EQU      097h
+
kEE            EQU      098h
+
kSpace          EQU      099h
+
kCapA          EQU      09Ah
+
kCapB          EQU      09Bh
+
kCapC          EQU      09Ch
+
kCapD          EQU      09Dh
+
kCapE          EQU      09Eh
+
kCapF          EQU      09Fh
+
kCapG          EQU      0A0h
+
kCapH          EQU      0A1h
+
kCapI          EQU      0A2h
+
kCapJ          EQU      0A3h
+
kCapK          EQU      0A4h
+
kCapL          EQU      0A5h
+
kCapM          EQU      0A6h
+
kCapN          EQU      0A7h
+
kCapO          EQU      0A8h
+
kCapP          EQU      0A9h
+
kCapQ          EQU      0AAh
+
kCapR          EQU      0ABh
+
kCapS          EQU      0ACh
+
kCapT          EQU      0ADh
+
kCapU          EQU      0AEh
+
kCapV          EQU      0AFh
+
kCapW          EQU      0B0h
+
kCapX          EQU      0B1h
+
kCapY          EQU      0B2h
+
kCapZ          EQU      0B3h
+
kVarx          EQU      0B4h
+
kPi            EQU      0B5h
+
kInv            EQU      0B6h
+
kSin            EQU      0B7h
+
kASin          EQU      0B8h
+
kCos            EQU      0B9h
+
kACos          EQU      0BAh
+
kTan            EQU      0BBh
+
kATan          EQU      0BCh
+
kSquare        EQU      0BDh
+
kSqrt          EQU      0BEh
+
kLn            EQU      0BFh
+
kExp            EQU      0C0h
+
kLog            EQU      0C1h
+
kALog          EQU      0C2h
+
kToABC          EQU      0C3h
+
;
+
kClrTbl        EQU      0C4h
+
;
+
kAns            EQU      0C5h
+
kColon          EQU      0C6h
+
;
+
kNDeriv        EQU      0C7h
+
kFnInt          EQU      0C8h
+
kRoot          EQU      0C9h
+
;
+
kQuest          EQU      0CAh
+
kQuote          EQU      0CBh
+
kTheta          EQU      0CCh
+
kIf            EQU      0CDh
+
kThen          EQU      0CEh
+
kElse          EQU      0CFh
+
kFor            EQU      0D0h
+
kWhile          EQU      0D1h
+
kRepeat        EQU      0D2h
+
kEnd            EQU      0D3h
+
kPause          EQU      0D4h
+
kLbl            EQU      0D5h
+
kGoto          EQU      0D6h
+
kISG            EQU      0D7h
+
kDSL            EQU      0D8h
+
kMenu          EQU      0D9h
+
kExec          EQU      0DAh
+
kReturn        EQU      0DBh
+
kStop          EQU      0DCh
+
kInput          EQU      0DDh
+
kPrompt        EQU      0DEh
+
kDisp          EQU      0DFh
+
kDispG          EQU      0E0h
+
kDispT          EQU      0E1h
+
kOutput        EQU      0E2h
+
kGetKey        EQU      0E3h
+
kClrHome        EQU      0E4h
+
kPrtScr        EQU      0E5h
+
kSinH          EQU      0E6h
+
kCosH          EQU      0E7h
+
kTanH          EQU      0E8h
+
kASinH          EQU      0E9h
+
kACosH          EQU      0EAh
+
kATanH          EQU      0EBh
+
kLBrace        EQU      0ECh
+
kRBrace        EQU      0EDh
+
kI              EQU      0EEh
+
kCONSTeA        EQU      0EFh
+
kPlot3          EQU      0F0h
+
kFMin          EQU      0F1h
+
kFMax          EQU      0F2h
+
kL1A            EQU      0F3h
+
kL2A            EQU      0F4h
+
kL3A            EQU      0F5h
+
kL4A            EQU      0F6h
+
kL5A            EQU      0F7h
+
kL6A            EQU      0F8h
+
kunA            EQU      0F9h
+
kvnA            EQU      0FAh
+
kwnA            EQU      0FBh
+
;
+
;======================================================================
+
;      THIS KEY MEANS THAT IT IS A 2 BYTE KEYCODE
+
;      THERE ARE 2 OF THESE KEYS; BE CAREFUL WITH USAGE
+
;======================================================================
+
;
+
kExtendEcho2    EQU      0FCh
+
;
+
;======================================================================;
+
;      THIS KEY MEANS THAT THE KEY PRESS IS ONE THAT ECHOS
+
;      INTO A BUFFER, AND IT IS A 2 BYTE KEY CODE, GO LOOK AT
+
;      (EXTECHO) FOR THE KEY VALUE
+
;======================================================================
+
;
+
kExtendEcho    EQU      0FEh
+
;
+
  
kE1BT          EQU      0
+
;Mode Setting Commands
 +
;-------------------------------------------------
 +
MODESA equ vToks+8 ;64h
 +
tRad equ MODESA ;64h 'Radian'
 +
tDeg equ MODESA+1 ;65h 'Degree'
 +
tNormF equ MODESA+2 ;66h 'Normal'
 +
tSci equ MODESA+3 ;67h 'Sci'
 +
tEng equ MODESA+4 ;68h 'Eng'
 +
tFloat equ MODESA+5 ;69h 'Float'
 +
CMPS equ 6Ah
 +
tEQ equ CMPS ;6Ah '=='
 +
tLT equ CMPS+1 ;6Bh '<'
 +
tGT equ CMPS+2 ;6Ch '>'
 +
tLE equ CMPS+3 ;6Dh LLE
 +
tGE equ CMPS+4 ;6Eh LGE
 +
tNE equ CMPS+5 ;6Fh LNE
  
kDrawInv        EQU      kE1BT
+
;Binary OP
kDrawF          EQU      kE1BT+1
+
;---------------------------------------
kPixelOn        EQU      kE1BT+2
+
tAdd equ 70h ;70h '+'
kPixelOff      EQU      kE1BT+3
+
tSub equ 71h ;71h '-'
kPxlTest        EQU      kE1BT+4
+
tAns equ 72h ;72h
kRCGDB          EQU      kE1BT+5
+
kRCPic          EQU      kE1BT+6
+
kSTGDB          EQU      kE1BT+7
+
kSTPic          EQU      kE1BT+8
+
kAbs            EQU      kE1BT+9
+
kTEqu          EQU      kE1BT+10    ; ==
+
kTNoteQ        EQU      kE1BT+11    ; <>
+
kTGT            EQU      kE1BT+12    ; >
+
kTGTE          EQU      kE1BT+13    ; > =
+
kTLT            EQU      kE1BT+14    ; <
+
kTLTE          EQU      kE1BT+15    ; < =
+
  
kAnd            EQU      kE1BT+16
+
;Mode Setting Commands
kOr            EQU      kE1BT+17
+
;-------------------------------------------------------
kXor            EQU      kE1BT+18
+
MODES equ 73h
kNot            EQU      kE1BT+19
+
tFix equ MODES ;73h 'Fix_'
 +
tSplitOn equ MODES+1 ;74h
 +
tFullScreen equ MODES+2 ;75h
 +
tStndrd equ MODES+3 ;76h 'Func'
 +
tParam equ MODES+4 ;77h 'Param'
 +
tPolar equ MODES+5 ;78h 'Pol'
 +
tSeqG equ MODES+6 ;79h
 +
tAFillOn equ MODES+7 ;7Ah 'AUTO FILL ON'
 +
tAFillOff equ MODES+8 ;7Bh
 +
tACalcOn equ MODES+9 ;7Ch
 +
tACalcOff equ MODES+10 ;7Dh 'AutoFill OFF'
  
kLR1            EQU      kE1BT+20
+
;Graph Format Tokens Are 2 Byte Tokens
 +
;----------------------------------------
 +
tGFormat equ MODES+11 ;7Eh
 +
tBoxIcon equ 7Fh
 +
tCrossIcon equ 80h
 +
tDotIcon equ 81h
  
kXRoot          EQU      kE1BT+21
+
;(More) Binary OP
kCube          EQU      kE1BT+22
+
;---------------------------------------
kCbRt          EQU      kE1BT+23    ; Cube ROOT
+
tMul equ 82h ;82h '*'
kToDec          EQU      kE1BT+24
+
tDiv equ 83h ;83h '/'
;
+
kCubicR        EQU      kE1BT+25
+
kQuartR        EQU      kE1BT+26
+
;
+
kPlot1          EQU      kE1BT+27
+
kPlot2          EQU      kE1BT+28
+
;
+
  
kRound          EQU      kE1BT+29
+
;Some Graph Commands
kIPart          EQU      kE1BT+30
+
;------------------------------------------------------
kFPart          EQU      kE1BT+31
+
GRCMDS equ 84h
kInt            EQU      kE1BT+32
+
tTrace equ GRCMDS ; 84h 'Trace'
 +
tClDrw equ GRCMDS+1 ; 85h 'ClDrw'
 +
tZoomStd equ GRCMDS+2 ; 86h 'ZStd'
 +
tZoomtrg equ GRCMDS+3 ; 87h 'Ztrg'
 +
tZoomBox equ GRCMDS+4 ; 88h 'ZBOX'
 +
tZoomIn equ GRCMDS+5 ; 89h 'ZIn'
 +
tZoomOut equ GRCMDS+6 ; 8Ah 'ZOut'
 +
tZoomSqr equ GRCMDS+7 ; 8Bh 'ZSqr'
 +
tZoomInt equ GRCMDS+8 ; 8Ch 'ZInt'
 +
tZoomPrev equ GRCMDS+9 ; 8Dh 'ZPrev'
 +
tZoomDec equ GRCMDS+10 ; 8Eh 'ZDecm'
 +
tZoomStat equ GRCMDS+11 ; 8Fh 'ZStat
 +
tUsrZm equ GRCMDS+12 ; 90h 'ZRcl'
 +
tPrtScrn equ GRCMDS+13 ; 91h 'PrtScrn'
 +
tZoomSto equ GRCMDS+14 ; 92h  ZOOM STORE
 +
tText equ GRCMDS+15 ; 93h
  
kRand          EQU      kE1BT+33
+
;Binary OP (Combination & Permutation)
kNPR            EQU      kE1BT+34
+
;-------------------------------------------------
kNCR            EQU      kE1BT+35
+
tnPr equ GRCMDS+16 ;94h '_nPr_'
kXFactorial    EQU      kE1BT+36
+
tnCr equ GRCMDS+17 ;95h '_nCr_'
  
kRad            EQU      kE1BT+37
+
;More Graph Commands
kDegr          EQU      kE1BT+38    ; DEGREES CONV
+
;--------------------------------------------------
kAPost          EQU      kE1BT+39
+
tYOn equ GRCMDS+18 ;96h 'FnOn_'
kToDMS          EQU      kE1BT+40
+
tYOff equ GRCMDS+19 ;97h 'FnOff_'
kRToPo          EQU      kE1BT+41    ; R
+
tStPic equ GRCMDS+20 ;98h 'StPic_'
kRToPr          EQU      kE1BT+42
+
tRcPic equ GRCMDS+21 ;99h 'RcPic_'
kPToRx          EQU      kE1BT+43
+
tStoDB equ GRCMDS+22 ;9Ah 'StGDB_'
kPToRy          EQU      kE1BT+44
+
tRclDB equ GRCMDS+23 ;9Bh 'RcGDB_'
 +
tLine equ GRCMDS+24 ;9Ch 'Line'
 +
tVert equ GRCMDS+25 ;9Dh 'Vert_'
 +
tPtOn equ GRCMDS+26 ;9Eh 'PtOn'
 +
tPtOff equ GRCMDS+27 ;9Fh 'PtOff'
  
kRowSwap        EQU      kE1BT+45
+
;Token A0 Cannot Be An EOS Function Since Low MULT=A0 Already
kRowPlus        EQU      kE1BT+46
+
;------------------------------------------------------------
kTimRow        EQU      kE1BT+47
+
tPtChg equ GRCMDS+28 ;A0h 'PtChg'
kTRowP          EQU      kE1BT+48
+
tPXOn equ GRCMDS+29 ;A1h
 +
tPXOff equ GRCMDS+30 ;A2h
 +
tPXChg equ GRCMDS+31 ;A3h
 +
tShade equ GRCMDS+32 ;A4h 'Shade'
 +
tCircl equ GRCMDS+33 ;A5h 'Circl'
 +
tHorz equ GRCMDS+34 ;A6h 'HORIZONTAL'
 +
tTanLn equ GRCMDS+35 ;A7h 'TanLn'
 +
tDrInv equ GRCMDS+36 ;A8h 'DrInv_'
 +
tDrawF equ GRCMDS+37 ;A9h 'DrawF_'
 +
tVarStrng equ 0AAh
  
kSortA          EQU      kE1BT+49
+
;Functions with No Arguments                                   
kSortD          EQU      kE1BT+50
+
;--------------------------------------------------
kSeq            EQU      kE1BT+51
+
NOARG equ 0ABh
 +
tRand equ NOARG ;ABh 'rand'
 +
tPi equ NOARG+1 ;ACh  Lpi
 +
tGetKey equ NOARG+2 ;ADh 'getKy'
 +
tAPost equ tGetKey+1 ;APOSTROPHY
 +
tQuest equ tAPost+1 ;QUESTION MARK
 +
UNARY equ tQuest+1 ;B0h
 +
tChs equ UNARY ;B0h
 +
tInt equ UNARY+1 ;B1h
 +
tAbs equ UNARY+2 ;B2h
 +
tDet equ UNARY+3 ;B3h
 +
tIdent equ UNARY+4 ;B4h
 +
tDim equ UNARY+5 ;B5h
 +
tSum equ UNARY+6 ;B6h
 +
tProd equ UNARY+7 ;B7h
 +
tNot equ UNARY+8 ;B8h
 +
tIPart equ UNARY+9 ;B9h
 +
tFPart equ UNARY+10 ;BAh
  
kMin            EQU      kE1BT+52
+
;New 2 Byte Tokens
kMax            EQU      kE1BT+53
+
;------------------------------------------
kMean          EQU      kE1BT+54
+
t2ByteTok equ 0BBh
kMedian        EQU      kE1BT+55
+
UNARYLR equ UNARY+12
kSum            EQU      kE1BT+56
+
tSqrt equ UNARYLR ;BCh
kProd          EQU      kE1BT+57
+
tCubRt equ UNARYLR+1 ;BDh
 +
tLn equ UNARYLR+2 ;BEh
 +
tExp equ UNARYLR+3 ;BFh
 +
tLog equ UNARYLR+4 ;C0h
 +
tALog equ UNARYLR+5 ;C1h
 +
tSin equ UNARYLR+6 ;C2h
 +
tASin equ UNARYLR+7 ;C3h
 +
tCos equ UNARYLR+8 ;C4h
 +
tACos equ UNARYLR+9 ;C5h
 +
tTan equ UNARYLR+10 ;C6h
 +
tATan equ UNARYLR+11 ;C7h
 +
tSinH equ UNARYLR+12 ;C8h
 +
tASinH equ UNARYLR+13 ;C9h
 +
tCoshH equ UNARYLR+14 ;CAh
 +
tACosH equ UNARYLR+15 ;CBh
 +
tTanH equ UNARYLR+16 ;CCh
 +
tATanH equ UNARYLR+17 ;CDh
  
kDet            EQU      kE1BT+58
+
;Some Programming Commands
kTransp        EQU      kE1BT+59
+
;------------------------------------------------------
kDim            EQU      kE1BT+60
+
PROGTOK equ UNARYLR+18
kFill          EQU      kE1BT+61
+
tIf equ PROGTOK ;CEh
kIdent          EQU      kE1BT+62
+
tThen equ PROGTOK+1 ;CFh
kRandm          EQU      kE1BT+63
+
tElse equ PROGTOK+2 ;D0h
kAug            EQU      kE1BT+64
+
tWhile equ PROGTOK+3 ;D1h
 +
tRepeat equ PROGTOK+4 ;D2h
 +
tFor equ PROGTOK+5 ;D3h
 +
tEnd equ PROGTOK+6 ;D4h
 +
tReturn equ PROGTOK+7 ;D5h
 +
tLbl equ PROGTOK+8 ;D6h 'Lbl_'
 +
tGoto equ PROGTOK+9 ;D7h 'Goto_'
 +
tPause equ PROGTOK+10 ;D8h 'Pause_'
 +
tStop equ PROGTOK+11 ;D9h 'Stop'
 +
tISG equ PROGTOK+12 ;DAh 'IS>'
 +
tDSL equ PROGTOK+13 ;DBh 'DS<'
 +
tInput equ PROGTOK+14 ;DCh 'Input_'
 +
tPrompt equ PROGTOK+15 ;DDh 'Prompt_'
 +
tDisp equ PROGTOK+16 ;DEh 'Disp_'
 +
tDispG equ PROGTOK+17 ;DFh 'DispG'
 +
tOutput equ PROGTOK+18 ;E0h 'Outpt'
 +
tClLCD equ PROGTOK+19 ;E1h 'ClLCD'
 +
tConst equ PROGTOK+20 ;E2h 'Fill'
 +
tSortA equ PROGTOK+21 ;E3h 'sortA_'
 +
tSortD equ PROGTOK+22 ;E4h 'sortD_'
 +
tDispTab equ PROGTOK+23 ;E5h 'Disp Table
 +
tMenu equ PROGTOK+24 ;E6h 'Menu'
 +
tSendMBL equ PROGTOK+25 ;E7h 'SEND'
 +
tGetMBL equ PROGTOK+26 ;E8h 'GET'
  
kOneVar        EQU      kE1BT+65
+
;Stat Plot Commands
kTwoVar        EQU      kE1BT+66
+
;------------------------------------------------------
kLR            EQU      kE1BT+67
+
statPCmd equ PROGTOK+27
kLRExp          EQU      kE1BT+68
+
tPlotOn equ statPCmd ;E9h ' PLOTSON'
kLRLn          EQU      kE1BT+69
+
tPlotOff equ statPCmd+1 ;EAh ' PLOTSOFF
kLRPwr          EQU      kE1BT+70
+
tListName equ 0EBh ;LIST DESIGNATOR
kMedMed        EQU      kE1BT+71
+
tPlot1 equ 0ECh
kQuad          EQU      kE1BT+72
+
tPlot2 equ 0EDh
kClrLst        EQU      kE1BT+73
+
tPlot3 equ 0EEh
kHist          EQU      kE1BT+74
+
tUnused01 equ 0EFh ;available?
kxyLine        EQU      kE1BT+75
+
tPower equ 0F0h ;'^'
kScatter        EQU      kE1BT+76
+
tXRoot equ 0F1h ;LsupX,Lroot
 +
STATCMD equ 0F2h
 +
tOneVar equ STATCMD ;F2h 'OneVar_'
 +
tTwoVar equ STATCMD+1 ;F3h
 +
tLR equ STATCMD+2 ;F4h 'LinR(A+BX
 +
tLRExp equ STATCMD+3 ;F5h 'ExpR_'
 +
tLRLn equ STATCMD+4 ;F6h 'LnR_'
 +
tLRPwr equ STATCMD+5 ;F7h 'PwrR_'
 +
tMedMed equ STATCMD+6 ;F8h
 +
tQuad equ STATCMD+7 ;F9h
 +
tClrLst equ STATCMD+8 ;FAh 'CLEAR LIST
 +
tClrTbl equ STATCMD+9 ;FBh CLEAR TABLE
 +
tHist equ STATCMD+10 ;FCh 'Hist_'
 +
txyLine equ STATCMD+11 ;FDh 'xyline_'
 +
tScatter equ STATCMD+12 ;FEh 'Scatter_'
 +
tLR1 equ STATCMD+13 ;FFh 'LINR(AX+B
  
kmRad          EQU      kE1BT+77
+
;2nd Half Of Graph Format Tokens
kmDeg          EQU      kE1BT+78
+
;----------------------------------------------
kmNormF        EQU      kE1BT+79
+
;          Format settings commands
kmSci          EQU      kE1BT+80
+
kmEng          EQU      kE1BT+81
+
kmFloat        EQU      kE1BT+82
+
 
+
kFix            EQU      kE1BT+83
+
kSplitOn        EQU      kE1BT+84
+
kFullScreen    EQU      kE1BT+85
+
kStndrd        EQU      kE1BT+86
+
kParam          EQU      kE1BT+87
+
kPolar          EQU      kE1BT+88
+
kSeqG          EQU      kE1BT+89
+
kAFillOn        EQU      kE1BT+90
+
kAFillOff      EQU      kE1BT+91
+
kACalcOn        EQU      kE1BT+92
+
kACalcOff      EQU      kE1BT+93
+
kFNOn          EQU      kE1BT+94
+
kFNOff          EQU      kE1BT+95
+
 
+
kPlotsOn        EQU      kE1BT+96
+
kPlotsOff      EQU      kE1BT+97
+
 
+
kPixelChg      EQU      kE1BT+98
+
 
+
kSendMBL        EQU      kE1BT+99
+
kRecvMBL        EQU      kE1BT+100
+
 
+
kBoxPlot        EQU      kE1BT+101
+
kBoxIcon        EQU      kE1BT+102
+
kCrossIcon      EQU      kE1BT+103
+
kDotIcon        EQU      kE1BT+104
+
 
+
kE2BT          EQU      kE1BT+105
+
 
+
kSeqential      EQU      kE2BT
+
kSimulG        EQU      kE2BT+1
+
kPolarG        EQU      kE2BT+2
+
kRectG          EQU      kE2BT+3
+
kCoordOn        EQU      kE2BT+4
+
kCoordOff      EQU      kE2BT+5
+
kDrawLine      EQU      kE2BT+6
+
kDrawDot        EQU      kE2BT+7
+
kAxisOn        EQU      kE2BT+8
+
kAxisOff        EQU      kE2BT+9
+
kGridOn        EQU      kE2BT+10
+
kGridOff        EQU      kE2BT+11
+
kLblOn          EQU      kE2BT+12
+
kLblOff        EQU      kE2BT+13
+
 
+
kL1            EQU      kE2BT+14
+
kL2            EQU      kE2BT+15
+
kL3            EQU      kE2BT+16
+
kL4            EQU      kE2BT+17
+
kL5            EQU      kE2BT+18
+
kL6            EQU      kE2BT+19
+
 
+
;
+
;======================================================================
+
;          These keys are layed on top of existing keys to
+
;          enable localization in the inferential stats editor
+
;======================================================================
+
;
+
kinfData        EQU      kL1
+
kinfStats      EQU      kL1+1
+
kinfYes        EQU      kL1+2
+
kinfNo          EQU      kL1+3
+
kinfCalc        EQU      kL1+4
+
kinfDraw        EQU      kL1+5
+
kinfAlt1ne      EQU      kL1+6
+
kinfAlt1lt      EQU      kL1+7
+
kinfAlt1gt      EQU      kL1+8
+
kinfAlt2ne      EQU      kL1+9
+
kinfAlt2lt      EQU      kL1+10
+
kinfAlt2gt      EQU      kL1+11
+
kinfAlt3ne      EQU      kL1+12
+
kinfAlt3lt      EQU      kL1+13
+
kinfAlt3gt      EQU      kL1+14
+
kinfAlt4ne      EQU      kL1+15
+
kinfAlt4lt      EQU      kL1+16
+
kinfAlt4gt      EQU      kL1+17
+
kinfAlt5ne      EQU      kL1+18
+
kinfAlt5lt      EQU      kL1+19
+
kinfAlt5gt      EQU      kL1+20
+
kinfAlt6ne      EQU      kL1+21
+
kinfAlt6lt      EQU      kL1+22
+
kinfAlt6gt      EQU      kL1+23
+
;
+
 
;
 
;
kMatA          EQU      kE2BT+20
+
GFMT equ 0
kMatB          EQU      kE2BT+21
+
tSeq equ GFMT ; 'SeqG'
kMatC          EQU      kE2BT+22
+
tSimulG equ GFMT+1 ; 'SimulG'
kMatD          EQU      kE2BT+23
+
tPolarG equ GFMT+2 ; 'PolarGC'
kMatE          EQU      kE2BT+24
+
tRectG equ GFMT+3 ; 'RectGC'
 +
tCoordOn equ GFMT+4 ; 'CoordOn'
 +
tCoordOff equ GFMT+5 ; 'CoordOff'
 +
tDrawLine equ GFMT+6 ; 'DrawLine'
 +
tDrawDot equ GFMT+7 ; 'DrawDot'
 +
tAxisOn equ GFMT+8 ; 'AxesOn'
 +
tAxisOff equ GFMT+9 ; 'AxesOff'
 +
tGridOn equ GFMT+10 ; 'GridOn'
 +
tGridOff equ GFMT+11 ; 'GridOff'
 +
tLblOn equ GFMT+12 ; 'LabelOn'
 +
tLblOff equ GFMT+13 ; 'LabelOff'
 +
tWebOn equ GFMT+14 ; 'WebOn'
 +
tWebOff equ GFMT+15 ; 'WebOFF'
 +
tuv equ GFMT+16 ; U vs V
 +
tvw equ GFMT+17 ; V vs W
 +
tuw equ GFMT+18 ; U vs W
  
kXmin          EQU      kE2BT+25
+
;2nd Half Of User Matrix Tokens
kXmax          EQU      kE2BT+26
+
;-------------------------------------
kXscl          EQU      kE2BT+27
+
tMatA equ 00h ;MAT A
kYmin          EQU      kE2BT+28
+
tMatB equ 01h ;MAT B
kYmax          EQU      kE2BT+29
+
tMatC equ 02h ;MAT C
kYscl          EQU      kE2BT+30
+
tMatD equ 03h ;MAT D
kTmin          EQU      kE2BT+31
+
tMatE equ 04h ;MAT E
kTmax          EQU      kE2BT+32
+
tMatF equ 05h ;MAT F
kTStep          EQU      kE2BT+33
+
tMatG equ 06h ;MAT G
kOmin          EQU      kE2BT+34
+
tMatH equ 07h ;MAT H
kOmax          EQU      kE2BT+35
+
tMatI equ 08h ;MAT I
kOStep          EQU      kE2BT+36
+
tMatJ equ 09h ;MAT J
ku0            EQU      kE2BT+37
+
kv0            EQU      kE2BT+38
+
knMin          EQU      kE2BT+39
+
knMax          EQU      kE2BT+40
+
kDeltaY        EQU      kE2BT+41
+
kDeltaX        EQU      kE2BT+42
+
  
kZXmin          EQU      kE2BT+43
+
;2nd Half Of User List Tokens
kZXmax          EQU      kE2BT+44
+
;--------------------------------------
kZXscl          EQU      kE2BT+45
+
tL1 equ 00h ;LIST 1
kZYmin          EQU      kE2BT+46
+
tL2 equ 01h ;LIST 2
kZYmax          EQU      kE2BT+47
+
tL3 equ 02h ;LIST 3
kZYscl          EQU      kE2BT+48
+
tL4 equ 03h ;LIST 4
kZTmin          EQU      kE2BT+49
+
tL5 equ 04h ;LIST 5
kZTmax          EQU      kE2BT+50
+
tL6 equ 05h ;LIST 6
kZTStep        EQU      kE2BT+51
+
kZOmin          EQU      kE2BT+52
+
kZOmax          EQU      kE2BT+53
+
kZOStep        EQU      kE2BT+54
+
kZu0            EQU      kE2BT+55
+
kZv0            EQU      kE2BT+56
+
kZnMin          EQU      kE2BT+57
+
kZnMax          EQU      kE2BT+58
+
  
kDelLast        EQU      kE2BT+59
+
;2nd Half Of User Equation Tokens
kSinReg        EQU      kE2BT+60
+
;----------------------------------
kConstE        EQU      kE2BT+61
+
; "Y" EQUATIONS HAVE BIT 4 SET
 
+
kPic1          EQU      kE2BT+62
+
kPic2          EQU      kE2BT+63
+
kPic3          EQU      kE2BT+64
+
 
+
kDelVar        EQU      kE2BT+65
+
kGetCalc        EQU      kE2BT+66
+
kRealM          EQU      kE2BT+67
+
kPolarM        EQU      kE2BT+68
+
kRectM          EQU      kE2BT+69
+
kuv            EQU      kE2BT+70    ; U vs V
+
kvw            EQU      kE2BT+71    ; V vs W
+
kuw            EQU      kE2BT+72    ; U vs W
+
kFinPMTend      EQU      kE2BT+73
+
kFinPMTbeg      EQU      kE2BT+74
+
 
;
 
;
kGraphStyle    EQU      kE2BT+75
+
tY1 equ 10h ;Y1
;
+
tY2 equ 11h ;Y2
kExprOn        EQU      kE2BT+76
+
tY3 equ 12h ;Y3
kExprOff        EQU      kE2BT+77
+
tY4 equ 13h ;Y4
kStatA          EQU      kE2BT+78
+
tY5 equ 14h ;Y5
kStatB          EQU      kE2BT+79
+
tY6 equ 15h ;Y6
kStatC          EQU      kE2BT+80
+
tY7 equ 16h ;Y7
kCorr          EQU      kE2BT+81
+
tY8 equ 17h ;Y8
kStatD          EQU      kE2BT+82
+
tY9 equ 18h ;Y9
kStatE          EQU      kE2BT+83
+
tY0 equ 19h ;Y0
kRegEq          EQU      kE2BT+84
+
kMinX          EQU      kE2BT+85
+
kQ1            EQU      kE2BT+86
+
kMD            EQU      kE2BT+87
+
kQ3            EQU      kE2BT+88
+
kMaxX          EQU      kE2BT+89
+
kStatX1        EQU      kE2BT+90
+
kStatY1        EQU      kE2BT+91
+
kStatX2        EQU      kE2BT+92
+
kStatY2        EQU      kE2BT+93
+
kStatX3        EQU      kE2BT+94
+
kStatY3        EQU      kE2BT+95
+
kTblMin        EQU      kE2BT+96
+
kTblStep        EQU      kE2BT+97
+
kSetupLst      EQU      kE2BT+98
+
kClrAllLst      EQU      kE2BT+99
+
kLogistic      EQU      kE2BT+100
+
kZTest          EQU      kE2BT+101
+
kTTest          EQU      kE2BT+102
+
k2SampZTest    EQU      kE2BT+103
+
k2SampTTest    EQU      kE2BT+104
+
k1PropZTest    EQU      kE2BT+105
+
k2PropZTest    EQU      kE2BT+106
+
kChiTest        EQU      kE2BT+107
+
k2SampFTest    EQU      kE2BT+108
+
kZIntVal        EQU      kE2BT+109
+
kTIntVal        EQU      kE2BT+110
+
k2SampTInt      EQU      kE2BT+111
+
k2SampZInt      EQU      kE2BT+112
+
k1PropZInt      EQU      kE2BT+113
+
k2PropZInt      EQU      kE2BT+114
+
kDNormal        EQU      kE2BT+115
+
kInvNorm        EQU      kE2BT+116
+
kDT            EQU      kE2BT+117
+
kChi            EQU      kE2BT+118
+
kDF            EQU      kE2BT+119
+
kBinPDF        EQU      kE2BT+120
+
kBinCDF        EQU      kE2BT+121
+
kPoiPDF        EQU      kE2BT+122
+
kPoiCDF        EQU      kE2BT+123
+
kun            EQU      kE2BT+124
+
kvn            EQU      kE2BT+125
+
kwn            EQU      kE2BT+126
+
kRecn          EQU      kE2BT+127
+
kPlotStart      EQU      kE2BT+128
+
kZPlotStart    EQU      kE2BT+129  ; recursion n
+
kXFact          EQU      kE2BT+130  ; PlotStart
+
kYFact          EQU      kE2BT+131  ; ZPlotStart
+
kANOVA          EQU      kE2BT+132  ; XFact
+
kMaxY          EQU      kE2BT+133  ; YFact
+
kWebOn          EQU      kE2BT+134  ; MinY
+
kWebOff        EQU      kE2BT+135  ; MaxY
+
kTblInput      EQU      kE2BT+136  ; WEB ON
+
kGeoPDF        EQU      kE2BT+137  ; WEB OFF
+
kGeoCDF        EQU      kE2BT+138  ; WEB OFF
+
kShadeNorm      EQU      kE2BT+139
+
kShadeT        EQU      kE2BT+140
+
kShadeChi      EQU      kE2BT+141
+
kShadeF        EQU      kE2BT+142
+
kPlotStep      EQU      kE2BT+143
+
kZPlotStep      EQU      kE2BT+144
+
kLinRegtTest    EQU      kE2BT+145
+
KMGT EQU   kE2BT+146  ; VERT SPLIT
+
kSelectA        EQU      kE2BT+147
+
kZFitA          EQU      kE2BT+148
+
kE2BT_End      EQU      kZFitA
+
;
+
;
+
;======================================================================
+
;           More 2 Byte Keys
+
;======================================================================
+
  
kE2BT2 EQU      0
+
;Param Equations Have Bit 5 Set
 +
;-----------------------------------
 +
tX1T equ 20h ;X1t
 +
tY1T equ 21h ;Y1t
 +
tX2T equ 22h ;X2t
 +
tY2T equ 23h ;Y2t
 +
tX3T equ 24h ;X3t
 +
tY3T equ 25h ;Y3t
 +
tX4T equ 26h ;X4t
 +
tY4T equ 27h ;Y4t
 +
tX5T equ 28h ;X5t
 +
tY5T equ 29h ;Y5t
 +
tX6T equ 2Ah ;X6t
 +
tY6T equ 2Bh ;Y6t
  
kGDB1 EQU      kE2BT2
+
;Polar Equations Have Bit 6 Set
kGDB2 EQU      kE2BT2+1
+
;----------------------------------
kGDB3 EQU      kE2BT2+2
+
tR1 equ 40h ;R1
kY1 EQU      kE2BT2+3
+
tR2 equ 41h ;R2
kY2 EQU      kE2BT2+4
+
tR3 equ 42h ;R3
kY3 EQU      kE2BT2+5
+
tR4 equ 43h ;R4
kY4 EQU      kE2BT2+6
+
tR5 equ 44h ;R5
kY5 EQU      kE2BT2+7
+
tR6 equ 45h ;R6
kY6 EQU      kE2BT2+8
+
kY7 EQU      kE2BT2+9
+
kY8 EQU      kE2BT2+10
+
kY9 EQU      kE2BT2+11
+
kY0 EQU      kE2BT2+12
+
kX1T EQU      kE2BT2+13
+
kY1T EQU      kE2BT2+14
+
kX2T EQU      kE2BT2+15
+
kY2T EQU      kE2BT2+16
+
kX3T EQU      kE2BT2+17
+
kY3T EQU      kE2BT2+18
+
kX4T EQU      kE2BT2+19
+
kY4T EQU      kE2BT2+20
+
kX5T EQU      kE2BT2+21
+
kY5T EQU      kE2BT2+22
+
kX6T EQU      kE2BT2+23
+
kY6T EQU      kE2BT2+24
+
kR1 EQU      kE2BT2+25
+
kR2 EQU      kE2BT2+26
+
kR3 EQU      kE2BT2+27
+
kR4 EQU      kE2BT2+28
+
kR5 EQU      kE2BT2+29
+
kR6 EQU      kE2BT2+30
+
kGDB4 EQU      kE2BT2+31
+
kGDB5 EQU      kE2BT2+32
+
kGDB6 EQU      kE2BT2+33
+
kPic4 EQU      kE2BT2+34
+
kPic5 EQU      kE2BT2+35
+
kPic6 EQU      kE2BT2+36
+
kGDB7 EQU      kE2BT2+37
+
kGDB8 EQU      kE2BT2+38
+
kGDB9 EQU      kE2BT2+39
+
kGDB0 EQU      kE2BT2+40
+
kPic7 EQU      kE2BT2+41
+
kPic8 EQU      kE2BT2+42
+
kPic9 EQU      kE2BT2+43
+
kPic0 EQU      kE2BT2+44
+
kStatN EQU      kE2BT2+45
+
kXMean EQU      kE2BT2+46
+
kConj EQU      kE2BT2+47
+
kReal EQU      kE2BT2+48
+
kFAngle EQU      kE2BT2+49
+
kLCM EQU      kE2BT2+50
+
kGCD EQU      kE2BT2+51
+
kRandInt EQU      kE2BT2+52
+
kRandNorm EQU      kE2BT2+53
+
kToPolar EQU      kE2BT2+54
+
kToRect EQU      kE2BT2+55
+
kYMean EQU      kE2BT2+56
+
kStdX EQU      kE2BT2+57
+
kStdX1 EQU      kE2BT2+58
+
kw0 EQU      kE2BT2+59
+
kMatF EQU      kE2BT2+60
+
kMatG EQU      kE2BT2+61
+
kMatRH EQU      kE2BT2+62
+
kMatI EQU      kE2BT2+63
+
kMatJ EQU      kE2BT2+64
+
kYMean1 EQU      kE2BT2+65
+
kStdY EQU      kE2BT2+66
+
kStdY1 EQU      kE2BT2+67
+
kMatToLst EQU      kE2BT2+68
+
kLstToMat EQU      kE2BT2+69
+
kCumSum EQU      kE2BT2+70
+
kDeltaLst EQU      kE2BT2+71
+
kStdDev EQU      kE2BT2+72
+
kVariance EQU      kE2BT2+73
+
kLength EQU      kE2BT2+74
+
kEquToStrng EQU      kE2BT2+75
+
kStrngToEqu EQU      kE2BT2+76
+
kExpr EQU      kE2BT2+77
+
kSubStrng EQU      kE2BT2+78
+
kInStrng EQU      kE2BT2+79
+
kStr1 EQU      kE2BT2+80
+
kStr2 EQU      kE2BT2+81
+
kStr3 EQU      kE2BT2+82
+
kStr4          EQU      kE2BT2+83
+
kStr5          EQU      kE2BT2+84
+
kStr6          EQU      kE2BT2+85
+
kStr7          EQU      kE2BT2+86
+
kStr8          EQU      kE2BT2+87
+
kStr9          EQU      kE2BT2+88
+
kStr0          EQU      kE2BT2+89
+
kFinN          EQU      kE2BT2+90
+
kFinI          EQU      kE2BT2+91
+
kFinPV          EQU      kE2BT2+92
+
kFinPMT        EQU      kE2BT2+93
+
kFinFV          EQU      kE2BT2+94
+
kFinPY          EQU      kE2BT2+95
+
kFinCY          EQU      kE2BT2+96
+
kFinFPMT        EQU      kE2BT2+97
+
kFinFI          EQU      kE2BT2+98
+
kFinFPV        EQU      kE2BT2+99
+
kFinFN          EQU      kE2BT2+100
+
kFinFFV        EQU      kE2BT2+101
+
kFinNPV        EQU      kE2BT2+102
+
kFinIRR        EQU      kE2BT2+103
+
kFinBAL        EQU      kE2BT2+104
+
kFinPRN        EQU      kE2BT2+105
+
kFinINT        EQU      kE2BT2+106
+
kSumX          EQU      kE2BT2+107
+
kSumX2          EQU      kE2BT2+108
+
kFinToNom      EQU      kE2BT2+109
+
kFinToEff      EQU      kE2BT2+110
+
kFinDBD        EQU      kE2BT2+111
+
kStatVP        EQU      kE2BT2+112
+
kStatZ          EQU      kE2BT2+113
+
kStatT          EQU      kE2BT2+114
+
kStatChi        EQU      kE2BT2+115
+
kStatF          EQU      kE2BT2+116
+
kStatDF        EQU      kE2BT2+117
+
kStatPhat      EQU      kE2BT2+118
+
kStatPhat1      EQU      kE2BT2+119
+
kStatPhat2      EQU      kE2BT2+120
+
kStatMeanX1    EQU      kE2BT2+121
+
kStatMeanX2    EQU      kE2BT2+122
+
kStatStdX1      EQU      kE2BT2+123
+
kStatStdX2      EQU      kE2BT2+124
+
kStatStdXP      EQU      kE2BT2+125
+
kStatN1        EQU      kE2BT2+126
+
kStatN2        EQU      kE2BT2+127
+
kStatLower      EQU      kE2BT2+128
+
kStatUpper      EQU      kE2BT2+129
+
kuw0            EQU      kE2BT2+130
+
kImag          EQU      kE2BT2+131
+
kSumY          EQU      kE2BT2+132
+
kXres          EQU      kE2BT2+133
+
kStat_s        EQU      kE2BT2+134
+
kSumY2          EQU      kE2BT2+135
+
kSumXY          EQU      kE2BT2+136
+
kuXres          EQU      kE2BT2+137
+
kModBox EQU      kE2BT2+138
+
kNormProb EQU      kE2BT2+139
+
kNormalPDF      EQU      kE2BT2+140
+
kTPDF          EQU      kE2BT2+141
+
kChiPDF        EQU      kE2BT2+142
+
kFPDF          EQU      kE2BT2+143
+
kMinY          EQU      kE2BT2+144  ; MinY
+
kRandBin        EQU      kE2BT2+145
+
kRef            EQU      kE2BT2+146
+
kRRef          EQU      kE2BT2+147
+
kLRSqr          EQU      kE2BT2+148
+
kBRSqr          EQU      kE2BT2+149
+
kDiagOn        EQU      kE2BT2+150
+
kDiagOff        EQU      kE2BT2+151
+
kun1            EQU      kE2BT2+152  ; FOR RCL USE WHEN GOTTEN FROM 82
+
kvn1            EQU      kE2BT2+153  ; FOR RCL USE WHEN GOTTEN FROM 82
+
;
+
k83_00End      EQU kvn1            ;end of original keys...
+
kArchive        EQU    k83_00End + 1
+
kUnarchive      EQU    k83_00End + 2
+
kAsm            EQU    k83_00End + 3  ; Asm(
+
kAsmPrgm        EQU    k83_00End + 4  ; AsmPrgm
+
kAsmComp        EQU    k83_00End + 5  ; AsmComp(
+
;
+
kcapAAcute EQU      k83_00End + 6
+
kcapAGrave EQU      k83_00End + 7
+
kcapACaret EQU      k83_00End + 8
+
kcapADier EQU      k83_00End + 9
+
kaAcute EQU      k83_00End + 10
+
kaGrave EQU      k83_00End + 11
+
kaCaret EQU      k83_00End + 12
+
kaDier EQU      k83_00End + 13
+
kcapEAcute EQU      k83_00End + 14
+
kcapEGrave EQU      k83_00End + 15
+
kcapECaret EQU      k83_00End + 16
+
kcapEDier EQU      k83_00End + 17
+
keAcute EQU      k83_00End + 18
+
keGrave EQU      k83_00End + 19
+
keCaret EQU      k83_00End + 20
+
keDier EQU      k83_00End + 21
+
kcapIAcute EQU      k83_00End + 22
+
kcapIGrave EQU      k83_00End + 23
+
kcapICaret EQU      k83_00End + 24
+
kcapIDier EQU      k83_00End + 25
+
kiAcute EQU      k83_00End + 26
+
kiGrave EQU      k83_00End + 27
+
kiCaret EQU      k83_00End + 28
+
kiDier EQU      k83_00End + 29
+
kcapOAcute EQU      k83_00End + 30
+
kcapOGrave EQU      k83_00End + 31
+
kcapOCaret EQU      k83_00End + 32
+
kcapODier EQU      k83_00End + 33
+
koAcute EQU      k83_00End + 34
+
koGrave EQU      k83_00End + 35
+
koCaret EQU      k83_00End + 36
+
koDier EQU      k83_00End + 37
+
kcapUAcute EQU      k83_00End + 38
+
kcapUGrave EQU      k83_00End + 39
+
kcapUCaret EQU      k83_00End + 40
+
kcapUDier EQU      k83_00End + 41
+
kuAcute EQU      k83_00End + 42
+
kuGrave EQU      k83_00End + 43
+
kuCaret EQU      k83_00End + 44
+
kuDier EQU      k83_00End + 45
+
kcapCCed EQU      k83_00End + 46
+
kcCed EQU      k83_00End + 47
+
kcapNTilde EQU      k83_00End + 48
+
knTilde EQU      k83_00End + 49
+
kaccent EQU      k83_00End + 50
+
kgrave EQU      k83_00End + 51
+
kdieresis EQU      k83_00End + 52
+
kquesDown EQU      k83_00End + 53
+
kexclamDown    EQU      k83_00End + 54
+
kalpha          EQU      k83_00End + 55
+
kbeta          EQU      k83_00End +  56
+
kgamma          EQU      k83_00End +  57
+
kcapDelta      EQU      k83_00End +  58
+
kdelta          EQU      k83_00End +  59
+
kepsilon        EQU      k83_00End +  60
+
klambda        EQU      k83_00End +  61
+
kmu            EQU      k83_00End +  62
+
kpi2            EQU      k83_00End +  63
+
krho            EQU      k83_00End +  64
+
kcapSigma      EQU      k83_00End +  65
+
ksigma          EQU      k83_00End +  66
+
ktau            EQU      k83_00End +  67
+
kphi            EQU      k83_00End +  68
+
kcapOmega      EQU      k83_00End +  69
+
kphat          EQU      k83_00End +  70
+
kchi2          EQU      k83_00End +  71
+
kstatF2        EQU      k83_00End +  72
+
kLa EQU    k83_00End + 73
+
kLb EQU    k83_00End + 74
+
kLc EQU    k83_00End + 75
+
kLd EQU    k83_00End + 76
+
kLe EQU    k83_00End + 77
+
kLf EQU    k83_00End + 78
+
kLg EQU    k83_00End + 79
+
kLh EQU    k83_00End + 80
+
kLi EQU    k83_00End + 81
+
kLj EQU    k83_00End + 82
+
kLk EQU    k83_00End + 83
+
kLl EQU    k83_00End + 84
+
kLm EQU    k83_00End + 85
+
kLsmalln EQU    k83_00End +  86
+
kLo EQU    k83_00End +  87
+
kLp EQU    k83_00End +  88
+
kLq EQU    k83_00End +  89
+
kLsmallr EQU    k83_00End +  90
+
kLs EQU    k83_00End +  91
+
kLt EQU    k83_00End +  92
+
kLu EQU    k83_00End +  93
+
kLv EQU    k83_00End +  94
+
kLw EQU    k83_00End +  95
+
kLx EQU    k83_00End +  96
+
kLy EQU    k83_00End +  97
+
kLz EQU    k83_00End +  98
+
kGarbageC EQU  k83_00End +  99 ; GarbageCollect
+
;
+
kE2BT2_End EQU    kGarbageC
+
;
+
;======================================================================
+
;          TI-83 Plus Context Equates
+
;======================================================================
+
;
+
cxCmd          EQU    kQuit                  ;home screen
+
cxMatEdit      EQU    kMatrixEd              ;matrix editor
+
cxPrgmEdit      EQU    kPrgmEd                ;program editor
+
cxEquEdit      EQU    kYequ                  ;equation editor
+
cxGrRange      EQU    kWindow                ;graph range editor
+
cxGrZfact      EQU    kZFactEd                ;graph zoom factors editor
+
cxGraph        EQU    kGraph                  ;graph mode
+
cxStatEdit      EQU    kStatEd                ;statistics list editor
+
cxPrgmInput    EQU    kPrgmInput              ;programmed input
+
cxError        EQU    kError                  ;error handler
+
cxLinkIO        EQU    kLinkIO                ;LINK I/O interface
+
cxMem          EQU    kResetMem              ;reset memory
+
cxDefMem        EQU    kResetDef              ;reset default
+
cxRAMApp        EQU    kChkRAM                ;RAM usage screen
+
cxMode          EQU    kMode                  ;mode settings screen
+
cxErase        EQU    kDelMem                ;memory erase
+
cxPrgmCreate    EQU    kPrgmCr                ;PROGRAM CREATE
+
cxTableEditor  EQU    kTable                  ;TABLE EDITOR
+
cxTableSet      EQU    kTblSet                ;TABLE SET UP
+
cxStatPlot      EQU    kStatP                  ;STAT PLOTS
+
cxInfStat EQU kInfStat ;Inferential Statistic
+
cxFormat        EQU    kFormat                ;FORMAT CONTEXT
+
cxSolveTVM      EQU    kSolveTVM              ;Solve TVM
+
cxSolveRoot    EQU    kSolveRoot              ;Solve Root
+
lastOldApp      EQU    kExtApps                ;external applications
+
cxextapps      EQU    kExtApps
+
cxNewApps      EQU    kNewApps                ;new cerberus applications
+
cxGroup        EQU    cxNewApps+0            ;1st new app.
+
cxUnGroup      EQU    cxNewApps+1            ;2nd new app.
+
lastNewApp      EQU    cxUnGroup              ;last new app for this ver
+
  
;
+
;Recursion Equations Have Bit 7 Set
;======================================================================
+
;----------------------------------
;          Scan Code Equates
+
tun equ 80h ;Un
;======================================================================;
+
tvn equ 81h ;Vn
skDown          EQU 01h
+
twn equ 82h ;Wn
skLeft          EQU 02h
+
skRight        EQU 03h
+
skUp            EQU 04h
+
skEnter        EQU 09h
+
skAdd          EQU 0Ah
+
skSub          EQU 0Bh
+
skMul          EQU 0Ch
+
skDiv          EQU 0Dh
+
skPower        EQU 0Eh
+
skClear        EQU 0Fh
+
skChs          EQU 11h
+
sk3            EQU 12h
+
sk6            EQU 13h
+
sk9            EQU 14h
+
skRParen        EQU 15h
+
skTan          EQU 16h
+
skVars          EQU 17h
+
skDecPnt        EQU 19h
+
sk2            EQU 1Ah
+
sk5            EQU 1Bh
+
sk8            EQU 1Ch
+
skLParen        EQU 1Dh
+
skCos          EQU 1Eh
+
skPrgm          EQU 1Fh
+
skStat          EQU 20h
+
sk0            EQU 21h
+
sk1            EQU 22h
+
sk4            EQU 23h
+
sk7            EQU 24h
+
skComma        EQU 25h
+
skSin          EQU 26h
+
skMatrix        EQU 27h
+
skGraphvar      EQU 28h
+
skStore        EQU 2Ah
+
skLn            EQU 2Bh
+
skLog          EQU 2Ch
+
skSquare        EQU 2Dh
+
skRecip        EQU 2Eh
+
skMath          EQU 2Fh
+
skAlpha        EQU 30h
+
skGraph        EQU 31h
+
skTrace        EQU 32h
+
skZoom          EQU 33h
+
skWindow        EQU 34h
+
skYEqu          EQU 35h
+
sk2nd          EQU 36h
+
skMode          EQU 37h
+
skDel          EQU 38h
+
;
+
;======================================================================
+
;          Tokens
+
;======================================================================
+
;
+
EOSSTART        EQU      0
+
;
+
;
+
;  DISPLAY CONVERSIONS COME IMMEDIATELY BEFORE 'TSTORE'
+
;
+
DCONV  EQU    01h
+
;
+
tToDMS          EQU      DCONV      ; 01h
+
tToDEC          EQU      DCONV+1    ; 02h
+
tToAbc          EQU      DCONV+2    ; 03h    > A b/c
+
;
+
tStore          EQU      DCONV+3    ; 04h Lstore                01
+
;
+
tBoxPlot        EQU      05h
+
;
+
BRACKS          EQU      06h
+
;
+
tLBrack        EQU      BRACKS      ; 06h '['
+
tRBrack        EQU      BRACKS+1    ; 07h ']'
+
tLBrace        EQU      BRACKS+2    ; 08h '{'
+
tRBrace        EQU      BRACKS+3    ; 09h '}'
+
;
+
tPOST1          EQU      BRACKS+4
+
;
+
tFromRad        EQU      tPOST1      ; 0Ah Lradian
+
tFromDeg        EQU      tPOST1+1    ; 0Bh Ldegree
+
tRecip          EQU      tPOST1+2    ; 0Ch Linverse
+
tSqr            EQU      tPOST1+3    ; 0Dh Lsquare
+
tTrnspos        EQU      tPOST1+4    ; 0Eh Ltranspose
+
tCube          EQU      tPOST1+5    ; 0Fh '^3'
+
;
+
tLParen        EQU      10h        ; 10h '('
+
tRParen        EQU      11h        ; 11h ')'
+
;
+
;
+
IMUN            EQU      12h
+
;
+
tRound          EQU      IMUN        ; 12h 'round'
+
tPxTst          EQU      IMUN+1      ; 13h 'PXL-TEST'
+
tAug            EQU      IMUN+2      ; 14h 'aug'
+
tRowSwap        EQU      IMUN+3      ; 15h 'rSwap'
+
tRowPlus        EQU      IMUN+4      ; 16h 'rAdd'
+
tmRow          EQU      IMUN+5      ; 17h 'multR'
+
tmRowPlus      EQU      IMUN+6      ; 18h 'mRAdd'
+
tMax            EQU      IMUN+7      ; 19h 'max'
+
tMin            EQU      IMUN+8      ; 1Ah 'min'
+
tRToPr          EQU      IMUN+9      ; 1Bh 'R>Pr
+
tRToPo          EQU      IMUN+10    ; 1Ch 'R>Po
+
tPToRx          EQU      IMUN+11    ; 1Dh 'P>Rx
+
tPToRy          EQU      IMUN+12    ; 1Eh 'P>Ry
+
tMedian        EQU      IMUN+13    ; 1Fh 'MEDIAN
+
tRandM          EQU      IMUN+14    ; 20h 'randM'
+
tMean          EQU      IMUN+15    ; 21h
+
tRoot          EQU      IMUN+16    ; 22h 'ROOT'
+
tSeries        EQU      IMUN+17    ; 23h 'seq'
+
tFnInt          EQU      IMUN+18    ; 24h 'fnInt'
+
tNDeriv        EQU      IMUN+19    ; 25h 'fnIr'
+
tEvalF          EQU      IMUN+20    ; 26h
+
tFmin          EQU      IMUN+21    ; 27h
+
tFmax          EQU      IMUN+22    ; 28h
+
;
+
tEOSEL          EQU      IMUN+23
+
;
+
tSpace          EQU      tEOSEL      ; 29h  ' '
+
tString        EQU      tEOSEL+1    ; 2Ah  '"'
+
tComma          EQU      tEOSEL+2    ; 2Bh  ','
+
;
+
;
+
tii            EQU      2Ch        ; i
+
;
+
;======================================================================
+
;          Postfix Functions
+
;======================================================================
+
;
+
tPost          EQU      2Dh
+
;
+
tFact          EQU      tPost      ; 2Dh '!'
+
;
+
tCubicR        EQU      2Eh
+
tQuartR        EQU      2Fh
+
  
;======================================================================
+
;2nd Half Of User Picture Tokens
;          Number Tokens  
+
;------------------------------------
;======================================================================
+
tPic1 equ 00h ;PIC1
;
+
tPic2 equ 01h ;PIC2
NUMS            EQU      30h
+
tPic3 equ 02h ;PIC3
;
+
tPic4 equ 03h ;PIC4
t0              EQU      NUMS        ; 30h
+
tPic5 equ 04h ;PIC5
t1              EQU      NUMS+1      ; 31h
+
tPic6 equ 05h ;PIC6
t2              EQU      NUMS+2      ; 32h
+
tPic7 equ 06h ;PIC7
t3              EQU      NUMS+3      ; 33h
+
tPic8 equ 07h ;PIC8
t4              EQU      NUMS+4      ; 34h
+
tPic9 equ 08h ;PIC9
t5              EQU      NUMS+5      ; 35h
+
tPic0 equ 09h ;PIC0
t6              EQU      NUMS+6      ; 36h
+
t7              EQU      NUMS+7      ; 37h
+
t8              EQU      NUMS+8      ; 38h
+
t9              EQU      NUMS+9      ; 39h
+
tDecPt          EQU      NUMS+10    ; 3Ah
+
tee            EQU      NUMS+11    ; 3Bh
+
;
+
;======================================================================
+
;            BINARY OP
+
;======================================================================
+
;
+
tOr            EQU      3Ch        ; 3Ch  '_or_'
+
tXor            EQU      3Dh        ; 3Dh
+
;
+
tColon          EQU      3Eh        ; 3Eh ':'
+
tEnter          EQU      3Fh        ; 3Fh  Lenter
+
;
+
tAnd            EQU      40h        ; 40h  '_and_'     
+
;
+
;======================================================================
+
;           LETTER TOKENS 
+
;======================================================================
+
  
;
+
;2nd Half Of User Graph Database Tokens
LET            EQU      41h
+
;--------------------------------------
;
+
tGDB1 equ 00h ;GDB1
tA              EQU      LET        ; 41h
+
tGDB2 equ 01h ;GDB2
tB              EQU      LET+1      ; 42h
+
tGDB3 equ 02h ;GDB3
tC              EQU      LET+2      ; 43h
+
tGDB4 equ 03h ;GDB4
tD              EQU      LET+3      ; 44h
+
tGDB5 equ 04h ;GDB5
tE              EQU      LET+4      ; 45h
+
tGDB6 equ 05h ;GDB6
tF              EQU      LET+5      ; 46h
+
tGDB7 equ 06h ;GDB7
tG              EQU      LET+6      ; 47h
+
tGDB8 equ 07h ;GDB8
tH              EQU      LET+7      ; 48h
+
tGDB9 equ 08h ;GDB9
tI              EQU      LET+8      ; 49h
+
tGDB0 equ 09h ;GDB0
tJ              EQU      LET+9      ; 4Ah
+
tK              EQU      LET+10      ; 4Bh
+
tL              EQU      LET+11      ; 4Ch
+
tM              EQU      LET+12      ; 4Dh
+
tN              EQU      LET+13      ; 4Eh
+
tO              EQU      LET+14      ; 4Fh
+
tP              EQU      LET+15      ; 50h
+
tQ              EQU      LET+16      ; 51h
+
tR              EQU      LET+17      ; 52h
+
tS              EQU      LET+18      ; 53h
+
tT              EQU      LET+19      ; 54h
+
tU              EQU      LET+20      ; 55h
+
tV              EQU      LET+21      ; 56h
+
tW              EQU      LET+22      ; 57h
+
tX              EQU      LET+23      ; 58h
+
tY              EQU      LET+24      ; 59h
+
tZ              EQU      LET+25      ; 5Ah
+
tTheta          EQU      LET+26      ; 5Bh
+
;
+
;======================================================================
+
;   THESE VAR TOKENS ARE 1ST OF A DOUBLE TOKEN
+
;======================================================================
+
  
;
+
;2nd Half Of String Vars
vToks  EQU    LET+27    ;
+
;------------------------------
;
+
tStr1 equ 00h
;      USER MATRIX TOKEN, 2ND TOKEN NEEDED FOR NAME
+
tStr2 equ 01h
;
+
tStr3 equ 02h
tVarMat        EQU      vToks      ; 5Ch
+
tStr4 equ 03h
;
+
tStr5 equ 04h
;      USER LIST TOKEN, 2ND TOKEN NEEDED FOR NAME
+
tStr6 equ 05h
;
+
tStr7 equ 06h
tVarLst        EQU      vToks+1    ; 5Dh
+
tStr8 equ 07h
;
+
tStr9 equ 08h
;      USER EQUATION TOKEN, 2ND TOKEN NEEDED FOR NAME
+
tStr0 equ 09h
;
+
tVarEqu        EQU      vToks+2    ; 5Eh
+
tProg          EQU      vToks+3    ; 5Fh
+
;
+
;      USER PICT TOKEN, 2ND TOKEN NEEDED FOR NAME
+
;
+
tVarPict        EQU      vToks+4    ; 60h
+
;
+
;      USER GDB TOKEN, 2ND TOKEN NEEDED FOR NAME
+
;
+
tVarGDB        EQU      vToks+5    ; 61h
+
tVarOut        EQU      vToks+6    ; 62h
+
tVarSys        EQU      vToks+7    ; 63h
+
;
+
;
+
;======================================================================
+
;            Mode Setting Commands
+
;======================================================================
+
  
;
+
;2nd Half Of System Output Only Variables
MODESA          EQU      vToks+8    ; 64h
+
;-----------------------------------------------------------------
;
+
;OPEN equ 00h
tRad            EQU      MODESA      ; 64h 'Radian'
+
tRegEq equ 01h ;REGRESSION EQUATION
tDeg            EQU      MODESA+1    ; 65h 'Degree'
+
tStatN equ 02h ;STATISTICS N
tNormF          EQU      MODESA+2    ; 66h 'Normal'
+
tXMean equ 03h ;X MEAN
tSci            EQU      MODESA+3    ; 67h 'Sci'
+
tSumX equ 04h ;SUM(X)
tEng            EQU      MODESA+4    ; 68h 'Eng'
+
tSumXSqr equ 05h ;SUM(X^2)
tFloat          EQU      MODESA+5    ; 69h 'Float'
+
tStdX equ 06h ;STANDARD DEV X
;
+
tStdPX equ 07h ;STANDARD DEV POP X
CMPS            EQU      6Ah
+
tMinX equ 08h ;Min X VALUE
;
+
tMaxX equ 09h ;Max X VALUE
tEQ            EQU      CMPS        ; 6Ah '=='
+
tMinY equ 0Ah ;Min Y VALUE
tLT            EQU      CMPS+1      ; 6Bh '<'
+
tMaxY equ 0Bh ;Max Y VALUE
tGT            EQU      CMPS+2      ; 6Ch '>'
+
tYmean equ 0Ch ;Y MEAN
tLE            EQU      CMPS+3      ; 6Dh LLE
+
tSumY equ 0Dh ;SUM(Y)
tGE            EQU      CMPS+4      ; 6Eh LGE
+
tSumYSqr equ 0Eh ;SUM(Y^2)
tNE            EQU      CMPS+5      ; 6Fh LNE
+
tStdY equ 0Fh ;STANDARD DEV Y
;
+
tStdPY equ 10h ;STANDARD DEV POP Y
;======================================================================
+
tSumXY equ 11h ;SUM(XY)
;            BINARY OP
+
tCorr equ 12h ;CORRELATION
;======================================================================
+
tMedX equ 13h ;MED(X)
;
+
tQ1 equ 14h ;1ST QUADRANT OF X
tAdd            EQU      70h        ; 70h '+'
+
tQ3 equ 15h ;3RD QUADRANT OF X
tSub            EQU      71h        ; 71h '-'
+
tQuadA equ 16h ;1ST TERM OF QUAD POLY REG/ Y-INT
tAns            EQU      72h        ; 72h
+
tQuadB equ 17h ;2ND TERM OF QUAD POLY REG/ SLOPE
;
+
tQuadC equ 18h ;3RD TERM OF QUAD POLY REG
;======================================================================
+
tCubeD equ 19h ;4TH TERM OF CUBIC POLY REG
;           Mode Setting Commands
+
tQuartE equ 1Ah ;5TH TERM OF QUART POLY REG
;======================================================================
+
tMedX1 equ 1Bh ;x1 FOR MED-MED
;
+
tMedX2 equ 1Ch ;x2 FOR MED-MED
MODES          EQU      73h
+
tMedX3 equ 1Dh ;x3 FOR MED-MED
;
+
tMedY1 equ 1Eh ;y1 FOR MED-MED
tFix            EQU      MODES      ; 73h 'Fix_'
+
tMedY2 equ 1Fh ;y2 FOR MED-MED
tSplitOn        EQU      MODES+1    ; 74h
+
tMedY3 equ 20h ;y3 FOR MED-MED
tFullScreen    EQU      MODES+2     ; 75h
+
tRecurn equ 21h ;RECURSION N
tStndrd        EQU      MODES+3    ; 76h 'Func'
+
tStatP equ 22h
tParam          EQU      MODES+4    ; 77h 'Param'
+
tStatZ equ 23h
tPolar          EQU      MODES+5    ; 78h 'Pol'
+
tStatT equ 24h
tSeqG          EQU      MODES+6    ; 79h
+
tStatChi equ 25h
tAFillOn        EQU      MODES+7    ; 7Ah 'AUTO FILL ON
+
tStatF equ 26h
tAFillOff      EQU      MODES+8    ; 7Bh
+
tStatDF equ 27h
tACalcOn        EQU      MODES+9    ; 7Ch
+
tStatPhat equ 28h
tACalcOff      EQU      MODES+10    ; 7Dh 'AutoFill OFF
+
tStatPhat1 equ 29h
;
+
tStatPhat2 equ 2Ah
;      GRAPH FORMAT TOKENS ARE 2 BYTE TOKENS
+
tStatMeanX1 equ 2Bh
;
+
tStatStdX1 equ 2Ch
tGFormat        EQU      MODES+11    ; 7Eh
+
tStatN1 equ 2Dh
;
+
tStatMeanX2 equ 2Eh
tBoxIcon        EQU      7Fh
+
tStatStdX2 equ 2Fh
tCrossIcon      EQU      80h
+
tStatN2 equ 30h
tDotIcon        EQU      81h
+
tStatStdXP equ 31h
;
+
tStatLower equ 32h
;======================================================================
+
tStatUpper equ 33h
;           (More) BINARY OP
+
tStat_s equ 34h
;======================================================================
+
tLRSqr equ 35h ;r^2
;
+
tBRSqr equ 36h ;R^2
tMul            EQU      82h        ; 82h  '*'
+
tDiv            EQU      83h        ; 83h  '/'
+
;
+
;======================================================================
+
;            SOME GRAPH COMMANDS
+
;======================================================================
+
;
+
GRCMDS          EQU      84h
+
;
+
tTrace          EQU      GRCMDS      ; 84h 'Trace'
+
tClDrw          EQU      GRCMDS+1    ; 85h 'ClDrw'
+
tZoomStd        EQU      GRCMDS+2    ; 86h 'ZStd'
+
tZoomtrg        EQU      GRCMDS+3    ; 87h 'Ztrg'
+
tZoomBox        EQU      GRCMDS+4    ; 88h 'ZBOX'
+
tZoomIn        EQU      GRCMDS+5    ; 89h 'ZIn'
+
tZoomOut        EQU      GRCMDS+6    ; 8Ah 'ZOut'
+
tZoomSqr        EQU      GRCMDS+7    ; 8Bh 'ZSqr'
+
tZoomInt        EQU      GRCMDS+8    ; 8Ch 'ZInt'
+
tZoomPrev      EQU      GRCMDS+9    ; 8Dh 'ZPrev'
+
tZoomDec        EQU      GRCMDS+10  ; 8Eh 'ZDecm'
+
tZoomStat      EQU      GRCMDS+11  ; 8Fh 'ZStat
+
tUsrZm          EQU      GRCMDS+12  ; 90h 'ZRcl'
+
tPrtScrn        EQU      GRCMDS+13  ; 91h 'PrtScrn'
+
tZoomSto        EQU      GRCMDS+14  ; 92h  ZOOM STORE
+
tText          EQU      GRCMDS+15  ; 93h
+
;
+
;======================================================================
+
;          BINARY OP  (Combination & Permutation)
+
;======================================================================
+
;
+
tnPr            EQU      GRCMDS+16  ; 94h '_nPr_'
+
tnCr            EQU      GRCMDS+17  ; 95h '_nCr_'
+
;
+
;======================================================================
+
;           MORE GRAPH COMMANDS
+
;======================================================================
+
;
+
tYOn            EQU      GRCMDS+18  ; 96h 'FnOn_'
+
tYOff          EQU      GRCMDS+19  ; 97h 'FnOff_'
+
tStPic          EQU      GRCMDS+20  ; 98h 'StPic_'
+
tRcPic          EQU      GRCMDS+21  ; 99h 'RcPic_'
+
tStoDB          EQU      GRCMDS+22  ; 9Ah 'StGDB_'
+
tRclDB          EQU      GRCMDS+23  ; 9Bh 'RcGDB_'
+
tLine          EQU      GRCMDS+24  ; 9Ch 'Line'
+
tVert          EQU      GRCMDS+25  ; 9Dh 'Vert_'
+
tPtOn          EQU      GRCMDS+26  ; 9Eh 'PtOn'
+
tPtOff          EQU      GRCMDS+27  ; 9Fh 'PtOff'
+
;
+
;======================================================================
+
;          TOKEN A0 CANNOT BE AN EOS FUNCTION
+
;          SINCE LOW MULT=A0 ALREADY
+
;======================================================================
+
;
+
tPtChg          EQU      GRCMDS+28  ; A0h 'PtChg'
+
tPXOn          EQU      GRCMDS+29  ; A1h
+
tPXOff          EQU      GRCMDS+30  ; A2h
+
tPXChg          EQU      GRCMDS+31  ; A3h
+
tShade          EQU      GRCMDS+32  ; A4h 'Shade'
+
tCircl          EQU      GRCMDS+33  ; A5h 'Circl'
+
tHorz          EQU      GRCMDS+34  ; A6h 'HORIZONTAL'
+
tTanLn          EQU      GRCMDS+35  ; A7h 'TanLn'
+
tDrInv          EQU      GRCMDS+36  ; A8h 'DrInv_'
+
tDrawF          EQU      GRCMDS+37  ; A9h 'DrawF_'
+
;
+
tVarStrng      EQU      0AAh
+
;
+
;======================================================================
+
;          Functions with No Arguments                                   
+
;======================================================================
+
;
+
NOARG  EQU    0ABh
+
;
+
tRand          EQU      NOARG      ; ABh 'rand'
+
tPi            EQU      NOARG+1    ; ACh  Lpi
+
tGetKey        EQU      NOARG+2     ; ADh 'getKy'
+
;
+
;
+
tAPost          EQU      tGetKey+1  ; APOSTROPHY
+
tQuest          EQU      tAPost+1    ; QUESTION MARK
+
;
+
;
+
UNARY  EQU    tQuest+1              ; B0h
+
;
+
tChs            EQU      UNARY      ; B0h
+
tInt            EQU      UNARY+1    ; B1h
+
tAbs            EQU      UNARY+2     ; B2h
+
tDet            EQU      UNARY+3    ; B3h
+
tIdent          EQU      UNARY+4    ; B4h
+
tDim            EQU      UNARY+5    ; B5h
+
tSum            EQU      UNARY+6    ; B6h
+
tProd          EQU      UNARY+7    ; B7h
+
tNot            EQU      UNARY+8    ; B8h
+
tIPart          EQU      UNARY+9    ; B9h
+
tFPart          EQU      UNARY+10    ; BAh
+
;
+
;
+
;======================================================================
+
;          NEW 2 BYTE TOKENS
+
;======================================================================
+
;
+
t2ByteTok      EQU      0BBh        ;
+
;
+
;
+
UNARYLR EQU    UNARY+12
+
;
+
tSqrt          EQU      UNARYLR    ; BCh
+
tCubRt          EQU      UNARYLR+1  ; BDh
+
tLn            EQU      UNARYLR+2  ; BEh
+
tExp            EQU      UNARYLR+3  ; BFh
+
tLog            EQU      UNARYLR+4  ; C0h
+
tALog          EQU      UNARYLR+5  ; C1h
+
tSin            EQU      UNARYLR+6  ; C2h
+
tASin          EQU      UNARYLR+7  ; C3h
+
tCos            EQU      UNARYLR+8  ; C4h
+
tACos          EQU      UNARYLR+9  ; C5h
+
tTan            EQU      UNARYLR+10  ; C6h
+
tATan          EQU      UNARYLR+11  ; C7h
+
tSinH          EQU      UNARYLR+12  ; C8h
+
tASinH          EQU      UNARYLR+13  ; C9h
+
tCosH          EQU      UNARYLR+14  ; CAh
+
tACosH          EQU      UNARYLR+15  ; CBh
+
tTanH          EQU      UNARYLR+16  ; CCh
+
tATanH          EQU      UNARYLR+17  ; CDh
+
;
+
;======================================================================
+
;          SOME PROGRAMMING COMMANDS                                     
+
;======================================================================
+
;
+
PROGTOK EQU    UNARYLR+18
+
;
+
tIf            EQU      PROGTOK    ; CEh
+
tThen          EQU      PROGTOK+1  ; CFh
+
tElse          EQU      PROGTOK+2  ; D0h
+
tWhile          EQU      PROGTOK+3  ; D1h
+
tRepeat        EQU      PROGTOK+4  ; D2h
+
tFor            EQU      PROGTOK+5  ; D3h
+
tEnd            EQU      PROGTOK+6  ; D4h
+
tReturn        EQU      PROGTOK+7  ; D5h
+
tLbl            EQU      PROGTOK+8  ; D6h  'Lbl_'
+
tGoto          EQU      PROGTOK+9  ; D7h  'Goto_'
+
tPause          EQU      PROGTOK+10  ; D8h  'Pause_'
+
tStop          EQU      PROGTOK+11  ; D9h  'Stop'
+
tISG            EQU      PROGTOK+12  ; DAh  'IS>'
+
tDSL            EQU      PROGTOK+13  ; DBh  'DS<'
+
tInput          EQU      PROGTOK+14  ; DCh  'Input_'
+
tPrompt        EQU      PROGTOK+15  ; DDh  'Prompt_'
+
tDisp          EQU      PROGTOK+16  ; DEh  'Disp_'
+
tDispG          EQU      PROGTOK+17  ; DFh  'DispG'
+
;
+
tOutput        EQU      PROGTOK+18  ; E0h    'Outpt'
+
tClLCD          EQU      PROGTOK+19  ; E1h    'ClLCD'
+
tConst          EQU      PROGTOK+20  ; E2h    'Fill'
+
tSortA          EQU      PROGTOK+21  ; E3h    'sortA_'
+
tSortD          EQU      PROGTOK+22  ; E4h    'sortD_'
+
tDispTab        EQU      PROGTOK+23  ; E5h    'Disp Table
+
tMenu          EQU      PROGTOK+24  ; E6h    'Menu'
+
tSendMBL        EQU      PROGTOK+25  ; E7h    'SEND'
+
tGetMBL        EQU      PROGTOK+26  ; E8h    'GET'
+
;
+
;======================================================================
+
;          STAT PLOT COMMANDS                                           
+
;======================================================================
+
;
+
statPCmd        EQU      PROGTOK+27
+
;
+
tPlotOn        EQU      statPCmd    ; E9h    ' PLOTSON'
+
tPlotOff        EQU      statPCmd+1  ; EAh    ' PLOTSOFF
+
;
+
tListName      EQU      0EBh        ; LIST DESIGNATOR
+
;
+
tPlot1          EQU      0ECh
+
tPlot2          EQU      0EDh
+
tPlot3          EQU      0EEh
+
;
+
tUnused01      EQU      0EFh        ;        available?
+
;
+
tPower          EQU      0F0h        ;        '^'
+
tXRoot          EQU      0F1h        ;        LsupX,Lroot
+
  
STATCMD        EQU      0F2h
+
;These next tokens are only used to access the data
;
+
;they are display only and the user cannot access them at all
tOneVar        EQU      STATCMD    ; F2h    'OneVar_'
+
;------------------------------------------------------------
tTwoVar        EQU      STATCMD+1  ; F3h
+
tF_DF equ 37h ;ANOFAV FACTOR DF
tLR            EQU      STATCMD+2  ; F4h    'LinR(A+BX
+
tF_SS equ 38h ;ANOFAV FACTOR SS
tLRExp          EQU      STATCMD+3  ; F5h    'ExpR_'
+
tF_MS equ 39h ;ANOFAV FACTOR MS
tLRLn          EQU      STATCMD+4  ; F6h    'LnR_'
+
tE_DF equ 3Ah ;ANOFAV ERROR DF
tLRPwr          EQU      STATCMD+5  ; F7h    'PwrR_'
+
tE_SS equ 3Bh ;ANOFAV ERROR SS
tMedMed        EQU      STATCMD+6  ; F8h
+
tE_MS equ 3Ch ;ANOFAV ERROR MS
tQuad          EQU      STATCMD+7  ; F9h
+
tClrLst        EQU      STATCMD+8  ; FAh    'CLEAR LIST
+
tClrTbl        EQU      STATCMD+9  ; FBh    CLEAR TABLE
+
tHist          EQU      STATCMD+10  ; FCh    'Hist_'
+
txyLine        EQU      STATCMD+11  ; FDh    'xyline_'
+
tScatter        EQU      STATCMD+12  ; FEh    'Scatter_'
+
tLR1            EQU      STATCMD+13  ; FFh    'LINR(AX+B
+
  
;      
+
;2nd Half Of System Input/Output Variables
;======================================================================
+
;------------------------------------------------
;          2ND HALF OF GRAPH FORMAT TOKENS
+
;======================================================================
+
;          Format settings commands
+
;
+
GFMT            EQU      0
+
;
+
tSeq            EQU      GFMT        ; 'SeqG'
+
tSimulG        EQU      GFMT+1      ; 'SimulG'
+
tPolarG        EQU      GFMT+2      ; 'PolarGC'
+
tRectG          EQU      GFMT+3      ; 'RectGC'
+
tCoordOn        EQU      GFMT+4      ; 'CoordOn'
+
tCoordOff      EQU      GFMT+5      ; 'CoordOff'
+
tDrawLine      EQU      GFMT+6      ; 'DrawLine'
+
tDrawDot        EQU      GFMT+7      ; 'DrawDot'
+
tAxisOn        EQU      GFMT+8      ; 'AxesOn'
+
tAxisOff        EQU      GFMT+9      ; 'AxesOff'
+
tGridOn        EQU      GFMT+10    ; 'GridOn'
+
tGridOff        EQU      GFMT+11    ; 'GridOff'
+
tLblOn          EQU      GFMT+12    ; 'LabelOn'
+
tLblOff        EQU      GFMT+13    ; 'LabelOff'
+
tWebOn          EQU      GFMT+14    ; 'WebOn'
+
tWebOff        EQU      GFMT+15    ; 'WebOFF'
+
tuv            EQU      GFMT+16    ; U vs V
+
tvw            EQU      GFMT+17    ; V vs W
+
tuw            EQU      GFMT+18    ; U vs W
+
;
+
;======================================================================
+
;          2ND HALF OF USER MATRIX TOKENS                               
+
;======================================================================
+
;
+
tMatA          EQU      00h        ; MAT A
+
tMatB          EQU      01h        ; MAT B
+
tMatC          EQU      02h        ; MAT C
+
tMatD          EQU      03h        ; MAT D
+
tMatE          EQU      04h        ; MAT E
+
tMatF          EQU      05h        ; MAT F
+
tMatG          EQU      06h        ; MAT G
+
tMatH          EQU      07h        ; MAT H
+
tMatI          EQU      08h        ; MAT I
+
tMatJ          EQU      09h        ; MAT J
+
;     
+
;======================================================================
+
;          2ND HALF OF USER LIST TOKENS
+
;======================================================================
+
;
+
tL1            EQU      00h        ; LIST 1
+
tL2            EQU      01h        ; LIST 2
+
tL3            EQU      02h        ; LIST 3
+
tL4            EQU      03h        ; LIST 4
+
tL5            EQU      04h        ; LIST 5
+
tL6            EQU      05h        ; LIST 6
+
 
+
;
+
;======================================================================
+
;          2ND HALF OF USER EQUATION TOKENS
+
;======================================================================
+
;
+
;      "Y" EQUATIONS HAVE BIT 4 SET
+
;
+
tY1            EQU      10h        ; Y1
+
tY2            EQU      11h        ; Y2
+
tY3            EQU      12h        ; Y3
+
tY4            EQU      13h        ; Y4
+
tY5            EQU      14h        ; Y5
+
tY6            EQU      15h        ; Y6
+
tY7            EQU      16h        ; Y7
+
tY8            EQU      17h        ; Y8
+
tY9            EQU      18h        ; Y9
+
tY0            EQU      19h        ; Y0
+
;
+
;      PARAM EQUATIONS HAVE BIT 5 SET
+
;
+
tX1T            EQU      20h        ; X1t
+
tY1T            EQU      21h        ; Y1t
+
tX2T            EQU      22h        ; X2t
+
tY2T            EQU      23h        ; Y2t
+
tX3T            EQU      24h        ; X3t
+
tY3T            EQU      25h        ; Y3t
+
tX4T            EQU      26h        ; X4t
+
tY4T            EQU      27h        ; Y4t
+
tX5T            EQU      28h        ; X5t
+
tY5T            EQU      29h        ; Y5t
+
tX6T            EQU      2Ah        ; X6t
+
tY6T            EQU      2Bh        ; Y6t
+
;
+
;      POLAR EQUATIONS HAVE BIT 6 SET
+
;
+
tR1            EQU      40h        ; R1
+
tR2            EQU      41h        ; R2
+
tR3            EQU      42h        ; R3
+
tR4            EQU      43h        ; R4
+
tR5            EQU      44h        ; R5
+
tR6            EQU      45h        ; R6
+
;
+
;      RECURSION EQUATIONS HAVE BIT 7 SET
+
;
+
tun            EQU      80h        ; Un
+
tvn            EQU      81h        ; Vn
+
twn            EQU      82h        ; Wn
+
;
+
;======================================================================
+
;          2ND HALF OF USER PICTURE TOKENS                               
+
;======================================================================
+
;
+
tPic1          EQU      00h        ; PIC1
+
tPic2          EQU      01h        ; PIC2
+
tPic3          EQU      02h        ; PIC3
+
tPic4          EQU      03h        ; PIC4
+
tPic5          EQU      04h        ; PIC5
+
tPic6          EQU      05h        ; PIC6
+
tPic7          EQU      06h        ; PIC7
+
tPic8          EQU      07h        ; PIC8
+
tPic9          EQU      08h        ; PIC9
+
tPic0          EQU      09h        ; PIC0
+
;
+
;======================================================================
+
;          2ND HALF OF USER GRAPH DATABASE TOKENS                       
+
;======================================================================
+
;
+
tGDB1          EQU      00h        ; GDB1
+
tGDB2          EQU      01h        ; GDB2
+
tGDB3          EQU      02h        ; GDB3
+
tGDB4          EQU      03h        ; GDB4
+
tGDB5          EQU      04h        ; GDB5
+
tGDB6          EQU      05h        ; GDB6
+
tGDB7          EQU      06h        ; GDB7
+
tGDB8          EQU      07h        ; GDB8
+
tGDB9          EQU      08h        ; GDB9
+
tGDB0          EQU      09h        ; GDB0
+
+
;======================================================================
+
;          2ND HALF OF STRING VARS                                       
+
;======================================================================
+
;
+
tStr1          EQU      00h
+
tStr2          EQU      01h
+
tStr3          EQU      02h
+
tStr4          EQU      03h
+
tStr5          EQU      04h
+
tStr6          EQU      05h
+
tStr7          EQU      06h
+
tStr8          EQU      07h
+
tStr9          EQU      08h
+
tStr0          EQU      09h
+
 
+
;
+
;======================================================================
+
;          2ND HALF OF SYSTEM OUTPUT ONLY VARIABLES                     
+
;======================================================================
+
;
+
;
+
;  OPEN        EQU      00h
+
;
+
tRegEq          EQU      01h        ; REGRESSION EQUATION
+
;
+
tStatN          EQU      02h        ; STATISTICS N
+
;
+
tXMean          EQU      03h        ; X MEAN
+
tSumX          EQU      04h        ; SUM(X)
+
tSumXSqr        EQU      05h        ; SUM(X^2)
+
tStdX          EQU      06h        ; STANDARD DEV X
+
tStdPX          EQU      07h        ; STANDARD DEV POP X
+
tMinX          EQU      08h        ; Min X VALUE
+
tMaxX          EQU      09h        ; Max X VALUE
+
;
+
tMinY          EQU      0Ah        ; Min Y VALUE
+
tMaxY          EQU      0Bh        ; Max Y VALUE
+
tYmean          EQU      0Ch        ; Y MEAN
+
tSumY          EQU      0Dh        ; SUM(Y)
+
tSumYSqr        EQU      0Eh        ; SUM(Y^2)
+
tStdY          EQU      0Fh        ; STANDARD DEV Y
+
tStdPY          EQU      10h        ; STANDARD DEV POP Y
+
;
+
tSumXY          EQU      11h        ; SUM(XY)
+
tCorr          EQU      12h        ; CORRELATION
+
tMedX          EQU      13h        ; MED(X)
+
tQ1            EQU      14h        ; 1ST QUADRANT OF X
+
tQ3            EQU      15h        ; 3RD QUADRANT OF X
+
tQuadA          EQU      16h        ; 1ST TERM OF QUAD POLY REG/ Y-INT
+
tQuadB          EQU      17h        ; 2ND TERM OF QUAD POLY REG/ SLOPE
+
tQuadC          EQU      18h        ; 3RD TERM OF QUAD POLY REG
+
tCubeD          EQU      19h        ; 4TH TERM OF CUBIC POLY REG
+
tQuartE        EQU      1Ah        ; 5TH TERM OF QUART POLY REG
+
tMedX1          EQU      1Bh        ; x1 FOR MED-MED
+
tMedX2          EQU      1Ch        ; x2 FOR MED-MED
+
tMedX3          EQU      1Dh        ; x3 FOR MED-MED
+
tMedY1          EQU      1Eh        ; y1 FOR MED-MED
+
tMedY2          EQU      1Fh        ; y2 FOR MED-MED
+
tMedY3          EQU      20h        ; y3 FOR MED-MED
+
;
+
tRecurn EQU      21h ; RECURSION N
+
tStatP          EQU      22h
+
tStatZ          EQU      23h
+
tStatT          EQU      24h
+
tStatChi        EQU      25h
+
tStatF          EQU      26h
+
tStatDF        EQU      27h
+
tStatPhat      EQU      28h
+
tStatPhat1      EQU      29h
+
tStatPhat2      EQU      2Ah
+
tStatMeanX1    EQU      2Bh
+
tStatStdX1      EQU      2Ch
+
tStatN1        EQU      2Dh
+
tStatMeanX2    EQU      2Eh
+
tStatStdX2      EQU      2Fh
+
tStatN2        EQU      30h
+
tStatStdXP      EQU      31h
+
tStatLower      EQU      32h
+
tStatUpper      EQU      33h
+
tStat_s        EQU      34h
+
tLRSqr          EQU      35h        ; r^2
+
tBRSqr          EQU      36h        ; R^2
+
;
+
;======================================================================
+
;      These next tokens are only used to access the data
+
;      they are display only and the user cannot access them at all
+
;======================================================================
+
;
+
tF_DF    EQU    37h      ; ANOFAV FACTOR DF
+
tF_SS    EQU    38h      ; ANOFAV FACTOR SS
+
tF_MS    EQU    39h      ; ANOFAV FACTOR MS
+
tE_DF    EQU    3Ah      ; ANOFAV ERROR DF
+
tE_SS    EQU    3Bh      ; ANOFAV ERROR SS
+
tE_MS    EQU    3Ch      ; ANOFAV ERROR MS
+
;
+
;
+
;======================================================================
+
;          2ND HALF OF SYSTEM INPUT/OUTPUT VARIABLES
+
;======================================================================
+
 
;      SYSTEM VARIABLE EQUATES
 
;      SYSTEM VARIABLE EQUATES
 
;
 
;
tuXscl       EQU  0
+
tuXscl equ 0
tuYscl       EQU  1
+
tuYscl equ 1
tXscl       EQU  2
+
tXscl equ 2
tYscl       EQU  3
+
tYscl equ 3
tRecuru0     EQU  4       ; U 1ST INITIAL COND
+
tRecuru0 equ 4 ;U 1ST INITIAL COND
tRecurv0     EQU  5       ; V 1ST INITIAL COND
+
tRecurv0 equ 5 ;V 1ST INITIAL COND
tun1         EQU  6       ; U(N-1)   ; NOT USED
+
tun1 equ 6 ;U(N-1); NOT USED
tvn1         EQU  7       ; V(N-1)   ; NOT USED
+
tvn1 equ 7 ;V(N-1); NOT USED
tuRecuru0   EQU  8       ;
+
tuRecuru0 equ 8 ;
tuRecurv0   EQU  9       ;
+
tuRecurv0 equ 9 ;
;
+
tXmin equ 0Ah
tXmin       EQU  0Ah
+
tXmax equ 0Bh
tXmax       EQU  0Bh
+
tYmin equ 0Ch
tYmin       EQU  0Ch
+
tYmax equ 0Dh
tYmax       EQU  0Dh
+
tTmin equ 0Eh
tTmin       EQU  0Eh
+
tTmax equ 0Fh
tTmax       EQU  0Fh
+
tThetaMin equ 10h
tThetaMin   EQU  10h
+
tThetaMax equ 11h
tThetaMax   EQU  11h
+
tuXmin equ 12h
tuXmin       EQU  12h
+
tuXmax equ 13h
tuXmax       EQU  13h
+
tuYmin equ 14h
tuYmin       EQU  14h
+
tuYmax equ 15h
tuYmax       EQU  15h
+
tuThetMin equ 16h
tuThetMin   EQU  16h
+
tuThetMax equ 17h
tuThetMax   EQU  17h
+
tuTmin equ 18h
tuTmin       EQU  18h
+
tuTmax equ 19h
tuTmax       EQU  19h
+
tTblMin equ 1Ah
tTblMin     EQU  1Ah
+
tPlotStart equ 1Bh
tPlotStart   EQU  1Bh
+
tuPlotStart equ 1Ch
tuPlotStart EQU  1Ch
+
tnMax equ 1Dh
tnMax       EQU  1Dh
+
tunMax equ 1Eh
tunMax       EQU  1Eh
+
tnMin equ 1Fh
tnMin       EQU  1Fh
+
tunMin equ 20h
tunMin       EQU  20h
+
tTblStep equ 21h
;
+
tTStep equ 22h
tTblStep EQU  21h
+
tThetaStep equ 23h
tTStep EQU  22h
+
tuTStep equ 24h
tThetaStep EQU  23h
+
tuThetStep equ 25h
tuTStep EQU  24h
+
tDeltaX equ 26h
tuThetStep EQU  25h
+
tDeltaY equ 27h
;
+
tXFact equ 28h
tDeltaX EQU  26h
+
tYFact equ 29h
tDeltaY EQU  27h
+
tTblInput equ 2Ah
;
+
tFinN equ 2Bh
tXFact EQU  28h
+
tFinI equ 2Ch
tYFact EQU  29h
+
tFinPV equ 2Dh
;
+
tFinPMT equ 2Eh
tTblInput       EQU      2Ah
+
tFinFV equ 2Fh
;
+
tFinPY equ 30h
tFinN           EQU      2Bh
+
tFinCY equ 31h
tFinI           EQU      2Ch
+
tRecurw0 equ 32h ;w0(1)
tFinPV         EQU      2Dh
+
tuRecurw0 equ 33h
tFinPMT         EQU      2Eh
+
tPlotStep equ 34h
tFinFV         EQU      2Fh
+
tuPlotStep equ 35h
tFinPY         EQU      30h
+
tXres equ 36h
tFinCY         EQU      31h
+
tuXres equ 37h
;
+
tRecuru02 equ 38h ;u0(2)
tRecurw0       EQU      32h         ; w0(1)
+
tuRecuru02 equ 39h
tuRecurw0       EQU      33h
+
tRecurv02 equ 3Ch ;v0(2)
;
+
tuRecurv02 equ 3Dh
tPlotStep       EQU      34h
+
tRecurw02 equ 3Eh ;w0(2)
tuPlotStep     EQU      35h
+
tuRecurw02 equ 3Fh
;
+
tXres           EQU      36h
+
tuXres         EQU      37h
+
;
+
tRecuru02       EQU      38h         ; u0(2)
+
tuRecuru02     EQU      39h
+
tRecurv02       EQU      3Ch         ; v0(2)
+
tuRecurv02     EQU      3Dh
+
tRecurw02       EQU      3Eh         ; w0(2)
+
tuRecurw02     EQU      3Fh
+
;
+
;======================================================================
+
;          2nd byte of t2ByteTok tokens
+
;======================================================================
+
;
+
tFinNPV        EQU      00h        ;
+
tFinIRR        EQU      01h        ;
+
tFinBAL        EQU      02h        ;
+
tFinPRN        EQU      03h        ;
+
tFinINT        EQU      04h        ;
+
tFinToNom      EQU      05h        ;
+
tFinToEff      EQU      06h        ;
+
tFinDBD        EQU      07h        ;
+
tLCM            EQU      08h        ;
+
tGCD            EQU      09h        ;
+
tRandInt        EQU      0Ah        ;
+
tRandBin        EQU      0Bh        ;
+
tSubStrng      EQU      0Ch        ;
+
tStdDev        EQU      0Dh        ;
+
tVariance      EQU      0Eh        ;
+
tInStrng        EQU      0Fh        ;
+
tDNormal        EQU      10h        ;
+
tInvNorm        EQU      11h        ;
+
tDT            EQU      12h        ;
+
tChI            EQU      13h        ;
+
tDF            EQU      14h        ;
+
tBINPDF        EQU      15h        ;
+
tBINCDF        EQU      16h        ;
+
tPOIPDF        EQU      17h        ;
+
tPOICDF        EQU      18h        ;
+
tGEOPDF        EQU      19h        ;
+
tGEOCDF        EQU      1Ah        ;
+
tNormalPDF      EQU      1Bh        ;
+
tTPDF          EQU      1Ch        ;
+
tChiPDF        EQU      1Dh        ;
+
tFPDF          EQU      1Eh        ;
+
tRandNorm      EQU      1Fh        ;
+
tFinFPMT        EQU      20h        ;
+
tFinFI          EQU      21h        ;
+
tFinFPV        EQU      22h        ;
+
tFinFN          EQU      23h        ;
+
tFinFFV        EQU      24h        ;
+
tConj          EQU      25h        ;
+
tReal          EQU      26h        ;
+
tImag          EQU      27h        ;
+
tAngle          EQU      28h        ;
+
tCumSum        EQU      29h        ;
+
tExpr          EQU      2Ah        ;
+
tLength        EQU      2Bh        ;
+
tDeltaLst      EQU      2Ch        ;
+
tRef            EQU      2Dh        ;
+
tRRef          EQU      2Eh        ;
+
tToRect        EQU      2Fh        ;
+
tToPolar        EQU      30h        ;
+
tConste        EQU      31h        ;
+
tSinReg        EQU      32h        ;
+
tLogistic      EQU      33h        ;
+
tLinRegTTest    EQU      34h        ;
+
tShadeNorm      EQU      35h        ;
+
tShadeT        EQU      36h        ;
+
tShadeChi      EQU      37h        ;
+
tShadeF        EQU      38h        ;
+
tMatToLst      EQU      39h        ;
+
tLstToMat      EQU      3Ah        ;
+
tZTest          EQU      3Bh        ;
+
tTTest          EQU      3Ch        ;
+
t2SampZTest    EQU      3Dh        ;
+
t1PropZTest    EQU      3Eh        ;
+
t2PropZTest    EQU      3Fh        ;
+
tChiTest        EQU      40h        ;
+
tZIntVal        EQU      41h        ;
+
t2SampZInt      EQU      42h        ;
+
t1PropZInt      EQU      43h        ;
+
t2PropZInt      EQU      44h        ;
+
tGraphStyle    EQU      45h        ;
+
t2SampTTest    EQU      46h        ;
+
t2SampFTest    EQU      47h        ;
+
tTIntVal        EQU      48h        ;
+
t2SampTInt      EQU      49h        ;
+
tSetupLst      EQU      4Ah        ;
+
tFinPMTend      EQU      4Bh        ;
+
tFinPMTbeg      EQU      4Ch        ;
+
tRealM          EQU      4Dh        ;
+
tPolarM        EQU      4Eh        ;
+
tRectM          EQU      4Fh        ;
+
tExprOn        EQU      50h        ;
+
tExprOff        EQU      51h        ;
+
tClrAllLst      EQU      52h        ;
+
tGetCalc        EQU      53h        ;
+
tDelVar        EQU      54h        ;
+
tEquToStrng    EQU      55h        ;
+
tStrngToEqu    EQU      56h        ;
+
tDelLast        EQU      57h        ;
+
tSelect        EQU      58h        ;
+
tANOVA          EQU      59h        ;
+
tModBox        EQU      5Ah        ;
+
tNormProb      EQU      5Bh        ;
+
;
+
;
+
tMGT            EQU      64h        ; VERTICAL SPLIT
+
tZFit          EQU      65h        ; ZOOM FIT
+
tDiag_on        EQU      66h        ; DIANOSTIC DISPLAY ON
+
tDiag_off      EQU      67h        ; DIANOSTIC DISPLAY OFF
+
tOkEnd2v0      EQU      67h        ;end of 2byte tokens for version 0.
+
tArchive        EQU      68h        ;archive
+
tUnarchive      EQU      69h        ;unarchive
+
tasm EQU   6Ah
+
tasmComp EQU   6Bh       ; asm compile
+
tasmPrgm EQU   6Ch       ; signifies a program is asm
+
tasmCmp EQU   6Dh       ; asm program is compiled
+
;
+
tLcapAAcute    EQU      6Eh
+
tLcapAGrave    EQU      6Fh
+
tLcapACaret    EQU      70h
+
tLcapADier      EQU      71h
+
tLaAcute        EQU      72h
+
tLaGrave        EQU      73h
+
tLaCaret        EQU      74h
+
tLaDier        EQU      75h
+
tLcapEAcute    EQU      76h
+
tLcapEGrave    EQU      77h
+
tLcapECaret    EQU      78h
+
tLcapEDier      EQU      79h
+
tLeAcute        EQU      7Ah
+
tLeGrave        EQU      7Bh
+
tLeCaret        EQU      7Ch
+
tLeDier        EQU      7Dh
+
;
+
tLcapIGrave    EQU      7Fh
+
tLcapICaret    EQU      80h
+
tLcapIDier      EQU      81h
+
tLiAcute        EQU      82h
+
tLiGrave        EQU      83h
+
tLiCaret        EQU      84h
+
tLiDier        EQU      85h
+
tLcapOAcute    EQU      86h
+
tLcapOGrave    EQU      87h
+
tLcapOCaret    EQU      88h
+
tLcapODier      EQU      89h
+
tLoAcute        EQU      8Ah
+
tLoGrave        EQU      8Bh
+
tLoCaret        EQU      8Ch
+
tLoDier        EQU      8Dh
+
tLcapUAcute    EQU      8Eh
+
tLcapUGrave    EQU      8Fh
+
tLcapUCaret    EQU      90h
+
tLcapUDier      EQU      91h
+
tLuAcute        EQU      92h
+
tLuGrave        EQU      93h
+
tLuCaret        EQU      94h
+
tLuDier        EQU      95h
+
tLcapCCed      EQU      96h
+
tLcCed          EQU      97h
+
tLcapNTilde    EQU      98h
+
tLnTilde        EQU      99h
+
tLaccent        EQU      9Ah
+
tLgrave        EQU      9Bh
+
tLdieresis      EQU      9Ch
+
tLquesDown      EQU      9Dh
+
tLexclamDown    EQU      9Eh
+
tLalpha        EQU      9Fh
+
tLbeta          EQU      0a0h
+
tLgamma        EQU      0a1h
+
tLcapDelta      EQU      0a2h
+
tLdelta        EQU      0a3h
+
tLepsilon      EQU      0a4h
+
tLlambda        EQU      0a5h
+
tLmu            EQU      0a6h
+
tLpi            EQU      0a7h
+
tLrho          EQU      0a8h
+
tLcapSigma      EQU      0a9h
+
;
+
;
+
tLphi          EQU      0aBh
+
tLcapOmega      EQU      0aCh
+
tLphat          EQU      0aDh
+
tLchi          EQU      0aEh
+
tLstatF        EQU      0aFh
+
;
+
  
tLa     EQU    0b0h
+
;2nd Byte Of t2ByteTok Tokens
tLb     EQU    0b1h
+
;------------------------------
tLc     EQU    0b2h
+
tFinNPV equ 00h
tLd     EQU    0b3h
+
tFinIRR equ 01h
tLsmalle EQU    0b4h
+
tFinBAL equ 02h
tLf     EQU    0b5h
+
tFinPRN equ 03h
tLsmallg EQU    0b6h
+
tFinINT equ 04h
tLh     EQU    0b7h
+
tFinToNom equ 05h
tLi     EQU    0b8h
+
tFinToEff equ 06h
tLj     EQU    0b9h
+
tFinDBD equ 07h
tLk     EQU    0bAh
+
tLCM equ 08h
;
+
tGCD equ 09h
 +
tRandInt equ 0Ah
 +
tRandBin equ 0Bh
 +
tSubStrng equ 0Ch
 +
tStdDev equ 0Dh
 +
tVariance equ 0Eh
 +
tInStrng equ 0Fh
 +
tDNormal equ 10h
 +
tInvNorm equ 11h
 +
tDT equ 12h
 +
tChI equ 13h
 +
tDF equ 14h
 +
tBINPDF equ 15h
 +
tBINCDF equ 16h
 +
tPOIPDF equ 17h
 +
tPOICDF equ 18h
 +
tGEOPDF equ 19h
 +
tGEOCDF equ 1Ah
 +
tNormalPDF equ 1Bh
 +
tTPDF equ 1Ch
 +
tChiPDF equ 1Dh
 +
tFPDF equ 1Eh
 +
tRandNorm equ 1Fh
 +
tFinFPMT equ 20h
 +
tFinFI equ 21h
 +
tFinFPV equ 22h
 +
tFinFN equ 23h
 +
tFinFFV equ 24h
 +
tConj equ 25h
 +
tReal equ 26h
 +
tImag equ 27h
 +
tAngle equ 28h
 +
tCumSum equ 29h
 +
tExpr equ 2Ah
 +
tLength equ 2Bh
 +
tDeltaLst equ 2Ch
 +
tRef equ 2Dh
 +
tRRef equ 2Eh
 +
tToRect equ 2Fh
 +
tToPolar equ 30h
 +
tConste equ 31h
 +
tSinReg equ 32h
 +
tLogistic equ 33h
 +
tLinRegTTest equ 34h
 +
tShadeNorm equ 35h
 +
tShadeT equ 36h
 +
tShadeChi equ 37h
 +
tShadeF equ 38h
 +
tMatToLst equ 39h
 +
tLstToMat equ 3Ah
 +
tZTest equ 3Bh
 +
tTTest equ 3Ch
 +
t2SampZTest equ 3Dh
 +
t1PropZTest equ 3Eh
 +
t2PropZTest equ 3Fh
 +
tChiTest equ 40h
 +
tZIntVal equ 41h
 +
t2SampZInt equ 42h
 +
t1PropZInt equ 43h
 +
t2PropZInt equ 44h
 +
tGraphStyle equ 45h
 +
t2SampTTest equ 46h
 +
t2SampFTest equ 47h
 +
tTIntVal equ 48h
 +
t2SampTInt equ 49h
 +
tSetupLst equ 4Ah
 +
tFinPMTend equ 4Bh
 +
tFinPMTbeg equ 4Ch
 +
tRealM equ 4Dh
 +
tPolarM equ 4Eh
 +
tRectM equ 4Fh
 +
tExprOn equ 50h
 +
tExprOff equ 51h
 +
tClrAllLst equ 52h
 +
tGetCalc equ 53h
 +
tDelVar equ 54h
 +
tEquToStrng equ 55h
 +
tStrngToEqu equ 56h
 +
tDelLast equ 57h
 +
tSelect equ 58h
 +
tANOVA equ 59h
 +
tModBox equ 5Ah
 +
tNormProb equ 5Bh
 +
tMGT equ 64h ;VERTICAL SPLIT
 +
tZFit equ 65h ;ZOOM FIT
 +
tDiag_on equ 66h ;DIANOSTIC DISPLAY ON
 +
tDiag_off equ 67h ;DIANOSTIC DISPLAY OFF
 +
tOkEnd2v0 equ 67h ;end of 2byte tokens for version 0.
 +
tArchive equ 68h ;archive
 +
tUnarchive equ 69h ;unarchive
 +
tasm equ 6Ah
 +
tasmComp equ 6Bh ;asm compile
 +
tasmPrgm equ 6Ch ;signifies a program is asm
 +
tasmCmp equ 6Dh ;asm program is compiled
 +
tLcapAAcute equ 6Eh
 +
tLcapAGrave equ 6Fh
 +
tLcapACaret equ 70h
 +
tLcapADier equ 71h
 +
tLaAcute equ 72h
 +
tLaGrave equ 73h
 +
tLaCaret equ 74h
 +
tLaDier equ 75h
 +
tLcapEAcute equ 76h
 +
tLcapEGrave equ 77h
 +
tLcapECaret equ 78h
 +
tLcapEDier equ 79h
 +
tLeAcute equ 7Ah
 +
tLeGrave equ 7Bh
 +
tLeCaret equ 7Ch
 +
tLeDier equ 7Dh
 +
tLcapIGrave equ 7Fh
 +
tLcapICaret equ 80h
 +
tLcapIDier equ 81h
 +
tLiAcute equ 82h
 +
tLiGrave equ 83h
 +
tLiCaret equ 84h
 +
tLiDier equ 85h
 +
tLcapOAcute equ 86h
 +
tLcapOGrave equ 87h
 +
tLcapOCaret equ 88h
 +
tLcapODier equ 89h
 +
tLoAcute equ 8Ah
 +
tLoGrave equ 8Bh
 +
tLoCaret equ 8Ch
 +
tLoDier equ 8Dh
 +
tLcapUAcute equ 8Eh
 +
tLcapUGrave equ 8Fh
 +
tLcapUCaret equ 90h
 +
tLcapUDier equ 91h
 +
tLuAcute equ 92h
 +
tLuGrave equ 93h
 +
tLuCaret equ 94h
 +
tLuDier equ 95h
 +
tLcapCCed equ 96h
 +
tLcCed equ 97h
 +
tLcapNTilde equ 98h
 +
tLnTilde equ 99h
 +
tLaccent equ 9Ah
 +
tLgrave equ 9Bh
 +
tLdieresis equ 9Ch
 +
tLquesDown equ 9Dh
 +
tLexclamDown equ 9Eh
 +
tLalpha equ 9Fh
 +
tLbeta equ 0A0h
 +
tLgamma equ 0A1h
 +
tLcapDelta equ 0A2h
 +
tLdelta equ 0A3h
 +
tLepsilon equ 0A4h
 +
tLlambda equ 0A5h
 +
tLmu equ 0A6h
 +
tLpi equ 0A7h
 +
tLrho equ 0A8h
 +
tLcapSigma equ 0A9h
 +
tLphi equ 0ABh
 +
tLcapOmega equ 0ACh
 +
tLphat equ 0ADh
 +
tLchi equ 0AEh
 +
tLstatF equ 0AFh
 +
tLa equ 0B0h
 +
tLb equ 0B1h
 +
tLc equ 0B2h
 +
tLd equ 0B3h
 +
tLsmalle equ 0B4h
 +
tLf equ 0B5h
 +
tLsmallg equ 0B6h
 +
tLh equ 0B7h
 +
tLi equ 0B8h
 +
tLj equ 0B9h
 +
tLk equ 0BAh
 +
tLl equ 0BCh
 +
tLm equ 0BDh
 +
tLsmalln equ 0BEh
 +
tLo equ 0BFh
 +
tLp equ 0C0h
 +
tLq equ 0C1h
 +
tLsmallr equ 0C2h
 +
tLs equ 0C3h
 +
tLsmallt equ 0C4h
 +
tLu equ 0C5h
 +
tLv equ 0C6h
 +
tLw equ 0C7h
 +
tLx equ 0C8h
 +
tLy equ 0C9h
 +
tLz equ 0CAh
 +
tLsigma equ 0CBh
 +
tLtau equ 0CCh
 +
tLcapIAcute equ 0CDh
 +
tGarbagec equ 0CEh
 +
LastToken equ 0CEh ;tLAST TOKEN IN THIS VERSION...
  
tLl      EQU    0bCh
+
;Data Type Equates                                                     
tLm      EQU    0bDh
+
;---------------------------------------------------------------------
;tLn      EQU    0bEh
+
RealObj equ 0
tLo      EQU    0bFh
+
ListObj equ 1
tLp      EQU    0c0h
+
MatObj equ 2
tLq      EQU    0c1h
+
EquObj equ 3
tLsmallr EQU    0c2h
+
StrngObj equ 4
tLs      EQU    0c3h
+
ProgObj equ 5
tLsmallt EQU    0c4h
+
ProtProgObj equ 6
tLu      EQU    0c5h
+
PictObj equ 7
tLv      EQU    0c6h
+
GDBObj equ 8
tLw      EQU    0c7h
+
UnknownObj equ 9
tLx      EQU    0c8h
+
UnknownEquObj equ 0Ah
tLy      EQU    0c9h
+
NewEquObj equ 0Bh
tLz      EQU    0cAh
+
CplxObj equ 0Ch
tLsigma        EQU      0cbh
+
CListObj equ 0Dh
tLtau          EQU      0cch
+
UndefObj equ 0Eh
tLcapIAcute    EQU      0cdh
+
WindowObj equ 0Fh
;
+
ZStoObj equ 10h
;
+
TblRngObj equ 11h
tGarbagec EQU    0Ceh
+
LCDObj equ 12h
LastToken      EQU      0Ceh        ;tLAST TOKEN IN THIS VERSION...
+
BackupObj equ 13h
;
+
AppObj equ 14h ;application, only used in menus/link
;======================================================================
+
AppVarObj equ 15h ;application variable
;          Data Type Equates                                                     
+
TempProgObj equ 16h ;program, home deletes when finished
;======================================================================
+
GroupObj equ 17h ;group.
;
+
RealObj         EQU      0
+
ListObj         EQU      1
+
MatObj         EQU      2
+
EquObj         EQU      3
+
StrngObj       EQU      4
+
ProgObj         EQU      5
+
ProtProgObj     EQU      6
+
PictObj         EQU      7
+
GDBObj         EQU      8
+
UnknownObj     EQU      9
+
UnknownEquObj   EQU      0Ah
+
NewEquObj       EQU      0Bh
+
CplxObj         EQU      0Ch
+
CListObj       EQU      0Dh
+
UndefObj       EQU      0Eh
+
WindowObj       EQU      0Fh
+
ZStoObj         EQU      10h
+
TblRngObj       EQU      11h
+
LCDObj         EQU      12h
+
BackupObj       EQU      13h
+
AppObj EQU   14h ;application, only used in menus/link
+
AppVarObj EQU   15h ;application variable
+
TempProgObj     EQU      16h           ;program, home deletes when finished
+
GroupObj       EQU      17h           ;group.
+
;
+
;======================================================================
+
;     Parser Equates
+
;======================================================================
+
OPRand      EQU              tRand
+
OPProd      EQU              tProd
+
OPSum      EQU              tSum
+
OPAdd      EQU              tAdd
+
OPSub      EQU              tSub
+
OPMult      EQU              tMul
+
OPDiv      EQU              tDiv
+
OPPower    EQU              tPower
+
OPXRoot    EQU              tXRoot
+
OPEq        EQU              tEQ
+
OPNeq      EQU              tNE
+
OPRound2    EQU              tRound
+
OPAug      EQU              tAug
+
OPMax      EQU              tMax
+
OPMin      EQU              tMin
+
OPAnd      EQU              tAnd
+
OPOr        EQU              tOr
+
OPXor      EQU              tXor
+
OPNcr      EQU              tnCr
+
OPNpr      EQU              tnPr
+
OPLt        EQU              tLT
+
OPLe        EQU              tLE
+
OPGt        EQU              tGT
+
OPGe        EQU              tGE
+
;
+
OPLog      EQU              tLog
+
OPTenX      EQU              tALog
+
OPLn        EQU              tLn
+
OPEtoX      EQU              tExp
+
OPNot      EQU              tNot
+
OPSin      EQU              tSin
+
OPASin      EQU              tASin
+
OPCos      EQU              tCos
+
OPACos      EQU              tACos
+
OPTan      EQU              tTan
+
OPATan      EQU              tATan
+
OPSinH      EQU              tSinH
+
OPASinH    EQU              tASinH
+
OPCosH      EQU              tCosH
+
OPACosH    EQU              tACosH
+
OPTanH      EQU              tTanH
+
OPATanH    EQU              tATanH
+
OPInverse  EQU              tRecip
+
OPDet      EQU              tDet
+
OPSqroot    EQU              tSqrt
+
OPSquare    EQU              tSqr
+
OPNegate    EQU              tChs
+
OPIpart    EQU              tIPart
+
OPFpart    EQU              tFPart
+
OPIntgr    EQU              tInt
+
OPFact      EQU              tFact
+
OPAbs      EQU              tAbs
+
OPIdent    EQU              tIdent
+
OPTranspose EQU              tTrnspos
+
OPSortA    EQU              tSortA
+
OPSortD    EQU              tSortD
+
OPToDec    EQU              tToDEC
+
OPToFrac    EQU              tToAbc
+
OPRadd      EQU              tRowPlus
+
OPRmlt      EQU              tmRow
+
OPRswap    EQU              tRowSwap
+
OPMltRadd  EQU              tmRowPlus
+
OPRand1    EQU              tRandM
+
OPSolve    EQU              tRoot
+
OPDeriv81  EQU              tNDeriv
+
OPQuad      EQU              tFnInt
+
OPSeq      EQU              tSeries
+
OPDim      EQU              tDim
+
OPRad      EQU              tFromRad
+
OPDeg      EQU              tFromDeg
+
OPRtopr    EQU              tRToPr
+
OPRtopo    EQU              tRToPo
+
OPPtorx    EQU              tPToRx
+
OPPtory    EQU              tPToRy
+
OPCube      EQU              tCube
+
OPCbrt      EQU              tCubRt
+
OPFmin      EQU              tFmin
+
OPFmax      EQU              tFmax
+
OPNpv          EQU      tIf        ; immediate unary
+
OPIrr          EQU      tIf+1      ; immediate unary
+
OPBal          EQU      tIf+2      ; immediate unary
+
OPPrn          EQU      tIf+3      ; immediate unary
+
OPIntr          EQU      tIf+4      ; immediate unary
+
OPToNom        EQU      tIf+5      ; immediate unary
+
OPToEff        EQU      tIf+6      ; immediate unary
+
OPFinDbd          EQU      tIf+7      ; immediate unary
+
OPLcm          EQU      tIf+8      ; immediate unary
+
OPGcd          EQU      tIf+9      ; immediate unary
+
OPRandInt      EQU      tIf+10      ; immediate unary
+
OPRandBin        EQU      tIf+11      ; immediate unary
+
OPSubstr        EQU      tIf+12      ; immediate unary
+
OPstDev        EQU      tIf+13      ; immediate unary
+
OPVariance      EQU      tIf+14      ; immediate unary
+
OPInstr        EQU      tIf+15      ; immediate unary
+
OPNormal        EQU      tIf+16      ; immediate unary
+
OPINormal      EQU      tIf+17      ; immediate unary
+
OPDt            EQU      tIf+18      ; immediate unary
+
OPChi          EQU      tIf+19      ; immediate unary
+
OPDf            EQU      tIf+20      ; immediate unary
+
OPBinpdf        EQU      tIf+21      ; immediate unary
+
OPBincdf        EQU      tIf+22      ; immediate unary
+
OPPoipdf        EQU      tIf+23      ; immediate unary
+
OPPoicdf        EQU      tIf+24      ; immediate unary
+
OPGeopdf        EQU      tIf+25      ; immediate unary
+
OPGeocdf        EQU      tIf+26      ; immediate unary
+
OPNormalpdf    EQU      tIf+27      ; immediate unary
+
OPTpdf          EQU      tIf+28      ; immediate unary
+
OPChipdf        EQU      tIf+29      ; immediate unary
+
OPFpdf          EQU      tIf+30      ; immediate unary
+
OPRandNrm      EQU      tIf+31      ; immediate unary
+
OPConj          EQU      tZoomIn
+
OPReal          EQU      tZoomIn   +1
+
OPImag          EQU      tZoomIn   +2
+
OPAngle          EQU      tZoomIn   +3
+
OPCumSum        EQU      tZoomIn   +4
+
OPExpr          EQU      tZoomIn   +5
+
OPLength        EQU      tZoomIn   +6
+
OPDeltaLst      EQU      tZoomIn   +7
+
OPRef            EQU      tZoomIn   +8
+
OPRref          EQU      tZoomIn   +9
+
OPConst          EQU      tZoomIn   +10
+
  
;======================================================================
+
;I/O Equates                                                          
;          I/O equates                                                          
+
;---------------------------------------------------
;======================================================================
+
D0D1_bits equ 03h
;
+
D0LD1L equ 03h
D0D1_bits EQU  03h
+
D0LD1H equ 01h
D0LD1L EQU  03h
+
D0HD1L equ 02h
D0LD1H EQU  01h
+
D0HD1H equ 00h
D0HD1L EQU  02h
+
bport equ 0 ;4-bit link port (I/O)  
D0HD1H EQU  00h
+
bport EQU  0 ; 4-BIT LINK PORT (I/O)  
+
;
+
;======================================================================
+
; Interrupt equates
+
;======================================================================
+
;
+
iAll EQU 1011b
+
intrptEnPort equ 3 ; interrupt enable (in/out)
+
;
+
;======================================================================
+
; Memory paging equates
+
;======================================================================
+
;
+
memPageAPort equ 6 ; memory page A (in/out)
+
;
+
;======================================================================
+
; LCD Driver equates
+
;======================================================================
+
LCDinstPort equ 10h
+
LCDdataPort equ 11h
+
;
+
;======================================================================
+
;          DEVICE CODES                                                     
+
;======================================================================
+
;
+
;
+
TI82DEV EQU  82h
+
PC82DEV EQU  02h
+
MAC82DEV EQU  12h
+
;
+
LINK83FDEV EQU  23h
+
;
+
TI83DEV EQU  83h
+
PC83DEV EQU  03h
+
MAC83DEV EQU  13h
+
;
+
TI85DEV EQU  95h      ; DIFF THEN REAL 85 SO ME TALK
+
PC85DEV EQU  05h
+
MAC85DEV EQU  15h
+
;
+
TI73DEV EQU  74h      ; Device x3 is always an 83
+
PC73DEV EQU  07h
+
MAC73DEV EQU  17h
+
;
+
TI83FDEV EQU  73h
+
LINK73FDEV EQU  23h
+
PC83FDEV EQU  23h
+
;
+
;======================================================================
+
;          System Error Codes                                                 
+
;======================================================================
+
;
+
E_EDITF EQU 7 ;allow re-entering application
+
E_EDIT EQU 1<<E_EDITF
+
E_Mask EQU 7Fh
+
  
E_Overflow EQU 1+E_EDIT
+
;Device Codes
E_DivBy0 EQU 2+E_EDIT
+
;-----------------------------------------------------------------
E_SingularMat EQU 3+E_EDIT
+
TI82DEV equ 82h
E_Domain EQU 4+E_EDIT
+
PC82DEV equ 02h
E_Increment EQU 5+E_EDIT
+
MAC82DEV equ 12h
E_Break EQU 6+E_EDIT
+
TI83FDEV equ 73h
E_NonReal      EQU    7+E_EDIT
+
LINK83FDEV equ 23h
E_Syntax        EQU    8+E_EDIT
+
TI83DEV equ 83h
E_DataType      EQU    9+E_EDIT
+
PC83DEV equ 03h
E_Argument      EQU    10+E_EDIT
+
MAC83DEV equ 13h
E_DimMismatch  EQU    11+E_EDIT
+
TI85DEV equ 95h ;different than real 85 so me talk
E_Dimension    EQU    12+E_EDIT
+
PC85DEV equ 05h
E_Undefined    EQU    13+E_EDIT
+
MAC85DEV equ 15h
E_Memory        EQU    14+E_EDIT
+
TI73DEV equ 74h ;device x3 is always an 83
E_Invalid      EQU    15+E_EDIT
+
PC73DEV equ 07h
E_IllegalNest  EQU    16+E_EDIT
+
MAC73DEV equ 17h
E_Bound        EQU    17+E_EDIT
+
LINK73FDEV equ 23h
E_GraphRange    EQU    18+E_EDIT
+
PC83FDEV equ 23h
E_Zoom          EQU    19+E_EDIT
+
E_Label        EQU    20
+
E_Stat          EQU    21
+
E_Solver        EQU    22+E_EDIT
+
E_Singularity  EQU    23+E_EDIT
+
E_SignChange    EQU    24+E_EDIT
+
E_Iterations    EQU    25+E_EDIT
+
E_BadGuess      EQU    26+E_EDIT
+
E_StatPlot      EQU    27
+
E_TolTooSmall  EQU    28+E_EDIT
+
E_Reserved      EQU    29+E_EDIT
+
E_Mode          EQU    30+E_EDIT
+
E_LnkErr        EQU    31+E_EDIT
+
E_LnkMemErr    EQU    32+E_EDIT
+
E_LnkTransErr  EQU    33+E_EDIT
+
E_LnkDupErr    EQU    34+E_EDIT
+
E_LnkMemFull    EQU    35+E_EDIT
+
E_Unknown      EQU    36+E_EDIT
+
  
E_Scale        EQU    37+E_EDIT
+
;System Error Codes                                                 
E_IdNotFound    EQU    38
+
;-----------------------------------------------------------
E_NoMode        EQU    39+E_EDIT
+
E_EDITF equ 7 ;allow re-entering application
E_Validation    EQU    40
+
E_EDIT equ 1<<E_EDITF
E_Length        EQU    41+E_EDIT
+
E_Mask equ 7Fh
E_Application  EQU    42+E_EDIT
+
E_Overflow equ 1+E_EDIT
E_AppErr1      EQU    43+E_EDIT
+
E_DivBy0 equ 2+E_EDIT
E_AppErr2      EQU    44+E_EDIT
+
E_SingularMat equ 3+E_EDIT
E_ExpiredApp EQU 45
+
E_Domain equ 4+E_EDIT
E_BadAddr EQU 46
+
E_Increment equ 5+E_EDIT
E_Archived      EQU    47+E_EDIT
+
E_Break equ 6+E_EDIT
E_Version      EQU    48
+
E_NonReal equ 7+E_EDIT
E_ArchFull      EQU    49
+
E_Syntax equ 8+E_EDIT
E_Variable      EQU    50+E_EDIT
+
E_DataType equ 9+E_EDIT
E_Duplicate    EQU    51+E_EDIT
+
E_Argument equ 10+E_EDIT
HigErrNum      EQU    51
+
E_DimMismatch equ 11+E_EDIT
 
+
E_Dimension equ 12+E_EDIT
 
+
E_Undefined equ 13+E_EDIT
; obsolete error numbers34              ;first LINK error
+
E_Memory equ 14+E_EDIT
E_LinkIOChkSum EQU 34
+
E_Invalid equ 15+E_EDIT
E_LinkIOTimeOut EQU 35
+
E_IllegalNest equ 16+E_EDIT
E_LinkIOBusy EQU 36
+
E_Bound equ 17+E_EDIT
E_LinkIOVer EQU 37
+
E_GraphRange equ 18+E_EDIT
 
+
E_Zoom equ 19+E_EDIT
;
+
E_Label equ 20
;======================================================================
+
E_Stat equ 21
;          EQUATES TO RAM LOCATIONS FOR STAT VARS
+
E_Solver equ 22+E_EDIT
;======================================================================
+
E_Singularity equ 23+E_EDIT
;
+
E_SignChange equ 24+E_EDIT
;
+
E_Iterations equ 25+E_EDIT
FPLEN EQU 9 ;Length of a floating-point number.
+
E_BadGuess equ 26+E_EDIT
StatN  EQU    statVars
+
E_StatPlo equ 27
XMean  EQU    StatN      + FPLEN
+
E_TolTooSmall equ 28+E_EDIT
SumX    EQU    XMean      + FPLEN
+
E_Reserved equ 29+E_EDIT
SumXSqr EQU    SumX      + FPLEN
+
E_Mode equ 30+E_EDIT
StdX    EQU    SumXSqr    + FPLEN
+
E_LnkErr equ 31+E_EDIT
StdPX  EQU    StdX      + FPLEN
+
E_LnkMemErr equ 32+E_EDIT
MinX    EQU    StdPX      + FPLEN
+
E_LnkTransErr equ 33+E_EDIT
MaxX    EQU    MinX      + FPLEN
+
E_LnkDupErr equ 34+E_EDIT
MinY    EQU    MaxX      + FPLEN
+
E_LnkMemFull equ 35+E_EDIT
MaxY    EQU    MinY      + FPLEN
+
E_Unknown equ 36+E_EDIT
YMean  EQU    MaxY      + FPLEN
+
E_Scale equ 37+E_EDIT
SumY    EQU    YMean      + FPLEN
+
E_IdNotFound equ 38
SumYSqr EQU    SumY      + FPLEN
+
E_NoMode equ 39+E_EDIT
StdY    EQU    SumYSqr    + FPLEN
+
E_Validation equ 40
StdPY  EQU    StdY      + FPLEN
+
E_Length equ 41+E_EDIT
SumXY  EQU    StdPY      + FPLEN
+
E_Application equ 42+E_EDIT
Corr    EQU    SumXY      + FPLEN
+
E_AppErr1 equ 43+E_EDIT
MedX    EQU    Corr      + FPLEN
+
E_AppErr2 equ 44+E_EDIT
Q1      EQU    MedX      + FPLEN
+
E_ExpiredApp equ 45
Q3      EQU    Q1        + FPLEN
+
E_BadAdd equ 46
QuadA  EQU    Q3        + FPLEN
+
E_Archived equ 47+E_EDIT
QuadB  EQU    QuadA      + FPLEN
+
E_Version equ 48
QuadC  EQU    QuadB      + FPLEN
+
E_ArchFull equ 49
CubeD  EQU    QuadC      + FPLEN
+
E_Variable equ 50+E_EDIT
QuartE  EQU    CubeD      + FPLEN
+
E_Duplicate equ 51+E_EDIT
MedX1  EQU    QuartE    + FPLEN
+
HigErrNum equ 51
MedX2  EQU    MedX1      + FPLEN
+
;Obsolete error numbers 34 ;first LINK error
MedX3  EQU    MedX2      + FPLEN
+
E_LinkIOChkSum equ 34
MedY1  EQU    MedX3      + FPLEN
+
E_LinkIOTimeOut equ 35
MedY2  EQU    MedY1      + FPLEN
+
E_LinkIOBusy equ 36
MedY3  EQU    MedY2      + FPLEN
+
E_LinkIOVer equ 37
PStat  EQU    MedY3      + 2*FPLEN
+
ZStat  EQU    PStat      + FPLEN
+
TStat  EQU    ZStat      + FPLEN
+
ChiStat EQU    TStat      + FPLEN
+
FStat  EQU    ChiStat    + FPLEN
+
DF      EQU    FStat      + FPLEN
+
Phat    EQU    DF        + FPLEN
+
Phat1  EQU    Phat      + FPLEN
+
Phat2  EQU    Phat1      + FPLEN
+
MeanX1  EQU    Phat2      + FPLEN
+
StdX1  EQU    MeanX1    + FPLEN
+
StatN1  EQU    StdX1      + FPLEN
+
MeanX2  EQU    StatN1    + FPLEN
+
StdX2  EQU    MeanX2    + FPLEN
+
StatN2  EQU    StdX2      + FPLEN
+
StdXP2  EQU    StatN2    + FPLEN
+
SLower  EQU    StdXP2    + FPLEN
+
SUpper  EQU    SLower    + FPLEN
+
SStat  EQU    SUpper    + FPLEN
+
  
F_DF EQU    anovaf_vars
+
;Equates To RAM Locations For Stat Vars
F_SS EQU    F_DF + FPLEN
+
;----------------------------------------------------------------
F_MS EQU    F_SS + FPLEN
+
FPLEN equ 9 ;Length of a floating-point number.
E_DF EQU    F_MS + FPLEN
+
StatN equ statVars
E_SS EQU    E_DF + FPLEN
+
XMean equ StatN + FPLEN
E_MS EQU    E_SS + FPLEN</nowiki>
+
SumX equ XMean + FPLEN
 +
SumXSqr equ SumX + FPLEN
 +
StdX equ SumXSqr + FPLEN
 +
StdPX equ StdX + FPLEN
 +
MinX equ StdPX + FPLEN
 +
MaxX equ MinX + FPLEN
 +
MinY equ MaxX + FPLEN
 +
MaxY equ MinY + FPLEN
 +
YMean equ MaxY + FPLEN
 +
SumY equ YMean + FPLEN
 +
SumYSqr equ SumY + FPLEN
 +
StdY equ SumYSqr + FPLEN
 +
StdPY equ StdY + FPLEN
 +
SumXY equ StdPY + FPLEN
 +
Corr equ SumXY + FPLEN
 +
MedX equ Corr + FPLEN
 +
Q1 equ MedX + FPLEN
 +
Q3 equ Q1 + FPLEN
 +
QuadA equ Q3 + FPLEN
 +
QuadB equ QuadA + FPLEN
 +
QuadC equ QuadB + FPLEN
 +
CubeD equ QuadC + FPLEN
 +
QuartE equ CubeD + FPLEN
 +
MedX1 equ QuartE + FPLEN
 +
MedX2 equ MedX1 + FPLEN
 +
MedX3 equ MedX2 + FPLEN
 +
MedY1 equ MedX3 + FPLEN
 +
MedY2 equ MedY1 + FPLEN
 +
MedY3 equ MedY2 + FPLEN
 +
PStat equ MedY3 + 2*FPLEN
 +
ZStat equ PStat + FPLEN
 +
TStat equ ZStat + FPLEN
 +
ChiStat equ TStat + FPLEN
 +
FStat equ ChiStat + FPLEN
 +
DF equ FStat + FPLEN
 +
Phat equ DF + FPLEN
 +
Phat1 equ Phat + FPLEN
 +
Phat2 equ Phat1 + FPLEN
 +
MeanX1 equ Phat2 + FPLEN
 +
StdX1 equ MeanX1 + FPLEN
 +
StatN1 equ StdX1 + FPLEN
 +
MeanX2 equ StatN1 + FPLEN
 +
StdX2 equ MeanX2 + FPLEN
 +
StatN2 equ StdX2 + FPLEN
 +
StdXP2 equ StatN2 + FPLEN
 +
SLower equ StdXP2 + FPLEN
 +
SUpper equ SLower + FPLEN
 +
SStat equ SUpper + FPLEN
 +
F_DF equ anovaf_vars
 +
F_SS equ F_DF + FPLEN
 +
F_MS equ F_SS + FPLEN
 +
E_DF equ F_MS + FPLEN
 +
E_SS equ E_DF + FPLEN
 +
E_MS equ E_SS + FPLEN
 +
</nowiki>

Latest revision as of 17:23, 20 February 2015


About

The ti83plus.inc is used by many assembly programs and includes essential equates used by the operating system. This version is more complete than what TI provides, due to years of research from various programmers throughout the decades.

To open in a browser window, click here To search for specific equates, use your browser search function.

Content

;TI-83 Plus Include File
;05/07/2007

;Included for TASM Compatibility
;-------------------------------
#define equ .equ
#define EQU .equ
#define end .end
#define END .end

;System Variable Equates
;------------------------------
XSCLt			equ 2
YSCLt			equ 3
XMINt			equ 0Ah
XMAXt			equ 0Bh
YMINt			equ 0Ch
YMAXt			equ 0Dh
TMINt			equ 0Eh
TMAXt			equ 0Fh
THETMINt		equ 10h
THETMAXt		equ 11h
TBLMINt			equ 1Ah
PLOTSTARTt		equ 1Bh
NMAXt			equ 1Dh
NMINt			equ 1Fh
TBLSTEPt		equ 21h
TSTEPt			equ 22h
THETSTEPt		equ 23h
DELTAXt			equ 26h
DELTAYt			equ 27h
XFACTt			equ 28h
YFACTt			equ 29h
FINNt			equ 2Bh
FINIt			equ 2Ch
FINPVt			equ 2Dh
FINPMTt			equ 2Eh
FINFVt			equ 2Fh
FINPYt			equ 30h
FINCYt			equ 31h
PLOTSTEPt		equ 34h
XRESt			equ 36h

;Run indicators
;------------------------------------
busyPause		equ 10101010b
busyNormal		equ 11110000b

;Banked Call Equates/Macros
;-----------------------------------------------
rBR_CALL		equ 28h
BRT_JUMP0		equ 50h
#define bcall(xxxx) rst 28h \ .dw xxxx
#define bjump(xxxx) call 50h \ .dw xxxx

;Common Restart Routines
;------------------------------
rOP1TOOP2		equ 08h
rFINDSYM		equ 10h
rPUSHREALO1		equ 18h
rMOV9TOOP1		equ 20h
rFPADD			equ 30h

;Error Handler Equates/Macros
;-------------------------------------------
APP_PUSH_ERRORH		equ 59h
APP_POP_ERRORH		equ 5Ch
#define AppOnErr(xxxx) ld hl,xxxx \ call 59h
#define AppOffErr call 5Ch

;Page 1Bh ROM Calls
;--------------------------------
_JErrorNo		equ 4000h
_FontHook		equ 4003h
_call_character_hook	equ 4006h ;calls character(localize) hook
_ldHLind		equ 4009h ;l=a=(hl),h=(hl+1)
_CpHLDE			equ 400Ch
_DivHLBy10		equ 400Fh
_DivHLByA		equ 4012h
_kdbScan		equ 4015h
_GetCSC			equ 4018h ;key board scan codes
_coorMon		equ 401Bh ;
_Mon			equ 401Eh ;system monitor, customized through the context vectors
_monForceKey		equ 4021h ;
_sendKPress		equ 4024h
_JForceCmdNoChar	equ 4027h
_JForceCmd		equ 402Ah ;
_sysErrHandler		equ 402Dh ;loads error context? sp=(onSP)
_newContext		equ 4030h ;(kbdKey)=0, loads context, restores page in 4000h-7fffh
_newContext0		equ 4033h ;loads context
_cxPutAway		equ 4036h ;
_cxPutAway2		equ 4039h ;same but also does a B_CALL CanAlphIns
_cxPPutAway		equ 403Ch
_cxSizeWind		equ 403Fh
_cxErrEP		equ 4042h
_cxMain			equ 4045h
_monErrHand		equ 4048h ;installs errorhandler to start of ROM call, loads error context, jumps to mon
_AppInit		equ 404Bh ;loads vector data at hl to cxMain and the rest of the vectors
_resetRam		equ 404Eh
_lcd_busy		equ 4051h ;wait till bit 1 of port 2 is set
_Min			equ 4054h ;op1 = lowest number between op1 and op2
_Max			equ 4057h ;op1 = highest number between op1 and op2 
_Trunc			equ 4060h
_InvSub			equ 4063h
_Times2			equ 4066h
_Plus1			equ 4069h ;op1=op1+1
_Minus1			equ 406Ch
_FPSub			equ 406Fh
_FPAdd			equ 4072h
_DToR			equ 4075h
_RToD			equ 4078h
_Cube			equ 407Bh
_TimesPt5		equ 407Eh
_FPSquare		equ 4081h
_FPMult			equ 4084h ;op1=op1*op2
_LJRND			equ 4087h ;adjusts op1 if 0s precede the actual number... rounding? when
_InvOP1SC		equ 408Ah
_InvOP1S		equ 408Dh
_InvOP2S		equ 4090h
_frac			equ 4093h
_fprecip		equ 4096h
_fpdiv			equ 4099h
_SqRoot			equ 409Ch
_RndGuard		equ 409Fh
_RnFx			equ 40A2h
_int			equ 40A5h
_Round			equ 40A8h
_LnX			equ 40ABh
_LogX			equ 40AEh
_LJNORND		equ 40B1h ;like _LJRND but no rounding
_EToX			equ 40B4h
_TenX			equ 40B7h
_SinCosRad		equ 40BAh
_Sin			equ 40BDh
_cos			equ 40C0h
_Tan			equ 40C3h
_SinHCosH		equ 40C6h
_TanH			equ 40C9h
_cosh			equ 40CCh
_SinH			equ 40CFh
_ACosRad		equ 40D2h
_ATanRad		equ 40D5h
_ATan2Rad		equ 40D8h
_ASinRad		equ 40DBh
_ACos			equ 40DEh
_ATan			equ 40E1h
_ASin			equ 40E4h
_ATan2			equ 40E7h
_ATanH			equ 40EAh
_ASinH			equ 40EDh
_ACosH			equ 40F0h
_PtoR			equ 40F3h
_RToP			equ 40F6h
_HLTimes9		equ 40F9h
_CkOP1Cplx		equ 40FCh
_CkOP1Real		equ 40FFh
_Angle			equ 4102h
_COP1Set0		equ 4105h
_CpOP4OP3		equ 4108h
_Mov9OP2Cp		equ 410Bh
_AbsO1O2Cp		equ 410Eh
_cpop1op2		equ 4111h
_OP3ToOP4		equ 4114h
_OP1ToOP4		equ 4117h
_OP2ToOP4		equ 411Ah
_OP4ToOP2		equ 411Dh
_OP1ToOP3		equ 4123h
_OP5ToOP2		equ 4126h
_OP5ToOP6		equ 4129h
_OP5ToOP4		equ 412Ch
_OP1ToOP2		equ 412Fh
_OP6ToOP2		equ 4132h
_OP6ToOP1		equ 4135h
_OP4ToOP1		equ 4138h
_OP5ToOP1		equ 413Bh
_OP3ToOP1		equ 413Eh
_OP6ToOP5		equ 4141h
_OP4ToOP5		equ 4144h
_OP3ToOP5		equ 4147h
_OP2ToOP5		equ 414Ah
_OP2ToOP6		equ 414Dh
_OP1ToOP6		equ 4150h
_OP1ToOP5		equ 4153h
_OP2ToOP1		equ 4156h
_Mov11B			equ 4159h
_Mov10B			equ 415Ch
_Mov9B			equ 415Fh
_mov9B2			equ 4162h ;points to _mov9B
_Mov8B			equ 4165h
_Mov7B			equ 4168h
_Mov7B2			equ 416Bh ;same pointer as _Mov7B
_OP2ToOP3		equ 416Eh
_OP4ToOP3		equ 4171h
_OP5ToOP3		equ 4174h
_OP4ToOP6		equ 4177h
_Mov9ToOP1		equ 417Ah
_Mov9OP1OP2		equ 417Dh
_Mov9ToOP2		equ 4180h
_MovFrOP1		equ 4183h
_OP4Set1		equ 4186h
_OP3Set1		equ 4189h
_OP2Set8		equ 418Ch
_OP2Set5		equ 418Fh
_OP2SetA		equ 4192h
_OP2Set4		equ 4195h
_OP2Set3		equ 4198h
_OP1Set1		equ 419Bh
_OP1Set4		equ 419Eh
_OP1Set3		equ 41A1h
_OP3Set2		equ 41A4h
_OP1Set2		equ 41A7h
_OP2Set2		equ 41AAh
_OP2Set1		equ 41ADh
_Zero16D		equ 41B0h
_OP5Set0		equ 41B3h
_OP4Set0		equ 41B6h
_OP3Set0		equ 41B9h
_OP2Set0		equ 41BCh
_OP1Set0		equ 41BFh
_OPSet0			equ 41C2h ;hl = location to write floating point 0
_ZeroOP1		equ 41C5h
_ZeroOP2		equ 41C8h
_ZeroOP3		equ 41CBh
_ZeroOP			equ 41CEh
_ClrLp			equ 41D1h
_ShRAcc			equ 41D4h ;move high nibble in a to low nibble
_ShLAcc			equ 41D7h ;move low nibble in a to high nibble
_ShR18			equ 41DAh ;insert a 0 nibble at high nibble of (hl), shift 9 bytes 1 nibble to right
_SHR18A			equ 41DDh ;insert low nibble in a at high nibble of (hl), shift 9 bytes 1 nibble to right
_SHR16			equ 41E0h ;insert a 0 nibble at highnibble of (hl), shift 8 bytes 1 nibble to right
_SHR14			equ 41E3h ;insert low nibble in a at high nibble of (hl), shift 7 bytes 1 nibble to right
_SHL16			equ 41E6h ;insert nibble of 0 in low nibble of (hl), shift 8 bytes (before and including (hl)) to the left 1 nibble
_SHL14			equ 41E9h ;insert low nibble of a in low nibble of (hl), shift 7 bytes (before and including (hl)) to the left 1 nibble
_SRDO1			equ 41ECh
_SHRDRND		equ 41EFh
_MANTPA			equ 41F2h ;adds the value of a to hl which points to the end of the bcd 7 bytes long
_ADDPROP		equ 41F5h ;adds the value of a to hl which points to the end of the bcd (b bytes long)
_ADDPROPLP		equ 41F8h ;adds the value of a and carry to hl which points to the end of the bcd (b bytes long)
_ADD16D 		equ 41FBh ;adds the bcd numbers at (hl-7) and (de-7)
_ADD14D			equ 41FEh ;adds the bcd numbers at (hl-6) and (de-6)
_SUB16D			equ 4201h ;subtracts bcd numbers at (hl-7) and (de-7)
_SUB14D			equ 4204h ;subtracts bcd numbers at (hl-6) and (de-6)
_OP2ExOP6		equ 4207h
_OP5ExOP6		equ 420Ah
_OP1ExOP5		equ 420Dh
_OP1ExOP6		equ 4210h
_OP2ExOP4		equ 4213h
_OP2ExOP5		equ 4216h
_OP1ExOP3		equ 4219h
_OP1ExOP4		equ 421Ch
_OP1ExOP2		equ 421Fh
_ExLp			equ 4222h
_CkOP1C0		equ 4225h
_CkOP1FP0		equ 4228h
_CkOP2FP0		equ 422Bh
_PosNo0Int		equ 422Eh
_CKPosInt		equ 4231h
_CKInt			equ 4234h
_CKOdd			equ 4237h
_CKOP1M			equ 423Ah
_GETCONOP1		equ 423Dh ;a=0 opX=57.29577951308232 (1 radian in degrees)
_GETCONOP2		equ 4240h ;a=1 opX=1.570796326794897 (90 deg = pi/2)
				  ;a=2 opX=.7853981633974483 (45 deg = pi/4)
				  ;a=3 opX=.4342944819032518 (log e)
				  ;a=4 opX=3.141592653589800 (pi)
				  ;a=5 opX=.0174532925199433 (pi/180 = 1 degree in radians)
				  ;a=6 opX=2.302585092994046 (ln 10)
_PIDIV2			equ 4243h ;not code, but a pointer to:	.db 80h,15h,70h,79h,63h,26h,79h,48h,97h
_PIDIV4			equ 4246h ;				.db 7fh,78h,53h,98h,16h,33h,97h,44h,83h
_PItimes2		equ 4249h ;not code, but a pointer to a 2*pi in non-OP format (no exponent byte)
_PI			equ 424Ch ;not code, but a pointer to a pi in non-OP format (no exponent byte)
_ExpToHex		equ 424Fh
_OP1ExpToDec		equ 4252h
_ckop2pos		equ 4255h
_CkOP1Pos		equ 4258h
_ClrOP2S		equ 425Bh
_ClrOP1S		equ 425Eh
_FDIV100		equ 4261h ;op1=op1/100
_FDIV10			equ 4264h ;op1=op1/10
_DecO1Exp		equ 4267h ;decrease exponent by 1, this can go from 0 to FF
_INCO1EXP		equ 426Ah ;op1=op1*10
_INCEXP			equ 426Dh ;hl points to the floating point's exponent to be multiplied by 10
_CkValidNum		equ 4270h
_GETEXP			equ 4273h ;a=OP1's exponent, carry set if negative exponent, Z if e0
_HTimesL		equ 4276h
_EOP1NotReal		equ 4279h
_ThetaName		equ 427Ch
_RName			equ 427Fh
_REGEQNAME		equ 4282h
_RECURNNAME		equ 4285h
_XName			equ 4288h
_YName			equ 428Bh
_TName			equ 428Eh
_REALNAME		equ 4291h
_SETesTOfps		equ 4294h ;moves the word at fps to es
_markTableDirty		equ 4297h ;looks up table variable and marks VAT entry as "dirty" or selected
_OP1MOP2EXP		equ 429Ah ;op1's exponent = op1's expoent - op2's exponent
_OP1EXPMinusE		equ 429Dh ;a=(op1+1)-e
_CHKERRBREAK		equ 42A0h
_isA2ByteTok		equ 42A3h
_GETLASTENTRY		equ 42A6h
_GETLASTENTRYPTR	equ 42A9h
_REGCLRCHNG		equ 42ACh
_RESETWINTOP		equ 42AFh ;takes into account grfsplitoverride and grfsplit flags
_SetYUp			equ 42B2h ;loads 7 to port 10... what does this do?
_SetXUp			equ 42B5h ;loads 5 to port 10...
_ISO1NONTLSTorPROG	equ 42B8h ;checks if op1 contains a list, program, group, or appvar obj name
_ISO1NONTEMPLST		equ 42BBh ;checks if op1 contains a list (why would op1+1 contain 01, or 0d for a var name?)
_IS_A_LSTorCLST		equ 42BEh ;checks if a = 1 or 0Dh
_CHK_HL_999		equ 42C1h ;returns nc if less than 999, throws invalid dim error if greater than or equal to 999
_equ_or_newequ		equ 42C4h
_errd_op1notpos		equ 42C7h
_ErrD_OP1Not_R		equ 42CAh
_ErrD_OP1NotPosInt 	equ 42CDh
_ErrD_OP1_LE_0		equ 42D0h
_ErrD_OP1_0		equ 42D3h
_FINDSYM_GET_SIZE 	equ 42D6h ;like findsym, but on output hl is the size of the variable
_STO_STATVAR		equ 42D9h
_Rcl_StatVar		equ 42DCh
_CkOP2Real		equ 42DFh
_GET_X_INDIRECT		equ 42E2h ;whatever this is, it uses the imathptrX locations
_MemChk			equ 42E5h
_CMPPRGNAMLEN1		equ 42E8h ;gets variable name length from HL
_CMPPRGNAMLEN		equ 42EBh ;gets variable name length from OP1
_FINDPROGSYM		equ 42EEh ;find the program whose name is in op1 (see chkfindsym in SDK)
_ChkFindSym		equ 42F1h
_FindSym		equ 42F4h
_InsertMem		equ 42F7h
_INSERTMEMA		equ 42FAh ;not sure how this differs from insertmem
_EnoughMem		equ 42FDh
_CMPMEMNEED		equ 4300h
_CREATEPVAR4		equ 4303h
_CREATEPVAR3		equ 4306h
_CREATEVAR3		equ 4309h
_CreateCplx		equ 430Ch
_CreateReal		equ 430Fh
_CreateTempRList	equ 4312h
_CreateRList		equ 4315h
_CREATETCLIST		equ 4318h
_CreateCList		equ 431Bh
_CreateTempRMat		equ 431Eh
_CreateRMat		equ 4321h
_CreateTempString	equ 4324h
_CreateStrng		equ 4327h
_Create0Equ		equ 432Ah
_CreateTempEqu		equ 432Dh
_CreateEqu		equ 4330h
_CreatePict		equ 4333h
_CreateGDB		equ 4336h
_CreateProg		equ 4339h
_CHKDEL			equ 433Ch
_CHKDELA		equ 433Fh
_ADJPARSER		equ 4342h
_ADJMATH		equ 4345h
_ADJM7			equ 4348h
_DELMEMA		equ 434Bh
_GET_FORM_NUM		equ 434Eh
_DelVar			equ 4351h
_DELVARIO		equ 4354h
_DelMem			equ 4357h
_DELVAR3D		equ 435Ah
_DELVAR3C		equ 435Dh
_DELVAR3DC		equ 4360h ;may be incorrect
_IsFixedName		equ 4363h
_DelVarEntry		equ 4366h
_DataSizeA		equ 4369h
_DataSize		equ 436Ch
_POPMCPLXO1		equ 436Fh
_POPMCPLX		equ 4372h
_MOVCPLX		equ 4375h
_popOP5			equ 4378h
_popOP3			equ 437Bh
_popOP1			equ 437Eh
_PopRealO6		equ 4381h
_PopRealO5		equ 4384h
_PopRealO4		equ 4387h
_PopRealO3		equ 438Ah
_PopRealO2		equ 438Dh
_PopRealO1		equ 4390h
_PopReal		equ 4393h
_FPOPCPLX		equ 4396h
_FPOPREAL		equ 4399h
_FPOPFPS		equ 439Ch
_DeallocFPS		equ 439Fh
_DeallocFPS1		equ 43A2h
_AllocFPS		equ 43A5h
_AllocFPS1		equ 43A8h
_PushRealO6		equ 43ABh
_PushRealO5		equ 43AEh
_PushRealO4		equ 43B1h
_PushRealO3		equ 43B4h
_PushRealO2		equ 43B7h
_PushRealO1		equ 43BAh
_PushReal		equ 43BDh
_PushOP5		equ 43C0h
_PushOP3		equ 43C3h
_PUSHMCPLXO3		equ 43C6h
_PushOP1		equ 43C9h
_PUSHMCPLXO1		equ 43CCh
_PUSHMCPLX		equ 43CFh
_ExMCplxO1		equ 43D2h
_Exch9			equ 43D5h
_CpyTo1FPS11		equ 43D8h
_CpyTo2FPS5		equ 43DBh
_CpyTo1FPS5		equ 43DEh
_CpyTo2FPS6		equ 43E1h
_CpyTo1FPS6		equ 43E4h
_CpyTo2FPS7		equ 43E7h
_CpyTo1FPS7		equ 43EAh
_CpyTo1FPS8		equ 43EDh
_CpyTo2FPS8		equ 43F0h
_CpyTo1FPS10		equ 43F3h
_CpyTo1FPS9		equ 43F6h
_CpyTo2FPS4		equ 43F9h
_CpyTo6FPS3		equ 43FCh
_CpyTo6FPS2		equ 43FFh
_CpyTo2FPS3		equ 4402h
_CPYCTO1FPS3		equ 4405h
_CpyTo1FPS3		equ 4408h
_CPYFPS3		equ 440Bh
_CpyTo1FPS4		equ 440Eh
_CpyTo3FPS2		equ 4411h
_CpyTo5FPST		equ 4414h
_CpyTo6FPST		equ 4417h
_CpyTo4FPST		equ 441Ah
_CpyTo3FPST		equ 441Dh
_CpyTo2FPST		equ 4420h
_CpyTo1FPST		equ 4423h
_CPYFPST		equ 4426h
_CpyStack		equ 4429h
_CpyTo3FPS1		equ 442Ch
_CpyTo2FPS1		equ 442Fh
_CpyTo1FPS1		equ 4432h
_CPYFPS1		equ 4435h
_CpyTo2FPS2		equ 4438h
_CpyTo1FPS2		equ 443Bh
_CPYFPS2		equ 443Eh
_CpyO3ToFPST		equ 4441h
_CpyO2ToFPST		equ 4444h
_CpyO6ToFPST		equ 4447h
_CpyO1ToFPST		equ 444Ah
_CpyToFPST		equ 444Dh
_CpyToStack		equ 4450h
_CpyO3ToFPS1		equ 4453h
_CpyO5ToFPS1		equ 4456h
_CpyO2ToFPS1		equ 4459h
_CpyO1ToFPS1		equ 445Ch
_CpyToFPS1		equ 445Fh
_CpyO2ToFPS2		equ 4462h
_CpyO3ToFPS2		equ 4465h
_CpyO6ToFPS2		equ 4468h
_CpyO1ToFPS2		equ 446Bh
_CpyToFPS2		equ 446Eh
_CpyO5ToFPS3		equ 4471h
_CpyO2ToFPS3		equ 4474h
_CpyO1ToFPS3		equ 4477h
_CpyToFPS3		equ 447Ah
_CpyO1ToFPS6		equ 447Dh
_CpyO1ToFPS7		equ 4480h
_CpyO1ToFPS5		equ 4483h
_CpyO2ToFPS4		equ 4486h
_CpyO1ToFPS4		equ 4489h
_ErrNotEnoughMem 	equ 448Ch ;only if not HL bytes free
_FPSMINUS9		equ 448Fh
_HLMINUS9		equ 4492h
_ErrOverflow		equ 4495h
_ErrDivBy0		equ 4498h
_ErrSingularMat		equ 449Bh
_ErrDomain		equ 449Eh
_ErrIncrement		equ 44A1h
_ErrNon_Real		equ 44A4h
_ErrSyntax		equ 44A7h
_ErrDataType		equ 44AAh
_ErrArgument		equ 44ADh
_ErrDimMismatch		equ 44B0h
_ErrDimension		equ 44B3h
_ErrUndefined		equ 44B6h
_ErrMemory		equ 44B9h
_ErrInvalid		equ 44BCh
_ErrBreak		equ 44BFh
_ErrStat		equ 44C2h
_ErrSignChange		equ 44C5h
_ErrIterations		equ 44C8h
_ErrBadGuess		equ 44CBh
_ErrTolTooSmall		equ 44CEh
_ErrStatPlot		equ 44D1h
_ErrLinkXmit		equ 44D4h
_JError			equ 44D7h
_noErrorEntry		equ 44DAh
_pushErrorHandleR	equ 44DDh
_popErrorHandleR	equ 44E0h
_strcopy		equ 44E3h
_strCat			equ 44E6h
_isInSet		equ 44E9h
_sDone			equ 44ECh ;this should actually be called _SetEquToOP1
_serrort		equ 44EFh
_sNameEq		equ 44F2h
_sUnderScr		equ 44F5h
_sFAIL			equ 44F8h
_sName			equ 44FBh
_sOK			equ 44FEh
_PutMap			equ 4501h
_PutC			equ 4504h
_DispHL			equ 4507h
_PutS			equ 450Ah
_putpsb			equ 450Dh
_PutPS			equ 4510h
_wputps			equ 4513h
_putbuf			equ 4516h
_putbuf1		equ 4519h
_wputc			equ 451Ch
_wputs			equ 451Fh
_wputsEOL		equ 4522h ;displays string in HL in big font, and uses ... if too long
_wdispEOL		equ 4525h
_whomeup		equ 4528h
_setNumWindow		equ 452Bh ;based on current cursor position, sets winleft and similar (for input prompts)
_newline		equ 452Eh
_moveDown		equ 4531h
_scrollUp		equ 4534h
_shrinkWindow		equ 4537h
_moveUp			equ 453Ah
_scrollDown		equ 453Dh
_ClrLCDFull		equ 4540h
_ClrLCD			equ 4543h
_ClrScrnFull		equ 4546h
_ClrScrn		equ 4549h
_ClrTxtShd		equ 454Ch
_ClrWindow		equ 454Fh
_EraseEOL		equ 4552h
_EraseEOW		equ 4555h
_HomeUp			equ 4558h
_getcurloc		equ 455Bh
_VPutMap		equ 455Eh
_VPutS			equ 4561h
_VPutSN			equ 4564h
_vputsnG		equ 4567h
_vputsnT		equ 456Ah
_RunIndicOn		equ 456Dh
_RunIndicOff		equ 4570h
_saveCmdShadow		equ 4573h
_saveShadow		equ 4576h
_rstrShadow		equ 4579h
_rstrpartial		equ 457Ch
_rstrCurRow		equ 457Fh
_rstrUnderMenu		equ 4582h
_rstrbotrow		equ 4585h
_saveTR			equ 4588h ;save top right corner of LCD so 2nd arrow can be displayed, indicinuse flag must be set
_restoreTR		equ 458Bh ;restore top right corner of LCD destroyed by an arrow. indicinuse flag must be set
_GetKeyPress		equ 458Eh
_GetTokLen		equ 4591h ;input: hl=pointer to token. output: a=lenght of string, hl=pointer to string on page 1
_GET_TOK_STRNG		equ 4594h ;input: hl=pointer to token. output: op3=string of the token, a=length of string
_GETTOKSTRING		equ 4597h ;input: DE=token. output: hl=pointer to the string on page 1
_PUTBPATBUF2		equ 459Ah
_PUTBPATBUF		equ 459Dh
_putbPAT		equ 45A0h
_putcCheckScrolL	equ 45A3h
_DispEOL		equ 45A6h
_fdispEOL		equ 45A9h
_MAKEROWCMD		equ 45ACh
_TOTOSTRP		equ 45AFh
_SETVARNAME		equ 45B2h
_DispDone		equ 45B5h
_finishoutput		equ 45B8h
_curBlink		equ 45BBh
_CursorOff		equ 45BEh
_hideCursor		equ 45C1h
_CursorOn		equ 45C4h
_showCursor		equ 45C7h
_KeyToString		equ 45CAh
_PULLDOWNCHK		equ 45CDh ;something wrong here
_MenuCatCommon		equ 45D0h
_ZIfCatalog		equ 45D3h
_ZIfMatrixMenu		equ 45D6h ;_loadCurCat
_LoadMenuNum		equ 45D9h
_LoadMenuNumL		equ 45DCh
_MenCatRet		equ 45DFh ;restores display as though a menu were just cleared (restores some flags too)
_MenuSwitchContext	equ 45E2h ;switches to context in A, calls menu hook with A=3, set 5,(iy+16h) for some sort of override to not make switch
_MenuEdKey		equ 45E5h
_BackUpGraphSettings	equ 45E8h
_notalphnum		equ 45EBh
_SaveSavedFlags		equ 45EEh
_SetMenuFlags		equ 45F1h
_RstrSomeFlags		equ 45F4h
_RstrOScreen		equ 45F7h ;restores saveSScreen to the display
_SaveOScreen		equ 45FAh ;stores display in saveSScreen
_dispListName		equ 45FDh ;_SeeIfErrorCx
_PrevContext		equ 4600h
_CompareContext		equ 4603h
_AdrMRow		equ 4606h
_AdrMEle		equ 4609h
_GETMATOP1A		equ 460Ch
_GETM1TOOP1		equ 460Fh
_GETM1TOP1A		equ 4612h
_GetMToOP1		equ 4615h
_PUTTOM1A		equ 4618h
_PUTTOMA1		equ 461Bh
_PutToMat		equ 461Eh
_MAT_EL_DIV		equ 4621h
_CMATFUN		equ 4624h
_ROWECH_POLY		equ 4627h
_ROWECHELON		equ 462Ah
_AdrLEle		equ 462Dh
_GETL1TOOP1		equ 4630h
_GETL1TOP1A		equ 4633h
_GetLToOP1		equ 4636h
_GETL1TOOP2		equ 4639h
_GETL1TOP2A		equ 463Ch
_GETL2TOP1A		equ 463Fh
_PUTTOLA1		equ 4642h
_PutToL			equ 4645h
_MAXMINLST		equ 4648h
_LLOW			equ 464Bh
_LHIGH			equ 464Eh
_LSUM			equ 4651h
CUMSUM			equ 4654h
_ToFrac			equ 4657h
_SEQSET			equ 465Ah
_SEQSOLVE		equ 465Dh
_CMP_NUM_INIT		equ 4660h
_BinOPExec		equ 4663h
_EXMEAN1		equ 4666h
_SET2MVLPTRS		equ 4669h
_SETMAT1		equ 466Ch
_CREATETLIST		equ 466Fh
_UnOPExec		equ 4672h
_ThreeExec		equ 4675h
_RESTOREERRNO		equ 4678h
_FourExec		equ 467Bh
_FiveExec		equ 467Eh
_CPYTO2ES1		equ 4681h
_CPYTO6ES1		equ 4684h
_CPYTO1ES1		equ 4687h
_CPYTO3ES1		equ 468Ah
_CPYTO3ES2		equ 468Dh
_CPYTO2ES2		equ 4690h
_CPYTO1ES2		equ 4693h
_CPYTO2ES3		equ 4696h
_CPYTO1ES3		equ 4699h
_CPYTO3ES4		equ 469Ch
_CPYTO6ES3		equ 469Fh
_CPYTO2ES4		equ 46A2h
_CPYTO1ES4		equ 46A5h
_CPYTO2ES5		equ 46A8h
_CPYTO1ES5		equ 46ABh
_CPYTO4EST		equ 46AEh
_CPYTO2EST		equ 46B1h
_CPYTO1EST		equ 46B4h
_CPYTO2ES6		equ 46B7h
_CPYTO1ES6		equ 46BAh
_CPYTO2ES7		equ 46BDh
_CPYTO1ES7		equ 46C0h
_CPYTO2ES8		equ 46C3h
_CPYTO1ES8		equ 46C6h
_CPYTO1ES9		equ 46C9h
_CPYTO2ES9		equ 46CCh
_CPYTO2ES10		equ 46CFh
_CPYTO1ES10		equ 46D2h
_CPYTO2ES11		equ 46D5h
_CPYTO1ES11		equ 46D8h
_CPYTO2ES12		equ 46DBh
_CPYTO1ES12		equ 46DEh
_CPYTO2ES13		equ 46E1h
_CPYTO1ES13		equ 46E4h
_CPYTO1ES14		equ 46E7h
_CPYTO1ES16		equ 46EAh
_CPYTO1ES17		equ 46EDh
_CPYTO1ES18		equ 46F0h
_CPYTO1ES15		equ 46F3h
_CPYTO2ES15		equ 46F6h
_CPYO1TOEST		equ 46F9h
_CPYO1TOES1		equ 46FCh
_CPYO6TOES1		equ 46FFh
_CPYO6TOES3		equ 4702h
_CPYO1TOES2		equ 4705h
_CPYO2TOES2		equ 4708h
_CPYO1TOES3		equ 470Bh
_CPYO1TOES4		equ 470Eh
_CPYO1TOES5		equ 4711h
_CPYO1TOES6		equ 4714h
_CPYO1TOES7		equ 4717h
_CPYO2TOES4		equ 471Ah
_CPYO2TOES5		equ 471Dh
_CPYO2TOES6		equ 4720h
_CPYO2TOES7		equ 4723h
_CPYO2TOES8		equ 4726h
_CPYO2TOES9		equ 4729h
_CPYO1TOES8		equ 472Ch
_CPYO1TOES9		equ 472Fh
_CPYO1TOES10		equ 4732h
_CPYO1TOES11		equ 4735h
_CPYO1TOES12		equ 4738h
_CPYO1TOES13		equ 473Bh
_CPYO1TOES14		equ 473Eh
_CPYO1TOES15		equ 4741h
;_EVALF3A		equ 4744h ;Zeda: misassigned
_GetK			equ 4744h
_setTitle               equ 474Ah
_dispVarVal		equ 474Dh
_RecallEd		equ 4750h ;_setupBuffer
_createNumEditBuf	equ 4753h
_ProcessBufKeys		equ 4756h ;may be default key processing like [CLEAR], etc. especially for an edit buffer.
_CallCommon		equ 4759h
_CommonKeys		equ 475Ch
_Leftmore		equ 475Fh
_fDel			equ 4762h
_fClear			equ 4765h
_finsDisp		equ 4768h ;Michael says _FinsDisp02 equ 4768h (something's not right)
_FinsDisp02		equ 476Bh ;_setIndicator
_closeeditbufnor	equ 476Eh
_releaseBuffer		equ 4771h
_varnameToOP1hl		equ 4774h
_nameToOP1		equ 4777h
_numPPutAway		equ 477Ah
_numRedisp		equ 477Dh
_numError02		equ 4780h
_Load_SFont		equ 4783h
_SFont_Len		equ 4786h
_InitNumVec		equ 4789h ;inits window settings/table setup/finance solver context (dialog-like)
_SetXXOP1		equ 478Ch
_SetXXOP2		equ 478Fh
_SetXXXXOP2		equ 4792h
_UCLineS		equ 4795h
_CLine			equ 4798h
_CLineS			equ 479Bh
_XRootY			equ 479Eh
_YToX			equ 47A1h
_ZmStats		equ 47A4h
_POINT_STAT_HLP		equ 47A7h
_DRAWSPLOT		equ 47AAh
_INITNEWTRACEP		equ 47ADh ;A is input here, goes to (8E63h)
_SPLOTCOORD		equ 47B0h
_SPLOTRIGHT		equ 47B3h
_SPLOTLEFT		equ 47B6h
_CMPBOXINFO		equ 47B9h
_NEXTPLOT		equ 47BCh
_PREVPLOT		equ 47BFh
_CLRPREVPLOT		equ 47C2h
_PUT_INDEX_LST		equ 47C5h
_GET_INDEX_LST		equ 47C8h
_HEAP_SORT		equ 47CBh
_StoGDB2		equ 47CEh
_RclGDB2		equ 47D1h
_CircCmd		equ 47D4h
_GrphCirc		equ 47D7h
_Mov18B			equ 47DAh
_DarkLine		equ 47DDh
_ILine			equ 47E0h
_IPoint			equ 47E3h
_XYRNDBOTH		equ 47E6h
_XYRND			equ 47E9h
_CheckTOP		equ 47ECh
_CheckXY		equ 47EFh
_DarkPnt		equ 47F2h
_CPointS		equ 47F5h
_WTOV			equ 47F8h
_VtoWHLDE		equ 47FBh
_Xitof			equ 47FEh
_YftoI			equ 4801h
_XftoI			equ 4804h
_TraceOff		equ 4807h
_GrRedisp		equ 480Ah
_GDISPTOKEN		equ 480Dh
_GRDECODA		equ 4810h
_LABCOOR		equ 4813h ;draws labels with _GRLABELS and X/Y/whatever coordinates, including stat plot stuff
_COORDISP		equ 4816h ;draws X & Y coordinates (or R and theta if PolarGC)
_TMPEQUNOSRC		equ 4819h
_GRLABELS		equ 481Ch
_YPIXSET		equ 481Fh
_XPIXSET		equ 4822h
_COPYRNG		equ 4825h
_VALCUR			equ 4828h ;just sets/resets three flags, enables graph cursor
_GRPUTAWAY		equ 482Bh
_RSTGFLAGS		equ 482Eh
_GRReset		equ 4831h
_XYCENT			equ 4834h
_ZOOMXYCMD		equ 4837h
_CPTDELY		equ 483Ah
_CPTDELX		equ 483Dh
_SetFuncM		equ 4840h
_SetSeqM		equ 4843h
_SetPolM		equ 4846h
_SetParM		equ 4849h
_ZmInt			equ 484Ch
_ZmDecml		equ 484Fh
_ZmPrev			equ 4852h
_ZmUsr			equ 4855h
_SETUZM			equ 4858h
_ZmFit			equ 485Bh
_ZmSquare		equ 485Eh
_ZmTrig			equ 4861h
_SetXMinMax		equ 4864h
_ZooDefault		equ 4867h
_GrBufCpy		equ 486Ah
_DRAWSPLITLINE		equ 486Dh
_RestoreDisp		equ 4870h
_FNDDB			equ 4873h
_AllEq			equ 4876h
_fndallseleq		equ 4879h
_NEXTEQ			equ 487Ch
_PREVEQ			equ 487Fh
_BLINKGCUR		equ 4882h
_NBCURSOR		equ 4885h
_STATMARK		equ 4888h
_CHKTEXTCURS		equ 488Bh
_Regraph		equ 488Eh
_DOREFFLAGS02		equ 4891h ;something wrong here
INITNSEQ		equ 4894h
_YRES			equ 4897h ;_PLOTPTXY2
_Ceiling		equ 489Ah ;ceil(OP1)
_PutXY			equ 489Dh ;draws X & Y coordinates (regardless of PolarGC)
_PUTEQUNO		equ 48A0h
_PDspGrph		equ 48A3h
_HorizCmd		equ 48A6h
_VertCmd		equ 48A9h
_LineCmd		equ 48ACh
_UnLineCmd		equ 48AFh
_PointCmd		equ 48B2h
_PixelTest		equ 48B5h
_PixelCmd  		equ 48B8h
_TanLnF			equ 48BBh
_DRAWCMD_INIT		equ 48BEh
_DrawCmd		equ 48C1h
_SHADECMD		equ 48C4h
_InvCmd			equ 48C7h
_STATSHADE		equ 48CAh
_dspmattable		equ 48CDh
_dsplsts		equ 48D0h
_closeEditBuf		equ 48D3h
_parseEditBuf		equ 48D6h
_putsm			equ 48D9h
_DspCurTbl		equ 48DCh
_DSPGRTBL		equ 48DFh
_zeroTemplate		equ 48E2h
_settblrefs		equ 48E5h
_dispTblBot		equ 48E8h
_DispTblTop		equ 48EBh
_dispTblbody		equ 48EEh
_VPUTBLANK		equ 48F1h
_TBLTRACE		equ 48F4h
_dispListNameY		equ 48F7h
_CurNameLength		equ 48FAh
_NameToBuf		equ 48FDh
_jpromptcursor		equ 4900h
_BufLeft		equ 4903h
_BufRight		equ 4906h
_bufInsert		equ 4909h
_bufQueueChar		equ 490Ch
_BufReplace		equ 490Fh
_BufDelete		equ 4912h
_BUFPEEK		equ 4915h
_BUFPEEK1		equ 4918h
_BUFPEEK2		equ 491Bh
_BUFPEEK3		equ 491Eh
_BufToBtm		equ 4921h
_setupEditEqu		equ 4924h
_BufToTop		equ 4927h
_isEditFull		equ 492Ah
_IsEditEmpty		equ 492Dh
_IsAtTop		equ 4930h
_IsAtBtm		equ 4933h
_BufClear		equ 4936h
_JcursorFirst		equ 4939h
_JcursorLast		equ 493Ch
_CursorLeft		equ 493Fh
_cursorRight		equ 4942h
_cursorUp		equ 4945h
_CursorDown		equ 4948h
_cursorToOffset		equ 494Bh
_InsDisp		equ 494Eh
_FDISPBOL1		equ 4951h
_FDISPBOL		equ 4954h
_DispEOW		equ 4957h
_DispHead		equ 495Ah
_DispTail		equ 495Dh
_PutTokString		equ 4960h
_setupEditCmd		equ 4963h
_setEmptyEditEqu	equ 4966h
_SetEmptyEditPtr	equ 4969h
_CloseEditEqu		equ 496Ch
_GetPrevTok		equ 496Fh
_getkey			equ 4972h
_canIndic		equ 4975h
_LCD_DRIVERON		equ 4978h 
_DFMIN2			equ 497Bh
_formDisp		equ 497Eh ;this is directly what the OS calls on the homescreen to display a result
_formMatrix		equ 4981h
_wscrollLeft		equ 4984h
_wscrollUp		equ 4987h
_wscrollDown		equ 498Ah
_wscrollRight		equ 498Dh
_FormEReal		equ 4990h
_formERealTOK		equ 4993h
_FormDCplx		equ 4996h
_FormReal		equ 4999h
_formScrollUp		equ 499Ch
_setwinabove		equ 499Fh
_disarmScroll		equ 49A2h
_OP1toEdit		equ 49A5h
_MinToEdit		equ 49A8h
_rclVarToEdit		equ 49ABh
_rclVarToEditPtR	equ 49AEh
_RCLENTRYTOEDIT		equ 49B1h
_rclToQueue		equ 49B4h ;recalls bytes at OP1 into edit buffer
_FORMTOTOK		equ 49B7h
_DISP_INTERVAL		equ 49BAh
_DisplstName		equ 49BDh
_dispSLstNameHL		equ 49C0h
_EditEqu		equ 49C3h
_closeEquField		equ 49C6h
_AutoSelect		equ 49C9h
_DISPYEOS		equ 49CCh
_dispNumEOS		equ 49CFh
_setupdispeq		equ 49D2h
_DispForward		equ 49D5h
_DispYPrompt2		equ 49D8h
_stringwidth		equ 49DBh
_dispErrorScreen	equ 49DEh ;displays top row of error screen (error message)
_POPCX			equ 49E1h ;moves 14 bytes at cxPrev to cxMain, 15th byte goes to replace appflags
_loadnoeentry		equ 49E4h
_SaveScreen		equ 49E7h
_RETSCREEN		equ 49EAh
_RetScreenErr		equ 49EDh
_CheckSplitFlag		equ 49F0h
_SolveRedisp		equ 49F3h
_SolveDisp		equ 49F6h
_itemName		equ 49F9h
_SetNorm_Vals		equ 49FCh
_SetYOffset		equ 49FFh ;sets up YOffset and next 4 bytes (possibly specialized for the table editor)
_ConvKeyToTok		equ 4A02h
_ConvFCKeyToTok		equ 4A05h
_ConvFEKeyToTok		equ 4A08h
_TokToKey		equ 4A0Bh
_SendSkipExitPacket	equ 4A0Eh
_GETVARCMD		equ 4A11h
_SendVarCmd		equ 4A14h
_SendScreenshot		equ 4A17h
keyscnlnk		equ 4A1Ah
_DeselectAllVars	equ 4A1Dh
_DelRes			equ 4A20h
_ConvLcToLr		equ 4A23h
_RedimMat		equ 4A26h
_IncLstSize		equ 4A29h
_InsertList		equ 4A2Ch
_dellistel		equ 4A2Fh
_EditProg		equ 4A32h
_CloseProg		equ 4A35h
_ClrGraphRef		equ 4A38h
_FixTempCnt		equ 4A3Bh
_SAVEDATA		equ 4A3Eh
_RESTOREDATA		equ 4A41h
_FindAlphaUp		equ 4A44h
_FindAlphaDn		equ 4A47h
_CmpSyms		equ 4A4Ah
_CREATETEMP		equ 4A4Dh
_CleanAll		equ 4A50h
_MoveToNextSym		equ 4A53h ;input: hl=pointer to type byte of VAT entry. output: hl = pointer to next entry's type byte
_ConvLrToLc		equ 4A56h
_TblScreenDn		equ 4A59h ;something is not right here
_TblScreenUp		equ 4A5Ch
_SCREENUP		equ 4A5Fh
_ScreenUpDown		equ 4A62h
_ZifRclHandler		equ 4A65h
_zifrclkapp		equ 4A68h
_rclkeyRtn		equ 4A6Bh
_RCLKEY			equ 4A6Bh
_RCLREGEQ_CALL		equ 4A6Eh
_RCLREGEQ		equ 4A71h
_initNamePrompt		equ 4A74h
_NamePrompt2		equ 4A77h
_CATALOGCHK		equ 4A7Ah
_clrTR			equ 4A7Dh
_QUAD			equ 4A80h
_GRAPHQUAD		equ 4A83h
_BC2NOREAL		equ 4A86h
_ErrNonReal_FPST_FPS1	equ 4A89h
_ErrNonReal		equ 4A8Ch ;ERR:DATA TYPE if top B numers from FPS are non-real
_WRITE_TEXT		equ 4A8Fh
_FORSEQINIT		equ 4A92h
_GRPHPARS		equ 4A95h
_PLOTPARS		equ 4A98h
_ParseInp		equ 4A9Bh
_PARSEOFF		equ 4A9Eh
_PARSESCAN		equ 4AA1h
_GETPARSE		equ 4AA4h
_SAVEPARSE		equ 4AA7h
_InitPFlgs		equ 4AAAh
_CKENDLINERR		equ 4AADh
_OP2Set60		equ 4AB0h
_GETSTATPTR		equ 4AB3h
_CMP_STATPTR		equ 4AB6h
_VARSYSADR		equ 4AB9h
_StoSysTok		equ 4ABCh
_StoAns			equ 4ABFh
_StoTheta		equ 4AC2h
_StoR			equ 4AC5h
_StoY			equ 4AC8h
_StoN			equ 4ACBh
_StoT			equ 4ACEh
_StoX			equ 4AD1h
_StoOther		equ 4AD4h
_RclAns			equ 4AD7h
_RclY			equ 4ADAh
_RclN			equ 4ADDh
_RclX			equ 4AE0h
_RclVarSym		equ 4AE3h
_RclSysTok		equ 4AE6h
_StMatEl		equ 4AE9h
_STLSTVECEL		equ 4AECh
_ConvOP1		equ 4AEFh
_Find_Parse_Formula	equ 4AF2h
_PARSE_FORMULA		equ 4AF5h
_FetchQuotedString	equ 4AF8h
_FetchNumLine		equ 4AFBh
_ParseNameTokens	equ 4AFEh
_ParseInpGraph		equ 4B01h ;same as _ParseInp except 3,(iy+1Fh) is graph/split screen override, or something
_ParseInpGraphReset	equ 4B04h ;_ParseInpGraph except zeroes out iy+6/7, resets 3,(iy+1Ah) & 0,(iy+1Fh), fmtFlags->fmtOverride, parse within ParseInp?
_ParseInpLastEnt	equ 4B07h ;ParseInp on program 05h,23h,00h
_ErrOnCertainTypes	equ 4B0Ah ;ERR:DATA TYPE if A is one of a couple of values...subroutine in ParseInp, somehow
_CreatePair		equ 4B0Dh
_PUSHNUM		equ 4B10h
_INCCURPCERREND		equ 4B13h
_ERREND			equ 4B16h
_COMMAERRF		equ 4B19h
_COMMAERR		equ 4B1Ch
_STEQARG2		equ 4B1Fh
_STEQARG		equ 4B22h
_INPARG			equ 4B25h
_STEQARG3		equ 4B28h
_NXTFETCH		equ 4B2Bh
_CKFETCHVAR		equ 4B2Eh
_FETCHVARA		equ 4B31h
_FETCHVAR		equ 4B34h
_CKENDLIN		equ 4B37h ;gets parse byte in A and then _CKENDEXP
_CKENDEXP		equ 4B3Ah ;checks A for 3Eh or 3Fh
_CKPARSEND		equ 4B3Dh
_STOTYPEARG		equ 4B40h
_ConvDim		equ 4B43h
_ConvDim00		equ 4B46h
_AHEADEQUAL		equ 4B49h
_PARSAHEADS		equ 4B4Ch
_PARSAHEAD              equ 4B4Fh
_AnsName		equ 4B52h
_STOCMPREALS		equ 4B55h
_GETDEPTR		equ 4B58h
_PUSH2BOPER		equ 4B5Bh ;push the value in bc onto the operator stack
_POP2BOPER		equ 4B5Eh ;pop 2 bytes on the operator stack to bc
_PUSHOPER		equ 4B61h ;push the value in a onto the operator stack
_POPOPER		equ 4B64h ;pop 1 byte on the operator stack to a
_FIND_E_UNDEF		equ 4B67h
_STTMPEQ		equ 4B6Ah
_FINDEOL		equ 4B6Dh
_BRKINC			equ 4B70h
_INCFETCH		equ 4B73h
_CURFETCH		equ 4B76h
_Random			equ 4B79h
_StoRand		equ 4B7Ch
_RandInit		equ 4B7Fh
_resetStacks		equ 4B82h ;(onsp)->(errsp), (fpbase)->(fps), (opbase)->(ops)
_Factorial		equ 4B85h
_YONOFF			equ 4B88h
_EQSELUNSEL		equ 4B8Bh
_ITSOLVER		equ 4B8Eh
_GRITSOLVER		equ 4B91h
_ITSOLVERB		equ 4B94h
_ITSOLVERNB		equ 4B97h
_ExTest_INT		equ 4B9Ah
_DIST_FUN		equ 4BADh
_LogGamma		equ 4BA0h
_OneVar			equ 4BA3h
_ONEVARS_0		equ 4BA6h
_ORDSTAT		equ 4BA9h
_INITSTATANS2		equ 4BACh
_ANOVA_SPEC		equ 4BAFh
_OutputExpr		equ 4BB2h
_CentCursor		equ 4BB5h
_TEXT			equ 4BB8h
_FINISHSPEC		equ 4BBBh
_TRCYFUNC		equ 4BBEh
_RCL_SEQ_X		equ 4BC1h
_RCLSEQ2		equ 4BC4h
_GRPPutAway		equ 4BC7h
_CKVALDELX		equ 4BCAh
_CKVALDELTA		equ 4BCDh
_GrBufClr		equ 4BD0h
_GRBUFCPY_V		equ 4BD3h
_FNDSELEQ		equ 4BD6h
_CLRGRAPHXY		equ 4BD9h
_NEDXT_Y_STYLE		equ 4BDCh
_PLOTPT			equ 4BDFh
_NEWINDEP		equ 4BE2h
_Axes			equ 4BE5h
_setPenX		equ 4BE8h
_setPenY		equ 4BEBh
_setPenT		equ 4BEEh
_TAN_EQU_DISP		equ 4BF1h
_PutAns			equ 4BF4h
_DispOP1A		equ 4BF7h
_MATHTANLN		equ 4BFAh
_ENDDRAW		equ 4BFDh
_SetTblGraphDraw	equ 4C00h
_StartDialog		equ 4C03h
_DialogInit		equ 4C06h
_GetDialogNumOP1	equ 4C09h
_SetDialogNumOP1	equ 4C0Ch
_GetDialogNumHL		equ 4C0Fh
_ErrArgumentO123	equ 4C12h ;ERR:ARGUMENT if OP2>OP1 or OP1>OP3
_SetDialogKeyOverride	equ 4C15h
_ResDialogKeyOverride	equ 4C18h
_ForceDialogKeypress	equ 4C1Bh
_DialogStartGetKey	equ 4C1Eh
_StartDialog_Override	equ 4C21h
_CallDialogCallback	equ 4C24h
_SetDialogCallback	equ 4C27h
_ResDialogCallback	equ 4C2Ah
_CopyDialogNum		equ 4C2Dh
_MemClear		equ 4C30h
_MemSet			equ 4C33h
_ReloadAppEntryVecs	equ 4C36h
_PointOn		equ 4C39h
_ExecuteNewPrgm		equ 4C3Ch
_StrLength		equ 4C3Fh
_VPutMapRec		equ 4C42h
_getRomPage		equ 4C45h
_FindAppUp		equ 4C48h
_FindAppDn		equ 4C4Bh
_FindApp		equ 4C4Eh
_ExecuteApp		equ 4C51h
_MonReset		equ 4C54h
_ClearParseVar		equ 4C57h
_SetParseVarProg	equ 4C5Ah
_isContextKey		equ 4C5Dh
_IBounds		equ 4C60h
_IOffset		equ 4C63h
_DrawCirc2		equ 4C66h
_CanAlphIns		equ 4C69h
cxRedisp		equ 4C6Ch
_GetBaseVer		equ 4C6Fh
_OPSet0DE		equ 4C72h ;loads a floating point 0 to location de 
_AppGetCbl		equ 4C75h
_AppGetCalc		equ 4C78h
_SaveDisp		equ 4C7Bh
_SetIgnoreKey  		equ 4C7Eh ;set 1,(iy+28h) / ret
_SetSendThisKeyBack	equ 4C81h ;set 2,(iy+28h) / ld (kbdKey),a / ret
_DisableApd		equ 4C84h
_EnableApd		equ 4C87h ;set apdable,(iy+apdflags)
_JForceCmdNoChar2	equ 4C8Ah ;2.41 at least
_set2IY34		equ 4C8Dh ;set 2,(iy+34) / ret
_forcecmd		equ 4C90h
_ApdSetup		equ 4C93h
_Get_NumKey		equ 4C96h
_AppSetup		equ 4C99h ;or _AppCleanup, or something
_HandleLinkKeyActivity	equ 4C9Ch
_JForceCmdNoChar3	equ 4C9Fh ;2.41 at least
_ReleaseSedit		equ 4CA2h
_initsmalleditline	equ 4CA5h
_startsmalledit		equ 4CA8h
;4CABh
_SGetTokString		equ 4CAEh
_LoadPattern	 	equ 4CB1h
_SStringLength		equ 4CB4h
_RestorePenCol		equ 4CB7h
;4CBAh
_DoNothing		equ 4CBDh
_ForceSmallEditReturn	equ 4CC0h
;4CC3h ;saves context
;4CC6h
;4CC9h
;4CCCh
_VEraseEOL		equ 4CCFh
;4CD2h
;4CD5h
_GoToErr		equ 4CD8h
_initsmalleditBox	equ 4CDBh
;4CDEh
_EmptyHook		equ 4CE1h
_ForceSmallEditReturn2	equ 4CE4h
;4CE7h ;same as 4CC3h
;4CEAh
_ClearRow		equ 4CEDh
;4CF0h
;4CF3h
;4CF6h
;4CF9h
;4CFCh
;4CFFh
;4D02h
;4D05h
;4D08h
;4D0Bh
;4D0Eh
;4D11h
;4D14h
;4D17h
;4D1Ah
;4D1Dh
;4D20h
;4D23h
_AppScreenUpDown	equ 4D26h ;shifts screen up/down, A is LCD row, H is number of lines to shift, (OP1)-(OP1+3) are something
_AppScreenUpDown1	equ 4D29h ;shifts screen up/down, but really no clue what the inputs are (all registers and (OP1)-(OP1+3))
;4D2Ch
_initsmalleditlinevar	equ 4D2Fh
_initsmalleditlineop1	equ 4D32h
_initsmalleditboxvar	equ 4D35h
_initsmalleditboxop1	equ 4D38h
;4D3Bh
_RestartDialog		equ 4D3Eh
_ErrCustom1		equ 4D41h
_ErrCustom2		equ 4D44h
_AppStartMouse		equ 4D47h
_AppStartMouseNoSetup	equ 4D4Ah
_AppMouseGetKey		equ 4D4Dh
_AppDispMouse		equ 4D50h
_AppEraseMouse		equ 4D53h
_AppSetupMouseMem	equ 4D56h
_GetDispRowOffset	equ 4D59h ;HL=A*12 (intended for A to be row and HL becomes offset into plotSScreen)
_ClearRect		equ 4D5Ch
_InvertRect		equ 4D5Fh
_FillRect		equ 4D62h
_AppUpdateMouse		equ 4D65h
_AppDispPrevMouse	equ 4D68h ;might bring previous keypress's movement to current coordinates with flags to not display
;4D6Bh ;restores some cursor flags and stuff
_initcellbox		equ 4D6Eh
_drawcell		equ 4D71h
;4D74h
_invertcell		equ 4D77h
_setcelloverride	equ 4D7Ah
_DrawRectBorder		equ 4D7Dh
_ClearCell		equ 4D80h
_covercell		equ 4D83h
_EraseRectBorder	equ 4D86h
_FillRectPattern	equ 4D89h
_DrawRectBorderClear	equ 4D8Ch
;4D8Fh ;mouse subroutine
;4D92h
_VerticalLine		equ 4D95h
_IBoundsFull		equ 4D98h
_DisplayImage		equ 4D9Bh
;4D9Eh ;does something dumb with ports 10h/11h
;4DA1h ;mouse subroutine
_AppUpdateMouseCoords	equ 4DA4h
_ShiftBitsLeft		equ 4DA7h ;mouse subroutine, shifts B bits left from DE sprite to HL one
;4DAAh ;mouse subroutine
;4DADh ;mouse subroutine
;4DB0h ;mouse subroutine
;4DB3h ;mouse subroutine
;4DB6h ;mouse subroutine
;4DB9h ;mouse subroutine
;4DBCh ;mouse subroutine
_AppUpdateMouseRow	equ 4DBFh
_AppDrawMouse		equ 4DC2h ;set 2,(iy+2Ch) for AppEraseMouse, reset for AppDispMouse
_AppDrawMouseDirect	equ 4DC5h ;pretty much _AppDrawMouse, but you pass LCD column in A
_CPoint			equ 4DC8h
_DeleteApp		equ 4DCBh
_AppUpdateMouseXY	equ 4DCEh
_setmodecellflag	equ 4DD1h
_resetmodecellflag	equ 4DD4h
_ismodecellset		equ 4DD7h
_getmodecellflag	equ 4DDAh
;4DDDh
_CellBoxManager		equ 4DE0h
_startnewcell		equ 4DE3h
;4DE6h
_CellCursorHandle	equ 4DE9h
;4DECh
;4DEFh
_ClearCurCell		equ 4DF2h
_drawcurcell		equ 4DF5h
_invertcurcell		equ 4DF8h
_covercurcell		equ 4DFBh
_BlinkCell		equ 4DFEh
_BlinkCellNoLookUp	equ 4E01h
_BlinkCurCell		equ 4E04h
_BlinkCellToOn		equ 4E07h
_BlinkCellToOnNoLookUp	equ 4E0Ah
_BlinkCurCellToOn	equ 4E0Dh
_BlinkCellToOff		equ 4E10h
_BlinkCellToOffNoLookUp equ 4E13h
_BlinkCurCellToOff	equ 4E16h
_getcurmodecellflag	equ 4E19h
;4E1Ch
_startsmalleditreturn	equ 4E1Fh
;4E22h
;4E25h
_CellkHandle		equ 4E28h
_errchkalphabox		equ 4E2Bh
;4E2Eh
;4E31h
;4E34h
;4E37h
_eraseallcells		equ 4E3Ah
_iscurmodecellset	equ 4E3Dh
;4E40h
_initalphabox		equ 4E43h
;4E46h
;4E49h
_drawblnkcell		equ 4E4Ch
_ClearBlnkCell		equ 4E4Fh
_invertblnkcell		equ 4E52h
_AppMouseForceKey	equ 4E55h
_AppSetupMouseMemCoords	equ 4E58h ;this is _AppSetupMouseMem except you pass starting coordinates in HL
_AppMoveMouse		equ 4E5Bh ;this is _AppMouseForceKey and then updating coordinates
_GetStringInput		equ 4E5Eh
_GetStringInput2	equ 4E61h
_WaitEnterKeyValue	equ 4E64h
_HorizontalLine		equ 4E67h
_CreateAppVar		equ 4E6Ah
_CreateProtProg		equ 4E6Dh
_CreateVar		equ 4E70h
_AsmComp		equ 4E73h
_GetAsmSize		equ 4E76h
_SquishPrgm		equ 4E79h
_ExecutePrgm		equ 4E7Ch
_ChkFindSymAsm		equ 4E7Fh
_ParsePrgmName		equ 4E82h
_CSub			equ 4E85h
_CAdd			equ 4E88h
_CSqaure		equ 4E8Bh
_CMult			equ 4E8Eh
_CRecip			equ 4E91h
_CDiv			equ 4E94h
_CAbs			equ 4E97h
_AddSquares		equ 4E9Ah
_CSqRoot		equ 4E9Dh
_CLN			equ 4EA0h
_CLog			equ 4EA3h
_CTenX			equ 4EA6h
_CEtoX			equ 4EA9h
_CXrootY		equ 4EACh
;4EAFh
_CYtoX			equ 4EB2h
_InvertNonReal		equ 4EB5h
_CplxMult		equ 4EB8h
_CplxDiv		equ 4EBBh
_CplxTrunc		equ 4EBEh
_CplxFrac		equ 4EC1h
_CplxFloor		equ 4EC4h
_SendHeaderPacket	equ 4EC7h
_CancelTransmission	equ 4ECAh
_SendScreenContents	equ 4ECDh
_SendRAMVarData		equ 4ED0h
_SendRAMCmd		equ 4ED3h
_SendPacket		equ 4ED6h
_ReceiveAck		equ 4ED9h
_Send4BytePacket	equ 4EDCh
_SendDataByte		equ 4EDFh
_Send4Bytes		equ 4EE2h
_SendAByte		equ 4EE5h
_SendCByte		equ 4EE8h
_GetSmallPacket		equ 4EEBh
_GetDataPacket		equ 4EEEh
_SendAck		equ 4EF1h
_Get4Bytes		equ 4EF4h
_Get3Bytes		equ 4EF7h
_Rec1stByte		equ 4EFAh
_Rec1stByteNC		equ 4EFDh
_ContinueGetByte	equ 4F00h
_RecAByteIO		equ 4F03h
_ReceiveVar		equ 4F06h
_ReceiveVarDataExists	equ 4F09h
_ReceiveVarData		equ 4F0Ch
_SrchVLstUp		equ 4F0Fh
_SrchVLstDn		equ 4F12h
_SendVariable		equ 4F15h
_Get4BytesCursor	equ 4F18h
_Get4BytesNC		equ 4F1Bh
_Convert85List		equ 4F1Eh
_SendDirectoryContents	equ 4F21h
_SendReadyPacket	equ 4F24h
_Convert85Real		equ 4F27h
_ret_6			equ 4F2Ah
_SendCertificate	equ 4F2Dh ;sends certificate in header/data packets, Flash must be unlocked, used with sending an application in LINK menu
_SendApplication	equ 4F30h
_SendOSHeader		equ 4F33h
_SendOSPage		equ 4F36h
_SendOS			equ 4F39h
_FlashWriteDisable	equ 4F3Ch
_SendCmd		equ 4F3Fh
_SendOSValidationData	equ 4F42h
_Disp			equ 4F45h
_SendGetkeyPress	equ 4F48h
_RejectCommand		equ 4F4Bh
_CheckLinkLines		equ 4F4Eh
_GetHookByte		equ 4F51h
_GetBytePaged		equ 4F54h
_cursorhook		equ 4F57h
_call_library_hook	equ 4F5Ah
_call_rawkey_hook	equ 4F5Dh
_setCursorHook		equ 4F60h ;enable cursor hook
_EnableLibraryHook	equ 4F63h
_SetGetKeyHook		equ 4F66h
_ClrCursorHook		equ 4F69h
_DisableLibraryHook	equ 4F6Ch
_ClrRawKeyHook  	equ 4F6Fh
_ResetHookBytes		equ 4F72h
_AdjustAllHooks		equ 4F75h
_getkeyhook		equ 4F78h
_SetGetcscHook		equ 4F7Bh
_ClrGetKeyHook		equ 4F7Eh
_call_linkactivity_hook	equ 4F81h
_EnableLinkActivityHook	equ 4F84h
_DisableLinkHook	equ 4F87h
_GetSmallPacket2	equ 4F8Ah
_EnableCatalog2Hook	equ 4F8Dh
_DisableCatalog2Hook	equ 4F90h
_EnableLocalizeHook	equ 4F93h
_DisableLocalizeHook	equ 4F96h
_SetTokenHook		equ 4F99h
_ClearTokenHook		equ 4F9Ch
;4F9Fh ld hl,92c6 / ld a,(92c5) / res 2,a / cp (hl) / ret
;4FA2h hl=11*(92fc)+92c9 / ld a,(hl) / and Fh / cp 2 / ret ; I can almost guarantee this is stat plot related
_DispListElementOffLA	equ 4FA5h
_Bit_VertSplit		equ 4FA8h
_SetHomescreenHook	equ 4FABh
_ClrHomeScreenHook	equ 4FAEh
_SetWindowHook		equ 4FB1h
_DisableWindowHook	equ 4FB4h
_SetGraphModeHook	equ 4FB7h
_DisableGraphHook	equ 4FBAh
_ParseAndStoreSysVar	equ 4FBDh
_DisplayEditSysVar	equ 4FC0h
_JForceWindowSettings	equ 4FC3h
_DelVarArc		equ 4FC6h
_DelVarNoArc		equ 4FC9h
_SetAllPlots		equ 4FCCh
_SetYeditHook     	equ 4FCFh
_DisableYEquHook	equ 4FD2h
_JForceYEqu		equ 4FD5h
_Arc_Unarc		equ 4FD8h ;checks for low battery
_ArchiveVar		equ 4FDBh ;set 0,(iy+24h) to check for low battery first
_UnarchiveVar		equ 4FDEh
_DialogKeyHook		equ 4FE1h ;rawkey hook used by OS for dialog context
_SetFontHook		equ 4FE4h
_ClrFontHook		equ 4FE7h
_SetRegraphHook		equ 4FEAh
_DisableRegraphHook	equ 4FEDh
_RunGraphingHook	equ 4FF0h
_SetTraceHook		equ 4FF3h
_DisableTraceHook	equ 4FF6h
_RunTraceHook		equ 4FF9h
_NDeriv			equ 4FFCh
_PolarDerivative	equ 4FFFh
_JForceGraphNoKey	equ 5002h
_JForceGraphKey		equ 5005h
_PowerOff		equ 5008h
_GetKeyRetOff		equ 500Bh ;same as getkey, only returns kOff if 2nd+on is pressed 
_FindGroupSym		equ 500Eh
_FillBasePageTable	equ 5011h
_ArcChk			equ 5014h
_FlashToRam		equ 5017h
_LoadDEIndPaged		equ 501Ah
_LoadCIndPaged		equ 501Dh
_SetupPagedPtr		equ 5020h
_PagedGet		equ 5023h
_SetParserHook		equ 5026h
_ClearParserHook	equ 5029h
_SetAppChangeHook 	equ 502Ch
_ClearAppChangeHook	equ 502Fh
_EnableGraphicsHook	equ 5032h
_DisableGraphicsHook	equ 5035h
_IPointNoGraphicsHook	equ 5038h
_ILineNoHook		equ 503Bh
;503Eh
_DeleteTempPrograms	equ 5041h
_EnableCatalog1Hook	equ 5044h
_DisableCatalog1Hook	equ 5047h
_EnableHelpHook		equ 504Ah
_DisableHelpHook	equ 504Dh
_DispCatalogEnd		equ 5050h
_GetMenuKeypress	equ 5053h
_GetCatalogItem		equ 5056h
_RunCatalog2Hook	equ 5059h
_RunCatalog1Hook	equ 505Ch
;505Fh
;5062h
_dispMenuTitle		equ 5065h
;5068h
_EnablecxRedispHook	equ 506Bh
_DisablecxRedispHook	equ 506Eh
_BufCpy			equ 5071h
_BufClr			equ 5074h
_UnOPExec2		equ 5077h
_BinOPExec2		equ 507Ah
_LoadMenuB		equ 507Dh ;clears screen and loads menu from B, plus a couple flag changes
_DisplayVarInfo		equ 5080h
_SetMenuHook		equ 5083h
_ClearMenuHook		equ 5086h
_getBCOffsetIX		equ 5089h
_GetBCOffsetIX2		equ 508Ch
_ForceFullScreen	equ 508Fh
_GetVariableData	equ 5092h
_FindSwapSector		equ 5095h
_CopyFlashPage		equ 5098h
_FindAppNumPages	equ 509Bh
_HLMinus5		equ 509Eh
_SendArcPacket		equ 50A1h
_ForceGraphKeypress	equ 50A4h
_DoNothing3		equ 50A7h
_FormBase		equ 50AAh
;50ADh
_IsFragmented		equ 50B0h
_Chk_Batt_Low		equ 50B3h
_Chk_Batt_Low_2		equ 50B6h
_Arc_Unarc2		equ 50B9h ;identical to _Arc_Unarc, except you can choose to res 0,(iy+24h) to skip low battery check
_GetAppBasePage		equ 50BCh ;input: a=one of an app's pages. output: a=app's first page
_SetExSpeed		equ 50BFh
_RclExit		equ 50C2h
_GroupAllVars		equ 50C5h
_UngroupVar		equ 50C8h
_WriteToFlash		equ 50CBh ;ReceiveApplication or something like that on OSes below 2.40
_SetSilentLinkHook	equ 50CEh
_DisableSilentLinkHook	equ 50D1h
_TwoVarSet		equ 50D4h
_ExecClassCToken	equ 50D7h
_ExecClass3Token	equ 50DAh
_GetSysInfo		equ 50DDh
_NZIf83Plus		equ 50E0h
_LinkStatus		equ 50E3h
_DoNothing2		equ 50E6h ;originally for TI-Navigator
_KeyboardGetKey		equ 50E9h
_RunAppLib		equ 50ECh
_FindSpecialAppHeader	equ 50EFh
_SendUSBData		equ 50F2h
_AppGetCBLUSB		equ 50F5h
_AppGetCalcUSB		equ 50F8h
_GetVarCmdUSB		equ 50FBh
;50FEh
_TenX2			equ 5101h
;5104h
;5107h
_GetVarVersion		equ 510Ah
;510Dh
;5110h
_DeleteTempEditEqu	equ 5113h
_JcursorFirst2		equ 5116h
;5119h
_PromptMoveBackLeft	equ 511Ch
_wputsEOL2		equ 511Fh ;same except res 0,(iy+0Eh) first
_InvertTextInsMode	equ 5122h
;5125h
_ResetDefaults		equ 5128h
_ZeroFinanceVars	equ 512Bh
_DispHeader		equ 512Eh
_JForceGroup		equ 5131h
;5134h
;5137h
_DispCoords		equ 513Ah
;513Dh
;5140h
_chkTmr			equ 5143h
;5146h
;5149h
;514Ch
_getDate		equ 514Fh
_GetDateString		equ 5152h
_getDtFmt		equ 5155h
_getDtStr		equ 5158h
_getTime		equ 515Bh
_GetTimeString		equ 515Eh
_getTmFmt		equ 5161h
_getTmStr		equ 5164h
_SetZeroOne		equ 5167h
_setDate		equ 516Ah
_IsOneTwoThree		equ 516Dh
_setTime		equ 5170h
_IsOP112or24		equ 5173h
_chkTimer0		equ 5176h
_timeCnv		equ 5179h
_GetLToOP1Extra		equ 517Ch
_ClrWindowAndFlags	equ 517Fh
_SetMachineID		equ 5182h
_ResetLists		equ 5185h
_DispValue		equ 5188h
;518Bh
;518Eh
_ExecLib		equ 5191h
;5194h
_CPOP1OP2Rounded	equ 5197h
_CPOP1OP2Rounded2	equ 519Ah
_OpenLib		equ 519Dh
;51A0h
;51A3h
_ResetIOPrompt		equ 51A6h
_StrCpyVarData		equ 51A9h
_SetUpEditor		equ 51ACh
_SortA			equ 51AFh
_SortD			equ 51B2h
;51B5h
_IsOP1ResID		equ 51B8h
_ListEdNameCxMain	equ 51BBh
_ListEdEnterNewName	equ 51BEh
;51C1h
_ForceModeKeypress	equ 51C4h ;forces a keypress (and calls help hook) on any of several mode-setting contexts
_DispAboutScreen	equ 51C7h
_ChkHelpHookVer		equ 51CAh
_Disp32			equ 51CDh
;51D0h
;51D3h
;51D6h
;51D9h
_DrawTableEditor	equ 51DCh ;draws table editor lines
_DisplayListNameEquals	equ 51DFh
_DisplayListHeader	equ 51E2h
_DispMatrixDimensions	equ 51E5h
_HighlightListEdItem	equ 51E8h
;51EBh
;51EEh
_MatrixName		equ 51F1h
;51F4h
;51F7h
;51FAh
;51FDh
;5200h
;5203h
;5206h
;5209h
;520Ch
;520Fh
_SetupEmptyEditTempEqu	equ 5212h
_ExecClass1Token	equ 5215h
_HandleMathTokenParse	equ 5218h
_MaybePushMultiplyOp	equ 521Bh
_RestartParseOP1Result	equ 521Eh
_Chk_Batt_Level		equ 5221h
;5224h
;5227h
;522Ah
_DisplayListEquals	equ 522Dh
_GetCurPlotListOffset	equ 5230h
_GoToLastRow		equ 5233h
_RectBorder		equ 5236h
;5239h
;523Ch
;523Fh
_LoadA5			equ 5242h
;5245h
_NamedListToOP1		equ 5248h
;524Bh
;524Eh
;5251h
_InitUSBDeviceCallback	equ 5254h
_KillUSBDevice		equ 5257h ;this actually recycles the USB connection and re-inits it (I think)
_SetUSBConfiguration	equ 525Ah
_RequestUSBData		equ 525Dh
_StopReceivingUSBData	equ 5260h
_FindAppHeaderByPage	equ 5263h
_FindNextHeaderByPage	equ 5266h
_IsMatchingLaunchApp	equ 5269h
_InitTimer		equ 526Ch
_KillTimer		equ 526Fh
_StartTimer		equ 5272h
_RestartTimer		equ 5275h
_StopTimer		equ 5278h
_WaitTimer		equ 527Bh
_CheckTimer		equ 527Eh
_CheckTimerRestart	equ 5281h
_SetVertGraphActive	equ 5284h
_ClearVertGraphActive	equ 5287h
_EnableUSBHook		equ 528Ah
_DisableUSBHook		equ 528Dh
_InitUSBDevice		equ 5290h
_KillUSBPeripheral	equ 5293h
_GetCurPlotListOffset2	equ 5296h
;5299h
_GraphLine		equ 529Ch
;529Fh
;52A2h
;52A5h
;52A8h
;52ABh
;52AEh
_ZifTableEditor		equ 52B1h
;52B4h
_GetCurPlotOffset	equ 52B7h
;52BAh
_FindAppName		equ 52BDh
;52C0h
;52C3h
_UpdateStatPlotLists	equ 52C6h
_GrBufCpyCustom		equ 52C9h
;52CCh
;52CFh
;52D2h
_VDispRealOP1		equ 52D5h
_DispXEqualsNum		equ 52D8h
_ResetGraphSettings	equ 52DBh
_InitializeVariables	equ 52DEh
;52E1h ;bit 4,(9C75h) (this is DEFINITELY returning the status of something when acting as a TI-SmartView Input Pad...this bit is bit 1 of the data byte from a PC HID Set Report request)
_DelVarSym		equ 52E4h
_FindAppUpNoCase	equ 52E7h
_FindAppDnNoCase	equ 52EAh
_DeleteInvalidApps	equ 52EDh
_DeleteApp_Link		equ 52F0h
_CmpSymsNoCase		equ 52F3h
_SetAppRestrictions	equ 52F6h
_RemoveAppRestrictions	equ 52F9h
_QueryAppRestrictions	equ 52FCh
_DispAppRestrictions	equ 52FFh
_SetupHome		equ 5302h
_GRPUTAWAYFull		equ 5305h ;same as _GRPUTAWAY except it assumes no split screen
_SendSmartPadKeypress	equ 5308h ;B and A are the inputs
_ToggleUSBSmartPadInput	equ 530Bh ;A is input, 0 or 1 to enable/disable
_IsUSBDeviceConnected	equ 530Eh ;bit 4,(81h) \ ret, this is just a guess on its purpose but it seems to work
_RecycleUSB		equ 5311h ;identical to 5257h
_PolarEquToOP1		equ 5314h
_ParamXEquToOP1		equ 5317h
_ParamYEquToOP1		equ 531Ah
_GetRestrictionsOptions	equ 531Dh
_DispResetComplete	equ 5320h
_PTTReset		equ 5323h
_FindAppCustom		equ 5326h
_ClearGraphStyles	equ 5329h
;532Ch
;532Fh
;5332h
;5335h
;5338h
;533Bh
;533Eh
;5341h
;5344h
;5347h
;534Ah
;534Dh
;5350h
;5353h
;5356h
;5359h
;535Ch
;535Fh
;5362h
;5365h
;5368h
;536Bh
;536Eh
;5371h
;5374h
;5377h
;537Ah
;537Dh
;5380h
;5383h
;5386h
;5389h
;538Ch
;538Fh
;5392h
;5395h
;5398h
;539Bh
;539Eh
;53A1h
;53A4h
;53A7h
;53AAh
;53ADh
;53B0h
;53B3h
;53B6h
;53B9h
;53BCh
;53BFh
;53C2h
;53C5h
;53C8h
;53CBh
;53CEh
;53D1h
;53D4h
;53D7h
;53DAh
;53DDh
;53E0h
;53E3h
;53E6h
;53E9h
;53ECh
;53EFh
;53F2h
;53F5h
;53F8h
;53FBh
;53FEh
;5401h
;5404h
;5407h
;540Ah
;540Dh
;5410h
;5413h
;5416h
;5419h
;541Ch
;541Fh
;5422h
;5425h
;5428h
;542Bh
;542Eh
;5431h
;5434h
;5437h
;543Ah
;543Dh
;5440h
;5443h
;5446h
;5449h
_xorAret			equ 5443h
_scfRet				equ 5446h
_ret				equ 5449h

;Page 1Fh ROM Calls
;--------------------------------
bootbtf				equ 8000h
;400Fh may point to version string ("1.02 ",0)
_MD5Final			equ 8018h
_RSAValidate			equ 801Bh
_cmpStr				equ 801Eh ;BigNumCompare
_WriteAByte			equ 8021h
_EraseFlash			equ 8024h
_FindFirstCertField		equ 8027h
_ZeroToCertificate		equ 802Ah
_GetCertificateEnd		equ 802Dh
_FindGroupedField		equ 8030h
_ret_1				equ 8033h
_ret_2				equ 8036h
_ret_3				equ 8039h
_ret_4				equ 803Ch
_ret_5				equ 803Fh
_Mult8By8			equ 8042h
_Mult16By8			equ 8045h
_Div16By8			equ 8048h
_Div16By16			equ 804Bh
;804Eh ;scary certificate reading and writing, something about calc ID and fields 0A10/0A20
_LoadAIndPaged			equ 8051h
_FlashToRam2			equ 8054h
_GetCertificateStart		equ 8057h
_GetFieldSize			equ 805Ah
_FindSubField			equ 805Dh
_EraseCertificateSector		equ 8060h
_CheckHeaderKey			equ 8063h
;8066h ;just returns Z if specified data in field 0310h, subfield 0610h exists, DE points to data of that field you want to find
;8069h ;just returns number of 0810h/0710h fields that exist in certificate or something, in IX
_Load_LFontV2			equ 806Ch
_Load_LFontV			equ 806Fh
_ReceiveOS			equ 8072h
_FindOSHeaderSubField		equ 8075h
_FindNextCertField		equ 8078h
_GetByteOrBoot			equ 807Bh
_getSerial			equ 807Eh ;GetCalcSerial
_ReceiveCalcID			equ 8081h ;receives certificate replacement (including calculator ID, fails if already exists) and writes it, requires Flash unlocked
_EraseFlashPage			equ 8084h
_WriteFlashUnsafe		equ 8087h
_dispBootVer			equ 808Ah
_MD5Init			equ 808Dh
_MD5Update			equ 8090h
_MarkOSInvalid			equ 8093h
_FindProgramLicense		equ 8096h ;copies 8010h field to appID and other insane stuff that makes zero sense
_MarkOSValid			equ 8099h
_CheckOSValidated		equ 809Ch
_SetupAppPubKey			equ 809Fh
_SigModR			equ 80A2h
_TransformHash			equ 80A5h
_IsAppFreeware			equ 80A8h
_FindAppHeaderSubField		equ 80ABh
_WriteValidationNumber		equ 80AEh ;generates two-byte validation number from calc ID and stores to certificate
_Div32By16			equ 80B1h
_FindGroup			equ 80B4h ;searches until field of DE-like group is found (DE=0A00h, it stops when it finds 0Ax0h)
_getBootVer			equ 80B7h
_getHardwareVersion		equ 80BAh
_xorA				equ 80BDh ;xor a
_bignumpowermod17		equ 80C0h
_ProdNrPart1			equ 80C3h
_WriteAByteSafe			equ 80C6h
_WriteFlash			equ 80C9h
_SetupDateStampPubKey		equ 80CCh
_SetFlashLowerBound		equ 80CFh
_LowBatteryBoot			equ 80D2h
;TI-84 Plus/Silver Edition Only Entry Points
_AttemptUSBOSReceive		equ 80E4h ;Z to wait for USB cable insert & get OS, NZ and A= contents of port 4Dh or 56h, ON to cancel & clear RAM
_DisplayBootMessage		equ 80E7h
_NewLine2			equ 80EAh
_DisplayBootError10		equ 80EDh
_Chk_Batt_Low_B			equ 80F0h
_Chk_Batt_Low_B2		equ 80F3h
_ReceiveOS_USB			equ 80F6h
_DisplayOSProgress		equ 80F9h
_ResetCalc			equ 80FCh
_SetupOSPubKey			equ 80FFh
_CheckHeaderKeyHL		equ 8102h ;same as _CheckHeaderKey, only you pass the address of header in HL, not at appData
_USBErrorCleanup		equ 8105h ;kills some USB stuff (doesn't completely kill periph communication), error handler in boot code
_InitUSB			equ 8108h ;initializes USB hardware as peripheral, sets 5,(iy+1Bh), C set if problems
;810Bh set 1,(81h) and wait (has something to do with USB peripheral kill, but it doesn't actually kill it)
_KillUSB			equ 810Eh ;identical to 8105h, except in the middle of the outputs, it sends zero to port 4Ch
_DisplayBootError1		equ 8111h
_DisplayBootError2		equ 8114h
_DisplayBootError3		equ 8117h
_DisplayBootError4		equ 811Ah
_DisplayBootError5		equ 811Dh
_DisplayBootError6		equ 8120h
_DisplayBootError7		equ 8123h
_DisplayBootError8		equ 8126h
_DisplayBootError9		equ 8129h

;RAM Equates
;--------------------------------
ramStart		equ 8000h
appData			equ 8000h
ramCode			equ 8100h
SmallEditColumnLeft	equ 8177h
SmallEditRow		equ 8178h
SmallEditColumnRight	equ 8179h
;penCol left edge?	equ 817Bh
bigInteger1		equ 8182h
SmallEditCancelParse	equ 8194h
SmallEditRowCount	equ 81B7h
bigInteger2		equ 81C3h
SmallEditPromptString	equ 81CCh
ramCodeEnd		equ 822Fh
baseAppBrTab		equ 8230h ;table of base pages for apps on page < 20h (starts with eight zeroes because they're OS pages)
clockFlag		equ 8230h ;bit 2 set for 24-hour mode and don't display "AM/PM"
clockIDs		equ 8231h ;five bytes, numbers 0-4 in memory, that when present, stops displaying clock numbers in time setting context?
bootTemp		equ 8251h
MD5Temp			equ 8259h
MD5Length		equ 8269h
MD5Hash			equ 8292h
appSearchPage		equ 82A3h
tempSwapArea		equ 82A5h
;something		equ 837Bh ;18 bytes, probably indicates something about Flash app pages, start out as 0FFh
appID			equ 838Dh
arcPageEnd		equ 8392h
arcPtrEnd		equ 8393h
;839Fh something...field size bytes?
MD5Buffer		equ 83A5h
Abackup			equ 83EBh
ramReturnData		equ 83EDh
arcInfo			equ 83EEh
savedArcInfo		equ 8406h
appInfo			equ 8432h
appBank_jump		equ 843Ch
appPage			equ 843Eh
kbdScanCode		equ 843Fh
kbdKey			equ 8444h
kbdGetKy		equ 8445h
keyExtend		equ 8446h
EXTECHO			equ keyExtend
contrast		equ 8447h
apdSubTimer		equ 8448h
apdTimer		equ 8449h
curTime			equ 844Ah
curRow			equ 844Bh
curCol			equ 844Ch
curOffset		equ 844Dh
curUnder		equ 844Eh
curY			equ 844Fh
curType			equ 8450h
curXRow			equ 8451h
prevDData		equ 8452h
lFont_record		equ 845Ah
sFont_record		equ 8462h
tokVarPtr		equ 846Ah
tokLen			equ 846Ch
indicMem		equ 846Eh ;eight bytes used by _saveTR and _restoreTR to store image in top right corner
indicCounter		equ 8476h
indicBusy		equ 8477h
OP1			equ 8478h
OP1M			equ 847Ah
OP2			equ 8483h
OP2M			equ 8485h
OP2EXT			equ 848Ch
OP3			equ 848Eh
OP3M			equ 8490h
OP4			equ 8499h
OP4M			equ 849Bh
OP5			equ 84A4h
OP5M			equ 84A6h
OP6			equ 84AFh
OP6M			equ 84B1h
OP6EXT			equ 84B8h
progToEdit		equ 84BFh
nameBuff		equ 84C7h
equ_edit_save		equ 84D2h
iMathPtr1		equ 84D3h
iMathPtr2		equ 84D5h
iMathPtr3		equ 84D7h
iMathPtr4		equ 84D9h
iMathPtr5		equ 84DBh
chkDelPtr1		equ 84DDh
chkDelPtr2		equ 84DFh
insDelPtr		equ 84E1h
upDownPtr		equ 84E3h
fOutDat			equ 84E5h
asm_data_ptr1		equ 84EBh
asm_data_ptr2		equ 84EDh
asm_sym_ptr1		equ 84EFh
asm_sym_ptr2		equ 84F1h
asm_ram			equ 84F3h
asm_ind_call		equ 8507h
textShadow		equ 8508h
textShadCur		equ 8588h
textShadTop		equ 858Ah
textShadAlph		equ 858Bh
textShadIns		equ 858Ch
cxMain			equ 858Dh
cxPPutAway		equ 858Fh
cxPutAway		equ 8591h
cxErrorEP		equ 8595h
cxSizeWind		equ 8597h
cxPage			equ 8599h
cxCurApp		equ 859Ah
cxPrev			equ 859Bh ;12 bytes are shadows of cxMain through cxCurApp and appFlags
monQH			equ 85AAh
monQT			equ 85ABh
monQueue		equ 85ACh
onSP			equ 85BCh
promptRow		equ 85C0h
promptCol		equ 85C1h
promptIns		equ 85C2h
promptShift		equ 85C3h
promptRet		equ 85C4h
promptValid		equ 85C6h
promptTop		equ 85C8h
promptCursor		equ 85CAh
promptTail		equ 85CCh
promptBtm		equ 85CEh
varType			equ 85D0h
varCurrent		equ 85D1h
varClass		equ 85D9h
CatalogCurrent		equ 85DAh ;word at this location starting with 6007h corresponds to what is highlighted in catalog
menuActive		equ 85DCh
menuAppDepth		equ 85DDh
MenuCurrent		equ 85DEh
;			equ 85DFh ;holds current submenu index
;			equ 85E0h ;holds currently selected item in current submenu
;			equ 85E1h ;holds number of submenus for this menu
;			equ 85E2h ;holds number of items in this submenu
;			equ 85E3h ;iy+appFlags backup for menu stuff
;			equ 85E4h ;iy+0Ch backup for menu stuff
;			equ 85E5h ;curGStyle backup for menu stuff
;			equ 85E6h ;iy+graphFlags backup for menu stuff
ProgCurrent		equ 85E8h
;something, OP1 backup?	equ 85F2h ;type and name of topmost variable on menu with names
;something		equ 85FDh
userMenuSA		equ 85FEh
ioPrompt		equ 865Fh
dImageWidth		equ 8660h
ioFlag			equ 8670h
sndRecState		equ 8672h
ioErrState		equ 8673h
header			equ 8674h
ioData			equ 867Dh
ioNewData		equ 8689h
bakHeader		equ 868Bh
;something		equ 8697h ;app bitmap for selecting stuff from menus
;something		equ 86B7h ;used in 47h and 74h link packets
penCol			equ 86D7h
penRow			equ 86D8h
rclQueue		equ 86D9h
rclQueueEnd		equ 86DBh
errNo			equ 86DDh
errSP			equ 86DEh
errOffset		equ 86E0h
saveSScreen		equ 86ECh
asm_prgm_size		equ 89ECh
bstCounter		equ 89EEh
flags			equ 89F0h
appFlagsAddr		equ 89FDh
;something		equ 8A36h ;stats-related? This gets stored to (varCurrent) for some reason
statVars		equ 8A3Ah
anovaf_vars		equ 8C17h
infVars			equ 8C4Dh
infVar1			equ 8C56h
infVar2			equ 8C5Fh
infVar3			equ 8C68h
infVar4			equ 8C71h
infVar5			equ 8C7Ah
infVar6			equ 8C83h
infVar7			equ 8C8Ch
infVar8			equ 8C95h
infVar9			equ 8C9Eh
infVar10		equ 8CA7h
infVar11		equ 8CB0h
infVar12		equ 8CB9h
infVar13		equ 8CC2h
infVar14		equ 8CCBh
infVar15		equ 8CD4h
infVar16		equ 8CDDh
infVar17		equ 8CE6h
infVar18		equ 8CEFh
infVar19		equ 8CF8h
infVar20		equ 8D01h
;something		equ 8D0Bh
;list-related stat vars	equ 8D0Dh
curGStyle		equ 8D17h
curGY			equ 8D18h
curGX			equ 8D19h
curGY2			equ 8D1Ah
curGX2			equ 8D1Bh ;currently selected equation while graphing
freeSaveY		equ 8D1Ch
freeSaveX		equ 8D1Dh
;100 bytes		equ 8D2Ah
XOffset			equ 8DA1h
YOffset			equ 8DA2h
lcdTallP		equ 8DA3h
pixWideP		equ 8DA4h
pixWide_m_1		equ 8DA5h
pixWide_m_2		equ 8DA6h
lastEntryPTR		equ 8DA7h ;pointer to the next available byte in the entry stack
lastEntryStk		equ 8DA9h ;the start of entry stack (note last entry is not in the stack, it is in the program '#'.)  This is a stack of strings.  first 2 bytes are length, followed by string. 2nd from last entry is first in this stack.
numLastEntries		equ 8E29h ;number of entries you can back-track through minus one
currLastEntry		equ 8E2Ah ;counter used by OS to keep track of which entry was just displayed by pressing 2nd+enter
curPlotNumber		equ 8E63h ;current plot being graphed (1-3), this gets reset back to 0
;something		equ 8E65h
;something		equ 8E66h
curInc			equ 8E67h
uXmin			equ 8E7Eh
uXmax			equ 8E87h
uXscl			equ 8E90h
uYmin			equ 8E99h
uYmax			equ 8EA2h
uYscl			equ 8EABh
uThetMin		equ 8EB4h
uThetMax		equ 8EBDh
uThetStep		equ 8EC6h
uTmin			equ 8ECFh
uTmax			equ 8ED8h
uTStep			equ 8EE1h
uPlotStart		equ 8EEAh
unMax			equ 8EF3h
uu0			equ 8EFCh
uv0			equ 8F05h
unMin			equ 8F0Eh
uu02			equ 8F17h
uv02			equ 8F20h
uw0			equ 8F29h
uPlotStep		equ 8F32h
uXres			equ 8F3Bh
uw02			equ 8F44h
Xmin			equ 8F50h
Xmax			equ 8F59h
Xscl			equ 8F62h
Ymin			equ 8F6Bh
Ymax			equ 8F74h
Yscl			equ 8F7Dh
ThetaMin		equ 8F86h
ThetaMax		equ 8F8Fh
ThetaStep		equ 8F98h
TminPar			equ 8FA1h
TmaxPar			equ 8FAAh
Tstep			equ 8FB3h
PlotStart		equ 8FBCh
nMax			equ 8FC5h
u0			equ 8FCEh
v0			equ 8FD7h
nMin			equ 8FE0h
u02			equ 8FE9h
v02			equ 8FF2h
w0			equ 8FFBh
PlotStep		equ 9004h
XresO			equ 900Dh
w02			equ 9016h
un1			equ 901Fh
un2			equ 9028h
vn1			equ 9031h
vn2			equ 903Ah
wn1			equ 9043h
wn2			equ 904Ch
fin_N			equ 9055h
fin_I			equ 905Eh
fin_PV			equ 9067h
fin_PMT			equ 9070h
fin_FV			equ 9079h
fin_PY			equ 9082h
fin_CY			equ 908Bh
cal_N			equ 9094h
cal_I			equ 909Dh
cal_PV			equ 90A6h
cal_PMT			equ 90AFh
cal_FV			equ 90B8h
cal_PY			equ 90C1h
smallEditRAM		equ 90D3h
XFact			equ 913Fh
YFact			equ 9148h
Xres_int		equ 9151h
deltaX			equ 9152h
deltaY			equ 915Bh
shortX			equ 9164h
shortY			equ 916Dh
lower			equ 9176h
upper			equ 917Fh
XOutSym			equ 918Ch
XOutDat			equ 918Eh
YOutSym			equ 9190h
YOutDat			equ 9192h
inputSym		equ 9194h
inputDat		equ 9196h
prevData		equ 9198h
;something		equ 91D9h
;something		equ 91DAh
CurTableRow		equ 91DCh
CurTableCol		equ 91DDh
TblMin			equ 92B3h
TblStep			equ 92BCh
;something		equ 92C5h
;something		equ 92C6h
;somePlotThing1		equ 92D9h
;somePlotThing2		equ 92EAh
;somePlotThing3		equ 92FBh
ES			equ 9302h ;bottom of the es
EST			equ 9305h ;current height of the es
;something		equ 9311h ;this is the pointer to a table of stuff for a BASIC menu
plotSScreen		equ 9340h
seed1			equ 9640h
seed2			equ 9649h
basic_prog		equ 9652h
basic_start		equ 965Bh
nextParseByte		equ 965Dh ;basic_pc
basic_end		equ 965Fh
numArguments		equ 9661h
;something		equ 9665h ;parser-related word
;something		equ 966Ch
;something		equ 966Dh
cmdShadow		equ 966Eh
cmdShadCur		equ 96EEh
cmdShadAlph		equ 96F0h
cmdShadIns		equ 96F1h
cmdCursor		equ 96F2h
editTop			equ 96F4h
editCursor		equ 96F6h
editTail		equ 96F8h
editBtm			equ 96FAh
;something		equ 96FEh ;word, this is offset into list for currently-highlighted element in list editor
;something		equ 9700h ;table entry pointer used in dialog/menu/edit buffer routines
matrixDimensions	equ 9702h ;dimensions of matrix being edited in matrix editor
editSym			equ 9706h ;pointer to symbol table entry of variable being edited
editDat			equ 9708h ;pointer to data of variable being edited
;something		equ 970Eh ;stats/list editor related, usually 1
;something		equ 970Fh ;stats/list editor related, usually 0 (this is 0-based offset from listName1), pretty sure this is a page offset
;something		equ 9710h ;stats/list editor related, usually 0 (this is 0-based currently-selected list)
listName1		equ 9711h
listName2		equ 9716h
listName3		equ 971Bh
listName4		equ 9720h
listName5		equ 9725h
listName6		equ 972Ah
listName7		equ 972Fh
listName8		equ 9734h
listName9		equ 9739h
listName10		equ 973Eh
listName11		equ 9743h
listName12		equ 9748h
listName13		equ 974Dh
listName14		equ 9752h
listName15		equ 9757h
listName16		equ 975Ch
listName17		equ 9761h
listName18		equ 9766h
listName19		equ 976Bh
listName20		equ 9770h
;something		equ 9775h
y1LineType		equ 9776h ;these bytes define the line type for functions which are graphed
y2LineType		equ 9777h
y3LineType		equ 9778h
y4LineType		equ 9779h
y5LineType		equ 977Ah
y6LineType		equ 977Bh
y7LineType		equ 977Ch
y8LineType		equ 977Dh
y9LineType		equ 977Eh
y0LineType		equ 977Fh
para1LineType		equ 9780h
para2LineType		equ 9781h
para3LineType		equ 9782h
para4LineType		equ 9783h
para5LineType		equ 9784h
para6LineType		equ 9785h
polar1LineType		equ 9786h
polar2LineType		equ 9787h
polar3LineType		equ 9788h
polar4LineType		equ 9789h
polar5LineType		equ 978Ah
polar6LineType		equ 978Bh
secULineType		equ 978Ch
secVLineType		equ 978Dh
secWLineType		equ 978Eh
;something		equ 979Fh
;something		equ 97A1h
winTop			equ 97A5h
winBtm			equ 97A6h
winLeftEdge		equ 97A7h
winLeft			equ 97A8h
winAbove		equ 97AAh
winRow			equ 97ACh
winCol			equ 97AEh
fmtDigits		equ 97B0h
fmtString		equ 97B1h
fmtConv			equ 97F2h
fmtLeft			equ 9804h
fmtIndex		equ 9806h
fmtMatSym		equ 9808h
fmtMatMem		equ 980Ah
EQS			equ 980Ch
;something		equ 980Eh
;something		equ 9810h
freeRAM			equ 9815h ;pretty sure this is the amount of RAM free, valid in Mem Mgmt/Del anyway
;something		equ 9817h
tSymPtr1		equ 9818h
tSymPtr2		equ 981Ah
chkDelPtr3		equ 981Ch
chkDelPtr4		equ 981Eh
tempMem			equ 9820h
fpBase			equ 9822h
FPS			equ 9824h
OPBase			equ 9826h
OPS			equ 9828h
pTempCnt		equ 982Ah
cleanTmp		equ 982Ch
pTemp                   equ 982Eh ;end of symbol table
progPtr			equ 9830h
newDataPtr		equ 9832h
pagedCount		equ 9834h
pagedPN			equ 9835h
pagedGetPtr		equ 9836h
pagedPutPtr		equ 9838h
pagedBuf		equ 983Ah
;something		equ 984Ah ;this is the top LCD row for a menu (usually 1)
appErr1			equ 984Dh
appErr2			equ 985Ah
flashByte1		equ 9867h
flashByte2		equ 9868h
freeArcBlock		equ 9869h
arcPage			equ 986Bh
arcPtr			equ 986Ch
appRawKeyHandle		equ 9870h
appBackUpScreen		equ 9872h
customHeight		equ 9B72h
localLanguage		equ 9B73h
hookExecTemp		equ 9B75h
linkActivityHook	equ 9B78h
cursorHookPtr		equ 9B7Ch
libraryHookPtr		equ 9B80h
rawKeyHookPtr		equ 9B84h
getKeyHookPtr		equ 9B88h
homescreenHookPtr	equ 9B8Ch
windowHookPtr		equ 9B90h
graphHookPtr		equ 9B94h
yEqualsHookPtr		equ 9B98h
fontHookPtr		equ 9B9Ch
regraphHookPtr		equ 9BA0h
graphicsHook		equ 9BA4h
traceHookPtr		equ 9BA8h
parserHookPtr		equ 9BACh
appChangeHookPtr	equ 9BB0h
catalog1HookPtr		equ 9BB4h
helpHookPtr		equ 9BB8h
cxRedispHookPtr		equ 9BBCh
menuHookPtr		equ 9BC0h
catalog2HookPtr		equ 9BC4h
tokenHookPtr		equ 9BC8h
localizeHookPtr		equ 9BCCh
silentLinkHookPtr	equ 9BD0h ;restartClr?
USBActivityHookPtr	equ 9BD4h
baseAppBrTab2		equ 9C06h ;table of base pages for apps on page >= 20h; first 20h bytes are zeroes.
USBcallbackPage		equ 9C13h
USBcallbackPtr		equ 9C14h
vendorID		equ 9C16h
productID		equ 9C18h
devReleaseNumber	equ 9C1Ah
oldSESpeed		equ 9C21h
calcPeripheralState	equ 9C26h
usb_dataWaitingCount	equ 9C27h
basePageTable2End	equ 9C6Fh ;this is the last page
port91hTemp		equ 9C79h
usb_dataExpectCount	equ 9C80h
offPageCallPage		equ 9C83h ;temporarily stores off-page page and address
offPageCallAddress	equ 9C84h
;something		equ 9C86h ;used with SE link activity, values of 00h, 0FAh, 0FFh probably mean something
;something		equ 9C87h ;zero this to force the APPS menu to recache itself (this is always either 0, 1, or last app page, for some reason)
;something		equ 9C88h ;don't know, but it's 14 bytes and has to do with selecting stuff (if 9C87h is non-zero, this is zeroed out)
;something		equ 9C9Eh ;funky, this actually gets written to the certificate on non-83+ (11 bytes)
SEspeed			equ 9CAEh
;something, table index	equ 9CAFh
;something		equ 9CB0h
;something		equ 9CB1h ;table
;something		equ 9CCDh
localTokStr		equ 9D65h
keyForStr		equ 9D76h
keyToStrRam		equ 9D77h
sedMonSp		equ 9D88h ;small edit monitor SP
bpSave			equ 9D8Ah
userMem			equ 9D95h
symTable		equ 0FE66h

;System Flags
;----------------------------------------------------------------------
ioDelFlag		equ 0h
inDelete		equ 0		;1 = DELETE SCREEN 

trigFlags		equ 0h	;Trigonometry mode settings
trigDeg			equ 2		;1=degrees, 0=radians

kbdFlags		equ 0h	;Keyboard scan
kbdSCR			equ 3		;1=scan code ready
kbdKeyPress		equ 4		;1=key has been pressed

doneFlags		equ 0h	;display "Done"
donePrgm		equ 5		;1=display "Done" after prgm
;----------------------------------------------------------------------
editFlags		equ 1h
editOpen		equ 2		;1=edit buffer is open

ansFlags		equ 1
AnsScroll		equ 3		;1=answer can scroll, seems must be reset in order to move about edit buffer

monFlags		equ 1h	 ;monitor flags
monAbandon		equ 4		;1=don't start any long process in put away (#715)
;----------------------------------------------------------------------
plotFlags		equ 2h	;plot generation flags
plotLoc 		equ 1		;0=bkup & display, 1=display only
plotDisp		equ 2		;1=plot is in display, 0=text in display, this also indicates whether graph is being shown or not

grfModeFlags		equ 2h	;graph mode settings
grfFuncM		equ 4		;1=function graph
grfPolarM		equ 5		;1=polar graph
grfParamM		equ 6		;1=parametric graph
grfRecurM		equ 7		;1=RECURSION graph
;----------------------------------------------------------------------
graphFlags		equ 3h
graphDraw		equ 0		;0=graph is valid, 1=redraw graph(dirty)
graphCursor		equ 2
;----------------------------------------------------------------------
grfDBFlags		equ 4h
grfDot			equ 0		;0=line, 1=dot
grfSimul		equ 1		;0=sequential, 1=simultaneous
grfGrid 		equ 2		;0=no grid, 1=grid
grfPolar		equ 3		;0=rectangular, 1=polar coordinates
grfNoCoord		equ 4		;0=display coordinates, 1=off
grfNoAxis		equ 5		;0=axis, 1=no axis
grfLabel		equ 6		;0=off, 1=axis label
;----------------------------------------------------------------------
textFlags		equ 5h	;Text output flags
textEraseBelow		equ 1		;1=erase line below small char
textScrolled		equ 2		;1=screen scrolled
textInverse		equ 3		;1=display inverse bit-map
textInsMode		equ 4		;0=overstrike, 1=insert mode
;----------------------------------------------------------------------
ParsFlag		equ 6h	;PARSER flags
;----------------------------------------------------------------------
ParsFlag2		equ 7h	;PARSER flags
numOP1			equ 0		;1=RESULT IN OP1, 0=NO RESULT
;----------------------------------------------------------------------
newDispF		equ 8h	;Derivative mode flags
preClrForMode		equ 0		;1=HELP BLINK ON MODE SCREEN
allowProgTokens		equ 1		;1=allow programming tokens to be parsed in BASIC programs

apdFlags		equ 8h	;Automatic power-down
apdAble 		equ 2		;1=APD enabled
apdRunning		equ 3		;1=APD clock running
apdWarmStart		equ 4		;1=calculator is turning on from APD or power loss
;----------------------------------------------------------------------
web_err_mask		equ 60h
;----------------------------------------------------------------------
onFlags 		equ 9h	;on key flags
parseInput		equ 1		;1=parse input when done
onRunning		equ 3		;1=calculator is running
onInterrupt		equ 4		;1=on key interrupt request

statFlags		equ 9h	;statistics flags
;unknown		equ 5		;unknown
statsValid		equ 6		;1=stats are valid
;----------------------------------------------------------------------
fmtFlags		equ 0Ah	;numeric format flags
fmtExponent		equ 0	 	;1=show exponent, 0=no exponent
fmtEng			equ 1	 	;1=engineering notion, 0=scientific
fmtHex			equ 2	 	;1=hexadecimal
fmtOct			equ 3	 	;1=octal
fmtBin			equ 4	 	;1=binary

numMode			equ 0Ah
fmtReal			equ 5
fmtRect			equ 6
fmtPolar		equ 7

realMode		equ 5
rectMode		equ 6
polarMode		equ 7
;					;if Hex and Oct both = 1
;					; then Bin=0 means >Frac
;					; Bin=1 means >DMS
fmtBaseMask		equ  00011100b	; mask to base flags
fmtBaseShift		equ  2		; offset to base flags
;
;       CHECK IF THESE ARE USED BY NUMFORM,
;
;               	equ  6
;               	equ  7
;----------------------------------------------------------------------
fmtOverride		equ 0Bh	;copy of fmtFlags with conversion override
;----------------------------------------------------------------------
fmtEditFlags		equ 0Ch	;numeric editing flags
fmtEdit			equ 0		;1=format number for editing

curFlags		equ 0Ch	;Cursor
curAble 		equ 2		;1=cursor flash is enabled
curOn			equ 3		;1=cursor is showing
curLock 		equ 4		;1=cursor is locked off

cmdFlags		equ 0Ch	;command editor flags
cmdVirgin		equ 5		;1=nothing has been typed in cmd bfr
;----------------------------------------------------------------------
appFlags		equ 0Dh	;application flags
appWantIntrpt		equ 0		;1=want ON key interrupts
appTextSave		equ 1		;1=save characters in textShadow
appAutoScroll		equ 2		;1=auto-scroll text on last line
appMenus		equ 3		;1=process keys that bring up menus, 0=check Lock menu flag
appLockMenus		equ 4		;1=ignore menu keys, 0=switch to home screen and bring up menu
appCurGraphic		equ 5		;1=graphic cursor
appCurWord		equ 6		;1=text cursor covers entire word
appExit 		equ 7		;1=application handles [EXIT] key itself

appWantIntrptF		equ 1<<appWantIntrpt
appTextSaveF		equ 1<<appTextSave
appAutoScrollF		equ 1<<appAutoScroll
appMenusF		equ 1<<appMenus
appLockMenusF		equ 1<<appLockMenus
appCurGraphicF		equ 1<<appCurGraphic
appCurWordF		equ 1<<appCurWord
appExitF		equ 1<<appExit
;----------------------------------------------------------------------
rclFlag			equ 0Eh	;OS recall queue flags
enableQueue		equ 7		;1 = enable recall queue
;----------------------------------------------------------------------
seqFlags		equ 0Fh	;Sequential Graph flags
webMode			equ 0		;0 = NORMAL SEQ MODE, 1 = WEB MODE
webVert			equ 1
sequv			equ 2		;U vs V
seqvw			equ 3		;V vs W
sequw			equ 4		;U vs W
;----------------------------------------------------------------------
promptFlags		equ 11h	;prompt line flags
promptEdit		equ 0		;1=editing in prompt buffer
;----------------------------------------------------------------------
indicFlags		equ 12h	;Indicator flags
indicRun		equ 0		;1=run indicator ON
indicInUse		equ 1		;indicator save area in use=1, free=0 ;resetting will disable 2nd while in _getkey
indicOnly		equ 2		;interrupt handler only checks run indicator

shiftFlags		equ 12h	;[2nd] and [ALPHA] flags
shift2nd		equ 3		;1=[2nd] has been pressed
shiftAlpha		equ 4		;1=[ALPHA] has been pressed
shiftLwrAlph		equ 5		;1=lower case, 0=upper case
shiftALock		equ 6		;1=alpha lock has been pressed
shiftKeepAlph		equ 7		;1=cannot cancel alpha shift
;----------------------------------------------------------------------
tblFlags		equ 13h	;table flags.
autoFill		equ 4		;1=prompt, 0=fillAuto
autoCalc		equ 5		;1=prompt, 0=CalcAuto
reTable			equ 6		;0=table is okay, 1=must recompute table.
;----------------------------------------------------------------------
sGrFlags		equ 14h
grfSplit		equ 0		;1=Split Graph, 0=Normal
vertSplit		equ 1		;1=Vertical (left-right) Split
grfSChanged		equ 2		;1=Graph just changed Split <-> normal
grfSplitOverride	equ 3		;1 = ignore graph split flag if set
write_on_graph		equ 4		;1 = TEXT OR EQU WRITING TO GRAPH SCREEN
g_style_active		equ 5		;1 = GRAPH STYLES ARE ENABLED, USE THEM
cmp_mod_box		equ 6		;1 = DOING MOD BOX PLOT COMPUTATION
textWrite		equ 7
;----------------------------------------------------------------------
newIndicFlags		equ 15h
extraIndic		equ 0
saIndic			equ 1
;3 has something to do with stat/list editor
;----------------------------------------------------------------------
interruptFlags		equ 16h
secondTimerEnabled	equ 0		;1 = second hardware timer enabled
batteryFlags		equ 16h
batteriesGood		equ 2		;1 = batteries good, I think this being reset will force the calc to shut off, used in USB error handler
;----------------------------------------------------------------------
smartFlags		equ 17h
smarter_mask		equ 3
smarter_test		equ 1
smartGraph		equ 0
smartGraph_inv		equ 1
;----------------------------------------------------------------------
traceFlags		equ 18h
grfExpr			equ 0		;set to hide expression while tracing
;----------------------------------------------------------------------
;There is a flag 19h.
;----------------------------------------------------------------------
statFlags2		equ 1Ah
statDiagnosticsOn	equ 0		;1 = stat diagnostics on
;----------------------------------------------------------------------
linkFlags		equ 1Bh
IDis95h			equ 1		;1 = link routines use machine ID 95h (CBL)
IDis82h			equ 2		;1 = link routines use machine ID 82h (TI-82)
IDis83h			equ 3		;1 = link routines use machine ID 83h (TI-83)
IDis03h			equ 4		;1 = link routines use machine ID 03h (PC to TI-83)
USBenabled		equ 5		;1 = use USB port first, or at least try to
;----------------------------------------------------------------------
;There is a flag 1Ch (stats-related).
;----------------------------------------------------------------------
;There is a flag 1Dh.
;----------------------------------------------------------------------
;There is a flag 1Eh.
;----------------------------------------------------------------------
varTypeMask		equ 1Fh	;is this a flag byte? yes
varGraphRef		equ 6
;----------------------------------------------------------------------
graphFlags2		equ 1Fh
splitOverride		equ 3		;0 = force full screen with ParseInp, or something
;----------------------------------------------------------------------
asm_Flag1		equ 21h	;ASM CODING
asm_Flag2		equ 22h	;ASM CODING
asm_Flag3		equ 23h	;ASM CODING
;----------------------------------------------------------------------
arcFlag			equ 24h
checkBatteryLevelFirst	equ 0		;1 = check battery levels in Arc_Unarc first and throw error if low

getSendFlg		equ 24h
comFailed		equ 1		;1 = Get/Send Communication Failed

selfTestFlag		equ 24h
resetOnPowerOn		equ 2		;1 = Force RAM reset when APD disabled on next power on

appLwrCaseFlag		equ 24h
lwrCaseActive		equ 3
;----------------------------------------------------------------------
contextFlags		equ 25h
nocxPutAway		equ 5		;1 = do not call cxPutAway routine
;----------------------------------------------------------------------
groupFlags		equ 26h ;used temporarily in Arc_Unarc
inGroup			equ 1		;1 = IN GROUP CONTEXT
noCompletionByte	equ 2		;1 = do not write 0FCh when calling Arc_Unarc, leave as 0FEh
noDataWrite		equ 3		;1 = do not write data when calling Arc_Unarc, nor size bytes
writeSizeBytesOnly	equ 5		;1 = only write size bytes when calling Arc_Unarc
;----------------------------------------------------------------------
;There is a flag 27h.
;----------------------------------------------------------------------
APIFlg			equ 28h
appAllowContext		equ 0           ;App wants context changes to happen
;1 set to ignore a key after returning from rawkeyhook
;2 set to send this key back?
;3
appRunning		equ 4		;app is currently running
;5
;6
appRetKeyOff		equ 7		;1 = GetKey returns kOff when [2nd]+[ON] pressed
;----------------------------------------------------------------------
apiFlg2			equ 29h
;----------------------------------------------------------------------
apiFlg3			equ 2Ah
;1 set means using small font?
;----------------------------------------------------------------------
apiFlg4			equ 2Bh
cellOverride		equ 1		;use cell override
fullScrnDraw		equ 2		;DRAW INTO LAST ROW/COL OF SCREEN
;----------------------------------------------------------------------
mouseFlag1		equ 2Ch
;----------------------------------------------------------------------
mouseFlag2		equ 2Dh ;might want to keep this always reset
;----------------------------------------------------------------------
xapFlag0		equ 2Eh	;external app flags, do not use 0,(iy+2Eh) (used by mouse routines)
xapFlag1		equ 2Fh
xapFlag2		equ 30h
xapFlag3		equ 31h
;----------------------------------------------------------------------
fontFlags		equ 32h
fracDrawLFont		equ 2
fracTallLFont		equ 3
customFont		equ 7
;----------------------------------------------------------------------
hookflags1		equ 33h ;also scriptFlag, rclFlag2, backGroundLink
alt_On			equ 0		;run ONSCRPT at startup
alt_Off			equ 1		;run OFFSCRPT at shutdown
useRclQueueEnd		equ 2		;1 = external mode
ignoreBPLink		equ 3		;1 = override flag for link activity hook
bPLinkOn		equ 4		;1 = link activity hook active
enableKeyEcho		equ 5		;1 = sends keypresses back to connected calc as remote control packets (with GetCSC vs. GetKey codes...really dumb, TI)
noTempDelete		equ 6		;1 = do not delete temporary programs at homescreen
;----------------------------------------------------------------------
hookflags2		equ 34h ;also sysHookFlg
getCSCHookActive	equ 0		;1 = GetCSC hook active
libraryHookActive	equ 1		;1 = library hook active
;2 This is set in the OS, but never referenced and the code is never executed
homescreenHookActive	equ 4		;1 = homescreen hook active
rawKeyHookActive	equ 5		;1 = raw key hook active
catalog2HookActive	equ 6		;1 = catalog 2 hook active
cursorHookActive	equ 7		;1 = cursor hook active
;----------------------------------------------------------------------
hookflags3		equ 35h ;also sysHookFlg1
tokenHookActive		equ 0		;1 = token hook active
localizeHookActive	equ 1		;1 = localize hook active
windowHookActive	equ 2		;1 = window hook active
graphHookActive		equ 3		;1 = graph hook active
yEquHookActive		equ 4		;1 = Y= hook active
fontHookActive		equ 5		;1 = font hook active
regraphHookActive	equ 6		;1 = regraph hook active
drawingHookActive	equ 7		;1 = drawing hook active
;----------------------------------------------------------------------
hookflags4		equ 36h ;also sysHookFlag2
traceHookActive		equ 0		;1 = trace hook active
parserHookActive	equ 1		;1 = parser hook active
appChangeHookActive	equ 2		;1 = app change hook active
catalog1HookActive	equ 3		;1 = catalog 1 hook active
helpHookActive		equ 4		;1 = help hook active
cxRedispHookActive	equ 5		;1 = cxRedisp hook active
menuHookActive		equ 6		;1 = menu hook active
silentLinkHookActive	equ 7		;1 = silent link hook active
;----------------------------------------------------------------------
;hookflags2Override	equ 37h		;set corresponding bit to kill iy+35h hook when executing app
;----------------------------------------------------------------------
;hookflags3Override	equ 38h		;set corresponding bit to kill iy+36h hook when executing app
;----------------------------------------------------------------------
;hookflags4Override	equ 39h		;set corresponding bit to kill iy+37h hook when executing app
;----------------------------------------------------------------------
;hookflags5		equ 3Ah
usbActivityHookActive	equ 0		;1 = USB activity hook active
;----------------------------------------------------------------------
plotFlag3		equ 3Ch  
bufferOnly		equ 0
useFastCirc		equ 4
;----------------------------------------------------------------------
dBKeyFlags		equ 3Dh
keyDefaultsF		equ 6		;1 = GetKey returns extended keycodes with TI-Keyboard
;----------------------------------------------------------------------
silentLinkFlags		equ 3Eh
silentLinkActive	equ 0		;1 = SE/84+ silent link is active

extraHookFlags		equ 3Eh
checkCatalog2HookVer	equ 3		;1 = check catalog 2 hook's version before executing it (and error or take other action if so)
openLibActive		equ 4		;1 = OpenLib( was successfully called on a Flash application (ExecLib will error if zero)
;5
;----------------------------------------------------------------------
clockFlags		equ 3Fh
notMDYMode		equ 0		;0 = M/D/Y format
isYMDMode		equ 1		;1 = Y/M/D format
is24Hour		equ 2		;1 = clock in 24 hour mode
inAfternoon		equ 3		;1 = current time is in afternoon (PM) (I think)
useTokensInString	equ 4		;1 = use tokens instead of characters when displaying clock as string (for getTmStr and getDtStr vs. MODE screen) (keep this reset)
displayClock		equ 5		;1 = display clock (this is set every second, reset otherwise)
clockOn			equ 6		;1 = clock on
;----------------------------------------------------------------------
USBFlag1		equ 40h
;1 Reset in I/O receiving code, doesn't seem to be used anywhere else
usbReceiveZone1		equ 2		;1 = receive to RAM pages 3/2 ("zone 1")
;----------------------------------------------------------------------
USBFlag2		equ 41h
;0
;2
noUSBHostInit		equ 3		;1 = _InitSpecificUSBDevice must fail
usbDataWaiting		equ 5
;6
;7
;----------------------------------------------------------------------
USBFlag3		equ 42h
;----------------------------------------------------------------------
USBFlag4		equ 43h
usbTimeoutError		equ 0		;1 = USB timeout error (crystal timer expired)
;----------------------------------------------------------------------

;Character Font Equates  
;-------------------------------
LrecurN			equ 001h
LrecurU			equ 002h
LrecurV			equ 003h
LrecurW			equ 004h
Lconvert		equ 005h
LsqUp			equ 006h
LsqDown			equ 007h
Lintegral		equ 008h
Lcross			equ 009h
LboxIcon 		equ 00Ah
LcrossIcon 		equ 00Bh
LdotIcon 		equ 00Ch
LsubT   		equ 00Dh ;small capital T for parametric mode.
LcubeR  		equ 00Eh ;slightly different 3 for cubed root.
LhexF			equ 00Fh
Lroot			equ 010h
Linverse		equ 011h
Lsquare			equ 012h
Langle			equ 013h
Ldegree			equ 014h
Lradian			equ 015h
Ltranspose		equ 016h
LLE			equ 017h
LNE			equ 018h
LGE			equ 019h
Lneg			equ 01Ah
Lexponent		equ 01Bh
Lstore			equ 01Ch
Lten			equ 01Dh
LupArrow		equ 01Eh
LdownArrow		equ 01Fh
Lspace			equ 020h
Lexclam			equ 021h
Lquote			equ 022h
Lpound			equ 023h
Lfourth			equ 024h
Lpercent		equ 025h
Lampersand		equ 026h
Lapostrophe		equ 027h
LlParen			equ 028h
LrParen			equ 029h
Lasterisk		equ 02Ah
LplusSign		equ 02Bh
Lcomma			equ 02Ch
Ldash			equ 02Dh
Lperiod			equ 02Eh
Lslash			equ 02Fh
L0			equ 030h
L1			equ 031h
L2			equ 032h
L3			equ 033h
L4			equ 034h
L5			equ 035h
L6			equ 036h
L7			equ 037h
L8			equ 038h
L9			equ 039h
Lcolon			equ 03Ah
Lsemicolon		equ 03Bh
LLT			equ 03Ch
LEQ			equ 03Dh
LGT			equ 03Eh
Lquestion		equ 03Fh
LatSign			equ 040h
LcapA			equ 041h
LcapB			equ 042h
LcapC			equ 043h
LcapD			equ 044h
LcapE			equ 045h
LcapF			equ 046h
LcapG			equ 047h
LcapH			equ 048h
LcapI			equ 049h
LcapJ			equ 04Ah
LcapK			equ 04Bh
LcapL			equ 04Ch
LcapM			equ 04Dh
LcapN			equ 04Eh
LcapO			equ 04Fh
LcapP			equ 050h
LcapQ			equ 051h
LcapR			equ 052h
LcapS			equ 053h
LcapT			equ 054h
LcapU			equ 055h
LcapV			equ 056h
LcapW			equ 057h
LcapX			equ 058h
LcapY			equ 059h
LcapZ			equ 05Ah
Ltheta			equ 05Bh
Lbackslash		equ 05Ch
LrBrack			equ 05Dh
Lcaret			equ 05Eh
Lunderscore		equ 05Fh
Lbackquote		equ 060h
La			equ 061h
Lb			equ 062h
Lc			equ 063h
Ld			equ 064h
Le			equ 065h
Lf			equ 066h
Lg			equ 067h
Lh			equ 068h
Li			equ 069h
Lj			equ 06Ah
Lk			equ 06Bh
Ll			equ 06Ch
Lm			equ 06Dh
Ln			equ 06Eh
Lo			equ 06Fh
Lp			equ 070h
Lq			equ 071h
Lr			equ 072h
Ls			equ 073h
Lt			equ 074h
Lu			equ 075h
Lv			equ 076h
Lw			equ 077h
Lx			equ 078h
Ly			equ 079h
Lz			equ 07Ah
LlBrace			equ 07Bh
Lbar			equ 07Ch
LrBrace			equ 07Dh
Ltilde			equ 07Eh
LinvEQ			equ 07Fh
Lsub0			equ 080h
Lsub1			equ 081h
Lsub2			equ 082h
Lsub3			equ 083h
Lsub4			equ 084h
Lsub5			equ 085h
Lsub6			equ 086h
Lsub7			equ 087h
Lsub8			equ 088h
Lsub9			equ 089h
LcapAAcute		equ 08Ah
LcapAGrave		equ 08Bh
LcapACaret		equ 08Ch
LcapADier		equ 08Dh
LaAcute			equ 08Eh
LaGrave			equ 08Fh
LaCaret			equ 090h
LaDier			equ 091h
LcapEAcute		equ 092h
LcapEGrave		equ 093h
LcapECaret		equ 094h
LcapEDier		equ 095h
LeAcute			equ 096h
LeGrave			equ 097h
LeCaret			equ 098h
LeDier			equ 099h
LcapIAcute		equ 09Ah
LcapIGrave		equ 09Bh
LcapICaret		equ 09Ch
LcapIDier		equ 09Dh
LiAcute			equ 09Eh
LiGrave			equ 09Fh
LiCaret			equ 0A0h
LiDier			equ 0A1h
LcapOAcute		equ 0A2h
LcapOGrave		equ 0A3h
LcapOCaret		equ 0A4h
LcapODier		equ 0A5h
LoAcute			equ 0A6h
LoGrave			equ 0A7h
LoCaret			equ 0A8h
LoDier			equ 0A9h
LcapUAcute		equ 0AAh
LcapUGrave		equ 0ABh
LcapUCaret		equ 0ACh
LcapUDier		equ 0ADh
LuAcute			equ 0AEh
LuGrave			equ 0AFh
LuCaret			equ 0B0h
LuDier			equ 0B1h
LcapCCed		equ 0B2h
LcCed			equ 0B3h
LcapNTilde		equ 0B4h
LnTilde			equ 0B5h
Laccent			equ 0B6h
Lgrave			equ 0B7h
Ldieresis		equ 0B8h
LquesDown		equ 0B9h
LexclamDown		equ 0BAh
Lalpha			equ 0BBh
Lbeta			equ 0BCh
Lgamma			equ 0BDh
LcapDelta		equ 0BEh
Ldelta			equ 0BFh
Lepsilon		equ 0C0h
LlBrack 		equ 0C1h
Llambda			equ 0C2h
Lmu			equ 0C3h
Lpi			equ 0C4h
Lrho			equ 0C5h
LcapSigma		equ 0C6h
Lsigma			equ 0C7h
Ltau			equ 0C8h
Lphi			equ 0C9h
LcapOmega		equ 0CAh
LxMean			equ 0CBh
LyMean			equ 0CCh
LsupX			equ 0CDh
Lellipsis		equ 0CEh
Lleft			equ 0CFh
Lblock			equ 0D0h
Lper			equ 0D1h
Lhyphen			equ 0D2h
Larea			equ 0D3h
Ltemp			equ 0D4h
Lcube			equ 0D5h
Lenter			equ 0D6h
LimagI			equ 0D7h
Lphat			equ 0D8h
Lchi			equ 0D9h
LstatF			equ 0DAh
Llne			equ 0DBh
LlistL			equ 0DCh
LfinanN 		equ 0DDh
L2_r_paren 		equ 0DEh
LblockArrow     	equ 0DFh
LcurO   		equ 0E0h
LcurO2  		equ 0E1h
LcurOcapA       	equ 0E2h
LcurOa  		equ 0E3h
LcurI   		equ 0E4h
LcurI2  		equ 0E5h
LcurIcapA       	equ 0E6h
LcurIa  		equ 0E7h
LGline          	equ 0E8h ; = 0
LGthick         	equ 0E9h ; = 1
LGabove			equ 0EAh ; = 2
LGbelow			equ 0EBh ; = 3
LGpath			equ 0ECh ; = 4
LGanimate		equ 0EDh ; = 5
LGdot			equ 0EEh ; = 6
LUpBlk			equ 0EFh ;Up arrow and Block in solver
LDnBlk			equ 0F0h ;Down arrow and Block in solver
LcurFull		equ 0F1h ;note: must be last char (PutMap checks)

;(MenuCurrent) Values
;--------------------------
mConfirmation		equ 01h
mApps			equ 02h
mProgramHome		equ 03h
mPrgm_Run		equ 00h
mPrgm_Edit		equ 01h
mPrgm_New		equ 02h
mZoom			equ 04h
mZoom_Zoom		equ 00h
mZoom_Memory		equ 01h
mDraw			equ 05h
mDraw_Draw		equ 00h
mDraw_Points		equ 01h
mDraw_Store		equ 02h
mStatPlots		equ 06h
mStat			equ 07h
mStat_Edit		equ 00h
mStat_Calc		equ 01h
mStat_Tests		equ 02h
mMath			equ 08h
mMath_Math		equ 00h
mMath_Number		equ 01h
mMath_Complex		equ 02h
mMath_Prob		equ 03h
mTest			equ 09h
mTest_Test		equ 00h
mTest_Logic		equ 01h
mVars			equ 0Ah
mVars_Vars		equ 00h
mVars_YVars		equ 01h
mMemory			equ 0Ch
mMatrix			equ 0Dh
mMatrix_Name		equ 00h
mMatrix_Math		equ 01h
mMatrix_Edit		equ 02h
mDistr			equ 0Eh
mDistr_Distr		equ 00h
mDistr_Draw		equ 01h
mAngle			equ 0Fh
mList			equ 10h
mList_Names		equ 00h
mList_Ops		equ 01h
mList_Math		equ 02h
mCalculate		equ 11h
mVarsWin		equ 14h
mVarsWin_XY		equ 00h
mVarsWin_TTh		equ 01h
mVarsWin_UVW		equ 02h
mVarsZoom		equ 15h
mVarsZoom_ZXY		equ 00h
mVarsZoom_ZT		equ 01h
mVarsZoom_UVW		equ 02h
mVarsGDB		equ 16h
mVarsPics		equ 17h
mVarsStrings		equ 18h
mVarsStat		equ 19h
mVarsStat_XY		equ 00h
mVarsStat_Sigma		equ 01h
mVarsStat_EQ		equ 02h
mVarsStat_Test		equ 03h
mVarsStat_Pts		equ 04h
mVarsTable		equ 1Ah
mVarsYEqu		equ 1Bh
mVarsParametric		equ 1Ch
mVarsPolar		equ 1Dh
mVarsFnOnOff		equ 1Eh
mMemReset		equ 1Fh
mMemReset_RAM		equ 00h
mMemReset_ROM		equ 01h
mMemReset_All		equ 02h
mMemMgmtDel		equ 20h
mMemResetDefaults	equ 21h
mMemResetRAMAll		equ 23h
mMemResetROMVars	equ 24h
mMemResetROMApps	equ 25h
mMemResetROMAll		equ 26h
mMemResetAll		equ 27h
mGroup			equ 28h
mGroup_New		equ 00h
mGroup_Ungroup		equ 01h
mGroupVars		equ 29h
mProgramEdit		equ 2Ah
mPrgmEd_Ctrl		equ 00h
mPrgmEd_IO		equ 01h
mPrgmEd_Exec		equ 02h
mPrgmZoom		equ 2Bh
mPrgmZoom_Zoom		equ 00h
mPrgmZoom_Mem		equ 01h
mPrgmDraw		equ 2Ch
mPrgmDraw_Draw		equ 00h
mPrgmDraw_Pt		equ 01h
mPrgmDraw_Store		equ 02h
mPrgmStatPlot		equ 2Dh
mPrgmSP_Plots		equ 00h
mPrgmSP_Type		equ 01h
mPrgmSP_Mark		equ 02h
mPrgmStat		equ 2Eh
mPrgmStat_Edit		equ 00h
mPrgmStat_Calc		equ 01h
mPrgmStat_Tests		equ 02h
mPrgmMath		equ 2Fh
mPrgmMath_Math		equ 00h
mPrgmMath_Num		equ 01h
mPrgmMath_Cplx		equ 02h
mPrgmMath_Prob		equ 03h
mLink			equ 30h
mLink_Send		equ 00h
mLink_Recieve		equ 01h
mLinkTrasmit		equ 31h
mLinkXmit_Xmit		equ 01h
mGarbageCollect		equ 3Fh
mSelectGroupVars	equ 40h
mSelGrpVars_Sel		equ 00h
mSelGrpVars_Grp		equ 01h
mDuplicateName		equ 42h
mCatalog		equ 45h
mFinance		equ 22h
mFinance_Calc		equ 00h
mFinance_Vars		equ 01h

;Keypress Equates
;-------------------------------
kRight			equ 001h
kLeft			equ 002h
kUp			equ 003h
kDown			equ 004h
kEnter			equ 005h
kAlphaEnter		equ 006h
kAlphaUp		equ 007h
kAlphaDown		equ 008h
kClear			equ 009h
kDel			equ 00Ah
kIns			equ 00Bh
kRecall			equ 00Ch
kLastEnt		equ 00Dh
kBOL			equ 00Eh
kEOL			equ 00Fh

kSelAll			equ 010h
kUnselAll		equ 011h
kLtoTI82		equ 012h
kBackup			equ 013h
kRecieve		equ 014h
kLnkQuit		equ 015h
kTrans			equ 016h
kRename			equ 017h
kOverw			equ 018h
kOmit			equ 019h
kCont			equ 01Ah
kSendID			equ 01Bh
kSendSW			equ 01Ch
kYes			equ 01Dh
kNoWay			equ 01Eh
kvSendType		equ 01Fh
kOverWAll		equ 020h
kNo			equ 025h
kKReset			equ 026h
kApp			equ 027h
kDoug			equ 028h
kListflag		equ 029h
menuStart		equ 02Bh
kAreYouSure		equ 02Bh
kAppsMenu		equ 02Ch
kPrgm			equ 02Dh
kZoom			equ 02Eh
kDraw			equ 02Fh
kSPlot			equ 030h
kStat			equ 031h
kMath			equ 032h
kTest			equ 033h
kChar			equ 034h
kVars			equ 035h
kMem			equ 036h
kMatrix			equ 037h
kDist			equ 038h
kAngle			equ 039h
kList			equ 03Ah
kCalc			equ 03Bh
kFin			equ 03Ch
menuEnd			equ kFin
kCatalog		equ 03Eh
kInputDone		equ 03Fh
kOff			equ kInputDone
kQuit			equ 040h
appStart		equ kQuit
kLinkIO			equ 041h
kMatrixEd		equ 042h
kStatEd			equ 043h
kGraph			equ 044h
kMode			equ 045h
kPrgmEd			equ 046h ;PROGRAM EDIT
kPrgmCr			equ 047h ;PROGRAM CREATE
kWindow			equ 048h ;RANGE EDITOR
kYequ			equ 049h ;EQUATION EDITOR
kTable			equ 04Ah ;TABLE EDITOR
kTblSet			equ 04Bh ;TABLE SET
kChkRAM			equ 04Ch ;CHECK RAM (About screen)
kDelMem			equ 04Dh ;DELETE MEM
kResetMem		equ 04Eh ;RESET MEM
kResetDef		equ 04Fh ;RESET DEFAULT
kPrgmInput		equ 050h ;PROGRAM INPUT
kZFactEd		equ 051h ;ZOOM FACTOR EDITOR
kError			equ 052h ;ERROR
kSolveTVM		equ 053h ;TVM SOLVER
kSolveRoot		equ 054h ;SOLVE EDITOR
kStatP			equ 055h ;stat plot
kInfStat		equ 056h ;Inferential Statistic
kFormat			equ 057h ;FORMAT
kExtApps		equ 058h ;External Applications.     NEW
kNewApps		equ 059h ;New Apps for Cerberus.
append			equ kNewApps
echoStart1		equ 05Ah
kTrace			equ 05Ah
kZFit			equ 05Bh
kZIn			equ 05Ch
kZOut			equ 05Dh
kZPrev			equ 05Eh
kBox			equ 05Fh
kDecml			equ 060h
kSetZm			equ 061h
kSquar			equ 062h
kStd			equ 063h
kTrig			equ 064h
kUsrZm			equ 065h
kZSto			equ 066h
kZInt			equ 067h
kZStat			equ 068h
echoStart2		equ 069h
kSelect			equ 069h
kCircl			equ 06Ah
kClDrw			equ 06Bh
kLine			equ 06Ch
kPen			equ 06Dh
kPtChg			equ 06Eh
kPtOff			equ 06Fh
kPtOn			equ 070h
kVert			equ 071h
kHoriz			equ 072h
kText			equ 073h
kTanLn			equ 074h
kEval			equ 075h
kInters			equ 076h
kDYDX			equ 077h
kFnIntg			equ 078h
kRootG			equ 079h
kDYDT			equ 07Ah
kDXDT			equ 07Bh
kDRDo			equ 07Ch
KGFMin			equ 07Dh
KGFMax			equ 07Eh
EchoStart		equ 07Fh
kListName		equ 07Fh
kAdd			equ 080h
kSub			equ 081h
kMul			equ 082h
kDiv			equ 083h
kExpon			equ 084h
kLParen			equ 085h
kRParen			equ 086h
kLBrack			equ 087h
kRBrack			equ 088h
kShade			equ 089h
kStore			equ 08Ah
kComma			equ 08Bh
kChs			equ 08Ch
kDecPnt			equ 08Dh
k0			equ 08Eh
k1			equ 08Fh
k2			equ 090h
k3			equ 091h
k4			equ 092h
k5			equ 093h
k6			equ 094h
k7			equ 095h
k8			equ 096h
k9			equ 097h
kEE			equ 098h
kSpace			equ 099h
kCapA			equ 09Ah
kCapB			equ 09Bh
kCapC			equ 09Ch
kCapD			equ 09Dh
kCapE			equ 09Eh
kCapF			equ 09Fh
kCapG			equ 0A0h
kCapH			equ 0A1h
kCapI			equ 0A2h
kCapJ			equ 0A3h
kCapK			equ 0A4h
kCapL			equ 0A5h
kCapM			equ 0A6h
kCapN			equ 0A7h
kCapO			equ 0A8h
kCapP			equ 0A9h
kCapQ			equ 0AAh
kCapR			equ 0ABh
kCapS			equ 0ACh
kCapT			equ 0ADh
kCapU			equ 0AEh
kCapV			equ 0AFh
kCapW			equ 0B0h
kCapX			equ 0B1h
kCapY			equ 0B2h
kCapZ			equ 0B3h
kVarx			equ 0B4h
kPi			equ 0B5h
kInv			equ 0B6h
kSin			equ 0B7h
kASin			equ 0B8h
kCos			equ 0B9h
kACos			equ 0BAh
kTan			equ 0BBh
kATan			equ 0BCh
kSquare			equ 0BDh
kSqrt			equ 0BEh
kLn			equ 0BFh
kExp			equ 0C0h
kLog			equ 0C1h
kALog			equ 0C2h
kToABC			equ 0C3h
kClrTbl			equ 0C4h
kAns			equ 0C5h
kColon			equ 0C6h
kNDeriv			equ 0C7h
kFnInt			equ 0C8h
kRoot			equ 0C9h
kQuest			equ 0CAh
kQuote			equ 0CBh
kTheta			equ 0CCh
kIf			equ 0CDh
kThen			equ 0CEh
kElse			equ 0CFh
kFor			equ 0D0h
kWhile			equ 0D1h
kRepeat			equ 0D2h
kEnd			equ 0D3h
kPause			equ 0D4h
kLbl			equ 0D5h
kGoto			equ 0D6h
kISG			equ 0D7h
kDSL			equ 0D8h
kMenu			equ 0D9h
kExec			equ 0DAh
kReturn			equ 0DBh
kStop			equ 0DCh
kInput			equ 0DDh
kPrompt			equ 0DEh
kDisp			equ 0DFh
kDispG			equ 0E0h
kDispT			equ 0E1h
kOutput			equ 0E2h
kGetKey			equ 0E3h
kClrHome		equ 0E4h
kPrtScr			equ 0E5h
kSinH			equ 0E6h
kCosH			equ 0E7h
kTanH			equ 0E8h
kASinH			equ 0E9h
kACosH			equ 0EAh
kATanH			equ 0EBh
kLBrace			equ 0ECh
kRBrace			equ 0EDh
kI			equ 0EEh
kCONSTeA		equ 0EFh
kPlot3			equ 0F0h
kFMin			equ 0F1h
kFMax			equ 0F2h
kL1A			equ 0F3h
kL2A			equ 0F4h
kL3A			equ 0F5h
kL4A			equ 0F6h
kL5A			equ 0F7h
kL6A			equ 0F8h
kunA			equ 0F9h
kvnA			equ 0FAh
kwnA			equ 0FBh

;THIS KEY MEANS THAT IT IS A 2 BYTE KEYCODE
;THERE ARE 2 OF THESE KEYS; BE CAREFUL WITH USAGE
;------------------------------------------------
kExtendEcho2		equ 0FCh

;THIS KEY MEANS THAT THE KEY PRESS IS ONE THAT ECHOS
;INTO A BUFFER, AND IT IS A 2 BYTE KEY CODE, GO LOOK AT
;(EXTECHO) FOR THE KEY VALUE 
;------------------------------------------------------
kExtendEcho		equ 0FEh

kE1BT			equ 0
kDrawInv		equ kE1BT
kDrawF			equ kE1BT+1
kPixelOn		equ kE1BT+2
kPixelOff		equ kE1BT+3
kPxlTest		equ kE1BT+4
kRCGDB			equ kE1BT+5
kRCPic			equ kE1BT+6
kSTGDB			equ kE1BT+7
kSTPic			equ kE1BT+8
kAbs			equ kE1BT+9
kTEqu			equ kE1BT+10 ;==
kTNoteQ			equ kE1BT+11 ;<>
kTGT			equ kE1BT+12 ;>
kTGTE			equ kE1BT+13 ;>=
kTLT			equ kE1BT+14 ;<
kTLTE			equ kE1BT+15 ;<=
kAnd			equ kE1BT+16
kOr			equ kE1BT+17
kXor			equ kE1BT+18
kNot			equ kE1BT+19
kLR1			equ kE1BT+20
kXRoot			equ kE1BT+21
kCube			equ kE1BT+22
kCbRt			equ kE1BT+23 ;Cube ROOT
kToDec			equ kE1BT+24
kCubicR			equ kE1BT+25
kQuartR			equ kE1BT+26
kPlot1			equ kE1BT+27
kPlot2			equ kE1BT+28
kRound			equ kE1BT+29
kIPart			equ kE1BT+30
kFPart			equ kE1BT+31
kInt			equ kE1BT+32
kRand			equ kE1BT+33
kNPR			equ kE1BT+34
kNCR			equ kE1BT+35
kXFactorial		equ kE1BT+36
kRad			equ kE1BT+37
kDegr			equ kE1BT+38 ;DEGREES CONV
kAPost			equ kE1BT+39
kToDMS			equ kE1BT+40
kRToPo			equ kE1BT+41 ;R
kRToPr			equ kE1BT+42
kPToRx			equ kE1BT+43
kPToRy			equ kE1BT+44
kRowSwap		equ kE1BT+45
kRowPlus		equ kE1BT+46
kTimRow			equ kE1BT+47
kTRowP			equ kE1BT+48
kSortA			equ kE1BT+49
kSortD			equ kE1BT+50
kSeq			equ kE1BT+51
kMin			equ kE1BT+52
kMax			equ kE1BT+53
kMean			equ kE1BT+54
kMedian			equ kE1BT+55
kSum			equ kE1BT+56
kProd			equ kE1BT+57
kDet			equ kE1BT+58
kTransp			equ kE1BT+59
kDim			equ kE1BT+60
kFill			equ kE1BT+61
kIdent			equ kE1BT+62
kRandm			equ kE1BT+63
kAug			equ kE1BT+64
kOneVar			equ kE1BT+65
kTwoVar			equ kE1BT+66
kLR			equ kE1BT+67
kLRExp			equ kE1BT+68
kLRLn			equ kE1BT+69
kLRPwr			equ kE1BT+70
kMedMed			equ kE1BT+71
kQuad			equ kE1BT+72
kClrLst			equ kE1BT+73
kHist			equ kE1BT+74
kxyLine			equ kE1BT+75
kScatter		equ kE1BT+76
kmRad			equ kE1BT+77
kmDeg			equ kE1BT+78
kmNormF			equ kE1BT+79
kmSci			equ kE1BT+80
kmEng			equ kE1BT+81
kmFloat			equ kE1BT+82
kFix			equ kE1BT+83
kSplitOn		equ kE1BT+84
kFullScreen		equ kE1BT+85
kStndrd			equ kE1BT+86
kParam			equ kE1BT+87
kPolar			equ kE1BT+88
kSeqG			equ kE1BT+89
kAFillOn		equ kE1BT+90
kAFillOff		equ kE1BT+91
kACalcOn		equ kE1BT+92
kACalcOff		equ kE1BT+93
kFNOn			equ kE1BT+94
kFNOff			equ kE1BT+95
kPlotsOn		equ kE1BT+96
kPlotsOff		equ kE1BT+97
kPixelChg		equ kE1BT+98
kSendMBL		equ kE1BT+99
kRecvMBL		equ kE1BT+100
kBoxPlot		equ kE1BT+101
kBoxIcon		equ kE1BT+102
kCrossIcon		equ kE1BT+103
kDotIcon		equ kE1BT+104
kE2BT			equ kE1BT+105
kSeqential		equ kE2BT
kSimulG			equ kE2BT+1
kPolarG			equ kE2BT+2
kRectG			equ kE2BT+3
kCoordOn		equ kE2BT+4
kCoordOff		equ kE2BT+5
kDrawLine		equ kE2BT+6
kDrawDot		equ kE2BT+7
kAxisOn			equ kE2BT+8
kAxisOff		equ kE2BT+9
kGridOn			equ kE2BT+10
kGridOff		equ kE2BT+11
kLblOn			equ kE2BT+12
kLblOff			equ kE2BT+13
kL1			equ kE2BT+14
kL2			equ kE2BT+15
kL3			equ kE2BT+16
kL4			equ kE2BT+17
kL5			equ kE2BT+18
kL6			equ kE2BT+19

;These keys are laid on top of existing keys to
;enable localization in the inferential stats editor.
;----------------------------------------------------
kinfData		equ kL1
kinfStats		equ kL1+1
kinfYes			equ kL1+2
kinfNo			equ kL1+3
kinfCalc		equ kL1+4
kinfDraw		equ kL1+5
kinfAlt1ne		equ kL1+6
kinfAlt1lt		equ kL1+7
kinfAlt1gt		equ kL1+8
kinfAlt2ne		equ kL1+9
kinfAlt2lt		equ kL1+10
kinfAlt2gt		equ kL1+11
kinfAlt3ne		equ kL1+12
kinfAlt3lt		equ kL1+13
kinfAlt3gt		equ kL1+14
kinfAlt4ne		equ kL1+15
kinfAlt4lt		equ kL1+16
kinfAlt4gt		equ kL1+17
kinfAlt5ne		equ kL1+18
kinfAlt5lt		equ kL1+19
kinfAlt5gt		equ kL1+20
kinfAlt6ne		equ kL1+21
kinfAlt6lt		equ kL1+22
kinfAlt6gt		equ kL1+23
kMatA			equ kE2BT+20
kMatB			equ kE2BT+21
kMatC			equ kE2BT+22
kMatD			equ kE2BT+23
kMatE			equ kE2BT+24
kXmin			equ kE2BT+25
kXmax			equ kE2BT+26
kXscl			equ kE2BT+27
kYmin			equ kE2BT+28
kYmax			equ kE2BT+29
kYscl			equ kE2BT+30
kTmin			equ kE2BT+31
kTmax			equ kE2BT+32
kTStep			equ kE2BT+33
kOmin			equ kE2BT+34
kOmax			equ kE2BT+35
kOStep			equ kE2BT+36
ku0			equ kE2BT+37
kv0			equ kE2BT+38
knMin			equ kE2BT+39
knMax			equ kE2BT+40
kDeltaY			equ kE2BT+41
kDeltaX			equ kE2BT+42
kZXmin			equ kE2BT+43
kZXmax			equ kE2BT+44
kZXscl			equ kE2BT+45
kZYmin			equ kE2BT+46
kZYmax			equ kE2BT+47
kZYscl			equ kE2BT+48
kZTmin			equ kE2BT+49
kZTmax			equ kE2BT+50
kZTStep			equ kE2BT+51
kZOmin			equ kE2BT+52
kZOmax			equ kE2BT+53
kZOStep			equ kE2BT+54
kZu0			equ kE2BT+55
kZv0			equ kE2BT+56
kZnMin			equ kE2BT+57
kZnMax			equ kE2BT+58
kDelLast		equ kE2BT+59
kSinReg			equ kE2BT+60
kConstE			equ kE2BT+61
kPic1			equ kE2BT+62
kPic2			equ kE2BT+63
kPic3			equ kE2BT+64
kDelVar			equ kE2BT+65
kGetCalc		equ kE2BT+66
kRealM			equ kE2BT+67
kPolarM			equ kE2BT+68
kRectM			equ kE2BT+69
kuv			equ kE2BT+70 ;U vs V
kvw			equ kE2BT+71 ;V vs W
kuw			equ kE2BT+72 ;U vs W
kFinPMTend		equ kE2BT+73
kFinPMTbeg		equ kE2BT+74
kGraphStyle		equ kE2BT+75
kExprOn			equ kE2BT+76
kExprOff		equ kE2BT+77
kStatA			equ kE2BT+78
kStatB			equ kE2BT+79
kStatC			equ kE2BT+80
kCorr			equ kE2BT+81
kStatD			equ kE2BT+82
kStatE			equ kE2BT+83
kRegEq			equ kE2BT+84
kMinX			equ kE2BT+85
kQ1			equ kE2BT+86
kMD			equ kE2BT+87
kQ3			equ kE2BT+88
kMaxX			equ kE2BT+89
kStatX1			equ kE2BT+90
kStatY1			equ kE2BT+91
kStatX2			equ kE2BT+92
kStatY2			equ kE2BT+93
kStatX3			equ kE2BT+94
kStatY3			equ kE2BT+95
kTblMin			equ kE2BT+96
kTblStep		equ kE2BT+97
kSetupLst		equ kE2BT+98
kClrAllLst		equ kE2BT+99
kLogistic		equ kE2BT+100
kZTest			equ kE2BT+101
kTTest			equ kE2BT+102
k2SampZTest		equ kE2BT+103
k2SampTTest		equ kE2BT+104
k1PropZTest		equ kE2BT+105
k2PropZTest		equ kE2BT+106
kChiTest		equ kE2BT+107
k2SampFTest		equ kE2BT+108
kZIntVal		equ kE2BT+109
kTIntVal		equ kE2BT+110
k2SampTInt		equ kE2BT+111
k2SampZInt		equ kE2BT+112
k1PropZInt		equ kE2BT+113
k2PropZInt		equ kE2BT+114
kDNormal		equ kE2BT+115
kInvNorm		equ kE2BT+116
kDT			equ kE2BT+117
kChi			equ kE2BT+118
kDF			equ kE2BT+119
kBinPDF			equ kE2BT+120
kBinCDF			equ kE2BT+121
kPoiPDF			equ kE2BT+122
kPoiCDF			equ kE2BT+123
kun			equ kE2BT+124
kvn			equ kE2BT+125
kwn			equ kE2BT+126
kRecn			equ kE2BT+127
kPlotStart		equ kE2BT+128
kZPlotStart		equ kE2BT+129 ;recursion n
kXFact			equ kE2BT+130 ;PlotStart
kYFact			equ kE2BT+131 ;ZPlotStart
kANOVA			equ kE2BT+132 ;XFact
kMaxY			equ kE2BT+133 ;YFact
kWebOn			equ kE2BT+134 ;MinY
kWebOff			equ kE2BT+135 ;MaxY
kTblInput		equ kE2BT+136 ;WEB ON
kGeoPDF			equ kE2BT+137 ;WEB OFF
kGeoCDF			equ kE2BT+138 ;WEB OFF
kShadeNorm		equ kE2BT+139
kShadeT			equ kE2BT+140
kShadeChi		equ kE2BT+141
kShadeF			equ kE2BT+142
kPlotStep		equ kE2BT+143
kZPlotStep		equ kE2BT+144
kLinRegtTest		equ kE2BT+145
KMGT			equ kE2BT+146 ;VERT SPLIT
kSelectA		equ kE2BT+147
kZFitA			equ kE2BT+148
kE2BT_End		equ kZFitA

;More 2 Byte Keys 
;------------------------------------
kE2BT2			equ 0
kGDB1			equ kE2BT2
kGDB2			equ kE2BT2+1
kGDB3			equ kE2BT2+2
kY1			equ kE2BT2+3
kY2			equ kE2BT2+4
kY3			equ kE2BT2+5
kY4			equ kE2BT2+6
kY5			equ kE2BT2+7
kY6			equ kE2BT2+8
kY7			equ kE2BT2+9
kY8			equ kE2BT2+10
kY9			equ kE2BT2+11
kY0			equ kE2BT2+12
kX1T			equ kE2BT2+13
kY1T			equ kE2BT2+14
kX2T			equ kE2BT2+15
kY2T			equ kE2BT2+16
kX3T			equ kE2BT2+17
kY3T			equ kE2BT2+18
kX4T			equ kE2BT2+19
kY4T			equ kE2BT2+20
kX5T			equ kE2BT2+21
kY5T			equ kE2BT2+22
kX6T			equ kE2BT2+23
kY6T			equ kE2BT2+24
kR1			equ kE2BT2+25
kR2			equ kE2BT2+26
kR3			equ kE2BT2+27
kR4			equ kE2BT2+28
kR5			equ kE2BT2+29
kR6			equ kE2BT2+30
kGDB4			equ kE2BT2+31
kGDB5			equ kE2BT2+32
kGDB6			equ kE2BT2+33
kPic4			equ kE2BT2+34
kPic5			equ kE2BT2+35
kPic6			equ kE2BT2+36
kGDB7			equ kE2BT2+37
kGDB8			equ kE2BT2+38
kGDB9			equ kE2BT2+39
kGDB0			equ kE2BT2+40
kPic7			equ kE2BT2+41
kPic8			equ kE2BT2+42
kPic9			equ kE2BT2+43
kPic0			equ kE2BT2+44
kStatN			equ kE2BT2+45
kXMean			equ kE2BT2+46
kConj			equ kE2BT2+47
kReal			equ kE2BT2+48
kFAngle			equ kE2BT2+49
kLCM			equ kE2BT2+50
kGCD			equ kE2BT2+51
kRandInt		equ kE2BT2+52
kRandNorm		equ kE2BT2+53
kToPolar		equ kE2BT2+54
kToRect			equ kE2BT2+55
kYMean			equ kE2BT2+56
kStdX			equ kE2BT2+57
kStdX1			equ kE2BT2+58
kw0			equ kE2BT2+59
kMatF			equ kE2BT2+60
kMatG			equ kE2BT2+61
kMatRH			equ kE2BT2+62
kMatI			equ kE2BT2+63
kMatJ			equ kE2BT2+64
kYMean1			equ kE2BT2+65
kStdY			equ kE2BT2+66
kStdY1			equ kE2BT2+67
kMatToLst		equ kE2BT2+68
kLstToMat		equ kE2BT2+69
kCumSum			equ kE2BT2+70
kDeltaLst		equ kE2BT2+71
kStdDev			equ kE2BT2+72
kVariance		equ kE2BT2+73
kLength			equ kE2BT2+74
kEquToStrng		equ kE2BT2+75
kStrngToEqu		equ kE2BT2+76
kExpr			equ kE2BT2+77
kSubStrng		equ kE2BT2+78
kInStrng		equ kE2BT2+79
kStr1			equ kE2BT2+80
kStr2			equ kE2BT2+81
kStr3			equ kE2BT2+82
kStr4           	equ kE2BT2+83
kStr5           	equ kE2BT2+84
kStr6           	equ kE2BT2+85
kStr7           	equ kE2BT2+86
kStr8           	equ kE2BT2+87
kStr9           	equ kE2BT2+88
kStr0           	equ kE2BT2+89
kFinN           	equ kE2BT2+90
kFinI           	equ kE2BT2+91
kFinPV          	equ kE2BT2+92
kFinPMT         	equ kE2BT2+93
kFinFV          	equ kE2BT2+94
kFinPY          	equ kE2BT2+95
kFinCY          	equ kE2BT2+96
kFinFPMT        	equ kE2BT2+97
kFinFI          	equ kE2BT2+98
kFinFPV         	equ kE2BT2+99
kFinFN          	equ kE2BT2+100
kFinFFV         	equ kE2BT2+101
kFinNPV         	equ kE2BT2+102
kFinIRR         	equ kE2BT2+103
kFinBAL         	equ kE2BT2+104
kFinPRN         	equ kE2BT2+105
kFinINT         	equ kE2BT2+106
kSumX           	equ kE2BT2+107
kSumX2          	equ kE2BT2+108
kFinToNom       	equ kE2BT2+109
kFinToEff       	equ kE2BT2+110
kFinDBD         	equ kE2BT2+111
kStatVP         	equ kE2BT2+112
kStatZ          	equ kE2BT2+113
kStatT          	equ kE2BT2+114
kStatChi        	equ kE2BT2+115
kStatF          	equ kE2BT2+116
kStatDF         	equ kE2BT2+117
kStatPhat       	equ kE2BT2+118
kStatPhat1      	equ kE2BT2+119
kStatPhat2      	equ kE2BT2+120
kStatMeanX1     	equ kE2BT2+121
kStatMeanX2     	equ kE2BT2+122
kStatStdX1      	equ kE2BT2+123
kStatStdX2      	equ kE2BT2+124
kStatStdXP		equ kE2BT2+125
kStatN1			equ kE2BT2+126
kStatN2			equ kE2BT2+127
kStatLower		equ kE2BT2+128
kStatUpper		equ kE2BT2+129
kuw0			equ kE2BT2+130
kImag			equ kE2BT2+131
kSumY			equ kE2BT2+132
kXres			equ kE2BT2+133
kStat_s			equ kE2BT2+134
kSumY2			equ kE2BT2+135
kSumXY			equ kE2BT2+136
kuXres			equ kE2BT2+137
kModBox			equ kE2BT2+138
kNormProb		equ kE2BT2+139
kNormalPDF		equ kE2BT2+140
kTPDF			equ kE2BT2+141
kChiPDF			equ kE2BT2+142
kFPDF			equ kE2BT2+143
kMinY			equ kE2BT2+144 ;MinY
kRandBin		equ kE2BT2+145
kRef			equ kE2BT2+146
kRRef			equ kE2BT2+147
kLRSqr			equ kE2BT2+148
kBRSqr			equ kE2BT2+149
kDiagOn			equ kE2BT2+150
kDiagOff		equ kE2BT2+151
kun1			equ kE2BT2+152 ;FOR RCL USE WHEN GOTTEN FROM 82
kvn1			equ kE2BT2+153 ;FOR RCL USE WHEN GOTTEN FROM 82
k83_00End		equ kvn1 ;end of original keys...
kArchive		equ k83_00End + 1
kUnarchive		equ k83_00End + 2
kAsm			equ k83_00End + 3 ;Asm(
kAsmPrgm		equ k83_00End + 4 ;AsmPrgm
kAsmComp		equ k83_00End + 5 ;AsmComp(
kcapAAcute		equ k83_00End + 6
kcapAGrave		equ k83_00End + 7
kcapACaret		equ k83_00End + 8
kcapADier		equ k83_00End + 9
kaAcute			equ k83_00End + 10
kaGrave			equ k83_00End + 11
kaCaret			equ k83_00End + 12
kaDier			equ k83_00End + 13
kcapEAcute		equ k83_00End + 14
kcapEGrave		equ k83_00End + 15
kcapECaret		equ k83_00End + 16
kcapEDier		equ k83_00End + 17
keAcute			equ k83_00End + 18
keGrave			equ k83_00End + 19
keCaret			equ k83_00End + 20
keDier			equ k83_00End + 21
kcapIAcute		equ k83_00End + 22
kcapIGrave		equ k83_00End + 23
kcapICaret		equ k83_00End + 24
kcapIDier		equ k83_00End + 25
kiAcute			equ k83_00End + 26
kiGrave			equ k83_00End + 27
kiCaret			equ k83_00End + 28
kiDier			equ k83_00End + 29
kcapOAcute		equ k83_00End + 30
kcapOGrave		equ k83_00End + 31
kcapOCaret		equ k83_00End + 32
kcapODier		equ k83_00End + 33
koAcute			equ k83_00End + 34
koGrave			equ k83_00End + 35
koCaret			equ k83_00End + 36
koDier			equ k83_00End + 37
kcapUAcute		equ k83_00End + 38
kcapUGrave		equ k83_00End + 39
kcapUCaret		equ k83_00End + 40
kcapUDier		equ k83_00End + 41
kuAcute			equ k83_00End + 42
kuGrave			equ k83_00End + 43
kuCaret			equ k83_00End + 44
kuDier			equ k83_00End + 45
kcapCCed		equ k83_00End + 46
kcCed			equ k83_00End + 47
kcapNTilde		equ k83_00End + 48
knTilde			equ k83_00End + 49
kaccent			equ k83_00End + 50
kgrave			equ k83_00End + 51
kdieresis		equ k83_00End + 52
kquesDown		equ k83_00End + 53
kexclamDown     	equ k83_00End + 54
kalpha          	equ k83_00End + 55
kbeta           	equ k83_00End + 56
kgamma          	equ k83_00End + 57
kcapDelta		equ k83_00End + 58
kdelta			equ k83_00End + 59
kepsilon		equ k83_00End + 60
klambda			equ k83_00End + 61
kmu			equ k83_00End + 62
kpi2			equ k83_00End + 63
krho			equ k83_00End + 64
kcapSigma		equ k83_00End + 65
ksigma			equ k83_00End + 66
ktau			equ k83_00End + 67
kphi			equ k83_00End + 68
kcapOmega		equ k83_00End + 69
kphat			equ k83_00End + 70
kchi2			equ k83_00End + 71
kstatF2			equ k83_00End + 72
kLa			equ k83_00End + 73
kLb			equ k83_00End + 74
kLc			equ k83_00End + 75
kLd			equ k83_00End + 76
kLe			equ k83_00End + 77
kLf			equ k83_00End + 78
kLg			equ k83_00End + 79
kLh			equ k83_00End + 80
kLi			equ k83_00End + 81
kLj			equ k83_00End + 82
kLk			equ k83_00End + 83
kLl			equ k83_00End + 84
kLm			equ k83_00End + 85
kLsmalln		equ k83_00End + 86
kLo			equ k83_00End + 87
kLp			equ k83_00End + 88
kLq			equ k83_00End + 89
kLsmallr		equ k83_00End + 90
kLs			equ k83_00End + 91
kLt			equ k83_00End + 92
kLu			equ k83_00End + 93
kLv			equ k83_00End + 94
kLw			equ k83_00End + 95
kLx			equ k83_00End + 96
kLy			equ k83_00End + 97
kLz			equ k83_00End + 98
kGarbageC		equ k83_00End + 99 ;GarbageCollect
kE2BT2_End		equ kGarbageC

;TI-83 Plus Context Equates
;---------------------------------------------
cxCmd			equ kQuit ;home screen
cxMatEdit		equ kMatrixEd ;matrix editor
cxPrgmEdit		equ kPrgmEd ;program editor
cxEquEdit		equ kYequ ;equation editor
cxGrRange		equ kWindow ;graph range editor
cxGrZfact		equ kZFactEd ;graph zoom factors editor
cxGraph			equ kGraph ;graph mode
cxStatEdit		equ kStatEd ;statistics list editor
cxPrgmInput		equ kPrgmInput ;programmed input
cxError			equ kError ;error handler
cxLinkIO		equ kLinkIO ;LINK I/O interface
cxMem			equ kResetMem ;reset memory
cxDefMem		equ kResetDef ;reset default
cxRAMApp		equ kChkRAM ;RAM usage screen
cxMode			equ kMode ;mode settings screen
cxErase			equ kDelMem ;memory erase
cxPrgmCreate		equ kPrgmCr ;PROGRAM CREATE
cxTableEditor		equ kTable ;TABLE EDITOR
cxTableSet		equ kTblSet ;TABLE SET UP
cxStatPlot		equ kStatP ;STAT PLOTS
cxInfStat		equ kInfStat ;Inferential Statistic
cxFormat		equ kFormat ;FORMAT CONTEXT
cxSolveTVM		equ kSolveTVM ;Solve TVM
cxSolveRoot		equ kSolveRoot ;Solve Root
lastOldApp		equ kExtApps ;external applications
cxextapps		equ kExtApps
cxNewApps		equ kNewApps ;new cerberus applications
cxGroup			equ cxNewApps+0 ;1st new app.
cxUnGroup		equ cxNewApps+1 ;2nd new app.
lastNewApp		equ cxUnGroup ;last new app for this ver

;Scan Code Equates
;-------------------------------
skDown			equ 01h
skLeft			equ 02h
skRight			equ 03h
skUp			equ 04h
skEnter			equ 09h
skAdd			equ 0Ah
skSub			equ 0Bh
skMul			equ 0Ch
skDiv			equ 0Dh
skPower			equ 0Eh
skClear			equ 0Fh
skChs			equ 11h
sk3			equ 12h
sk6			equ 13h
sk9			equ 14h
skRParen		equ 15h
skTan			equ 16h
skVars			equ 17h
skDecPnt		equ 19h
sk2			equ 1Ah
sk5			equ 1Bh
sk8			equ 1Ch
skLParen		equ 1Dh
skCos			equ 1Eh
skPrgm			equ 1Fh
skStat			equ 20h
sk0			equ 21h
sk1			equ 22h
sk4			equ 23h
sk7			equ 24h
skComma			equ 25h
skSin			equ 26h
skMatrix		equ 27h
skGraphvar		equ 28h
skStore			equ 2Ah
skLn			equ 2Bh
skLog			equ 2Ch
skSquare		equ 2Dh
skRecip			equ 2Eh
skMath			equ 2Fh
skAlpha			equ 30h
skGraph			equ 31h
skTrace			equ 32h
skZoom			equ 33h
skWindow		equ 34h
skYEqu			equ 35h
sk2nd			equ 36h
skMode			equ 37h
skDel			equ 38h

;Tokens
;----------------------------------------------------
EOSSTART		equ 0

;DISPLAY CONVERSIONS COME IMMEDIATELY BEFORE 'TSTORE'
;
DCONV			equ 01h
;
tToDMS			equ DCONV ;01h
tToDEC			equ DCONV+1 ;02h
tToAbc			equ DCONV+2 ;03h > A b/c
;
tStore			equ DCONV+3 ;04h Lstore 01
;
tBoxPlot		equ 05h
;
BRACKS			equ 06h
;
tLBrack			equ BRACKS ;06h '['
tRBrack			equ BRACKS+1 ;07h ']'
tLBrace			equ BRACKS+2 ;08h '{'
tRBrace			equ BRACKS+3 ;09h '}'
;
tPOST1			equ BRACKS+4
;
tFromRad		equ tPOST1 ;0Ah Lradian
tFromDeg		equ tPOST1+1 ;0Bh Ldegree
tRecip			equ tPOST1+2 ;0Ch Linverse
tSqr			equ tPOST1+3 ;0Dh Lsquare
tTrnspos		equ tPOST1+4 ;0Eh Ltranspose
tCube			equ tPOST1+5 ;0Fh '^3'
;
tLParen			equ 10h ;10h '('
tRParen			equ 11h ;11h ')'
;
IMUN			equ 12h
;
tRound			equ IMUN ;12h 'round'
tPxTst			equ IMUN+1 ;13h 'PXL-TEST'
tAug			equ IMUN+2 ;14h 'aug'
tRowSwap		equ IMUN+3 ;15h 'rSwap'
tRowPlus		equ IMUN+4 ;16h 'rAdd'
tmRow			equ IMUN+5 ;17h 'multR'
tmRowPlus		equ IMUN+6 ;18h 'mRAdd'
tMax			equ IMUN+7 ;19h 'max'
tMin			equ IMUN+8 ;1Ah 'min'
tRToPr			equ IMUN+9 ;1Bh 'R>Pr
tRToPo			equ IMUN+10 ;1Ch 'R>Po
tPToRx			equ IMUN+11 ;1Dh 'P>Rx
tPToRy			equ IMUN+12 ;1Eh 'P>Ry
tMedian			equ IMUN+13 ;1Fh 'MEDIAN
tRandM			equ IMUN+14 ;20h 'randM'
tMean			equ IMUN+15 ;21h
tRoot			equ IMUN+16 ;22h 'ROOT'
tSeries			equ IMUN+17 ;23h 'seq'
tFnInt			equ IMUN+18 ;24h 'fnInt'
tNDeriv			equ IMUN+19 ;25h 'fnIr'
tEvalF			equ IMUN+20 ;26h
tFmin			equ IMUN+21 ;27h
tFmax			equ IMUN+22 ;28h
;
tEOSEL			equ IMUN+23
;
tSpace			equ tEOSEL ;29h ' '
tString			equ tEOSEL+1 ;2Ah '"'
tComma			equ tEOSEL+2 ;2Bh ','
;
tii			equ 2Ch ;i

;Postfix Functions
;-----------------------------------------
tPost			equ 2Dh
;
tFact			equ tPost ;2Dh '!'
;
tCubicR			equ 2Eh
tQuartR			equ 2Fh

;Number Tokens 
;---------------------------------------
NUMS			equ 30h
;
t0			equ NUMS ;30h
t1			equ NUMS+1 ;31h
t2			equ NUMS+2 ;32h
t3			equ NUMS+3 ;33h
t4			equ NUMS+4 ;34h
t5			equ NUMS+5 ;35h
t6			equ NUMS+6 ;36h
t7			equ NUMS+7 ;37h
t8			equ NUMS+8 ;38h
t9			equ NUMS+9 ;39h
tDecPt			equ NUMS+10 ;3Ah
tee			equ NUMS+11 ;3Bh

;Binary OP
;-------------------------------------------
tOr			equ 3Ch ;3Ch '_or_'
tXor			equ 3Dh ;3Dh
;
tColon			equ 3Eh ;3Eh ':'
tEnter			equ 3Fh ;3Fh Lenter
;
tAnd			equ 40h ;40h '_and_'

;Letter Tokens
;--------------------------------------
LET			equ 41h
tA			equ LET ;41h
tB			equ LET+1 ;42h
tC			equ LET+2 ;43h
tD			equ LET+3 ;44h
tE			equ LET+4 ;45h
tF			equ LET+5 ;46h
tG			equ LET+6 ;47h
tH			equ LET+7 ;48h
tI			equ LET+8 ;49h
tJ			equ LET+9 ;4Ah
tK			equ LET+10 ;4Bh
tL			equ LET+11 ;4Ch
tM			equ LET+12 ;4Dh
tN			equ LET+13 ;4Eh
tO			equ LET+14 ;4Fh
tP			equ LET+15 ;50h
tQ			equ LET+16 ;51h
tR			equ LET+17 ;52h
tS			equ LET+18 ;53h
tT			equ LET+19 ;54h
tU			equ LET+20 ;55h
tV			equ LET+21 ;56h
tW			equ LET+22 ;57h
tX			equ LET+23 ;58h
tY			equ LET+24 ;59h
tZ			equ LET+25 ;5Ah
tTheta			equ LET+26 ;5Bh

;These Var Tokens Are 1st Of A Double Token
;------------------------------------------

vToks			equ LET+27

;User Matrix Token, 2nd Token Needed For Name
;
tVarMat			equ vToks ;5Ch
;
;User List Token, 2nd Token Needed For Name
;
tVarLst			equ vToks+1 ;5Dh
;
;User Equation Token, 2nd Token Needed For Name
;
tVarEqu			equ vToks+2 ;5Eh
tProg			equ vToks+3 ;5Fh
;
;User Pict Token, 2nd Token Needed For Name
;
tVarPict		equ vToks+4 ;60h
;
;User GDB Token, 2nd Token Needed For Name
;
tVarGDB			equ vToks+5 ;61h
tVarOut			equ vToks+6 ;62h
tVarSys			equ vToks+7 ;63h

;Mode Setting Commands
;-------------------------------------------------
MODESA			equ vToks+8 ;64h
tRad			equ MODESA ;64h 'Radian'
tDeg			equ MODESA+1 ;65h 'Degree'
tNormF			equ MODESA+2 ;66h 'Normal'
tSci			equ MODESA+3 ;67h 'Sci'
tEng			equ MODESA+4 ;68h 'Eng'
tFloat			equ MODESA+5 ;69h 'Float'
CMPS			equ 6Ah
tEQ			equ CMPS ;6Ah '=='
tLT			equ CMPS+1 ;6Bh '<'
tGT			equ CMPS+2 ;6Ch '>'
tLE			equ CMPS+3 ;6Dh LLE
tGE			equ CMPS+4 ;6Eh LGE
tNE			equ CMPS+5 ;6Fh LNE

;Binary OP
;---------------------------------------
tAdd			equ 70h ;70h '+'
tSub			equ 71h ;71h '-'
tAns			equ 72h ;72h

;Mode Setting Commands
;-------------------------------------------------------
MODES			equ 73h
tFix			equ MODES ;73h 'Fix_'
tSplitOn		equ MODES+1 ;74h
tFullScreen		equ MODES+2 ;75h
tStndrd			equ MODES+3 ;76h 'Func'
tParam			equ MODES+4 ;77h 'Param'
tPolar			equ MODES+5 ;78h 'Pol'
tSeqG			equ MODES+6 ;79h
tAFillOn		equ MODES+7 ;7Ah 'AUTO FILL ON'
tAFillOff		equ MODES+8 ;7Bh
tACalcOn		equ MODES+9 ;7Ch
tACalcOff		equ MODES+10 ;7Dh 'AutoFill OFF'

;Graph Format Tokens Are 2 Byte Tokens
;----------------------------------------
tGFormat		equ MODES+11 ;7Eh
tBoxIcon		equ 7Fh
tCrossIcon		equ 80h
tDotIcon		equ 81h

;(More) Binary OP
;---------------------------------------
tMul			equ 82h ;82h '*'
tDiv			equ 83h ;83h '/'

;Some Graph Commands
;------------------------------------------------------
GRCMDS			equ 84h
tTrace			equ GRCMDS ; 84h 'Trace'
tClDrw			equ GRCMDS+1 ; 85h 'ClDrw'
tZoomStd		equ GRCMDS+2 ; 86h 'ZStd'
tZoomtrg		equ GRCMDS+3 ; 87h 'Ztrg'
tZoomBox		equ GRCMDS+4 ; 88h 'ZBOX'
tZoomIn			equ GRCMDS+5 ; 89h 'ZIn'
tZoomOut		equ GRCMDS+6 ; 8Ah 'ZOut'
tZoomSqr		equ GRCMDS+7 ; 8Bh 'ZSqr'
tZoomInt		equ GRCMDS+8 ; 8Ch 'ZInt'
tZoomPrev		equ GRCMDS+9 ; 8Dh 'ZPrev'
tZoomDec		equ GRCMDS+10 ; 8Eh 'ZDecm'
tZoomStat		equ GRCMDS+11 ; 8Fh 'ZStat
tUsrZm			equ GRCMDS+12 ; 90h 'ZRcl'
tPrtScrn		equ GRCMDS+13 ; 91h 'PrtScrn'
tZoomSto		equ GRCMDS+14 ; 92h  ZOOM STORE
tText			equ GRCMDS+15 ; 93h

;Binary OP (Combination & Permutation)
;-------------------------------------------------
tnPr			equ GRCMDS+16 ;94h '_nPr_'
tnCr			equ GRCMDS+17 ;95h '_nCr_'

;More Graph Commands
;--------------------------------------------------
tYOn			equ GRCMDS+18 ;96h 'FnOn_'
tYOff			equ GRCMDS+19 ;97h 'FnOff_'
tStPic			equ GRCMDS+20 ;98h 'StPic_'
tRcPic			equ GRCMDS+21 ;99h 'RcPic_'
tStoDB			equ GRCMDS+22 ;9Ah 'StGDB_'
tRclDB			equ GRCMDS+23 ;9Bh 'RcGDB_'
tLine			equ GRCMDS+24 ;9Ch 'Line'
tVert			equ GRCMDS+25 ;9Dh 'Vert_'
tPtOn			equ GRCMDS+26 ;9Eh 'PtOn'
tPtOff			equ GRCMDS+27 ;9Fh 'PtOff'

;Token A0 Cannot Be An EOS Function Since Low MULT=A0 Already
;------------------------------------------------------------
tPtChg			equ GRCMDS+28 ;A0h 'PtChg'
tPXOn			equ GRCMDS+29 ;A1h
tPXOff			equ GRCMDS+30 ;A2h
tPXChg			equ GRCMDS+31 ;A3h
tShade			equ GRCMDS+32 ;A4h 'Shade'
tCircl			equ GRCMDS+33 ;A5h 'Circl'
tHorz			equ GRCMDS+34 ;A6h 'HORIZONTAL'
tTanLn			equ GRCMDS+35 ;A7h 'TanLn'
tDrInv			equ GRCMDS+36 ;A8h 'DrInv_'
tDrawF			equ GRCMDS+37 ;A9h 'DrawF_'
tVarStrng		equ 0AAh

;Functions with No Arguments                                    
;--------------------------------------------------
NOARG			equ 0ABh
tRand			equ NOARG ;ABh 'rand'
tPi			equ NOARG+1 ;ACh  Lpi
tGetKey			equ NOARG+2 ;ADh 'getKy'
tAPost			equ tGetKey+1 ;APOSTROPHY
tQuest			equ tAPost+1 ;QUESTION MARK
UNARY			equ tQuest+1 ;B0h
tChs			equ UNARY ;B0h
tInt			equ UNARY+1 ;B1h
tAbs			equ UNARY+2 ;B2h
tDet			equ UNARY+3 ;B3h
tIdent			equ UNARY+4 ;B4h
tDim			equ UNARY+5 ;B5h
tSum			equ UNARY+6 ;B6h
tProd			equ UNARY+7 ;B7h
tNot			equ UNARY+8 ;B8h
tIPart			equ UNARY+9 ;B9h
tFPart			equ UNARY+10 ;BAh

;New 2 Byte Tokens
;------------------------------------------
t2ByteTok		equ 0BBh
UNARYLR			equ UNARY+12
tSqrt			equ UNARYLR ;BCh
tCubRt			equ UNARYLR+1 ;BDh
tLn			equ UNARYLR+2 ;BEh
tExp			equ UNARYLR+3 ;BFh
tLog			equ UNARYLR+4 ;C0h
tALog			equ UNARYLR+5 ;C1h
tSin			equ UNARYLR+6 ;C2h
tASin			equ UNARYLR+7 ;C3h
tCos			equ UNARYLR+8 ;C4h
tACos			equ UNARYLR+9 ;C5h
tTan			equ UNARYLR+10 ;C6h
tATan			equ UNARYLR+11 ;C7h
tSinH			equ UNARYLR+12 ;C8h
tASinH			equ UNARYLR+13 ;C9h
tCoshH			equ UNARYLR+14 ;CAh
tACosH			equ UNARYLR+15 ;CBh
tTanH			equ UNARYLR+16 ;CCh
tATanH			equ UNARYLR+17 ;CDh

;Some Programming Commands
;------------------------------------------------------
PROGTOK			equ UNARYLR+18
tIf			equ PROGTOK ;CEh
tThen			equ PROGTOK+1 ;CFh
tElse			equ PROGTOK+2 ;D0h
tWhile			equ PROGTOK+3 ;D1h
tRepeat			equ PROGTOK+4 ;D2h
tFor			equ PROGTOK+5 ;D3h
tEnd			equ PROGTOK+6 ;D4h
tReturn			equ PROGTOK+7 ;D5h
tLbl			equ PROGTOK+8 ;D6h 'Lbl_'
tGoto			equ PROGTOK+9 ;D7h 'Goto_'
tPause			equ PROGTOK+10 ;D8h 'Pause_'
tStop			equ PROGTOK+11 ;D9h 'Stop'
tISG			equ PROGTOK+12 ;DAh 'IS>'
tDSL			equ PROGTOK+13 ;DBh 'DS<'
tInput			equ PROGTOK+14 ;DCh 'Input_'
tPrompt			equ PROGTOK+15 ;DDh 'Prompt_'
tDisp			equ PROGTOK+16 ;DEh 'Disp_'
tDispG			equ PROGTOK+17 ;DFh 'DispG'
tOutput			equ PROGTOK+18 ;E0h 'Outpt'
tClLCD			equ PROGTOK+19 ;E1h 'ClLCD'
tConst			equ PROGTOK+20 ;E2h 'Fill'
tSortA			equ PROGTOK+21 ;E3h 'sortA_'
tSortD			equ PROGTOK+22 ;E4h 'sortD_'
tDispTab		equ PROGTOK+23 ;E5h 'Disp Table
tMenu			equ PROGTOK+24 ;E6h 'Menu'
tSendMBL		equ PROGTOK+25 ;E7h 'SEND'
tGetMBL			equ PROGTOK+26 ;E8h 'GET'

;Stat Plot Commands
;------------------------------------------------------
statPCmd		equ PROGTOK+27
tPlotOn			equ statPCmd ;E9h ' PLOTSON'
tPlotOff		equ statPCmd+1 ;EAh ' PLOTSOFF
tListName		equ 0EBh ;LIST DESIGNATOR
tPlot1			equ 0ECh
tPlot2			equ 0EDh
tPlot3			equ 0EEh
tUnused01		equ 0EFh ;available?
tPower			equ 0F0h ;'^'
tXRoot			equ 0F1h ;LsupX,Lroot
STATCMD			equ 0F2h
tOneVar			equ STATCMD ;F2h 'OneVar_'
tTwoVar			equ STATCMD+1 ;F3h
tLR			equ STATCMD+2 ;F4h 'LinR(A+BX
tLRExp			equ STATCMD+3 ;F5h 'ExpR_'
tLRLn			equ STATCMD+4 ;F6h 'LnR_'
tLRPwr			equ STATCMD+5 ;F7h 'PwrR_'
tMedMed			equ STATCMD+6 ;F8h
tQuad			equ STATCMD+7 ;F9h
tClrLst			equ STATCMD+8 ;FAh 'CLEAR LIST
tClrTbl			equ STATCMD+9 ;FBh CLEAR TABLE
tHist			equ STATCMD+10 ;FCh 'Hist_'
txyLine			equ STATCMD+11 ;FDh 'xyline_'
tScatter		equ STATCMD+12 ;FEh 'Scatter_'
tLR1			equ STATCMD+13 ;FFh 'LINR(AX+B

;2nd Half Of Graph Format Tokens
;----------------------------------------------
;           Format settings commands
;
GFMT			equ 0
tSeq			equ GFMT ; 'SeqG'
tSimulG			equ GFMT+1 ; 'SimulG'
tPolarG			equ GFMT+2 ; 'PolarGC'
tRectG			equ GFMT+3 ; 'RectGC'
tCoordOn		equ GFMT+4 ; 'CoordOn'
tCoordOff		equ GFMT+5 ; 'CoordOff'
tDrawLine		equ GFMT+6 ; 'DrawLine'
tDrawDot		equ GFMT+7 ; 'DrawDot'
tAxisOn			equ GFMT+8 ; 'AxesOn'
tAxisOff		equ GFMT+9 ; 'AxesOff'
tGridOn			equ GFMT+10 ; 'GridOn'
tGridOff		equ GFMT+11 ; 'GridOff'
tLblOn			equ GFMT+12 ; 'LabelOn'
tLblOff			equ GFMT+13 ; 'LabelOff'
tWebOn			equ GFMT+14 ; 'WebOn'
tWebOff			equ GFMT+15 ; 'WebOFF'
tuv			equ GFMT+16 ; U vs V
tvw			equ GFMT+17 ; V vs W
tuw			equ GFMT+18 ; U vs W

;2nd Half Of User Matrix Tokens
;-------------------------------------
tMatA			equ 00h ;MAT A
tMatB			equ 01h ;MAT B
tMatC			equ 02h ;MAT C
tMatD			equ 03h ;MAT D
tMatE			equ 04h ;MAT E
tMatF			equ 05h ;MAT F
tMatG			equ 06h ;MAT G
tMatH			equ 07h ;MAT H
tMatI			equ 08h ;MAT I
tMatJ			equ 09h ;MAT J

;2nd Half Of User List Tokens
;--------------------------------------
tL1			equ 00h ;LIST 1
tL2			equ 01h ;LIST 2
tL3			equ 02h ;LIST 3
tL4			equ 03h ;LIST 4
tL5			equ 04h ;LIST 5
tL6			equ 05h ;LIST 6

;2nd Half Of User Equation Tokens
;----------------------------------
;  "Y" EQUATIONS HAVE BIT 4 SET
;
tY1			equ 10h ;Y1
tY2			equ 11h ;Y2
tY3			equ 12h ;Y3
tY4			equ 13h ;Y4
tY5			equ 14h ;Y5
tY6			equ 15h ;Y6
tY7			equ 16h ;Y7
tY8			equ 17h ;Y8
tY9			equ 18h ;Y9
tY0			equ 19h ;Y0

;Param Equations Have Bit 5 Set
;-----------------------------------
tX1T			equ 20h ;X1t
tY1T			equ 21h ;Y1t
tX2T			equ 22h ;X2t
tY2T			equ 23h ;Y2t
tX3T			equ 24h ;X3t
tY3T			equ 25h ;Y3t
tX4T			equ 26h ;X4t
tY4T			equ 27h ;Y4t
tX5T			equ 28h ;X5t
tY5T			equ 29h ;Y5t
tX6T			equ 2Ah ;X6t
tY6T			equ 2Bh ;Y6t

;Polar Equations Have Bit 6 Set
;----------------------------------
tR1			equ 40h ;R1
tR2			equ 41h ;R2
tR3			equ 42h ;R3
tR4			equ 43h ;R4
tR5			equ 44h ;R5
tR6			equ 45h ;R6

;Recursion Equations Have Bit 7 Set
;----------------------------------
tun			equ 80h ;Un
tvn			equ 81h ;Vn
twn			equ 82h ;Wn

;2nd Half Of User Picture Tokens
;------------------------------------
tPic1			equ 00h ;PIC1
tPic2			equ 01h ;PIC2
tPic3			equ 02h ;PIC3
tPic4			equ 03h ;PIC4
tPic5			equ 04h ;PIC5
tPic6			equ 05h ;PIC6
tPic7			equ 06h ;PIC7
tPic8			equ 07h ;PIC8
tPic9			equ 08h ;PIC9
tPic0			equ 09h ;PIC0

;2nd Half Of User Graph Database Tokens
;--------------------------------------
tGDB1			equ 00h ;GDB1
tGDB2			equ 01h ;GDB2
tGDB3			equ 02h ;GDB3
tGDB4			equ 03h ;GDB4
tGDB5			equ 04h ;GDB5
tGDB6			equ 05h ;GDB6
tGDB7			equ 06h ;GDB7
tGDB8			equ 07h ;GDB8
tGDB9			equ 08h ;GDB9
tGDB0			equ 09h ;GDB0

;2nd Half Of String Vars
;------------------------------
tStr1			equ 00h
tStr2			equ 01h
tStr3			equ 02h
tStr4			equ 03h
tStr5			equ 04h
tStr6			equ 05h
tStr7			equ 06h
tStr8			equ 07h
tStr9			equ 08h
tStr0			equ 09h

;2nd Half Of System Output Only Variables
;-----------------------------------------------------------------
;OPEN			equ 00h
tRegEq			equ 01h ;REGRESSION EQUATION
tStatN			equ 02h ;STATISTICS N
tXMean			equ 03h ;X MEAN
tSumX			equ 04h ;SUM(X)
tSumXSqr		equ 05h ;SUM(X^2)
tStdX			equ 06h ;STANDARD DEV X
tStdPX			equ 07h ;STANDARD DEV POP X
tMinX			equ 08h ;Min X VALUE
tMaxX			equ 09h ;Max X VALUE
tMinY			equ 0Ah ;Min Y VALUE
tMaxY			equ 0Bh ;Max Y VALUE
tYmean			equ 0Ch ;Y MEAN
tSumY			equ 0Dh ;SUM(Y)
tSumYSqr		equ 0Eh ;SUM(Y^2)
tStdY			equ 0Fh ;STANDARD DEV Y
tStdPY			equ 10h ;STANDARD DEV POP Y
tSumXY			equ 11h ;SUM(XY)
tCorr			equ 12h ;CORRELATION
tMedX			equ 13h ;MED(X)
tQ1			equ 14h ;1ST QUADRANT OF X
tQ3			equ 15h ;3RD QUADRANT OF X
tQuadA			equ 16h ;1ST TERM OF QUAD POLY REG/ Y-INT
tQuadB			equ 17h ;2ND TERM OF QUAD POLY REG/ SLOPE
tQuadC			equ 18h ;3RD TERM OF QUAD POLY REG
tCubeD			equ 19h ;4TH TERM OF CUBIC POLY REG
tQuartE			equ 1Ah ;5TH TERM OF QUART POLY REG
tMedX1			equ 1Bh ;x1 FOR MED-MED
tMedX2			equ 1Ch ;x2 FOR MED-MED
tMedX3			equ 1Dh ;x3 FOR MED-MED
tMedY1			equ 1Eh ;y1 FOR MED-MED
tMedY2			equ 1Fh ;y2 FOR MED-MED
tMedY3			equ 20h ;y3 FOR MED-MED
tRecurn			equ 21h	;RECURSION N
tStatP			equ 22h
tStatZ			equ 23h
tStatT			equ 24h
tStatChi		equ 25h
tStatF			equ 26h
tStatDF			equ 27h
tStatPhat		equ 28h
tStatPhat1		equ 29h
tStatPhat2		equ 2Ah
tStatMeanX1		equ 2Bh
tStatStdX1		equ 2Ch
tStatN1			equ 2Dh
tStatMeanX2		equ 2Eh
tStatStdX2		equ 2Fh
tStatN2			equ 30h
tStatStdXP		equ 31h
tStatLower		equ 32h
tStatUpper		equ 33h
tStat_s			equ 34h
tLRSqr			equ 35h ;r^2
tBRSqr			equ 36h ;R^2

;These next tokens are only used to access the data
;they are display only and the user cannot access them at all
;------------------------------------------------------------
tF_DF			equ 37h ;ANOFAV FACTOR DF
tF_SS			equ 38h ;ANOFAV FACTOR SS
tF_MS			equ 39h ;ANOFAV FACTOR MS
tE_DF			equ 3Ah ;ANOFAV ERROR DF
tE_SS			equ 3Bh ;ANOFAV ERROR SS
tE_MS			equ 3Ch ;ANOFAV ERROR MS

;2nd Half Of System Input/Output Variables
;------------------------------------------------
;      SYSTEM VARIABLE EQUATES
;
tuXscl			equ 0
tuYscl			equ 1
tXscl			equ 2
tYscl			equ 3
tRecuru0		equ 4 ;U 1ST INITIAL COND
tRecurv0		equ 5 ;V 1ST INITIAL COND
tun1			equ 6 ;U(N-1); NOT USED
tvn1			equ 7 ;V(N-1); NOT USED
tuRecuru0		equ 8 ;
tuRecurv0		equ 9 ;
tXmin			equ 0Ah
tXmax			equ 0Bh
tYmin			equ 0Ch
tYmax			equ 0Dh
tTmin			equ 0Eh
tTmax			equ 0Fh
tThetaMin		equ 10h
tThetaMax		equ 11h
tuXmin			equ 12h
tuXmax			equ 13h
tuYmin			equ 14h
tuYmax			equ 15h
tuThetMin		equ 16h
tuThetMax		equ 17h
tuTmin			equ 18h
tuTmax			equ 19h
tTblMin			equ 1Ah
tPlotStart		equ 1Bh
tuPlotStart		equ 1Ch
tnMax			equ 1Dh
tunMax			equ 1Eh
tnMin			equ 1Fh
tunMin			equ 20h
tTblStep		equ 21h
tTStep			equ 22h
tThetaStep		equ 23h
tuTStep			equ 24h
tuThetStep		equ 25h
tDeltaX			equ 26h
tDeltaY			equ 27h
tXFact			equ 28h
tYFact			equ 29h
tTblInput		equ 2Ah
tFinN			equ 2Bh
tFinI			equ 2Ch
tFinPV			equ 2Dh
tFinPMT			equ 2Eh
tFinFV			equ 2Fh
tFinPY			equ 30h
tFinCY			equ 31h
tRecurw0		equ 32h ;w0(1)
tuRecurw0		equ 33h
tPlotStep		equ 34h
tuPlotStep		equ 35h
tXres			equ 36h
tuXres			equ 37h
tRecuru02		equ 38h ;u0(2)
tuRecuru02		equ 39h
tRecurv02		equ 3Ch ;v0(2)
tuRecurv02		equ 3Dh
tRecurw02		equ 3Eh ;w0(2)
tuRecurw02		equ 3Fh

;2nd Byte Of t2ByteTok Tokens
;------------------------------
tFinNPV			equ 00h
tFinIRR			equ 01h
tFinBAL			equ 02h
tFinPRN			equ 03h
tFinINT			equ 04h
tFinToNom		equ 05h
tFinToEff		equ 06h
tFinDBD			equ 07h
tLCM			equ 08h
tGCD			equ 09h
tRandInt		equ 0Ah
tRandBin		equ 0Bh
tSubStrng		equ 0Ch
tStdDev			equ 0Dh
tVariance		equ 0Eh
tInStrng		equ 0Fh
tDNormal		equ 10h
tInvNorm		equ 11h
tDT			equ 12h
tChI			equ 13h
tDF			equ 14h
tBINPDF			equ 15h
tBINCDF			equ 16h
tPOIPDF			equ 17h
tPOICDF			equ 18h
tGEOPDF			equ 19h
tGEOCDF			equ 1Ah
tNormalPDF		equ 1Bh
tTPDF			equ 1Ch
tChiPDF			equ 1Dh
tFPDF			equ 1Eh
tRandNorm		equ 1Fh
tFinFPMT		equ 20h
tFinFI			equ 21h
tFinFPV			equ 22h
tFinFN			equ 23h
tFinFFV			equ 24h
tConj			equ 25h
tReal			equ 26h
tImag			equ 27h
tAngle			equ 28h
tCumSum			equ 29h
tExpr			equ 2Ah
tLength			equ 2Bh
tDeltaLst		equ 2Ch
tRef			equ 2Dh
tRRef			equ 2Eh
tToRect			equ 2Fh
tToPolar		equ 30h
tConste			equ 31h
tSinReg			equ 32h
tLogistic		equ 33h
tLinRegTTest		equ 34h
tShadeNorm		equ 35h
tShadeT			equ 36h
tShadeChi		equ 37h
tShadeF			equ 38h
tMatToLst		equ 39h
tLstToMat		equ 3Ah
tZTest			equ 3Bh
tTTest			equ 3Ch
t2SampZTest		equ 3Dh
t1PropZTest		equ 3Eh
t2PropZTest		equ 3Fh
tChiTest		equ 40h
tZIntVal		equ 41h
t2SampZInt		equ 42h
t1PropZInt		equ 43h
t2PropZInt		equ 44h
tGraphStyle		equ 45h
t2SampTTest		equ 46h
t2SampFTest		equ 47h
tTIntVal		equ 48h
t2SampTInt		equ 49h
tSetupLst		equ 4Ah
tFinPMTend		equ 4Bh
tFinPMTbeg		equ 4Ch
tRealM			equ 4Dh
tPolarM			equ 4Eh
tRectM			equ 4Fh
tExprOn			equ 50h
tExprOff		equ 51h
tClrAllLst		equ 52h
tGetCalc		equ 53h
tDelVar			equ 54h
tEquToStrng		equ 55h
tStrngToEqu		equ 56h
tDelLast		equ 57h
tSelect			equ 58h
tANOVA			equ 59h
tModBox			equ 5Ah
tNormProb		equ 5Bh
tMGT			equ 64h ;VERTICAL SPLIT
tZFit			equ 65h ;ZOOM FIT
tDiag_on		equ 66h ;DIANOSTIC DISPLAY ON
tDiag_off		equ 67h ;DIANOSTIC DISPLAY OFF
tOkEnd2v0		equ 67h ;end of 2byte tokens for version 0.
tArchive		equ 68h ;archive
tUnarchive		equ 69h ;unarchive
tasm			equ 6Ah
tasmComp		equ 6Bh	;asm compile
tasmPrgm		equ 6Ch	;signifies a program is asm
tasmCmp			equ 6Dh	;asm program is compiled
tLcapAAcute		equ 6Eh
tLcapAGrave		equ 6Fh
tLcapACaret		equ 70h
tLcapADier		equ 71h
tLaAcute		equ 72h
tLaGrave		equ 73h
tLaCaret		equ 74h
tLaDier			equ 75h
tLcapEAcute		equ 76h
tLcapEGrave		equ 77h
tLcapECaret		equ 78h
tLcapEDier		equ 79h
tLeAcute		equ 7Ah
tLeGrave		equ 7Bh
tLeCaret		equ 7Ch
tLeDier			equ 7Dh
tLcapIGrave		equ 7Fh
tLcapICaret		equ 80h
tLcapIDier		equ 81h
tLiAcute		equ 82h
tLiGrave		equ 83h
tLiCaret		equ 84h
tLiDier			equ 85h
tLcapOAcute		equ 86h
tLcapOGrave		equ 87h
tLcapOCaret		equ 88h
tLcapODier		equ 89h
tLoAcute		equ 8Ah
tLoGrave		equ 8Bh
tLoCaret		equ 8Ch
tLoDier			equ 8Dh
tLcapUAcute		equ 8Eh
tLcapUGrave		equ 8Fh
tLcapUCaret		equ 90h
tLcapUDier		equ 91h
tLuAcute		equ 92h
tLuGrave		equ 93h
tLuCaret		equ 94h
tLuDier			equ 95h
tLcapCCed		equ 96h
tLcCed			equ 97h
tLcapNTilde		equ 98h
tLnTilde		equ 99h
tLaccent		equ 9Ah
tLgrave			equ 9Bh
tLdieresis		equ 9Ch
tLquesDown		equ 9Dh
tLexclamDown		equ 9Eh
tLalpha			equ 9Fh
tLbeta			equ 0A0h
tLgamma			equ 0A1h
tLcapDelta		equ 0A2h
tLdelta			equ 0A3h
tLepsilon		equ 0A4h
tLlambda		equ 0A5h
tLmu			equ 0A6h
tLpi			equ 0A7h
tLrho			equ 0A8h
tLcapSigma		equ 0A9h
tLphi			equ 0ABh
tLcapOmega		equ 0ACh
tLphat			equ 0ADh
tLchi			equ 0AEh
tLstatF			equ 0AFh
tLa			equ 0B0h
tLb			equ 0B1h
tLc			equ 0B2h
tLd			equ 0B3h
tLsmalle		equ 0B4h
tLf			equ 0B5h
tLsmallg		equ 0B6h
tLh			equ 0B7h
tLi			equ 0B8h
tLj			equ 0B9h
tLk			equ 0BAh
tLl			equ 0BCh
tLm			equ 0BDh
tLsmalln		equ 0BEh
tLo			equ 0BFh
tLp			equ 0C0h
tLq			equ 0C1h
tLsmallr		equ 0C2h
tLs			equ 0C3h
tLsmallt		equ 0C4h
tLu			equ 0C5h
tLv			equ 0C6h
tLw			equ 0C7h
tLx			equ 0C8h
tLy			equ 0C9h
tLz			equ 0CAh
tLsigma			equ 0CBh
tLtau			equ 0CCh
tLcapIAcute		equ 0CDh
tGarbagec		equ 0CEh
LastToken		equ 0CEh ;tLAST TOKEN IN THIS VERSION...

;Data Type Equates                                                    
;---------------------------------------------------------------------
RealObj			equ 0
ListObj			equ 1
MatObj			equ 2
EquObj			equ 3
StrngObj		equ 4
ProgObj			equ 5
ProtProgObj		equ 6
PictObj			equ 7
GDBObj			equ 8
UnknownObj		equ 9
UnknownEquObj		equ 0Ah
NewEquObj		equ 0Bh
CplxObj			equ 0Ch
CListObj		equ 0Dh
UndefObj		equ 0Eh
WindowObj		equ 0Fh
ZStoObj			equ 10h
TblRngObj		equ 11h
LCDObj			equ 12h
BackupObj		equ 13h
AppObj			equ 14h	;application, only used in menus/link
AppVarObj		equ 15h	;application variable
TempProgObj		equ 16h ;program, home deletes when finished
GroupObj		equ 17h ;group.

;I/O Equates                                                          
;---------------------------------------------------
D0D1_bits		equ 03h
D0LD1L			equ 03h
D0LD1H			equ 01h
D0HD1L			equ 02h
D0HD1H			equ 00h
bport			equ 0 ;4-bit link port (I/O) 

;Device Codes
;-----------------------------------------------------------------
TI82DEV			equ 82h
PC82DEV			equ 02h
MAC82DEV		equ 12h
TI83FDEV		equ 73h
LINK83FDEV		equ 23h
TI83DEV			equ 83h
PC83DEV			equ 03h
MAC83DEV		equ 13h
TI85DEV			equ 95h ;different than real 85 so me talk
PC85DEV			equ 05h
MAC85DEV		equ 15h
TI73DEV			equ 74h ;device x3 is always an 83
PC73DEV			equ 07h
MAC73DEV		equ 17h
LINK73FDEV		equ 23h
PC83FDEV		equ 23h

;System Error Codes                                                  
;-----------------------------------------------------------
E_EDITF			equ 7 ;allow re-entering application
E_EDIT			equ 1<<E_EDITF
E_Mask			equ 7Fh
E_Overflow		equ 1+E_EDIT
E_DivBy0		equ 2+E_EDIT
E_SingularMat		equ 3+E_EDIT
E_Domain		equ 4+E_EDIT
E_Increment		equ 5+E_EDIT
E_Break			equ 6+E_EDIT
E_NonReal		equ 7+E_EDIT
E_Syntax		equ 8+E_EDIT
E_DataType		equ 9+E_EDIT
E_Argument		equ 10+E_EDIT
E_DimMismatch		equ 11+E_EDIT
E_Dimension		equ 12+E_EDIT
E_Undefined		equ 13+E_EDIT
E_Memory		equ 14+E_EDIT
E_Invalid		equ 15+E_EDIT
E_IllegalNest		equ 16+E_EDIT
E_Bound			equ 17+E_EDIT
E_GraphRange		equ 18+E_EDIT
E_Zoom			equ 19+E_EDIT
E_Label			equ 20
E_Stat			equ 21
E_Solver		equ 22+E_EDIT
E_Singularity		equ 23+E_EDIT
E_SignChange		equ 24+E_EDIT
E_Iterations		equ 25+E_EDIT
E_BadGuess		equ 26+E_EDIT
E_StatPlo		equ 27
E_TolTooSmall		equ 28+E_EDIT
E_Reserved		equ 29+E_EDIT
E_Mode			equ 30+E_EDIT
E_LnkErr		equ 31+E_EDIT
E_LnkMemErr		equ 32+E_EDIT
E_LnkTransErr		equ 33+E_EDIT
E_LnkDupErr		equ 34+E_EDIT
E_LnkMemFull		equ 35+E_EDIT
E_Unknown		equ 36+E_EDIT
E_Scale			equ 37+E_EDIT
E_IdNotFound		equ 38
E_NoMode		equ 39+E_EDIT
E_Validation		equ 40
E_Length		equ 41+E_EDIT
E_Application		equ 42+E_EDIT
E_AppErr1		equ 43+E_EDIT
E_AppErr2		equ 44+E_EDIT
E_ExpiredApp		equ 45
E_BadAdd		equ 46
E_Archived		equ 47+E_EDIT
E_Version		equ 48
E_ArchFull		equ 49
E_Variable		equ 50+E_EDIT
E_Duplicate		equ 51+E_EDIT
HigErrNum		equ 51
;Obsolete error numbers 34 ;first LINK error
E_LinkIOChkSum		equ 34
E_LinkIOTimeOut		equ 35
E_LinkIOBusy		equ 36
E_LinkIOVer		equ 37

;Equates To RAM Locations For Stat Vars
;----------------------------------------------------------------
FPLEN			equ 9 ;Length of a floating-point number.
StatN			equ statVars
XMean			equ StatN + FPLEN
SumX			equ XMean + FPLEN
SumXSqr			equ SumX + FPLEN
StdX			equ SumXSqr + FPLEN
StdPX			equ StdX + FPLEN
MinX			equ StdPX + FPLEN
MaxX			equ MinX + FPLEN
MinY			equ MaxX + FPLEN
MaxY			equ MinY + FPLEN
YMean			equ MaxY + FPLEN
SumY			equ YMean + FPLEN
SumYSqr			equ SumY + FPLEN
StdY			equ SumYSqr + FPLEN
StdPY			equ StdY + FPLEN
SumXY			equ StdPY + FPLEN
Corr			equ SumXY + FPLEN
MedX			equ Corr + FPLEN
Q1			equ MedX + FPLEN
Q3			equ Q1 + FPLEN
QuadA			equ Q3 + FPLEN
QuadB			equ QuadA + FPLEN
QuadC			equ QuadB + FPLEN
CubeD			equ QuadC + FPLEN
QuartE			equ CubeD + FPLEN
MedX1			equ QuartE + FPLEN
MedX2			equ MedX1 + FPLEN
MedX3			equ MedX2 + FPLEN
MedY1			equ MedX3 + FPLEN
MedY2			equ MedY1 + FPLEN
MedY3			equ MedY2 + FPLEN
PStat			equ MedY3 + 2*FPLEN
ZStat			equ PStat + FPLEN
TStat			equ ZStat + FPLEN
ChiStat			equ TStat + FPLEN
FStat			equ ChiStat + FPLEN
DF			equ FStat + FPLEN
Phat			equ DF + FPLEN
Phat1			equ Phat + FPLEN
Phat2			equ Phat1 + FPLEN
MeanX1			equ Phat2 + FPLEN
StdX1			equ MeanX1 + FPLEN
StatN1			equ StdX1 + FPLEN
MeanX2			equ StatN1 + FPLEN
StdX2			equ MeanX2 + FPLEN
StatN2			equ StdX2 + FPLEN
StdXP2			equ StatN2 + FPLEN
SLower			equ StdXP2 + FPLEN
SUpper			equ SLower + FPLEN
SStat			equ SUpper + FPLEN
F_DF			equ anovaf_vars
F_SS			equ F_DF + FPLEN
F_MS			equ F_SS + FPLEN
E_DF			equ F_MS + FPLEN
E_SS			equ E_DF + FPLEN
E_MS			equ E_SS + FPLEN