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

;(MenuCurrent) Values
;-----------------------------------
?mConfirmation		:= 01h
?mApps			:= 02h
?mProgramHome		:= 03h
?mPrgm_Run		 := 00h
?mPrgm_Edit		 := 01h
?mPrgm_New		 := 02h
?mZoom			:= 04h
?mZoom_Zoom		 := 00h
?mZoom_Memory		 := 01h
?mDraw			:= 05h
?mDraw_Draw		 := 00h
?mDraw_Points		 := 01h
?mDraw_Store		 := 02h
?mDraw_Background	:= 03h
?mStatPlots		:= 06h
?mStat			:= 07h
?mStat_Edit		 := 00h
?mStat_Calc		 := 01h
?mStat_Tests		 := 02h
?mMath			:= 08h
?mMath_Math		 := 00h
?mMath_Number		 := 01h
?mMath_Complex		 := 02h
?mMath_Prob		 := 03h
?mMath_Frac		 := 04h
?mTest			:= 09h
?mTest_Test		 := 00h
?mTest_Logic		 := 01h

?mVars			:= 0Bh
?mVars_Vars		 := 00h
?mVars_YVars		 := 01h
?mVars_Colors	 := 02h
?mMemory			:= 0Ch
?mMatrix			:= 0Dh
?mMatrix_Name		 := 00h
?mMatrix_Math		 := 01h
?mMatrix_Edit		 := 02h
?mDistr			:= 0Eh
?mDistr_Distr		 := 00h
?mDistr_Draw		 := 01h
?mAngle			:= 0Fh
?mList			:= 10h
?mList_Names		 := 00h
?mList_Ops		 := 01h
?mList_Math		 := 02h
?mCalculate		:= 11h
?mVarsWin		:= 15h
?mVarsWin_XY		 := 00h
?mVarsWin_TTh		 := 01h
?mVarsWin_UVW		 := 02h
?mVarsZoom		:= 16h
?mVarsZoom_ZXY		 := 00h
?mVarsZoom_ZT		 := 01h
?mVarsZoom_UVW		 := 02h
?mVarsGDB		:= 17h
?mVarsPics		:= 18h
?mVarsPics_Pics		 := 01h
?mVarsPics_Bckgrnds		 := 01h
?mVarsStrings		:= 19h
?mVarsStat		:= 1Ah
?mVarsStat_XY		 := 00h
?mVarsStat_Sigma		 := 01h
?mVarsStat_EQ		 := 02h
?mVarsStat_Test		 := 03h
?mVarsStat_Pts		 := 04h
?mVarsTable		:= 1Bh
?mVarsYequ 		:= 1Ch
?mVarsParametric		:= 1Dh
?mVarsPolar		:= 1Eh
?mVarsFnOnOff		:= 1Fh
?mMemReset		:= 20h
?mMemReset_RAM		 := 00h
?mMemReset_ROM		 := 01h
?mMemReset_All		 := 02h
?mMemMgmtDel		:= 21h
?mMemResetDefaults	:= 22h
?mMemResetRAMAll		:= 24h
?mMemResetROMVars	:= 25h
?mMemResetROMApps	:= 26h
?mMemResetROMAll		:= 27h
?mMemResetAll		:= 28h
?mGroup			:= 29h
?mGroup_New		 := 00h
?mGroup_Ungroup		 := 01h
?mGroupVars		:= 2Ah
?mProgramEdit		:= 2Bh
?mPrgmEd_Ctrl		 := 00h
?mPrgmEd_IO		 := 01h
?mPrgmEd_Color		 := 02h
?mPrgmEd_Exec		 := 03h
?mPrgmZoom		:= 2Ch
?mPrgmZoom_Zoom		 := 00h
?mPrgmZoom_Mem		 := 01h
?mPrgmDraw		:= 2Dh
?mPrgmDraw_Draw		 := 00h
?mPrgmDraw_Pt		 := 01h
?mPrgmDraw_Store		 := 02h
?mPrgmDraw_Bckgrnd	 := 03h
?mPrgmStatPlot		:= 2Eh
?mPrgmSP_Plots		 := 00h
?mPrgmSP_Type		 := 01h
?mPrgmSP_Mark		 := 02h
?mPrgmStat		:= 2Fh
?mPrgmStat_Edit		 := 00h
?mPrgmStat_Calc		 := 01h
?mPrgmStat_Tests		 := 02h
?mPrgmMath		:= 30h
?mPrgmMath_Math		 := 00h
?mPrgmMath_Num		 := 01h
?mPrgmMath_Cplx		 := 02h
?mPrgmMath_Prob		 := 03h
?mPrgmMath_Frac		 := 04h
?mLink			:= 31h
?mLink_Send		 := 00h
?mLink_Recieve		 := 01h
?mLinkTrasmit		:= 32h
?mLinkXmit_Xmit		 := 01h
?mGarbageCollect		:= 40h
?mSelectGroupVars	:= 41h
?mSelGrpVars_Sel		 := 00h
?mSelGrpVars_Grp		 := 01h
?mDuplicateName		:= 43h
?mCatalog		:= 46h
?mFinance		:= 22h
?mFinance_Calc		 := 00h
?mFinance_Vars		 := 01h

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

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

; THIS KEY MEANS THAT IT IS A 2 BYTE KEYCODE
; THERE ARE 2 OF THESE KEYS; BE CAREFUL WITH USAGE
;--------------------------------------------------------
?kExtendEcho2		:= 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		:= 0FEh

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

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

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

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

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

; DI Keyboard Equates
;---------------------------
?DI_Mode		:= 0F50000h
?DI_Cntrl	:= 0F50004h
?DI_Int		:= 0F50008h
?DI_IntMask	:= 0F5000Ch

?kbdG1		:= 0F50012h
;----------------------------
?kbdGraph	:= 00000001b
?kbdTrace	:= 00000010b
?kbdZoom		:= 00000100b
?kbdWindow	:= 00001000b
?kbdYequ 	:= 00010000b
?kbd2nd		:= 00100000b
?kbdMode		:= 01000000b
?kbdDel		:= 10000000b

?kbitGraph	:= 00h
?kbitTrace	:= 01h
?kbitZoom	:= 02h
?kbitWindow	:= 03h
?kbitYequ := 04h
?kbit2nd		:= 05h
?kbitMode	:= 06h
?kbitDel		:= 07h

?kbdG2		:= 0F50014h
;----------------------------
?kbdStore	:= 00000010b
?kbdLn		:= 00000100b
?kbdLog		:= 00001000b
?kbdSquare	:= 00010000b
?kbdRecip	:= 00100000b
?kbdMath		:= 01000000b
?kbdAlpha	:= 10000000b

?kbitStore	:= 01h
?kbitLn		:= 02h
?kbitLog		:= 03h
?kbitSquare	:= 04h
?kbitRecip	:= 05h
?kbitMath	:= 06h
?kbitAlpha	:= 07h

?kbdG3		:= 0F50016h
;----------------------------
?kbd0		:= 00000001b
?kbd1		:= 00000010b
?kbd4		:= 00000100b
?kbd7		:= 00001000b
?kbdComma	:= 00010000b
?kbdSin		:= 00100000b
?kbdApps		:= 01000000b
?kbdGraphVar	:= 10000000b

?kbit0		:= 00h
?kbit1		:= 01h
?kbit4		:= 02h
?kbit7		:= 03h
?kbitComma	:= 04h
?kbitSin		:= 05h
?kbitApps	:= 06h
?kbitGraphVar	:= 07h

?kbdG4		:= 0F50018h
;----------------------------
?kbdDecPnt	:= 00000001b
?kbd2		:= 00000010b
?kbd5		:= 00000100b
?kbd8		:= 00001000b
?kbdLParen	:= 00010000b
?kbdCos		:= 00100000b
?kbdPgrm		:= 01000000b
?kbdStat		:= 10000000b

?kbitDecPnt	:= 00h
?kbit2		:= 01h
?kbit5		:= 02h
?kbit8		:= 03h
?kbitLParen	:= 04h
?kbitCos		:= 05h
?kbitPgrm	:= 06h
?kbitStat	:= 07h

?kbdG5		:= 0F5001Ah
;----------------------------
?kbdChs		:= 00000001b
?kbd3		:= 00000010b
?kbd6		:= 00000100b
?kbd9		:= 00001000b
?kbdRParen	:= 00010000b
?kbdTan		:= 00100000b
?kbdVars		:= 01000000b

?kbitChs		:= 00h
?kbit3		:= 01h
?kbit6		:= 02h
?kbit9		:= 03h
?kbitRParen	:= 04h
?kbitTan		:= 05h
?kbitVars	:= 06h

?kbdG6		:= 0F5001Ch
;----------------------------
?kbdEnter	:= 00000001b
?kbdAdd		:= 00000010b
?kbdSub		:= 00000100b
?kbdMul		:= 00001000b
?kbdDiv		:= 00010000b
?kbdPower	:= 00100000b
?kbdClear	:= 01000000b

?kbitEnter	:= 00h
?kbitAdd		:= 01h
?kbitSub		:= 02h
?kbitMul		:= 03h
?kbitDiv		:= 04h
?kbitPower	:= 05h
?kbitClear	:= 06h

?kbdG7		:= 0F5001Eh
;----------------------------
?kbdDown		:= 00000001b
?kbdLeft		:= 00000010b
?kbdRight	:= 00000100b
?kbdUp		:= 00001000b

?kbitDown	:= 00h
?kbitLeft	:= 01h
?kbitRight	:= 02h
?kbitUp		:= 03h

;Tokens
;-----------------------------------------------------
?EOSSTART		:= 00h

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

;Postfix Functions
;-----------------------------------------
?tPost			:= 2Dh
;
?tFact			:= tPost ;2Dh '!'
;
?tCubicR			:= 2Eh
?tQuartR			:= 2Fh

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

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

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

; Extended Tokens
;---------------------------
?tExtTok		:=	0EFh

?tSetDate	:=	00h
?tSetTime	:=	01h
?tCheckTmr	:=	02h
?tSetDtFmt	:=	03h
?tSetTmFmt	:=	04h
?tTimeCnv	:=	05h
?tDayOfWk	:=	06h
?tGetDtStr	:=	07h
?tGetTmStr	:=	08h
?tGetDate	:=	09h
?tGetTime	:=	0Ah
?tStartTmr	:=	0Bh
?tGtDtFmt	:=	0Ch
?tGetTmFmt	:=	0Dh
?tIsClockOn	:=	0Eh
?tClockOff	:=	0Fh
?tClockOn	:=	10h
?tOpenLib	:=	11h
?tExecLib	:=	12h
?tInvT		:=	13h
?tChiSquaredGofTest	:=	14h
?tLinRegTInt	:=	15h
?tManualFit	:=	16h

; MathPrint
?tZQuadrant	:=	17h
?tZFracHalf	:=	18h
?tZFracThird	:=	19h
?tZFracFourth	:=	1Ah
?tZFracFifth	:=	1Bh
?tZFracEighth	:=	1Ch
?tZFracTenth	:=	1Dh
?tFracSlash	:=	2Eh
?tFracMixedNum	:=	2Fh
?tSwapImProper	:=	30h
?tSwapFracDec	:=	31h
?tRemainder	:=	32h
?tSummationSigma	:=	33h
?tLogBase	:=	34h
?tRandIntNoRep	:=	35h
?tMathPrint	:=	37h
?tClassic	:=	38h
?tAutoAnswer	:=	3Bh
?tDecAnswer	:=	3Ch
?tFracAnswer	:=	3Dh

; TI-84+CSE/CE
?tBlue		:=	41h
?tRed		:=	42h
?tBlack 		:=	43h
?tMagenta	:=	44h
?tGreen		:=	45h
?tOrange		:=	46h
?tBrown		:=	47h
?tNavy		:=	48h
?tLtBlue		:=	49h
?tYellow		:=	4Ah
?tWhite		:=	4Bh
?tLtGray		:=	4Ch
?tMedGray	:=	4Dh
?tGray		:=	4Eh
?tDarkGray	:=	4Fh

?tGraphColor	:=	65h
?tTextColor	:=	67h
?tBackgroundOn	:=	5Bh
?tBackgroundOff	:=	64h

?tThin		:=	74h
;tThick - 0x7E 0x06 (was "Connected"?)
?tAsm84CPrgm	:=	68h
?tAsm84CCmp	:=	69h
?tBorderColor	:=	6Ch

?tAsm84CeCmp	:=	07Bh
?tAsm84CePrgm	:=	07Ah

; OS 5.2+ only
?tLEFT           :=     92h
?tCENTER         :=     93h
?tRIGHT          :=     94h
?tInvBinom       :=     95h
?tWait           :=     96h
?tToString       :=     97h
?tEval           :=     98h

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

?vToks			:= LET+27

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

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

;Binary OP
;---------------------------------------
?tAdd			:= 70h ;70h '+'
?tSub			:= 71h ;71h '-'
?tAns			:= 72h ;72h

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

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

;(More) Binary OP
;---------------------------------------
?tMul			:= 82h ;82h '*'
?tDiv			:= 83h ;83h '/'

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

;Binary OP (Combination and Permutation)
;-------------------------------------------------
?tnPr			:= GRCMDS+16 ;94h '_nPr_'
?tnCr			:= GRCMDS+17 ;95h '_nCr_'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

