Difference between revisions of "84PCE:OS:Include File"

From WikiTI
Jump to: navigation, search
(Equates)
Line 1: Line 1:
 
[[Category:84PCE:OS_Information]]
 
[[Category:84PCE:OS_Information]]
 
= Equates =
 
= Equates =
<pre>; TI-84 Plus CE Include file
+
<pre>;TI-84 Plus CE Include File
; Various parts contributed by
+
 
 +
;Various Parts Contributed by
 
;- BrandonW
 
;- BrandonW
 
;- calc84
 
;- calc84
 
;- tr1p1ea
 
;- tr1p1ea
 
;- MateoConLechuga
 
;- MateoConLechuga
;- Texas Instruments (Parts recycled from ti83plus.inc)
+
;- Texas Instruments (ti83plus.inc)
 
.nolist
 
.nolist
 +
 
#ifndef TI84PCE
 
#ifndef TI84PCE
 
#define TI84PCE
 
#define TI84PCE
  
 +
;Included for Assembler Compatibility
 +
;------------------------------------
 
#define equ .equ
 
#define equ .equ
#define equ .equ
+
#define EQU .equ
 
#define end .end
 
#define end .end
 
#define END .end
 
#define END .end
  
lcdWidth .equ 320
+
;Hardware Defines
lcdHeight .equ 240
+
;------------------------------
 +
lcdWidth equ 320
 +
lcdHeight equ 240
  
 +
;System Calls
 +
;Jump Table located at 020104h
 +
;--------------------------------
 +
_OSSize equ 020104
 +
_BootOS equ 020108
 +
_intErrUptHandler equ 02010C
 +
_rst10Handler equ 020110
 +
_rst18Handler equ 020114
 +
_rst20Handler equ 020118
 +
_rst28Handler equ 02011C
 +
_rst30Handler equ 020120
 +
;020124
 +
;020128
 +
;02012C
 +
;020130
 +
_CallLocalizeHook equ 020134
 +
_LdHLInd_s equ 020138
 +
_cpHLDE equ 02013C
 +
_DivHLby10_s equ 020140
 +
_DivHLbyA_s equ 020144
 +
_KBDscan equ 020148
 +
_GetCSC equ 02014C
 +
_CoorMon equ 020150
 +
_Mon equ 020154
 +
_MonForceKey equ 020158
 +
_SendKPress equ 02015C
 +
_JForceCmdNoChar equ 020160
 +
_JForceCmd equ 020164
 +
_SysErrHandler equ 020168
 +
_NewContext equ 02016C
 +
_NewContext0 equ 020170
 +
_PPutawayPrompt equ 020174
 +
_PPutAway equ 020178
 +
_PutAway equ 02017C
 +
_SizeWInd equ 020180
 +
_ErrorEP equ 020184
 +
_CallMain equ 020188
 +
_MonErrHand equ 02018C
 +
_AppInit equ 020190
 +
_Initialize equ 020194
 +
_Min equ 020198
 +
_Max equ 02019C
 +
_AbsO1PAbsO2 equ 0201A0
 +
_Intgr equ 0201A4
 +
_TRunc equ 0201A8
 +
_InvSub equ 0201AC
 +
_Times2String equ 0201B0
 +
_Plus1 equ 0201B4
 +
_Minus1 equ 0201B8
 +
_FPSub equ 0201BC
 +
_FPAdd equ 0201C0
 +
_DToR equ 0201C4
 +
_RToD equ 0201C8
 +
_Cube equ 0201CC
 +
_TimesPT5 equ 0201D0
 +
_FPSquare equ 0201D4
 +
_FPMult equ 0201D8
 +
_LjRnd equ 0201DC
 +
_InvOP1Sc equ 0201E0
 +
_InvOP1S equ 0201E4
 +
_InvOP2S equ 0201E8
 +
_Frac equ 0201EC
 +
_FPRecip equ 0201F0
 +
_FPDiv equ 0201F4
 +
_SqRoot equ 0201F8
 +
_RndGuard equ 0201FC
 +
_Rnfx equ 020200
 +
_Int equ 020204
 +
_Round equ 020208
 +
_LnX equ 02020C
 +
_LogX equ 020210
 +
_LjnoRnd equ 020214
 +
_EToX equ 020218
 +
_TenX equ 02021C
 +
_SinCosRad equ 020220
 +
_Sin equ 020224
 +
_Cos equ 020228
 +
_Tan equ 02022C
 +
_SinhCosh equ 020230
 +
_Tanh equ 020234
 +
_Cosh equ 020238
 +
_Sinh equ 02023C
 +
_AcosRad equ 020240
 +
_AtanRad equ 020244
 +
_Atan2Rad equ 020248
 +
_AsinRad equ 02024C
 +
_Acos equ 020250
 +
_Atan equ 020254
 +
_Asin equ 020258
 +
_Atan2 equ 02025C
 +
_Atanh equ 020260
 +
_Asinh equ 020264
 +
_Acosh equ 020268
 +
_PToR equ 02026C
 +
_RToP equ 020270
 +
_HLTimes9 equ 020274
 +
_CkOP1Cplx equ 020278
 +
_CkOP1Real equ 02027C
 +
_Angle equ 020280
 +
_COP1Set0 equ 020284
 +
_CPop4OP3 equ 020288
 +
_Mov9OP2cp equ 02028C
 +
_abso1o2cp equ 020290
 +
_cPOP1OP2 equ 020294
 +
_OP3ToOP4 equ 020298
 +
_OP1ToOP4 equ 02029C
 +
_OP2ToOP4 equ 0202A0
 +
_OP4ToOP2 equ 0202A4
 +
_OP3ToOP2 equ 0202A8
 +
_OP1ToOP3 equ 0202AC
 +
_OP5ToOP2 equ 0202B0
 +
_OP5ToOP6 equ 0202B4
 +
_OP5ToOP4 equ 0202B8
 +
_OP1ToOP2 equ 0202BC
 +
_OP6ToOP2 equ 0202C0
 +
_OP6ToOP1 equ 0202C4
 +
_OP4toOP1 equ 0202C8
 +
_OP5ToOP1 equ 0202CC
 +
_OP3ToOP1 equ 0202D0
 +
_OP6ToOP5 equ 0202D4
 +
_OP4ToOP5 equ 0202D8
 +
_OP3ToOP5 equ 0202DC
 +
_OP2ToOP5 equ 0202E0
 +
_OP2ToOP6 equ 0202E4
 +
_OP1ToOP6 equ 0202E8
 +
_OP1ToOP5 equ 0202EC
 +
_OP2ToOP1 equ 0202F0
 +
_Mov11b equ 0202F4
 +
_Mov10b equ 0202F8
 +
_Mov9b equ 0202FC
 +
_Mov9b_duplicate equ 020300
 +
_Mov8b equ 020304
 +
_Mov7b equ 020308
 +
_Mov7b_duplicate equ 02030C
 +
_OP2toOP3 equ 020310
 +
_OP4toOP3 equ 020314
 +
_OP5toOP3 equ 020318
 +
_OP4toOP6 equ 02031C
 +
_mov9toOP1 equ 020320
 +
_mov9OP1OP2 equ 020324
 +
_mov9toOP2 equ 020328
 +
_movfrOP1 equ 02032C
 +
_OP4Set1 equ 020330
 +
_OP3Set1 equ 020334
 +
_OP2Set8 equ 020338
 +
_OP2Set5 equ 02033C
 +
_OP2Seta equ 020340
 +
_OP2Set4 equ 020344
 +
_OP2Set3 equ 020348
 +
_OP1Set1 equ 02034C
 +
_OP1Set4 equ 020350
 +
_OP1Set3 equ 020354
 +
_OP3Set2 equ 020358
 +
_OP1Set2 equ 02035C
 +
_OP2Set2 equ 020360
 +
_OP2Set1 equ 020364
 +
_Zero16d equ 020368
 +
_OP5Set0 equ 02036C
 +
_OP4Set0 equ 020370
 +
_OP3Set0 equ 020374
 +
_OP2Set0 equ 020378
 +
_OP1Set0 equ 02037C
 +
_SetNum0 equ 020380
 +
_ZeroOP1 equ 020384
 +
_ZeroOP2 equ 020388
 +
_ZeroOP3 equ 02038C
 +
_ZeroOP equ 020390
 +
_ClrLP equ 020394
 +
_ShrACC equ 020398
 +
_ShlACC equ 02039C
 +
_Shr18 equ 0203A0
 +
_Shr18a equ 0203A4
 +
_Shr16 equ 0203A8
 +
_Shr14 equ 0203AC
 +
_Shl16 equ 0203B0
 +
_Shl14 equ 0203B4
 +
_Srdo1 equ 0203B8
 +
_ShrdRnd equ 0203BC
 +
_MantPa equ 0203C0
 +
_AddProp equ 0203C4
 +
_AddProplP equ 0203C8
 +
_Add16d equ 0203CC
 +
_Add14d equ 0203D0
 +
_Sub16d equ 0203D4
 +
_Sub14d equ 0203D8
 +
_OP2exOP6 equ 0203DC
 +
_OP5exOP6 equ 0203E0
 +
_OP1exOP5 equ 0203E4
 +
_OP1exOP6 equ 0203E8
 +
_OP2exOP4 equ 0203EC
 +
_OP2exOP5 equ 0203F0
 +
_OP1exOP3 equ 0203F4
 +
_OP1exOP4 equ 0203F8
 +
_OP1exOP2 equ 0203FC
 +
_ExLP equ 020400
 +
_CkOP1c0 equ 020404
 +
_CkOP1fp0 equ 020408
 +
_CkOP2fp0 equ 02040C
 +
_PosNo0Int equ 020410
 +
_CkPosInt equ 020414
 +
_CkInt equ 020418
 +
_CkOdd equ 02041C
 +
_CkOP1M equ 020420
 +
_GetCon1 equ 020424
 +
_GetCon equ 020428
 +
_PIDiv2 equ 02042C
 +
_PIDiv4 equ 020430
 +
_TWOPI equ 020434
 +
_PICON equ 020438
 +
_ExpToHex equ 02043C
 +
_OP1expToDec equ 020440
 +
_CkOP2Pos equ 020444
 +
_CkOP1Pos equ 020448
 +
_ClrOP2s equ 02044C
 +
_ClrOP1s equ 020450
 +
_FDiv100 equ 020454
 +
_FDiv10 equ 020458
 +
_DecO1exp equ 02045C
 +
_IncO1exp equ 020460
 +
_Incexp equ 020464
 +
_CkValidNum equ 020468
 +
_GetExp equ 02046C
 +
_HtimesL equ 020470
 +
_EOP1notReal equ 020474
 +
_ThetaName equ 020478
 +
_RName equ 02047C
 +
_RegEqName equ 020480
 +
_ReCurnName equ 020484
 +
_XName equ 020488
 +
_YName equ 02048C
 +
_TName equ 020490
 +
_RealName equ 020494
 +
_SetEStoFPS equ 020498
 +
_ChkTempDirt equ 02049C
 +
_OP1mOP2exp equ 0204A0
 +
_OP1expmDE equ 0204A4
 +
_ChkErrBreak equ 0204A8
 +
_Isa2ByteTok equ 0204AC
 +
_GetLastEntry equ 0204B0
 +
_GetLastEntryPtr equ 0204B4
 +
_RegRclrChng equ 0204B8
 +
_ResetWinTop equ 0204BC
 +
_IsO1nonTLstorProg equ 0204C0
 +
_IsO1nonTempLst equ 0204C4
 +
_Is_A_LstoRcLst equ 0204C8
 +
_Chk_HL_999 equ 0204CC
 +
_Equ_or_NewEqu equ 0204D0
 +
_Errd_OP1notpos equ 0204D4
 +
_Errd_OP1not_r equ 0204D8
 +
_Errd_OP1notposint equ 0204DC
 +
_Errd_OP1_le_0 equ 0204E0
 +
_Errd_OP1_0 equ 0204E4
 +
_FindSym_Get_size equ 0204E8
 +
_Sto_StatVar equ 0204EC
 +
_Rcl_StatVar equ 0204F0
 +
_ckop2Real equ 0204F4
 +
_Get_x_Indirect equ 0204F8
 +
_MemChk equ 0204FC
 +
_CmpPrgNamLen1 equ 020500
 +
_CmpPrgNamLen equ 020504
 +
_FindProgSym equ 020508
 +
_ChkFindSym equ 02050C
 +
_FindSym equ 020510
 +
_InsertMem equ 020514
 +
_InsertMema equ 020518
 +
_EnoughMem equ 02051C
 +
_CmpMemneed equ 020520
 +
_createpVar4 equ 020524
 +
_createpVar3 equ 020528
 +
_createVar3 equ 02052C
 +
_createcplx equ 020530
 +
_createReal equ 020534
 +
_createtrlIst equ 020538
 +
_createrlIst equ 02053C
 +
_createtclIst equ 020540
 +
_createclIst equ 020544
 +
_createtrmat equ 020548
 +
_creatermat equ 02054C
 +
_createtStrng equ 020550
 +
_createStrng equ 020554
 +
_create0Equ equ 020558
 +
_createtEqu equ 02055C
 +
_createEqu equ 020560
 +
_creategdb equ 020564
 +
_createProg equ 020568
 +
_ChkDel equ 02056C
 +
_ChkDela equ 020570
 +
_Adjparser equ 020574
 +
_Adjmath equ 020578
 +
_Adjm7 equ 02057C
 +
_DelMema equ 020580
 +
_Get_Form_Num equ 020584
 +
_DelVar equ 020588
 +
_DelVario equ 02058C
 +
_DelMem equ 020590
 +
_DelVar3d equ 020594
 +
_DelVar3c equ 020598
 +
_DelVar3dc equ 02059C
 +
_Sym_Prog_non_t_Lst equ 0205A0
 +
_AdjSymPtrs equ 0205A4
 +
_datasizea equ 0205A8
 +
_datasize equ 0205AC
 +
_Popmcplxo1 equ 0205B0
 +
_Popmcplx equ 0205B4
 +
_movcplx equ 0205B8
 +
_Popop5 equ 0205BC
 +
_Popop3 equ 0205C0
 +
_PopOP1 equ 0205C4
 +
_PopRealo6 equ 0205C8
 +
_PopRealo5 equ 0205CC
 +
_PopRealo4 equ 0205D0
 +
_PopRealo3 equ 0205D4
 +
_PopRealo2 equ 0205D8
 +
_PopRealo1 equ 0205DC
 +
_PopReal equ 0205E0
 +
_fPopcplx equ 0205E4
 +
_fPopReal equ 0205E8
 +
_fPopFPS equ 0205EC
 +
_DeallocFPS equ 0205F0
 +
_DeallocFPS1 equ 0205F4
 +
_AllocFPS equ 0205F8
 +
_AllocFPS1 equ 0205FC
 +
_PushRealo6 equ 020600
 +
_PushRealo5 equ 020604
 +
_PushRealo4 equ 020608
 +
_PushRealo3 equ 02060C
 +
_PushRealo2 equ 020610
 +
_PushRealo1 equ 020614
 +
_PushReal equ 020618
 +
_Pushop5 equ 02061C
 +
_Pushop3 equ 020620
 +
_Pushmcplxo3 equ 020624
 +
_PushOP1 equ 020628
 +
_Pushmcplxo1 equ 02062C
 +
_Pushmcplx equ 020630
 +
_exmcplxo1 equ 020634
 +
_exch9 equ 020638
 +
_CpyTo1FPS11 equ 02063C
 +
_CpyTo2FPS5 equ 020640
 +
_CpyTo1FPS5 equ 020644
 +
_CpyTo2FPS6 equ 020648
 +
_CpyTo1FPS6 equ 02064C
 +
_CpyTo2FPS7 equ 020650
 +
_CpyTo1FPS7 equ 020654
 +
_CpyTo1FPS8 equ 020658
 +
_CpyTo2FPS8 equ 02065C
 +
_CpyTo1FPS10 equ 020660
 +
_CpyTo1FPS9 equ 020664
 +
_CpyTo2FPS4 equ 020668
 +
_CpyTo6FPS3 equ 02066C
 +
_CpyTo6FPS2 equ 020670
 +
_CpyTo2FPS3 equ 020674
 +
_Cpycto1FPS3 equ 020678
 +
_CpyTo1FPS3 equ 02067C
 +
_CpyFPS3 equ 020680
 +
_CpyTo1FPS4 equ 020684
 +
_CpyTo3FPS2 equ 020688
 +
_CpyTo5FPSt equ 02068C
 +
_CpyTo6FPSt equ 020690
 +
_CpyTo4FPSt equ 020694
 +
_CpyTo3FPSt equ 020698
 +
_CpyTo2FPSt equ 02069C
 +
_CpyTo1FPSt equ 0206A0
 +
_CpyFPSt equ 0206A4
 +
_Cpystack equ 0206A8
 +
_CpyTo3FPS1 equ 0206AC
 +
_CpyTo2FPS1 equ 0206B0
 +
_CpyTo1FPS1 equ 0206B4
 +
_CpyFPS1 equ 0206B8
 +
_CpyTo2FPS2 equ 0206BC
 +
_CpyTo1FPS2 equ 0206C0
 +
_CpyFPS2 equ 0206C4
 +
_Cpyo3toFPSt equ 0206C8
 +
_Cpyo2toFPSt equ 0206CC
 +
_Cpyo6toFPSt equ 0206D0
 +
_Cpyo1toFPSt equ 0206D4
 +
_CpyToFPSt equ 0206D8
 +
_CpyTostack equ 0206DC
 +
_Cpyo3toFPS1 equ 0206E0
 +
_Cpyo5toFPS1 equ 0206E4
 +
_Cpyo2toFPS1 equ 0206E8
 +
_Cpyo1toFPS1 equ 0206EC
 +
_CpyToFPS1 equ 0206F0
 +
_Cpyo2toFPS2 equ 0206F4
 +
_Cpyo3toFPS2 equ 0206F8
 +
_Cpyo6toFPS2 equ 0206FC
 +
_Cpyo1toFPS2 equ 020700
 +
_CpyToFPS2 equ 020704
 +
_Cpyo5toFPS3 equ 020708
 +
_Cpyo2toFPS3 equ 02070C
 +
_Cpyo1toFPS3 equ 020710
 +
_CpyToFPS3 equ 020714
 +
_Cpyo1toFPS6 equ 020718
 +
_Cpyo1toFPS7 equ 02071C
 +
_Cpyo1toFPS5 equ 020720
 +
_Cpyo2toFPS4 equ 020724
 +
_Cpyo1toFPS4 equ 020728
 +
_ErrnotEnoughMem equ 02072C
 +
_FPSminus9 equ 020730
 +
_HLminus9 equ 020734
 +
_ErrOverflow equ 020738
 +
_ErrDivby0 equ 02073C
 +
_ErrSingularMat equ 020740
 +
_ErrDomain equ 020744
 +
_ErrIncrement equ 020748
 +
_Errnon_Real equ 02074C
 +
_ErrSyntax equ 020750
 +
_ErrDataType equ 020754
 +
_ErrArgument equ 020758
 +
_ErrdimmIsmatch equ 02075C
 +
_Errdimension equ 020760
 +
_Errundefined equ 020764
 +
_ErrMemory equ 020768
 +
_Errinvalid equ 02076C
 +
_ErrBreak equ 020770
 +
_ErrStat equ 020774
 +
_ErrSignchange equ 020778
 +
_ErrIterations equ 02077C
 +
_ErrBadGuess equ 020780
 +
_ErrTolTooSmall equ 020784
 +
_ErrStatPlot equ 020788
 +
_ErrLinkXmit equ 02078C
 +
_JError equ 020790
 +
_noErrorEntry equ 020794
 +
_PushErrorhandler equ 020798
 +
_PopErrorhandler equ 02079C
 +
_Strcopy equ 0207A0
 +
_Strcat_ez80 equ 0207A4
 +
_IsInSet equ 0207A8
 +
_GeqNamea equ 0207AC
 +
_RecName equ 0207B0
 +
_Putmap equ 0207B4
 +
_Putc equ 0207B8
 +
_Disphl_s equ 0207BC
 +
_Puts equ 0207C0
 +
_Putpsb equ 0207C4
 +
_Putps equ 0207C8
 +
_wPutps equ 0207CC
 +
_Putbuf equ 0207D0
 +
_Putbuf1 equ 0207D4
 +
_wPutc equ 0207D8
 +
_wPuts equ 0207DC
 +
_wPutsEOL equ 0207E0
 +
_wDispEOL equ 0207E4
 +
_wHomeUp equ 0207E8
 +
_SetNumWIndow equ 0207EC
 +
_NewLine equ 0207F0
 +
_MoveDown equ 0207F4
 +
_ScrollUp equ 0207F8
 +
_ShrinkWIndow equ 0207FC
 +
_MoveUp equ 020800
 +
_ScrollDown equ 020804
 +
_Clrlcdfull equ 020808
 +
_Clrlcd equ 02080C
 +
_Clrscrnfull equ 020810
 +
_Clrscrn equ 020814
 +
_Clrtxtshd equ 020818
 +
_ClrWIndow equ 02081C
 +
_eraseEOL equ 020820
 +
_eraseEOW equ 020824
 +
_HomeUp equ 020828
 +
_GetCurloc equ 02082C
 +
_vPutmap equ 020830
 +
_vPuts equ 020834
 +
_vPutsn equ 020838
 +
_vPutsng equ 02083C
 +
_vPutsnt equ 020840
 +
_RunIndicon equ 020844
 +
_RunIndicoff equ 020848
 +
_SaveCmdShadow equ 02084C
 +
_SaveShadow equ 020850
 +
_RStrShadow equ 020854
 +
_RStrpartial equ 020858
 +
_RStrCurrow equ 02085C
 +
_RStrundermenu equ 020860
 +
_RStrbotrow equ 020864
 +
_GetKeypress equ 020868
 +
_GetTokLen equ 02086C
 +
_Get_Tok_Strng equ 020870
 +
_GetTokString equ 020874
 +
_Putbpatbuf2 equ 020878
 +
_Putbpatbuf equ 02087C
 +
_Putbpat equ 020880
 +
_PutcChkScroll equ 020884
 +
_DispEOL equ 020888
 +
_FDispEOL equ 02088C
 +
_MakeRowCmd equ 020890
 +
_totoStrp equ 020894
 +
;020898
 +
_DispDone equ 02089C
 +
_FinIshOutPut equ 0208A0
 +
_CurBlink equ 0208A4
 +
_Cursoroff equ 0208A8
 +
_HideCursor equ 0208AC
 +
_Cursoron equ 0208B0
 +
_ShowCursor equ 0208B4
 +
_KeyToString equ 0208B8
 +
_PullDownChk equ 0208BC
 +
_Menucatcommon equ 0208C0
 +
_LoadCurcat equ 0208C4
 +
_Ncifprgmedmode equ 0208C8
 +
_LoadMenuNum equ 0208CC
 +
_LoadMenuNuml equ 0208D0
 +
_MenuEdKey equ 0208D4
 +
_MenCatRet equ 0208D8
 +
_NotAlphNum equ 0208DC
 +
;0208E0
 +
;0208E4
 +
;0208E8
 +
;0208EC
 +
_DispLIstName equ 0208F0
 +
_DispLAlphaName equ 0208F4
 +
_AbortPrgmode equ 0208F8
 +
_Is_FullCntx equ 0208FC
 +
_AdrMRow equ 020900
 +
_AdrmeLE equ 020904
 +
_GetmatOP1A equ 020908
 +
_Getm1toOP1 equ 02090C
 +
_Getm1tOP1A equ 020910
 +
_GetmtoOP1 equ 020914
 +
_Puttom1a equ 020918
 +
_Puttoma1 equ 02091C
 +
_PutToMat equ 020920
 +
_Mat_EL_Div equ 020924
 +
_CMatFun equ 020928
 +
_RowEch_Poly equ 02092C
 +
_RowEchelon equ 020930
 +
_AdrLELE equ 020934
 +
_Getl1ToOP1 equ 020938
 +
_Getl1TOP1A equ 02093C
 +
_GetlToOP1 equ 020940
 +
_Getl1ToOP2 equ 020944
 +
_Getl1TOP2A equ 020948
 +
_Getl2TOP1A equ 02094C
 +
_PutTola1 equ 020950
 +
_PutToL equ 020954
 +
_MaxMinLst equ 020958
 +
_LLow equ 02095C
 +
_LHigh equ 020960
 +
_LSum equ 020964
 +
_CumSum equ 020968
 +
_ToFrac equ 02096C
 +
_SeqSet equ 020970
 +
_SeqSolve equ 020974
 +
_Cmp_Num_Init equ 020978
 +
_BinOpExec equ 02097C
 +
_ExMeanL equ 020980
 +
_Set2MVLPtrs equ 020984
 +
_SetMat1 equ 020988
 +
_CreateTLIst equ 02098C
 +
_UnOpExec equ 020990
 +
_ThreeExec equ 020994
 +
_ReStoreErrNo equ 020998
 +
_FourExec equ 02099C
 +
_FiveExec equ 0209A0
 +
_CpyTo2ES1 equ 0209A4
 +
_CpyTo6ES1 equ 0209A8
 +
_CpyTo1ES1 equ 0209AC
 +
_CpyTo3ES1 equ 0209B0
 +
_CpyTo3ES2 equ 0209B4
 +
_CpyTo2ES2 equ 0209B8
 +
_CpyTo1ES2 equ 0209BC
 +
_CpyTo2ES3 equ 0209C0
 +
_CpyTo1ES3 equ 0209C4
 +
_CpyTo3ES4 equ 0209C8
 +
_CpyTo6ES3 equ 0209CC
 +
_CpyTo2ES4 equ 0209D0
 +
_CpyTo1ES4 equ 0209D4
 +
_CpyTo2ES5 equ 0209D8
 +
_CpyTo1ES5 equ 0209DC
 +
_CpyTo4ESt equ 0209E0
 +
_CpyTo2ESt equ 0209E4
 +
_CpyTo1ESt equ 0209E8
 +
_CpyTo2ES6 equ 0209EC
 +
_CpyTo1ES6 equ 0209F0
 +
_CpyTo2ES7 equ 0209F4
 +
_CpyTo1ES7 equ 0209F8
 +
_CpyTo2ES8 equ 0209FC
 +
_CpyTo1ES8 equ 020A00
 +
_CpyTo1ES9 equ 020A04
 +
_CpyTo2ES9 equ 020A08
 +
_CpyTo2ES10 equ 020A0C
 +
_CpyTo1ES10 equ 020A10
 +
_CpyTo2ES11 equ 020A14
 +
_CpyTo1ES11 equ 020A18
 +
_CpyTo2ES12 equ 020A1C
 +
_CpyTo1ES12 equ 020A20
 +
_CpyTo2ES13 equ 020A24
 +
_CpyTo1ES13 equ 020A28
 +
_CpyTo1ES14 equ 020A2C
 +
_CpyTo1ES16 equ 020A30
 +
_CpyTo1ES17 equ 020A34
 +
_CpyTo1ES18 equ 020A38
 +
_CpyTo1ES15 equ 020A3C
 +
_CpyTo2ES15 equ 020A40
 +
_CpyO1ToESt equ 020A44
 +
_CpyO1ToES1 equ 020A48
 +
_CpyO6ToES1 equ 020A4C
 +
_CpyO6ToES3 equ 020A50
 +
_CpyO1ToES2 equ 020A54
 +
_CpyO2ToES2 equ 020A58
 +
_CpyO1ToES3 equ 020A5C
 +
_CpyO1ToES4 equ 020A60
 +
_CpyO1ToES5 equ 020A64
 +
_CpyO1ToES6 equ 020A68
 +
_CpyO1ToES7 equ 020A6C
 +
_CpyO2ToES4 equ 020A70
 +
_CpyO2ToES5 equ 020A74
 +
_CpyO2ToES6 equ 020A78
 +
_CpyO2ToES7 equ 020A7C
 +
_CpyO2ToES8 equ 020A80
 +
_CpyO2ToES9 equ 020A84
 +
_CpyO1ToES8 equ 020A88
 +
_CpyO1ToES9 equ 020A8C
 +
_CpyO1ToES10 equ 020A90
 +
_CpyO1ToES11 equ 020A94
 +
_CpyO1ToES12 equ 020A98
 +
_CpyO1ToES13 equ 020A9C
 +
_CpyO1ToES14 equ 020AA0
 +
_EvalF3A equ 020AA4
 +
_GetK equ 020AA8
 +
_SetTitle equ 020AAC
 +
_DispVarVal equ 020AB0
 +
_RecallEd equ 020AB4
 +
_SetUpBuffer equ 020AB8
 +
_CreateNumEditBuf equ 020ABC
 +
_CallCommon equ 020AC0
 +
_CommonKeys equ 020AC4
 +
_LeftMore equ 020AC8
 +
_fDel equ 020ACC
 +
_fClear equ 020AD0
 +
_fInsDisp equ 020AD4
 +
_fInsDisp02 equ 020AD8
 +
_SetIndicator equ 020ADC
 +
_dsplstsnor equ 020AE0
 +
_ReleaseBuffer equ 020AE4
 +
_VarNameToOP1HL equ 020AE8
 +
_NameToOP1 equ 020AEC
 +
_NumpPutAway equ 020AF0
 +
_NumReDisp equ 020AF4
 +
_NumError02 equ 020AF8
 +
_Load_Sfont equ 020AFC
 +
_Sfont_Len equ 020B00
 +
_InitNumVec equ 020B04
 +
_SetxxOP1 equ 020B08
 +
_SetxxOP2 equ 020B0C
 +
_SetxxxxOP2 equ 020B10
 +
_uCLines equ 020B14
 +
_CLine equ 020B18
 +
_CLines equ 020B1C
 +
_XrootY equ 020B20
 +
_YtoX equ 020B24
 +
;020B28
 +
;020B2C
 +
;020B30
 +
;020B34
 +
;020B38
 +
;020B3C
 +
;020B40
 +
;020B44
 +
;020B48
 +
;020B4C
 +
;020B50
 +
;020B54
 +
;020B58
 +
;020B5C
 +
;020B60
 +
;020B64
 +
;020B68
 +
;020B6C
 +
_Mov18b equ 020B70
 +
_DarkLine equ 020B74
 +
_ILine equ 020B78
 +
_IPoint equ 020B7C
 +
_XYRNDBOTH equ 020B80
 +
_XYRND equ 020B84
 +
_CheckTOP equ 020B88
 +
_CheckXY equ 020B8C
 +
_DarkPnt equ 020B90
 +
_CPointS equ 020B94
 +
_WTOV equ 020B98
 +
_VtoWHLDE equ 020B9C
 +
_Xitof equ 020BA0
 +
_YftoI equ 020BA4
 +
_XftoI equ 020BA8
 +
_TraceOff equ 020BAC
 +
_GrRedisp equ 020BB0
 +
_GDISPTOKEN equ 020BB4
 +
_GRDECODA equ 020BB8
 +
_LABCOOR equ 020BBC
 +
_COORDISP equ 020BC0
 +
_TMPEQUNOSRC equ 020BC4
 +
_GRLABELS equ 020BC8
 +
_YPIXSET equ 020BCC
 +
_XPIXSET equ 020BD0
 +
_COPYRNG equ 020BD4
 +
_VALCUR equ 020BD8
 +
_GRPUTAWAY equ 020BDC
 +
_RSTGFLAGS equ 020BE0
 +
_GRReset equ 020BE4
 +
_XYCENT equ 020BE8
 +
_ZOOMXYCMD equ 020BEC
 +
_CPTDELY equ 020BF0
 +
_CPTDELX equ 020BF4
 +
_SetFuncM equ 020BF8
 +
_SetSeqM equ 020BFC
 +
_SetPolM equ 020C00
 +
_SetParM equ 020C04
 +
_ZmInt equ 020C08
 +
_ZmDecml equ 020C0C
 +
_ZmPrev equ 020C10
 +
_ZmUsr equ 020C14
 +
_SETUZM equ 020C18
 +
_ZmFit equ 020C1C
 +
_ZmSquare equ 020C20
 +
_ZmTrig equ 020C24
 +
_SetXMinMax equ 020C28
 +
_ZooDefault equ 020C2C
 +
;020C30
 +
;020C34
 +
;020C38
 +
;020C3C
 +
;020C40
 +
;020C44
 +
;020C48
 +
;020C4C
 +
;020C50
 +
;020C54
 +
_ChkTextCurs equ 020C58
 +
;020C5C
 +
_Dorefflags02 equ 020C60
 +
_INITNSEQ equ 020C64
 +
_YRes equ 020C68
 +
_Ceiling equ 020C6C
 +
_PutXY equ 020C70
 +
_PUTEQUNO equ 020C74
 +
_PdspGrph equ 020C78
 +
_HorizCmd equ 020C7C
 +
_VertCmd equ 020C80
 +
_LineCmd equ 020C84
 +
_UnLineCmd equ 020C88
 +
_PointCmd equ 020C8C
 +
_PixelTest  equ 020C90
 +
_PixelCmd equ 020C94
 +
_TanLnF equ 020C98
 +
_DRAWCMD_INIT equ 020C9C
 +
_DrawCmd equ 020CA0
 +
_ShadeCmd equ 020CA4
 +
_InvCmd equ 020CA8
 +
_STATSHADE equ 020CAC
 +
_dspmattable equ 020CB0
 +
_dsplsts equ 020CB4
 +
_closeEditBuf equ 020CB8
 +
_parseEditBuf equ 020CBC
 +
_PutSM equ 020CC0
 +
_DspCurTbl equ 020CC4
 +
_DSPGRTBL equ 020CC8
 +
_ZeroTemplate equ 020CCC
 +
_settblrefs equ 020CD0
 +
_dispTblBot equ 020CD4
 +
_DispTblTop equ 020CD8
 +
_dispTblbody equ 020CDC
 +
_VPutBlank equ 020CE0
 +
;020CE4
 +
_DispLIstNameY equ 020CE8
 +
_CurNameLength equ 020CEC
 +
_NameToBuf equ 020CF0
 +
_JpromptCursor equ 020CF4
 +
_BufLeft equ 020CF8
 +
_BufRight equ 020CFC
 +
_BufInsert equ 020D00
 +
_BufQueueChar equ 020D04
 +
_BufReplace equ 020D08
 +
_BufDelete equ 020D0C
 +
_BufPeek equ 020D10
 +
_BufPeek1 equ 020D14
 +
_BufPeek2 equ 020D18
 +
_BufPeek3 equ 020D1C
 +
_BufToBtm equ 020D20
 +
_SetUpEditEqu equ 020D24
 +
_BufToTop equ 020D28
 +
_IsEditFull equ 020D2C
 +
_IsEditEmpty equ 020D30
 +
_IsAtTop equ 020D34
 +
_IsAtBtm equ 020D38
 +
;020D3C
 +
_JCursorFirst equ 020D40
 +
_JCursorLast equ 020D44
 +
_JursorLeft equ 020D48
 +
_JCursorRight equ 020D4C
 +
_JCursorUp equ 020D50
 +
_JursorDown equ 020D54
 +
_CursortooffSet equ 020D58
 +
_InsDisp equ 020D5C
 +
_FDispBOL1 equ 020D60
 +
_FDispBOL equ 020D64
 +
_DispEOW equ 020D68
 +
_DispHead equ 020D6C
 +
_DispTail equ 020D70
 +
_PutTokString equ 020D74
 +
_SetUpEditCmd equ 020D78
 +
_SetEmptyeditEqu equ 020D7C
 +
_SetEmptyEditPtr equ 020D80
 +
_CloseEditEqu equ 020D84
 +
_GetPrevTok equ 020D88
 +
_GetKey equ 020D8C
 +
_canIndic equ 020D90
 +
;020D94
 +
;020D98
 +
;020D9C
 +
;020DA0
 +
;020DA4
 +
;020DA8
 +
;020DAC
 +
;020DB0
 +
;020DB4
 +
;020DB8
 +
;020DBC
 +
;020DC0
 +
;020DC4
 +
;020DC8
 +
;020DCC
 +
;020DD0
 +
;020DD4
 +
;020DD8
 +
;020DDC
 +
;020DE0
 +
;020DE4
 +
;020DE8
 +
;020DEC
 +
;020DF0
 +
;020DF4
 +
;020DF8
 +
;020DFC
 +
;020E00
 +
;020E04
 +
;020E08
 +
;020E0C
 +
;020E10
 +
;020E14
 +
;020E18
 +
;020E1C
 +
;020E20
 +
;020E24
 +
;020E28
 +
;020E2C
 +
;020E30
 +
;020E34
 +
;020E38
 +
;020E3C
 +
;020E40
 +
;020E44
 +
;020E48
 +
;020E4C
 +
;020E50
 +
;020E54
 +
;020E58
 +
_DelRes equ 020E5C
 +
;020E60
 +
;020E64
 +
;020E68
 +
;020E6C
 +
;020E70
 +
;020E74
 +
;020E78
 +
;020E7C
 +
;020E80
 +
;020E84
 +
;020E88
 +
;020E8C
 +
;020E90
 +
;020E94
 +
;020E98
 +
;020E9C
 +
;020EA0
 +
;020EA4
 +
;020EA8
 +
;020EAC
 +
;020EB0
 +
;020EB4
 +
;020EB8
 +
;020EBC
 +
;020EC0
 +
;020EC4
 +
;020EC8
 +
;020ECC
 +
;020ED0
 +
;020ED4
 +
;020ED8
 +
;020EDC
 +
;020EE0
 +
;020EE4
 +
;020EE8
 +
;020EEC
 +
;020EF0
 +
;020EF4
 +
;020EF8
 +
;020EFC
 +
;020F00
 +
_Parseon equ 020F04
 +
;020F08
 +
;020F0C
 +
;020F10
 +
;020F14
 +
;020F18
 +
_OP2Set60 equ 020F1C
 +
_GetStatPtr equ 020F20
 +
_Cmp_StatPtr equ 020F24
 +
_VarSYSADR equ 020F28
 +
_StoSyStok equ 020F2C
 +
_StoAns equ 020F30
 +
_StoTheta equ 020F34
 +
_StoR equ 020F38
 +
_StoY equ 020F3C
 +
_StoN equ 020F40
 +
_StoT equ 020F44
 +
_StoX equ 020F48
 +
_StoOther equ 020F4C
 +
_RclAns equ 020F50
 +
_RclY equ 020F54
 +
_RclN equ 020F58
 +
_RclX equ 020F5C
 +
_RclVarSym equ 020F60
 +
_RclsyStok equ 020F64
 +
_StMatel equ 020F68
 +
_StLstvecel equ 020F6C
 +
_ConvOP1 equ 020F70
 +
_Find_parse_Formula equ 020F74
 +
_parse_Formula equ 020F78
 +
_StrngEnt1 equ 020F7C
 +
_Prgrdlp equ 020F80
 +
_VarEnt equ 020F84
 +
_ParseOnc equ 020F88
 +
_ParseOn equ 020F8C
 +
_ParseCmd equ 020F90
 +
_StoType equ 020F94
 +
_CreatePair equ 020F98
 +
_PushNum equ 020F9C
 +
_IncCurPCErrEnd equ 020FA0
 +
_ErrEnd equ 020FA4
 +
_CommaErrF equ 020FA8
 +
_CommaErr equ 020FAC
 +
_StEQArg2 equ 020FB0
 +
_StEQArg equ 020FB4
 +
_InpArg equ 020FB8
 +
_StEQArg3 equ 020FBC
 +
_NxtFetch equ 020FC0
 +
_CkFetchVar equ 020FC4
 +
_FetchVarA equ 020FC8
 +
_FetchVar equ 020FCC
 +
_CkEndLin equ 020FD0
 +
_CkEndExp equ 020FD4
 +
_CkParsEnd equ 020FD8
 +
_StoTypeArg equ 020FDC
 +
_ConvDim equ 020FE0
 +
_ConvDim00 equ 020FE4
 +
;020FE8
 +
_ParsaHeads equ 020FEC
 +
;020FF0
 +
_AnsName equ 020FF4
 +
;020FF8
 +
;020FFC
 +
;021000
 +
;021004
 +
;021008
 +
;02100C
 +
;021010
 +
;021014
 +
;021018
 +
;02101C
 +
;021020
 +
;021024
 +
;021028
 +
;02102C
 +
;021030
 +
;021034
 +
;021038
 +
_ResetStacks equ 02103C
 +
;021040
 +
;021044
 +
;021048
 +
;02104C
 +
;021050
 +
;021054
 +
;021058
 +
;02105C
 +
;021060
 +
;021064
 +
;021068
 +
;02106C
 +
;021070
 +
;021074
 +
;021078
 +
;02107C
 +
;021080
 +
;021084
 +
;021088
 +
;02108C
 +
;021090
 +
;021094
 +
;021098
 +
;02109C
 +
;0210A0
 +
;0210A4
 +
;0210A8
 +
;0210AC
 +
;0210B0
 +
;0210B4
 +
;0210B8
 +
;0210BC
 +
;0210C0
 +
;0210C4
 +
;0210C8
 +
;0210CC
 +
;0210D0
 +
;0210D4
 +
;0210D8
 +
;0210DC
 +
;0210E0
 +
;0210E4
 +
;0210E8
 +
_StrLength equ 0210EC
 +
_VPutMapRec equ 0210F0
 +
;0210F4
 +
;0210F8
 +
;0210FC
 +
;021100
 +
;021104
 +
;021108
 +
;02110C
 +
;021110
 +
;021114
 +
;021118
 +
;02111C
 +
_GetBaseVer equ 021120
 +
_SetLocDEtoFP0 equ 021124
 +
;021128
 +
_SetIgnoreKey equ 02112C
 +
_SetSendThIsKeyBack equ 021130
 +
_DisableAPD equ 021134
 +
_EnableAPD equ 021138
 +
_set2IY34 equ 02113C
 +
_forcecmd equ 021140
 +
_ApdSetup equ 021144
 +
_Get_NumKey equ 021148
 +
_AppSetup equ 02114C
 +
_ReleaseSedit equ 021150
 +
_initsmalleditline equ 021154
 +
_startsmalledit equ 021158
 +
;02115C
 +
_SGetTokString equ 021160
 +
_LoadPattern equ 021164
 +
_SStringLength equ 021168
 +
_RestorePenCol equ 02116C
 +
;021170
 +
;021174
 +
;021178
 +
;02117C
 +
;021180
 +
;021184
 +
;021188
 +
;02118C
 +
;021190
 +
;021194
 +
;021198
 +
;02119C
 +
;0211A0
 +
;0211A4
 +
;0211A8
 +
;0211AC
 +
;0211B0
 +
;0211B4
 +
;0211B8
 +
;0211BC
 +
;0211C0
 +
;0211C4
 +
;0211C8
 +
;0211CC
 +
;0211D0
 +
;0211D4
 +
;0211D8
 +
;0211DC
 +
;0211E0
 +
;0211E4
 +
;0211E8
 +
;0211EC
 +
;0211F0
 +
;0211F4
 +
;0211F8
 +
;0211FC
 +
;021200
 +
;021204
 +
;021208
 +
;02120C
 +
;021210
 +
;021214
 +
;021218
 +
;02121C
 +
;021220
 +
;021224
 +
;021228
 +
;02122C
 +
;021230
 +
;021234
 +
;021238
 +
;02123C
 +
;021240
 +
;021244
 +
;021248
 +
;02124C
 +
;021250
 +
;021254
 +
;021258
 +
;02125C
 +
;021260
 +
;021264
 +
;021268
 +
;02126C
 +
;021270
 +
;021274
 +
;021278
 +
;02127C
 +
;021280
 +
;021284
 +
;021288
 +
;02128C
 +
;021290
 +
;021294
 +
;021298
 +
;02129C
 +
;0212A0
 +
;0212A4
 +
;0212A8
 +
;0212AC
 +
;0212B0
 +
;0212B4
 +
;0212B8
 +
;0212BC
 +
;0212C0
 +
;0212C4
 +
;0212C8
 +
;0212CC
 +
;0212D0
 +
;0212D4
 +
;0212D8
 +
;0212DC
 +
;0212E0
 +
;0212E4
 +
;0212E8
 +
;0212EC
 +
;0212F0
 +
;0212F4
 +
;0212F8
 +
;0212FC
 +
;021300
 +
;021304
 +
;021308
 +
;02130C
 +
;021310
 +
;021314
 +
;021318
 +
;02131C
 +
_GetStringInput equ 021320
 +
_GetStringInput2 equ 021324
 +
_WaitEnterKeyValue equ 021328
 +
_HorizontalLine equ 02132C
 +
_CreateAppVar equ 021330
 +
_CreateProtProg equ 021334
 +
_CreateVar equ 021338
 +
_AsmComp equ 02133C
 +
_GetAsmSize equ 021340
 +
_SquishPrgm equ 021344
 +
_ExecutePrgm equ 021348
 +
_ChkFindSymAsm equ 02134C
 +
_ParsePrgmName equ 021350
 +
_CAdd equ 021354
 +
_CSqaure equ 021358
 +
_CMult equ 02135C
 +
_CRecip equ 021360
 +
_CDiv equ 021364
 +
_CAbs equ 021368
 +
_AddSquares equ 02136C
 +
_CSqroot equ 021370
 +
_CLn equ 021374
 +
_CLog equ 021378
 +
_CTenX equ 02137C
 +
_CEtoX equ 021380
 +
_CXrootY equ 021384
 +
;021388
 +
_CYtoX equ 02138C
 +
_InvertNonReal equ 021390
 +
_CplxMult equ 021394
 +
_CplxDiv equ 021398
 +
_CplxTrunc equ 02139C
 +
_CplxFrac equ 0213A0
 +
_CplxFloor equ 0213A4
 +
;0213A8
 +
_FlashWriteDisable equ 0213AC
 +
;0213B0
 +
_GetBytePaged_Unpaged equ 0213B4
 +
_RunCursorHook equ 0213B8
 +
_RunLibraryHook equ 0213BC
 +
_RunRawkeyHook equ 0213C0
 +
_SetCursorHook equ 0213C4
 +
_SetLibraryHook equ 0213C8
 +
;0213CC
 +
;0213D0
 +
;0213D4
 +
;0213D8
 +
;0213DC
 +
_SetGetKeyHook equ 0213E0
 +
_ClrGetKeyHook equ 0213E4
 +
_SetCatalog2Hook equ 0213E8
 +
_ClrCatalog2Hook equ 0213EC
 +
_SetLocalizeHook equ 0213F0
 +
_ClrLocalizeHook equ 0213F4
 +
_SetTokenHook equ 0213F8
 +
_ClrTokenHook equ 0213FC
 +
;021400
 +
;021404
 +
;021408
 +
;02140C
 +
_SetHomescreenHook equ 021410
 +
_ClrHomescreenHook equ 021414
 +
_SetWIndowHook equ 021418
 +
_ClrWIndowHook equ 02141C
 +
_SetGraphModeHook equ 021420
 +
_ClrGraphModeHook equ 021424
 +
_ParseAndStoreSysVar equ 021428
 +
_DisplayEditSysVar equ 02142C
 +
_JForceWIndowSettings equ 021430
 +
_DelVarArc equ 021434
 +
_DelVarNoArc equ 021438
 +
_SetAllPlots equ 02143C
 +
_SetYeditHook equ 021440
 +
_ClrYeditHook equ 021444
 +
_Arc_Unarc equ 021448
 +
;02144C
 +
;021450
 +
_SetFontHook equ 021454
 +
_ClrFontHook equ 021458
 +
_SetRegraphHook equ 02145C
 +
_ClrRegraphHook equ 021460
 +
_RunGraphingHook equ 021464
 +
_SetTraceHook equ 021468
 +
_ClrTraceHook equ 02146C
 +
_RunTraceHook equ 021470
 +
_NDeriv equ 021474
 +
_PolarDerivative equ 021478
 +
_JForceGraphNoKey equ 02147C
 +
_JForceGraphKey equ 021480
 +
_PowerOff equ 021484
 +
_GetKeyRetOff equ 021488
 +
_FindGroUpSym equ 02148C
 +
_LoadDEIndPaged_Unpaged equ 021490
 +
_SetUpPagedPtr_Unpaged equ 021494
 +
_PagedGet_Unpaged equ 021498
 +
_SetParserHook equ 02149C
 +
_ClrParserHook equ 0214A0
 +
_SetAppChangeHook equ 0214A4
 +
_ClrAppChangeHook equ 0214A8
 +
_SetGraphicsHook equ 0214AC
 +
_ClrGraphicsHook equ 0214B0
 +
_ILineNoGraphicsHook equ 0214B4
 +
_ILineNoHook equ 0214B8
 +
;0214BC
 +
_DeleteTempPrograms equ 0214C0
 +
_SetCatalog1Hook equ 0214C4
 +
_ClrCatalog1Hook equ 0214C8
 +
_SetHelpHook equ 0214CC
 +
_ClrHelpHook equ 0214D0
 +
_DispCatalogEnd equ 0214D4
 +
_GetMenuKeypress equ 0214D8
 +
_GetCatalogItem equ 0214DC
 +
_RunCatalog2Hook equ 0214E0
 +
_RunCatalog1Hook equ 0214E4
 +
;0214E8
 +
;0214EC
 +
_DispMenuTitle equ 0214F0
 +
;0214F4
 +
_SetcxReDispHook equ 0214F8
 +
_ClrcxReDispHook equ 0214FC
 +
;021500
 +
;021504
 +
;021508
 +
;02150C
 +
;021510
 +
;021514
 +
_SetMenuHook equ 021518
 +
_ClrMenuHook equ 02151C
 +
_GetBCOffSetIX equ 021520
 +
;021524
 +
_ForceFullScreen equ 021528
 +
_HLminus5 equ 02152C
 +
;021530
 +
;021534
 +
;021538
 +
_Arc_Unarc equ 02153C
 +
;021540
 +
;021544
 +
;021548
 +
;02154C
 +
;021550
 +
;021554
 +
;021558
 +
;02155C
 +
;021560
 +
;021564
 +
;021568
 +
;02156C
 +
;021570
 +
;021574
 +
;021578
 +
;02157C
 +
;021580
 +
;021584
 +
;021588
 +
;02158C
 +
;021590
 +
;021594
 +
;021598
 +
;02159C
 +
;0215A0
 +
;0215A4
 +
;0215A8
 +
;0215AC
 +
;0215B0
 +
;0215B4
 +
;0215B8
 +
;0215BC
 +
;0215C0
 +
;0215C4
 +
;0215C8
 +
;0215CC
 +
;0215D0
 +
;0215D4
 +
;0215D8
 +
;0215DC
 +
;0215E0
 +
;0215E4
 +
;0215E8
 +
;0215EC
 +
;0215F0
 +
;0215F4
 +
;0215F8
 +
;0215FC
 +
;021600
 +
;021604
 +
;021608
 +
;02160C
 +
;021610
 +
;021614
 +
;021618
 +
;02161C
 +
;021620
 +
;021624
 +
;021628
 +
;02162C
 +
;021630
 +
;021634
 +
;021638
 +
;02163C
 +
;021640
 +
;021644
 +
;021648
 +
;02164C
 +
;021650
 +
;021654
 +
;021658
 +
;02165C
 +
;021660
 +
;021664
 +
;021668
 +
;02166C
 +
;021670
 +
;021674
 +
;021678
 +
;02167C
 +
;021680
 +
;021684
 +
;021688
 +
;02168C
 +
;021690
 +
;021694
 +
;021698
 +
;02169C
 +
;0216A0
 +
_NumError02 equ 0216A4
 +
;0216A8
 +
;0216AC
 +
;0216B0
 +
;0216B4
 +
;0216B8
 +
;0216BC
 +
;0216C0
 +
;0216C4
 +
;0216C8
 +
;0216CC
 +
;0216D0
 +
;0216D4
 +
;0216D8
 +
;0216DC
 +
;0216E0
 +
;0216E4
 +
;0216E8
 +
;0216EC
 +
;0216F0
 +
;0216F4
 +
;0216F8
 +
;0216FC
 +
;021700
 +
;021704
 +
;021708
 +
;02170C
 +
;021710
 +
;021714
 +
;021718
 +
;02171C
 +
;021720
 +
;021724
 +
;021728
 +
;02172C
 +
;021730
 +
;021734
 +
;021738
 +
;02173C
 +
;021740
 +
;021744
 +
;021748
 +
;02174C
 +
;021750
 +
;021754
 +
;021758
 +
;02175C
 +
;021760
 +
;021764
 +
;021768
 +
;02176C
 +
;021770
 +
;021774
 +
;021778
 +
;02177C
 +
;021780
 +
;021784
 +
;021788
 +
;02178C
 +
;021790
 +
;021794
 +
;021798
 +
;02179C
 +
;0217A0
 +
;0217A4
 +
;0217A8
 +
;0217AC
 +
;0217B0
 +
;0217B4
 +
;0217B8
 +
;0217BC
 +
;0217C0
 +
;0217C4
 +
;0217C8
 +
;0217CC
 +
;0217D0
 +
;0217D4
 +
;0217D8
 +
;0217DC
 +
;0217E0
 +
;0217E4
 +
;0217E8
 +
;0217EC
 +
;0217F0
 +
;0217F4
 +
;0217F8
 +
;0217FC
 +
;021800
 +
;021804
 +
;021808
 +
;02180C
 +
;021810
 +
;021814
 +
;021818
 +
;02181C
 +
;021820
 +
;021824
 +
;021828
 +
;02182C
 +
;021830
 +
;021834
 +
;021838
 +
;02183C
 +
;021840
 +
;021844
 +
;021848
 +
;02184C
 +
;021850
 +
;021854
 +
;021858
 +
;02185C
 +
;021860
 +
;021864
 +
;021868
 +
;02186C
 +
;021870
 +
;021874
 +
;021878
 +
;02187C
 +
;021880
 +
;021884
 +
;021888
 +
;02188C
 +
;021890
 +
;021894
 +
;021898
 +
;02189C
 +
;0218A0
 +
;0218A4
 +
;0218A8
 +
;0218AC
 +
;0218B0
 +
;0218B4
 +
;0218B8
 +
;0218BC
 +
;0218C0
 +
;0218C4
 +
;0218C8
 +
;0218CC
 +
;0218D0
 +
;0218D4
 +
;0218D8
 +
;0218DC
 +
;0218E0
 +
;0218E4
 +
;0218E8
 +
;0218EC
 +
;0218F0
 +
;0218F4
 +
;0218F8
 +
;0218FC
 +
;021900
 +
;021904
 +
;021908
 +
;02190C
 +
;021910
 +
;021914
 +
;021918
 +
;02191C
 +
;021920
 +
;021924
 +
;021928
 +
;02192C
 +
;021930
 +
;021934
 +
;021938
 +
;02193C
 +
_commonKeys equ 021940
 +
;021944
 +
;021948
 +
;02194C
 +
;021950
 +
;021954
 +
;021958
 +
;02195C
 +
;021960
 +
;021964
 +
;021968
 +
;02196C
 +
;021970
 +
;021974
 +
;021978
 +
;02197C
 +
;021980
 +
;021984
 +
;021988
 +
;02198C
 +
;021990
 +
;021994
 +
;021998
 +
;02199C
 +
;0219A0
 +
;0219A4
 +
;0219A8
 +
;0219AC
 +
;0219B0
 +
;0219B4
 +
;0219B8
 +
;0219BC
 +
;0219C0
 +
;0219C4
 +
;0219C8
 +
;0219CC
 +
;0219D0
 +
;0219D4
 +
;0219D8
 +
;0219DC
 +
;0219E0
 +
;0219E4
 +
;0219E8
 +
;0219EC
 +
;0219F0
 +
;0219F4
 +
;0219F8
 +
;0219FC
 +
;021A00
 +
;021A04
 +
;021A08
 +
;021A0C
 +
;021A10
 +
;021A14
 +
;021A18
 +
;021A1C
 +
;021A20
 +
;021A24
 +
;021A28
 +
;021A2C
 +
;021A30
 +
;021A34
 +
;021A38
 +
_drawStatusbar equ 021A3C
 +
;021A40
 +
;021A44
 +
;021A48
 +
;021A4C
 +
;021A50
 +
;021A54
 +
;021A58
 +
;021A5C
 +
;021A60
 +
;021A64
 +
;021A68
 +
;021A6C
 +
;021A70
 +
;021A74
 +
;021A78
 +
;021A7C
 +
;021A80
 +
;021A84
 +
;021A88
 +
;021A8C
 +
;021A90
 +
;021A94
 +
;021A98
 +
;021A9C
 +
;021AA0
 +
;021AA4
 +
;021AA8
 +
;021AAC
 +
;021AB0
 +
;021AB4
 +
;021AB8
 +
;021ABC
 +
;021AC0
 +
;021AC4
 +
;021AC8
 +
;021ACC
 +
;021AD0
 +
;021AD4
 +
;021AD8
 +
;021ADC
 +
;021AE0
 +
_SetTextFGBGcolors equ 021AE4
 +
_SetTextBGcolor equ 021AE8
 +
;021AEC
 +
;021AF0
 +
;021AF4
 +
;021AF8
 +
;021AFC
 +
;021B00
 +
;021B04
 +
;021B08
 +
;021B0C
 +
;021B10
 +
;021B14
 +
;021B18
 +
;021B1C
 +
;021B20
 +
;021B24
 +
;021B28
 +
;021B2C
 +
;021B30
 +
;021B34
 +
;021B38
 +
;021B3C
 +
;021B40
 +
;021B44
 +
;021B48
 +
;021B4C
 +
;021B50
 +
;021B54
 +
;021B58
 +
;021B5C
 +
;021B60
 +
;021B64
 +
;021B68
 +
;021B6C
 +
;021B70
 +
;021B74
 +
;021B78
 +
;021B7C
 +
;021B80
 +
;021B84
 +
;021B88
 +
;021B8C
 +
;021B90
 +
;021B94
 +
;021B98
 +
;021B9C
 +
;021BA0
 +
;021BA4
 +
;021BA8
 +
_GetColorValue equ 021BAC
 +
;021BB0
 +
;021BB4
 +
;021BB8
 +
;021BBC
 +
;021BC0
 +
;021BC4
 +
;021BC8
 +
;021BCC
 +
;021BD0
 +
;021BD4
 +
;021BD8
 +
;021BDC
 +
;021BE0
 +
;021BE4
 +
;021BE8
 +
;021BEC
 +
;021BF0
 +
;021BF4
 +
;021BF8
 +
;021BFC
 +
;021C00
 +
;021C04
 +
;021C08
 +
;021C0C
 +
;021C10
 +
;021C14
 +
;021C18
 +
;021C1C
 +
;021C20
 +
;021C24
 +
;021C28
 +
;021C2C
 +
;021C30
 +
;021C34
 +
;021C38
 +
;021C3C
 +
;021C40
 +
;021C44
 +
;021C48
 +
;021C4C
 +
;021C50
 +
;021C54
 +
;021C58
 +
;021C5C
 +
;021C60
 +
;021C64
 +
;021C68
 +
;021C6C
 +
;021C70
 +
;021C74
 +
;021C78
 +
_PopErrorhandler equ 021C7C
 +
;021C80
 +
;021C84
 +
;021C88
 +
;021C8C
 +
;021C90
 +
;021C94
 +
;021C98
 +
;021C9C
 +
;021CA0
 +
;021CA4
 +
;021CA8
 +
;021CAC
 +
;021CB0
 +
;021CB4
 +
;021CB8
 +
;021CBC
 +
;021CC0
 +
;021CC4
 +
;021CC8
 +
;021CCC
 +
;021CD0
 +
;021CD4
 +
;021CD8
 +
;021CDC
 +
;021CE0
 +
;021CE4
 +
;021CE8
 +
;021CEC
 +
;021CF0
 +
;021CF4
 +
;021CF8
 +
;021CFC
 +
;021D00
 +
;021D04
 +
;021D08
 +
;021D0C
 +
;021D10
 +
;021D14
 +
;021D18
 +
;021D1C
 +
;021D20
 +
;021D24
 +
;021D28
 +
;021D2C
 +
;021D30
 +
;021D34
 +
;021D38
 +
;021D3C
 +
;021D40
 +
;021D44
 +
_ChkBCIs0 equ 021D48
 +
_ChkDEIs0 equ 021D4C
 +
_ChkHLIs0 equ 021D50
 +
_SetatoBCU equ 021D54
 +
_SetatoDEU equ 021D58
 +
_SetatoHLU equ 021D5C
 +
_SetBCUtoA equ 021D60
 +
_SetBCUtoB equ 021D64
 +
_SetDEUtoA equ 021D68
 +
_SetDEUtoB equ 021D6C
 +
_SetHLUtoA equ 021D70
 +
_SetHLUtoB equ 021D74
 +
_SignextendBC equ 021D78
 +
_SignextendDE_Broken equ 021D7C
 +
_SignextendHL_Broken equ 021D80
 +
_SetBCUto0 equ 021D84
 +
_SetDEUto0 equ 021D88
 +
_SetHLUto0 equ 021D8C
 +
_DivHLbya equ 021D90
 +
_cpHLDE_s equ 021D94
 +
_cpHLDE equ 021D98
 +
_loadDEInd_s equ 021D9C
 +
_loadDEInd equ 021DA0
 +
_cpHLDEBC equ 021DA4
 +
_negBC equ 021DA8
 +
_negDE equ 021DAC
 +
_StrCmpre equ 021DB0
 +
_addHLandA equ 021DB4
 +
;021DB8
 +
;021DBC
 +
_swapHLendian equ 021DC0
 +
;021DC4
 +
;021DC8
 +
;021DCC
 +
;021DD0
 +
;021DD4
 +
;021DD8
 +
;021DDC
 +
;021DE0
 +
;021DE4
 +
;021DE8
 +
;021DEC
 +
;021DF0
 +
;021DF4
 +
;021DF8
 +
;021DFC
 +
;021E00
 +
;021E04
 +
;021E08
 +
;021E0C
 +
;021E10
 +
;021E14
 +
;021E18
 +
;021E1C
 +
;021E20
 +
;021E24
 +
;021E28
 +
;021E2C
 +
;021E30
 +
;021E34
 +
;021E38
 +
;021E3C
 +
;021E40
 +
;021E44
 +
;021E48
 +
;021E4C
 +
;021E50
 +
;021E54
 +
;021E58
 +
;021E5C
 +
;021E60
 +
;021E64
 +
;021E68
 +
;021E6C
 +
;021E70
 +
;021E74
 +
;021E78
 +
;021E7C
 +
;021E80
 +
;021E84
 +
;021E88
 +
;021E8C
 +
;021E90
 +
;021E94
 +
;021E98
 +
;021E9C
 +
;021EA0
 +
;021EA4
 +
;021EA8
 +
;021EAC
 +
;021EB0
 +
;021EB4
 +
;021EB8
 +
;021EBC
 +
;021EC0
 +
;021EC4
 +
;021EC8
 +
;021ECC
 +
;021ED0
 +
;021ED4
 +
;021ED8
 +
;021EDC
 +
_Disphl equ 021EE0
 +
;021EE4
 +
;021EE8
 +
;021EEC
 +
;021EF0
 +
;021EF4
 +
;021EF8
 +
;021EFC
 +
;021F00
 +
;021F04
 +
;021F08
 +
;021F0C
 +
;021F10
 +
;021F14
 +
;021F18
 +
;021F1C
 +
;021F20
 +
;021F24
 +
;021F28
 +
;021F2C
 +
;021F30
 +
;021F34
 +
;021F38
 +
;021F3C
 +
;021F40
 +
;021F44
 +
;021F48
 +
;021F4C
 +
;021F50
 +
;021F54
 +
;021F58
 +
;021F5C
 +
;021F60
 +
;021F64
 +
;021F68
 +
;021F6C
 +
;021F70
 +
;021F74
 +
;021F78
 +
;021F7C
 +
;021F80
 +
;021F84
 +
;021F88
 +
;021F8C
 +
;021F90
 +
;021F94
 +
_Chkinram equ 021F98
 +
;021F9C
 +
;021FA0
 +
;021FA4
 +
;021FA8
 +
;021FAC
 +
;021FB0
 +
;021FB4
 +
;021FB8
 +
;021FBC
 +
;021FC0
 +
;021FC4
 +
;021FC8
 +
;021FCC
 +
;021FD0
 +
;021FD4
 +
;021FD8
 +
;021FDC
 +
;021FE0
 +
;021FE4
 +
;021FE8
 +
;021FEC
 +
;021FF0
 +
;021FF4
 +
;021FF8
 +
;021FFC
 +
;022000
 +
;022004
 +
;022008
 +
;02200C
 +
;022010
 +
;022014
 +
;022018
 +
;02201C
 +
;022020
 +
;022024
 +
;022028
 +
;02202C
 +
;022030
 +
;022034
 +
;022038
 +
;02203C
 +
;022040
 +
;022044
 +
;022048
 +
;02204C
 +
;022050
 +
;022054
 +
;022058
 +
;02205C
 +
;022060
 +
;022064
 +
;022068
 +
;02206C
 +
;022070
 +
;022074
 +
;022078
 +
;02207C
 +
;022080
 +
;022084
 +
;022088
 +
_ret equ 02208C
 +
;022090
 +
;022094
 +
;022098
 +
;02209C
 +
;0220A0
 +
;0220A4
 +
_nmihandler equ 0220A8
  
;-------------------------------------------------------------------------------
+
;RAM Equates
; Ports
+
;--------------------------------
;-------------------------------------------------------------------------------
+
flags equ 0D00080h
pCpuSpeed              EQU 0001
+
pHardwareId            EQU 0003
+
pUsbRange              EQU 3000h
+
; LCD ports
+
pLcdCtrlRange          EQU 4000h
+
mpLcdCtrlRange          EQU 0E30000h
+
pLcdBase                EQU 4010h
+
mpLcdBase              EQU 0E30010h
+
  
pLcdCtrl                EQU 4018h
+
kbdScanCode equ 0D00587h
mpLcdCtrl              EQU 0E30018h
+
kbdLGSC equ 0D00588h
; Bits [7:6] and [4] are not valid for our LCD
+
kbdPSC equ 0D00589h
lcdEn                  EQU 1
+
kbdWUR equ 0D0058Ah
lcdTft                  EQU 20h
+
kbdDebncCnt equ 0D0058Bh
lcdBpp1                EQU 0000b | lcdTft | lcdEn
+
kbdKey equ 0D0058Ch
lcdBpp2                EQU 0010b | lcdTft | lcdEn
+
kbdGetKy equ 0D0058Dh
lcdBpp4                EQU 0100b | lcdTft | lcdEn
+
keyExtend equ 0D0058Eh
lcdBpp8                EQU 0110b | lcdTft | lcdEn
+
lcdBpp16Alt            EQU 1000b | lcdTft | lcdEn
+
lcdBpp24                EQU 1010b | lcdTft | lcdEn
+
lcdBpp16                EQU 1100b | lcdTft | lcdEn ; Default
+
lcdBpp12                EQU 1110b | lcdTft | lcdEn
+
lcdBgr                  EQU 100h
+
lcdBigEndian            EQU 200h
+
lcdBigEndianPixels      EQU 400h
+
lcdPwr                  EQU 800h
+
lcdIntVSync            EQU 0
+
lcdIntBack              EQU 1000h
+
lcdIntActiveVideo      EQU 2000h
+
lcdIntFront            EQU 4000h
+
lcdWatermark            EQU 10000h
+
lcdNormalMode          EQU lcdPwr | lcdBgr | lcdBpp16
+
  
pLcdPalette            EQU 4200h
+
apdTimer equ 0D00591h
mpLcdPalette            EQU 0E30200h
+
curRow equ 0D00595h
pLcdCursorImg          EQU 4800h
+
curCol equ 0D00596h
mpLcdCursorImg          EQU 0E30800h
+
curOffset equ 0D00597h
pLcdCrsrCtrl            EQU 4C00h
+
mpLcdCrsrCtrl          EQU 0E30C00h
+
pLcdCrsrConfig          EQU 4C04h
+
mpLcdCrsrConfig        EQU 0E30C04h
+
pLcdCrsrPal0            EQU 4C08h
+
mpLcdCrsrPal0          EQU 0E30C08h
+
pLcdCrsrPal1            EQU 4C0Ch
+
mpLcdCrsrPal1          EQU 0E30C0Ch
+
pLcdCrsrXy              EQU 4C10h
+
mpLcdCrsrXy            EQU 0E30C10h
+
pLcdCrsrClip            EQU 4C14h
+
mpLcdCrsrClip          EQU 0E30C14h
+
; RTC
+
pRtcRange              EQU 8000h
+
mpRtcRange              EQU 0F30000h
+
pKbdRange              EQU 0A000h
+
mpKbdRange              EQU 0F50000h
+
pBlLevel                EQU 0B024h
+
mpBlLevel              EQU 0F60024h
+
  
;-------------------------------------------------------------------------------
+
OP1 equ 0D005F8h
; Direct PORTS Keyboard
+
OP1M equ 0D005FAh
;-------------------------------------------------------------------------------
+
OP2 equ 0D00603h
DI_Mode equ 00h
+
OP2M equ 0D00605h
DI_Cntrl equ 04h
+
OP2EXT equ 0D0060Ch
DI_Int equ 08h
+
OP3 equ 0D0060Eh
DI_IntMask equ 0Ch
+
OP3M equ 0D00610h
 +
OP4 equ 0D00619h
 +
OP4M equ 0D0061Bh
 +
OP5 equ 0D00624h
 +
OP5M equ 0D00626h
 +
OP6 equ 0D0062Fh
 +
OP6M equ 0D00631h
 +
OP6EXT equ 0D00638h
  
kbdG1 equ 0F50012h
+
onSp equ 0D007FAh
;-------------------------------
+
kbdGraph equ 00000001b
+
kbdTrace equ 00000010b
+
kbdZoom equ 00000100b
+
kbdWindow equ 00001000b
+
kbdYequ equ 00010000b
+
kbd2nd equ 00100000b
+
kbdMode equ 01000000b
+
kbdDel equ 10000000b
+
  
kbitGraph equ 00h
+
penCol equ 0D008D2h
kbitTrace equ 01h
+
penRow equ 0D008D5h
kbitZoom equ 02h
+
kbitWindow equ 03h
+
kbitYequ equ 04h
+
kbit2nd equ 05h
+
kbitMode equ 06h
+
kbitDel equ 07h
+
  
kbdG2 equ 0F50014h
+
errNo equ 0D008DFh
;-------------------------------
+
errSP equ 0D008E0h
kbdStore equ 00000010b
+
kbdLn equ 00000100b
+
kbdLog equ 00001000b
+
kbdSquare equ 00010000b
+
kbdRecip equ 00100000b
+
kbdMath equ 01000000b
+
kbdAlpha equ 10000000b
+
  
kbitStore equ 01h
+
asm_prgm_size equ 0D0118Ch
kbitLn equ 02h
+
kbitLog equ 03h
+
kbitSquare equ 04h
+
kbitRecip equ 05h
+
kbitMath equ 06h
+
kbitAlpha equ 07h
+
  
kbdG3 equ 0F50016h
+
begPC equ 0D02317h
;-------------------------------
+
curPC equ 0D0231Ah
kbd0 equ 00000001b
+
endPC equ 0D0231Dh
kbd1 equ 00000010b
+
kbd4 equ 00000100b
+
kbd7 equ 00001000b
+
kbdComma equ 00010000b
+
kbdSin equ 00100000b
+
kbdApps equ 01000000b
+
kbdGraphVar equ 10000000b
+
  
kbit0 equ 00h
+
tempMem equ 0D02587h
kbit1 equ 01h
+
FPSbase equ 0D0258Ah
kbit4 equ 02h
+
FPS equ 0D0258Dh
kbit7 equ 03h
+
OPBase equ 0D02590h
kbitComma equ 04h
+
OPS equ 0D02593h
kbitSin equ 05h
+
kbitApps equ 06h
+
kbitGraphVar equ 07h
+
  
kbdG4 equ 0F50018h
+
pTemp equ 0D0259Ah
;-------------------------------
+
progPtr equ 0D0259Dh
kbdDecPnt equ 00000001b
+
kbd2 equ 00000010b
+
kbd5 equ 00000100b
+
kbd8 equ 00001000b
+
kbdLParen equ 00010000b
+
kbdCos equ 00100000b
+
kbdPgrm equ 01000000b
+
kbdStat equ 10000000b
+
  
kbitDecPnt equ 00h
+
pagedGetPtr equ 0D025A3h ; 2 bytes scrap
kbit2 equ 01h
+
kbit5 equ 02h
+
kbit8 equ 03h
+
kbitLParen equ 04h
+
kbitCos equ 05h
+
kbitPgrm equ 06h
+
kbitStat equ 07h
+
  
kbdG5 equ 0F5001Ah
+
winTop equ 0D02504h
;-------------------------------
+
winBtm equ 0D02505h
kbdChs equ 00000001b
+
winLeftEdge equ 0D02506h
kbd3 equ 00000010b
+
winLeft equ 0D02507h
kbd6 equ 00000100b
+
kbd9 equ 00001000b
+
kbdRParen equ 00010000b
+
kbdTan equ 00100000b
+
kbdVars equ 01000000b
+
  
kbitChs equ 00h
+
cursorHookPtr equ 0D025D5h
kbit3 equ 01h
+
libraryHookPtr equ 0D025D8h
kbit6 equ 02h
+
rawKeyHookPtr equ 0D025DBh
kbit9 equ 03h
+
getKeyHookPtr equ 0D025DEh
kbitRParen equ 04h
+
homescreenHookPtr equ 0D025E1h
kbitTan equ 05h
+
windowHookPtr equ 0D025E4h
kbitVars equ 06h
+
graphHookPtr equ 0D025E7h
 +
yEqualsHookPtr equ 0D025EAh
 +
fontHookPtr equ 0D025EDh
 +
regraphHookPtr equ 0D025F0h
 +
graphicsHookPtr equ 0D025F3h
 +
traceHookPtr equ 0D025E6h
 +
parserHookPtr equ 0D025F9h
 +
appChangeHookPtr equ 0D025FCh
 +
catalog1HookPtr equ 0D025FFh
 +
helpHookPtr equ 0D02602h
 +
cxRedispHookPtr equ 0D02605h
 +
menuHookPtr equ 0D02608h
 +
catalog2HookPtr equ 0D0260Bh
 +
tokenHookPtr equ 0D0260Eh
 +
localizeHookPtr equ 0D02611h
 +
silentLinkHookPtr equ 0D02614h
 +
USBActivityHookPtr equ 0D02617h
  
kbdG6 equ 0F5001Ch
+
textBGcolor equ 0D02688h
;-------------------------------
+
textFGcolor equ 0D0268Ah
kbdEnter equ 00000001b
+
kbdAdd equ 00000010b
+
kbdSub equ 00000100b
+
kbdMul equ 00001000b
+
kbdDiv equ 00010000b
+
kbdPower equ 00100000b
+
kbdClear equ 01000000b
+
  
kbitEnter equ 00h
+
drawBGColor equ 0D026AAh
kbitAdd equ 01h
+
drawFGColor equ 0D026ACh
kbitSub equ 02h
+
drawColorCode equ 0D026AEh
kbitMul equ 03h
+
kbitDiv equ 04h
+
kbitPower equ 05h
+
kbitClear equ 06h
+
  
kbdG7 equ 0F5001Eh
+
scrapMem equ 0D02AD7h ; 3 byte scrap (unstable)
;-------------------------------
+
 
kbdDown equ 00000001b
+
;safeRAM Locations
kbdLeft equ 00000010b
+
;---------------------------------------------
kbdRight equ 00000100b
+
pixelShadow equ 0D031F6h ; 8400 bytes
kbdUP equ 00001000b
+
pixelShadow2 equ 0D052C6h ; 8400 bytes ; (stable)
 +
cmdPixelShadow equ 0D07396h ; 8400 bytes
 +
plotSScreen equ 0D09466h ; 21945 bytes ; Set GraphDraw Flag to redraw graph if used
 +
saveSScreen equ 0D0EA1Fh ; 21945 bytes ; Set GraphDraw Flag to redraw graph if used
 +
textShadow equ 0D006C0h ; 260 bytes ; Call _ClrTxtShdw to put spaces in here
 +
cmdShadow equ 0D0232Dh ; 260 bytes
 +
 
 +
;RAM Equates Continued
 +
;---------------------------------------------
 +
userMem equ 0D1A881h
 +
symTable equ 0D3FFFFh
 +
vRam equ 0D40000h
 +
vRamEnd equ 0D65800h
 +
 
 +
;Ports
 +
;--------------------------------
 +
pCpuSpeed equ 0001h
 +
pHardwareId equ 0003h
 +
pUsbRange equ 3000h
 +
 
 +
;LCD Ports
 +
;--------------------------------
 +
pLcdCtrlRange equ 4000h
 +
mpLcdCtrlRange equ 0E30000h
 +
pLcdBase equ 4010h
 +
mpLcdBase equ 0E30010h
 +
 
 +
pLcdCtrl equ 4018h
 +
mpLcdCtrl equ 0E30018h
 +
 
 +
lcdEn equ 01h
 +
lcdTft equ 20h
 +
lcdBpp1 equ 0000b | lcdTft | lcdEn
 +
lcdBpp2 equ 0010b | lcdTft | lcdEn
 +
lcdBpp4 equ 0100b | lcdTft | lcdEn
 +
lcdBpp8 equ 0110b | lcdTft | lcdEn
 +
lcdBpp16Alt equ 1000b | lcdTft | lcdEn
 +
lcdBpp24 equ 1010b | lcdTft | lcdEn
 +
lcdBpp16 equ 1100b | lcdTft | lcdEn ; Default LCD mode
 +
lcdBpp12 equ 1110b | lcdTft | lcdEn
 +
lcdBgr equ 100h
 +
lcdBigEndian equ 200h
 +
lcdBigEndianPixels equ 400h
 +
lcdPwr equ 800h
 +
lcdIntVSync equ 00h
 +
lcdIntBack equ 1000h
 +
lcdIntActiveVideo equ 2000h
 +
lcdIntFront equ 4000h
 +
lcdWatermark equ 10000h
 +
lcdNormalMode equ lcdPwr | lcdBgr | lcdBpp16
 +
 
 +
pLcdPalette equ 4200h
 +
mpLcdPalette equ 0E30200h
 +
pLcdCursorImg equ 4800h
 +
mpLcdCursorImg equ 0E30800h
 +
pLcdCrsrCtrl equ 4C00h
 +
mpLcdCrsrCtrl equ 0E30C00h
 +
pLcdCrsrConfig equ 4C04h
 +
mpLcdCrsrConfig equ 0E30C04h
 +
pLcdCrsrPal0 equ 4C08h
 +
mpLcdCrsrPal0 equ 0E30C08h
 +
pLcdCrsrPal1 equ 4C0Ch
 +
mpLcdCrsrPal1 equ 0E30C0Ch
 +
pLcdCrsrXy equ 4C10h
 +
mpLcdCrsrXy equ 0E30C10h
 +
pLcdCrsrClip equ 4C14h
 +
mpLcdCrsrClip equ 0E30C14h
 +
 
 +
;RTC Ports
 +
;-----------------------------------
 +
pRtcRange equ 8000h
 +
mpRtcRange equ 0F30000h
 +
 
 +
;Backlight Ports
 +
;-----------------------------------
 +
pBlLevel equ 0B024h
 +
mpBlLevel equ 0F60024h
  
kbitDown equ 00h
 
kbitLeft equ 01h
 
kbitRight equ 02h
 
kbitUP equ 03h
 
;-------------------------------------------------------------------------------
 
 
; Boot Calls
 
; Boot Calls
;-------------------------------------------------------------------------------
+
;-----------------------------------
_getBootVerMajor EQU 0000080h
+
__getBootVerMajor equ 0000080h
_getHardwareVersion EQU 0000084h
+
__getHardwareVersion equ 0000084h
_getKeyID        EQU 0000088h
+
__getKeyID equ 0000088h
_getBootVerMinor EQU 000008Ch
+
__getBootVerMinor equ 000008Ch
_getBootVerBuild EQU 0000090h
+
__getBootVerBuild equ 0000090h
;0000094h ;outputs A to 0FFFEh and locks up, only on certain hardware revision?
+
  ;0000094h ;outputs A to 0FFFEh and locks up, only on certain hardware revision?
_memchr        EQU  000009Ch
+
__memchr equ 000009Ch
_memcmp        EQU  00000A0h
+
__memcmp equ 00000A0h
_memcpy        EQU  00000A4h
+
__memcpy equ 00000A4h
_memmove        EQU  00000A8h
+
__memmove equ 00000A8h
_memset        EQU  00000ACh
+
__memset equ 00000ACh
_memclear      EQU  00000B0h
+
__memclear equ 00000B0h
_DoNothing      EQU  00000F8h
+
__DoNothing equ 00000F8h
_setjmp        EQU  00000B8h
+
__setjmp equ 00000B8h
_longjmp        EQU  0000098h
+
__longjmp equ 0000098h
_sprintf        EQU  00000BCh
+
__sprintf equ 00000BCh
_strcat        EQU  00000C0h
+
__strcat equ 00000C0h
_strchr        EQU  00000C4h
+
__strchr equ 00000C4h
_strcmp        EQU  00000C8h
+
__strcmp equ 00000C8h
_strcpy        EQU  00000CCh
+
__strcpy equ 00000CCh
_strcspn        EQU  00000D0h
+
__strcspn equ 00000D0h
_strlen        EQU  00000D4h
+
__strlen equ 00000D4h
_strncat        EQU  00000D8h
+
__strncat equ 00000D8h
_strncmp        EQU  00000DCh
+
__strncmp equ 00000DCh
_strncpy        EQU  00000E0h
+
__strncpy equ 00000E0h
_strpbrk        EQU  00000E4h
+
__strpbrk equ 00000E4h
_strrchr        EQU  00000E8h
+
__strrchr equ 00000E8h
_strspn        EQU  00000ECh
+
__strspn equ 00000ECh
_strstr        EQU  00000F0h
+
__strstr equ 00000F0h
_strtok        EQU  00000F4h; Uses static 24-bit variable at 0D0FFFFh
+
__strtok equ 00000F4h; Uses static 24-bit variable at 0D0FFFFh
__case         EQU  0000110h
+
__case equ 0000110h
__case16       EQU  0000114h
+
__case16 equ 0000114h
__case16D       EQU  0000118h
+
__case16D equ 0000118h
__case24       EQU  000011Ch
+
__case24 equ 000011Ch
__case24D       EQU  0000120h
+
__case24D equ 0000120h
__case8         EQU  0000124h
+
__case8 equ 0000124h
__case8D       EQU  0000128h
+
__case8D equ 0000128h
__frameset0     EQU  0000130h
+
__frameset0 equ 0000130h
__frameset     EQU  000012Ch
+
__frameset equ 000012Ch
__iand         EQU  0000134h
+
__iand equ 0000134h
__icmpzero     EQU  0000138h
+
__icmpzero equ 0000138h
__idivs         EQU  000013Ch
+
__idivs equ 000013Ch
__idivu         EQU  0000140h
+
__idivu equ 0000140h
__idvrmu       EQU  0000144h
+
__idvrmu equ 0000144h
__ildix         EQU  0000148h
+
__ildix equ 0000148h
__ildiy         EQU  000014Ch
+
__ildiy equ 000014Ch
__imul_b       EQU  0000150h
+
__imul_b equ 0000150h
__imuls         EQU  0000154h
+
__imuls equ 0000154h
__imulu         EQU  0000158h
+
__imulu equ 0000158h
__indcall       EQU  000015Ch
+
__indcall equ 000015Ch
__ineg         EQU  0000160h
+
__ineg equ 0000160h
__sneg         EQU  000022Ch
+
__sneg equ 000022Ch
__inot         EQU  0000164h
+
__inot equ 0000164h
__snot         EQU  0000230h
+
__snot equ 0000230h
__ior           EQU  0000168h
+
__ior equ 0000168h
__irems         EQU  000016Ch
+
__irems equ 000016Ch
__iremu         EQU  0000170h
+
__iremu equ 0000170h
__ishl_b       EQU  0000178h
+
__ishl_b equ 0000178h
__ishl         EQU  0000174h
+
__ishl equ 0000174h
__ishrs_b       EQU  0000180h
+
__ishrs_b equ 0000180h
__ishrs         EQU  000017Ch
+
__ishrs equ 000017Ch
__ishru_b       EQU  0000188h
+
__ishru_b equ 0000188h
__ishru         EQU  0000184h
+
__ishru equ 0000184h
__istix         EQU  000018Ch
+
__istix equ 000018Ch
__istiy         EQU  0000190h
+
__istiy equ 0000190h
__itol         EQU  0000194h
+
__itol equ 0000194h
__ixor         EQU  0000198h
+
__ixor equ 0000198h
__ladd_b       EQU  00001A0h
+
__ladd_b equ 00001A0h
__ladd         EQU  000019Ch
+
__ladd equ 000019Ch
__land         EQU  00001A4h
+
__land equ 00001A4h
__lcmps         EQU  00001A8h
+
__lcmps equ 00001A8h
__lcmpu         EQU  00001ACh
+
__lcmpu equ 00001ACh
__lcmpzero     EQU  00001B0h
+
__lcmpzero equ 00001B0h
__ldivs         EQU  00001B4h
+
__ldivs equ 00001B4h
__ldivu         EQU  00001B8h
+
__ldivu equ 00001B8h
__ldvrmu       EQU  00001BCh
+
__ldvrmu equ 00001BCh
__lldix         EQU  00001C0h
+
__lldix equ 00001C0h
__lldiy         EQU  00001C4h
+
__lldiy equ 00001C4h
__lmuls         EQU  00001C8h
+
__lmuls equ 00001C8h
__lmulu         EQU  00001CCh
+
__lmulu equ 00001CCh
__lneg         EQU  00001D0h
+
__lneg equ 00001D0h
__lnot         EQU  00001D4h
+
__lnot equ 00001D4h
__lor           EQU  00001D8h
+
__lor equ 00001D8h
__lrems         EQU  00001DCh
+
__lrems equ 00001DCh
__lremu         EQU  00001E0h
+
__lremu equ 00001E0h
__lshl         EQU  00001E4h
+
__lshl equ 00001E4h
__lshrs         EQU  00001E8h
+
__lshrs equ 00001E8h
__lshru         EQU  00001ECh
+
__lshru equ 00001ECh
__bshru         EQU  0000104h
+
__bshru equ 0000104h
__bshl         EQU  0000100h
+
__bshl equ 0000100h
__bldiy         EQU  00000FCh
+
__bldiy equ 00000FCh
__bstiy         EQU  0000108h
+
__bstiy equ 0000108h
__bstix         EQU  000010Ch
+
__bstix equ 000010Ch
__lstix         EQU  00001F0h
+
__lstix equ 00001F0h
__lstiy         EQU  00001F4h
+
__lstiy equ 00001F4h
__lsub         EQU  00001F8h
+
__lsub equ 00001F8h
__lxor         EQU  00001FCh
+
__lxor equ 00001FCh
__sand         EQU  0000200h
+
__sand equ 0000200h
__scmp0         EQU  0000204h
+
__scmp0 equ 0000204h
__sdivs         EQU  0000208h
+
__sdivs equ 0000208h
__sdivu         EQU  000020Ch
+
__sdivu equ 000020Ch
__seqcase       EQU  0000210h
+
__seqcase equ 0000210h
__seqcaseD     EQU  0000214h
+
__seqcaseD equ 0000214h
__setflag       EQU  0000218h
+
__setflag equ 0000218h
__sldix         EQU  000021Ch
+
__sldix equ 000021Ch
__sldiy         EQU  0000220h
+
__sldiy equ 0000220h
__smuls         EQU  0000224h
+
__smuls equ 0000224h
__smulu         EQU  0000228h
+
__smulu equ 0000228h
__sor           EQU  0000234h
+
__sor equ 0000234h
__srems         EQU  0000238h
+
__srems equ 0000238h
__sremu         EQU  000023Ch
+
__sremu equ 000023Ch
__sshl_b       EQU  0000244h
+
__sshl_b equ 0000244h
__sshl         EQU  0000240h
+
__sshl equ 0000240h
__sshrs_b       EQU  000024Ch
+
__sshrs_b equ 000024Ch
__sshrs         EQU  0000248h
+
__sshrs equ 0000248h
__sshru_b       EQU  0000254h
+
__sshru_b equ 0000254h
__sshru         EQU  0000250h
+
__sshru equ 0000250h
__sstix         EQU  0000258h
+
__sstix equ 0000258h
__sstiy         EQU  000025Ch
+
__sstiy equ 000025Ch
__stoi         EQU  0000260h
+
__stoi equ 0000260h
__stoiu         EQU  0000264h
+
__stoiu equ 0000264h
__sxor         EQU  0000268h
+
__sxor equ 0000268h
;00002D0h  ;checks something about field 80C0h in the OS header (value 0101h)
+
  ;00002D0h  ;checks something about field 80C0h in the OS header (value 0101h)
_WriteAByte    EQU  00002D4h
+
__WriteAByte equ 00002D4h
_EraseFlash    EQU  00002D8h
+
__EraseFlash equ 00002D8h
_EraseFlashPage EQU  00002DCh
+
__EraseFlashPage equ 00002DCh
_WriteFlash    EQU  00002E0h
+
__WriteFlash equ 00002E0h
_WriteAByte2    EQU  00002E4h   ;no difference
+
__WriteAByte2 equ 00002E4h ;no difference from 00002D4h
_WriteAByteA    EQU  00002E8h   ;byte is in A, not B
+
__WriteAByteA equ 00002E8h ;byte is in A, not B
;00002ECh  ;lots of writes/erases involving sectors 3Bh/3Fh
+
  ;00002ECh  ;lots of writes/erases involving sectors 3Bh/3Fh
;00002F0h  ;zeroes out 4KB at 0D1887Ch and writes 0D18C7Ch to start of it
+
  ;00002F0h  ;zeroes out 4KB at 0D1887Ch and writes 0D18C7Ch to start of it
_WriteFlashUnsafe EQU 0000334h
+
__WriteFlashUnsafe equ 0000334h
_DispStr        EQU  0000378h
+
__DispStr equ 0000378h
_NewLine_Boot  EQU  0000390h
+
__NewLine_Boot equ 0000390h
  
__fppack       EQU  000026Ch
+
__fppack equ 000026Ch
FLT_MAX        EQU  0000294h; NOT A ROUTINE LOL
+
__FLT_MAX equ 0000294h ; Not A Routine
__fadd         EQU  0000270h
+
__fadd equ 0000270h
__fcmp         EQU  0000274h
+
__fcmp equ 0000274h
__fdiv         EQU  0000278h
+
__fdiv equ 0000278h
__ftol         EQU  000027Ch
+
__ftol equ 000027Ch
__ltof         EQU  0000284h
+
__ltof equ 0000284h
__fmul         EQU  0000288h
+
__fmul equ 0000288h
__fneg         EQU  000028Ch
+
__fneg equ 000028Ch
__fsub         EQU  0000290h
+
__fsub equ 0000290h
__ultof         EQU  0000280h
+
__ultof equ 0000280h
_fsqrt         EQU  0000298h
+
_fsqrt equ 0000298h
__frbtof       EQU  000029Ch
+
__frbtof equ 000029Ch
__frftob       EQU  00002A0h
+
__frftob equ 00002A0h
__frftoi       EQU  00002A8h
+
__frftoi equ 00002A8h
__frftos       EQU  00002B0h
+
__frftos equ 00002B0h
__frftoub       EQU  00002A4h
+
__frftoub equ 00002A4h
__frftoui       EQU  00002ACh
+
__frftoui equ 00002ACh
__frftous       EQU  00002B4h
+
__frftous equ 00002B4h
__fritof       EQU  00002B8h
+
__fritof equ 00002B8h
__frstof       EQU  00002C0h
+
__frstof equ 00002C0h
__frubtof       EQU  00002C4h
+
__frubtof equ 00002C4h
__fruitof       EQU  00002BCh
+
__fruitof equ 00002BCh
__frustof       EQU  00002C8h
+
__frustof equ 00002C8h
;-------------------------------------------------------------------------------
+
 
; System Calls
+
;Character Font Equates 
;-------------------------------------------------------------------------------
+
;-------------------------------------
_OsSize equ 020104h ; Not actually a routine, just a pointer to the end of the OS, san signature
+
LrecurN equ 001h
_bootOS equ 020108h
+
LrecurU equ 002h
_interruptHandler equ 02010Ch
+
LrecurV equ 003h
_rst10Handler equ 020110h
+
LrecurW equ 004h
_rst18Handler equ 020114h
+
Lconvert equ 005h
_rst20Handler equ 020118h
+
LsqUp equ 006h
_rst28Handler equ 02011Ch
+
LsqDown equ 007h
_rst30Handler equ 020120h
+
Lintegral equ 008h
_CallLocalizeHook equ 020134h
+
Lcross equ 009h
_LdHLind_s equ 020138h
+
LboxIcon equ 00Ah
_CpHLDE_s equ 02013ch
+
LcrossIcon equ 00Bh
_DivHLBy10_s equ 020140h
+
LdotIcon equ 00Ch
_DivHLByA_s equ 020144h
+
LsubT  equ 00Dh ;small capital T for parametric mode.
_KbdScan equ 020148h
+
LcubeR  equ 00Eh ;slightly different 3 for cubed root.
_GetCSC equ 02014ch
+
LhexF equ 00Fh
_coorMon equ 020150h
+
Lroot equ 010h
_Mon equ 020154h
+
Linverse equ 011h
_monForceKey equ 020158h
+
Lsquare equ 012h
_SendKPress equ 02015ch
+
Langle equ 013h
_JForceCmdNoChar equ 020160h
+
Ldegree equ 014h
_JForceCmd equ 020164h
+
Lradian equ 015h
_sysErrHandler equ 020168h
+
Ltranspose equ 016h
_NewContext equ 02016ch
+
LLE equ 017h
_NewContext0 equ 020170h
+
LNE equ 018h
_PPutAwayPrompt equ 020174h
+
LGE equ 019h
_PPutAway equ 020178h
+
Lneg equ 01Ah
_PutAway equ 02017ch
+
Lexponent equ 01Bh
_SizeWind equ 020180h
+
Lstore equ 01Ch
_ErrorEP equ 020184h
+
Lten equ 01Dh
_CallMain equ 020188h
+
LupArrow equ 01Eh
_monErrHand equ 02018ch
+
LdownArrow equ 01Fh
_AppInit equ 020190h
+
Lspace equ 020h
_initialize equ 020194h
+
Lexclam equ 021h
_Min equ 020198h
+
Lquote equ 022h
_Max equ 02019ch
+
Lpound equ 023h
_AbsO1PAbsO2 equ 0201a0h
+
Lfourth equ 024h
_Intgr equ 0201a4h
+
Lpercent equ 025h
_Trunc equ 0201a8h
+
Lampersand equ 026h
_InvSub equ 0201ach
+
Lapostrophe equ 027h
_Times2 equ 0201b0h
+
LlParen equ 028h
_Plus1 equ 0201b4h
+
LrParen equ 029h
_Minus1 equ 0201b8h
+
Lasterisk equ 02Ah
_FPSub equ 0201bch
+
LplusSign equ 02Bh
_FPAdd equ 0201c0h
+
Lcomma equ 02Ch
_DToR equ 0201c4h
+
Ldash equ 02Dh
_RToD equ 0201c8h
+
Lperiod equ 02Eh
_Cube equ 0201cch
+
Lslash equ 02Fh
_TimesPt5 equ 0201d0h
+
L0 equ 030h
_FPSquare equ 0201d4h
+
L1 equ 031h
_FPMult equ 0201d8h
+
L2 equ 032h
_LJRnd equ 0201dch
+
L3 equ 033h
_InvOP1SC equ 0201e0h
+
L4 equ 034h
_InvOP1S equ 0201e4h
+
L5 equ 035h
_InvOP2S equ 0201e8h
+
L6 equ 036h
_Frac equ 0201ech
+
L7 equ 037h
_FPRecip equ 0201f0h
+
L8 equ 038h
_FPDiv equ 0201f4h
+
L9 equ 039h
_SqRoot equ 0201f8h
+
Lcolon equ 03Ah
_RndGuard equ 0201fch
+
Lsemicolon equ 03Bh
_RnFx equ 020200h
+
LLT equ 03Ch
_Int equ 020204h
+
LEQ equ 03Dh
_Round equ 020208h
+
LGT equ 03Eh
_LnX equ 02020ch
+
Lquestion equ 03Fh
_LogX equ 020210h
+
LatSign equ 040h
_LJNoRnd equ 020214h
+
LcapA equ 041h
_EToX equ 020218h
+
LcapB equ 042h
_TenX equ 02021ch
+
LcapC equ 043h
_SinCosRad equ 020220h
+
LcapD equ 044h
_Sin equ 020224h
+
LcapE equ 045h
_Cos equ 020228h
+
LcapF equ 046h
_Tan equ 02022ch
+
LcapG equ 047h
_SinHCosH equ 020230h
+
LcapH equ 048h
_TanH equ 020234h
+
LcapI equ 049h
_CosH equ 020238h
+
LcapJ equ 04Ah
_SinH equ 02023ch
+
LcapK equ 04Bh
_ACosRad equ 020240h
+
LcapL equ 04Ch
_ATanRad equ 020244h
+
LcapM equ 04Dh
_ATan2Rad equ 020248h
+
LcapN equ 04Eh
_ASinRad equ 02024ch
+
LcapO equ 04Fh
_ACos equ 020250h
+
LcapP equ 050h
_ATan equ 020254h
+
LcapQ equ 051h
_ASin equ 020258h
+
LcapR equ 052h
_ATan2 equ 02025ch
+
LcapS equ 053h
_ATanH equ 020260h
+
LcapT equ 054h
_ASinH equ 020264h
+
LcapU equ 055h
_ACosH equ 020268h
+
LcapV equ 056h
_PToR equ 02026ch
+
LcapW equ 057h
_RToP equ 020270h
+
LcapX equ 058h
_HLTimes9 equ 020274h
+
LcapY equ 059h
_CkOP1Cplx equ 020278h
+
LcapZ equ 05Ah
_CkOP1Real equ 02027ch
+
Ltheta equ 05Bh
_Angle equ 020280h
+
Lbackslash equ 05Ch
_COP1Set0 equ 020284h
+
LrBrack equ 05Dh
_CpOP4OP3 equ 020288h
+
Lcaret equ 05Eh
_Mov9OP2Cp equ 02028ch
+
Lunderscore equ 05Fh
_AbsO1O2Cp equ 020290h
+
Lbackquote equ 060h
_CpOP1OP2 equ 020294h
+
La equ 061h
_OP3ToOP4 equ 020298h
+
Lb equ 062h
_OP1ToOP4 equ 02029ch
+
Lc equ 063h
_OP2ToOP4 equ 0202a0h
+
Ld equ 064h
_OP4ToOP2 equ 0202a4h
+
Le equ 065h
_OP3ToOP2 equ 0202a8h
+
Lf equ 066h
_OP1ToOP3 equ 0202ach
+
Lg equ 067h
_OP5ToOP2 equ 0202b0h
+
Lh equ 068h
_OP5ToOP6 equ 0202b4h
+
Li equ 069h
_OP5ToOP4 equ 0202b8h
+
Lj equ 06Ah
_OP1ToOP2 equ 0202bch
+
Lk equ 06Bh
_OP6ToOP2 equ 0202c0h
+
Ll equ 06Ch
_OP6ToOP1 equ 0202c4h
+
Lm equ 06Dh
_OP4ToOP1 equ 0202c8h
+
Ln equ 06Eh
_OP5ToOP1 equ 0202cch
+
Lo equ 06Fh
_OP3ToOP1 equ 0202d0h
+
Lp equ 070h
_OP6ToOP5 equ 0202d4h
+
Lq equ 071h
_OP4ToOP5 equ 0202d8h
+
Lr equ 072h
_OP3ToOP5 equ 0202dch
+
Ls equ 073h
_OP2ToOP5 equ 0202e0h
+
Lt equ 074h
_OP2ToOP6 equ 0202e4h
+
Lu equ 075h
_OP1ToOP6 equ 0202e8h
+
Lv equ 076h
_OP1ToOP5 equ 0202ech
+
Lw equ 077h
_OP2ToOP1 equ 0202f0h
+
Lx equ 078h
_Mov11B equ 0202f4h
+
Ly equ 079h
_Mov10B equ 0202f8h
+
Lz equ 07Ah
_Mov9B equ 0202fch
+
LlBrace equ 07Bh
_MISSING_CALL_1 equ 20300h
+
Lbar equ 07Ch
_Mov8B equ 020304h
+
LrBrace equ 07Dh
_Mov7B equ 020308h
+
Ltilde equ 07Eh
_MISSING_CALL_2 equ 2030ch
+
LinvEQ equ 07Fh
_OP2ToOP3 equ 020310h
+
Lsub0 equ 080h
_OP4ToOP3 equ 020314h
+
Lsub1 equ 081h
_OP5ToOP3 equ 020318h
+
Lsub2 equ 082h
_OP4ToOP6 equ 02031ch
+
Lsub3 equ 083h
_Mov9ToOP1 equ 020320h
+
Lsub4 equ 084h
_Mov9OP1OP2 equ 020324h
+
Lsub5 equ 085h
_Mov9ToOP2 equ 020328h
+
Lsub6 equ 086h
_MovFrOP1 equ 02032ch
+
Lsub7 equ 087h
_OP4Set1 equ 020330h
+
Lsub8 equ 088h
_OP3Set1 equ 020334h
+
Lsub9 equ 089h
_OP2Set8 equ 020338h
+
LcapAAcute equ 08Ah
_OP2Set5 equ 02033ch
+
LcapAGrave equ 08Bh
_OP2SetA equ 020340h
+
LcapACaret equ 08Ch
_OP2Set4 equ 020344h
+
LcapADier equ 08Dh
_OP2Set3 equ 020348h
+
LaAcute equ 08Eh
_OP1Set1 equ 02034ch
+
LaGrave equ 08Fh
_OP1Set4 equ 020350h
+
LaCaret equ 090h
_OP1Set3 equ 020354h
+
LaDier equ 091h
_OP3Set2 equ 020358h
+
LcapEAcute equ 092h
_OP1Set2 equ 02035ch
+
LcapEGrave equ 093h
_OP2Set2 equ 020360h
+
LcapECaret equ 094h
_OP2Set1 equ 020364h
+
LcapEDier equ 095h
_Zero16D equ 020368h
+
LeAcute equ 096h
_OP5Set0 equ 02036ch
+
LeGrave equ 097h
_OP4Set0 equ 020370h
+
LeCaret equ 098h
_OP3Set0 equ 020374h
+
LeDier equ 099h
_OP2Set0 equ 020378h
+
LcapIAcute equ 09Ah
_OP1Set0 equ 02037ch
+
LcapIGrave equ 09Bh
_SetNum0 equ 020380h
+
LcapICaret equ 09Ch
_ZeroOP1 equ 020384h
+
LcapIDier equ 09Dh
_ZeroOP2 equ 020388h
+
LiAcute equ 09Eh
_ZeroOP3 equ 02038ch
+
LiGrave equ 09Fh
_ZeroOP equ 020390h
+
LiCaret equ 0A0h
_ClrLp equ 020394h
+
LiDier equ 0A1h
_ShRAcc equ 020398h
+
LcapOAcute equ 0A2h
_ShLAcc equ 02039ch
+
LcapOGrave equ 0A3h
_ShR18 equ 0203a0h
+
LcapOCaret equ 0A4h
_ShR18A equ 0203a4h
+
LcapODier equ 0A5h
_ShR16 equ 0203a8h
+
LoAcute equ 0A6h
_ShR14 equ 0203ach
+
LoGrave equ 0A7h
_ShL16 equ 0203b0h
+
LoCaret equ 0A8h
_ShL14 equ 0203b4h
+
LoDier equ 0A9h
_SRDO1 equ 0203b8h
+
LcapUAcute equ 0AAh
_ShRDRnd equ 0203bch
+
LcapUGrave equ 0ABh
_MantPA equ 0203c0h
+
LcapUCaret equ 0ACh
_ADDPROP equ 0203c4h
+
LcapUDier equ 0ADh
_ADDPROPLP equ 0203c8h
+
LuAcute equ 0AEh
_Add16D equ 0203cch
+
LuGrave equ 0AFh
_Add14D equ 0203d0h
+
LuCaret equ 0B0h
_Sub16D equ 0203d4h
+
LuDier equ 0B1h
_Sub14D equ 0203d8h
+
LcapCCed equ 0B2h
_OP2ExOP6 equ 0203dch
+
LcCed equ 0B3h
_OP5ExOP6 equ 0203e0h
+
LcapNTilde equ 0B4h
_OP1ExOP5 equ 0203e4h
+
LnTilde equ 0B5h
_OP1ExOP6 equ 0203e8h
+
Laccent equ 0B6h
_OP2ExOP4 equ 0203ech
+
Lgrave equ 0B7h
_OP2ExOP5 equ 0203f0h
+
Ldieresis equ 0B8h
_OP1ExOP3 equ 0203f4h
+
LquesDown equ 0B9h
_OP1ExOP4 equ 0203f8h
+
LexclamDown equ 0BAh
_OP1ExOP2 equ 0203fch
+
Lalpha equ 0BBh
_ExLp equ 020400h
+
Lbeta equ 0BCh
_CkOP1C0 equ 020404h
+
Lgamma equ 0BDh
_CkOP1FP0 equ 020408h
+
LcapDelta equ 0BEh
_CkOP2FP0 equ 02040ch
+
Ldelta equ 0BFh
_PosNo0Int equ 020410h
+
Lepsilon equ 0C0h
_CkPosInt equ 020414h
+
LlBrack equ 0C1h
_CkInt equ 020418h
+
Llambda equ 0C2h
_CkOdd equ 02041ch
+
Lmu equ 0C3h
_CkOP1M equ 020420h
+
Lpi equ 0C4h
_GetCon1 equ 020424h
+
Lrho equ 0C5h
_GetCon equ 020428h
+
LcapSigma equ 0C6h
_PIDIV2 equ 02042ch
+
Lsigma equ 0C7h
_PIDIV4 equ 020430h
+
Ltau equ 0C8h
_TWOPI equ 020434h
+
Lphi equ 0C9h
_PICON equ 020438h
+
LcapOmega equ 0CAh
_ExpToHex equ 02043ch
+
LxMean equ 0CBh
_OP1ExpToDec equ 020440h
+
LyMean equ 0CCh
_CkOP2Pos equ 020444h
+
LsupX equ 0CDh
_CkOP1Pos equ 020448h
+
Lellipsis equ 0CEh
_ClrOP2S equ 02044ch
+
Lleft equ 0CFh
_ClrOP1S equ 020450h
+
Lblock equ 0D0h
_FDiv100 equ 020454h
+
Lper equ 0D1h
_FDiv10 equ 020458h
+
Lhyphen equ 0D2h
_DecO1Exp equ 02045ch
+
Larea equ 0D3h
_IncO1Exp equ 020460h
+
Ltemp equ 0D4h
_IncExp equ 020464h
+
Lcube equ 0D5h
_CkValidNum equ 020468h
+
Lenter equ 0D6h
_GetExp equ 02046ch
+
LimagI equ 0D7h
_HTimesL equ 020470h
+
Lphat equ 0D8h
_EOP1NotReal equ 020474h
+
Lchi equ 0D9h
_ThetaName equ 020478h
+
LstatF equ 0DAh
_RName equ 02047ch
+
Llne equ 0DBh
_RegEqName equ 020480h
+
LlistL equ 0DCh
_RecurNName equ 020484h
+
LfinanN equ 0DDh
_XName equ 020488h
+
L2_r_paren equ 0DEh
_YName equ 02048ch
+
LblockArrow equ 0DFh
_TName equ 020490h
+
LcurO  equ 0E0h
_RealName equ 020494h
+
LcurO2  equ 0E1h
_SetEStoFPS equ 020498h
+
LcurOcapA equ 0E2h
_ChkTempDirt equ 02049ch
+
LcurOa  equ 0E3h
_OP1MOP2Exp equ 0204a0h
+
LcurI  equ 0E4h
_OP1ExpMDE equ 0204a4h
+
LcurI2  equ 0E5h
_ChkErrBreak equ 0204a8h
+
LcurIcapA equ 0E6h
_IsA2ByteTok equ 0204ach
+
LcurIa  equ 0E7h
_GetLastEntry equ 0204b0h
+
LGline equ 0E8h ; = 0
_GetLastEntryPtr equ 0204b4h
+
LGthick equ 0E9h ; = 1
_RegrClrChng equ 0204b8h
+
LGabove equ 0EAh ; = 2
_ResetWinTop equ 0204bch
+
LGbelow equ 0EBh ; = 3
_IsO1NonTLstOrProg equ 0204c0h
+
LGpath equ 0ECh ; = 4
_IsO1NonTempLst equ 0204c4h
+
LGanimate equ 0EDh ; = 5
_Is_A_LstOrCLst equ 0204c8h
+
LGdot equ 0EEh ; = 6
_Chk_HL_999 equ 0204cch
+
LUpBlk equ 0EFh ;Up arrow and Block in solver
_Equ_or_NewEqu equ 0204d0h
+
LDnBlk equ 0F0h ;Down arrow and Block in solver
_ErrD_OP1NotPos equ 0204d4h
+
LcurFull equ 0F1h ;note: must be last char (PutMap checks)
_ErrD_OP1Not_R equ 0204d8h
+
 
_ErrD_OP1NotPosInt equ 0204dch
+
;(MenuCurrent) Values
_ErrD_OP1_LE_0 equ 0204e0h
+
;-----------------------------------
_ErrD_OP1_0 equ 0204e4h
+
mConfirmation equ 01h
_FindSym_Get_Size equ 0204e8h
+
mApps equ 02h
_Sto_StatVar equ 0204ech
+
mProgramHome equ 03h
_Rcl_StatVar equ 0204f0h
+
mPrgm_Run equ 00h
_CkOP2Real equ 0204f4h
+
mPrgm_Edit equ 01h
_Get_X_Indirect equ 0204f8h
+
mPrgm_New equ 02h
_MemChk equ 0204fch
+
mZoom equ 04h
_CmpPrgNamLen1 equ 020500h
+
mZoom_Zoom equ 00h
_CmpPrgNamLen equ 020504h
+
mZoom_Memory equ 01h
_FindProgSym equ 020508h
+
mDraw equ 05h
_ChkFindSym equ 02050ch
+
mDraw_Draw equ 00h
_FindSym equ 020510h
+
mDraw_Points equ 01h
_InsertMem equ 020514h
+
mDraw_Store equ 02h
_InsertMemA equ 020518h
+
mStatPlots equ 06h
_EnoughMem equ 02051ch
+
mStat equ 07h
_CmpMemNeed equ 020520h
+
mStat_Edit equ 00h
_CreatePVar4 equ 020524h
+
mStat_Calc equ 01h
_CreatePVar3 equ 020528h
+
mStat_Tests equ 02h
_CreateVar3 equ 02052ch
+
mMath equ 08h
_CreateCplx equ 020530h
+
mMath_Math equ 00h
_CreateReal equ 020534h
+
mMath_Number equ 01h
_CreateTRList equ 020538h
+
mMath_Complex equ 02h
_CreateRList equ 02053ch
+
mMath_Prob equ 03h
_CreateTCList equ 020540h
+
mTest equ 09h
_CreateCList equ 020544h
+
mTest_Test equ 00h
_CreateTRMat equ 020548h
+
mTest_Logic equ 01h
_CreateRMat equ 02054ch
+
mVars equ 0Ah
_CreateTStrng equ 020550h
+
mVars_Vars equ 00h
_CreateStrng equ 020554h
+
mVars_YVars equ 01h
_Create0Equ equ 020558h
+
mMemory equ 0Ch
_CreateTEqu equ 02055ch
+
mMatrix equ 0Dh
_CreateEqu equ 020560h
+
mMatrix_Name equ 00h
_CreateGDB equ 020564h
+
mMatrix_Math equ 01h
_CreateProg equ 020568h
+
mMatrix_Edit equ 02h
_ChkDel equ 02056ch
+
mDistr equ 0Eh
_ChkDelA equ 020570h
+
mDistr_Distr equ 00h
_AdjParser equ 020574h
+
mDistr_Draw equ 01h
_AdjMath equ 020578h
+
mAngle equ 0Fh
_AdjM7 equ 02057ch
+
mList equ 10h
_DelMemA equ 020580h
+
mList_Names equ 00h
_Get_Form_Num equ 020584h
+
mList_Ops equ 01h
_DelVar equ 020588h
+
mList_Math equ 02h
_DelVarIO equ 02058ch
+
mCalculate equ 11h
_DelMem equ 020590h
+
mVarsWin equ 14h
_DelVar3D equ 020594h
+
mVarsWin_XY equ 00h
_DelVar3C equ 020598h
+
mVarsWin_TTh equ 01h
_DelVar3DC equ 02059ch
+
mVarsWin_UVW equ 02h
_Sym_Prog_Non_T_Lst equ 0205a0h
+
mVarsZoom equ 15h
_AdjSymPtrs equ 0205a4h
+
mVarsZoom_ZXY equ 00h
_DataSizeA equ 0205a8h
+
mVarsZoom_ZT equ 01h
_DataSize equ 0205ach
+
mVarsZoom_UVW equ 02h
_PopMCplxO1 equ 0205b0h
+
mVarsGDB equ 16h
_PopMCplx equ 0205b4h
+
mVarsPics equ 17h
_MovCplx equ 0205b8h
+
mVarsStrings equ 18h
_PopOP5 equ 0205bch
+
mVarsStat equ 19h
_PopOP3 equ 0205c0h
+
mVarsStat_XY equ 00h
_PopOP1 equ 0205c4h
+
mVarsStat_Sigma equ 01h
_PopRealO6 equ 0205c8h
+
mVarsStat_EQ equ 02h
_PopRealO5 equ 0205cch
+
mVarsStat_Test equ 03h
_PopRealO4 equ 0205d0h
+
mVarsStat_Pts equ 04h
_PopRealO3 equ 0205d4h
+
mVarsTable equ 1Ah
_PopRealO2 equ 0205d8h
+
mVarsYequ equ 1Bh
_PopRealO1 equ 0205dch
+
mVarsParametric equ 1Ch
_PopReal equ 0205e0h
+
mVarsPolar equ 1Dh
_FPopCplx equ 0205e4h
+
mVarsFnOnOff equ 1Eh
_FPopReal equ 0205e8h
+
mMemReset equ 1Fh
_FPopFPS equ 0205ech
+
mMemReset_RAM equ 00h
_DeallocFPS equ 0205f0h
+
mMemReset_ROM equ 01h
_DeallocFPS1 equ 0205f4h
+
mMemReset_All equ 02h
_AllocFPS equ 0205f8h
+
mMemMgmtDel equ 20h
_AllocFPS1 equ 0205fch
+
mMemResetDefaults equ 21h
_PushRealO6 equ 020600h
+
mMemResetRAMAll equ 23h
_PushRealO5 equ 020604h
+
mMemResetROMVars equ 24h
_PushRealO4 equ 020608h
+
mMemResetROMApps equ 25h
_PushRealO3 equ 02060ch
+
mMemResetROMAll equ 26h
_PushRealO2 equ 020610h
+
mMemResetAll equ 27h
_PushRealO1 equ 020614h
+
mGroup equ 28h
_PushReal equ 020618h
+
mGroup_New equ 00h
_PushOP5 equ 02061ch
+
mGroup_Ungroup equ 01h
_PushOP3 equ 020620h
+
mGroupVars equ 29h
_PushMCplxO3 equ 020624h
+
mProgramEdit equ 2Ah
_PushOP1 equ 020628h
+
mPrgmEd_Ctrl equ 00h
_PushMCplxO1 equ 02062ch
+
mPrgmEd_IO equ 01h
_PushMCplx equ 020630h
+
mPrgmEd_Exec equ 02h
_ExMCplxO1 equ 020634h
+
mPrgmZoom equ 2Bh
_Exch9 equ 020638h
+
mPrgmZoom_Zoom equ 00h
_CpyTo1FPS11 equ 02063ch
+
mPrgmZoom_Mem equ 01h
_CpyTo2FPS5 equ 020640h
+
mPrgmDraw equ 2Ch
_CpyTo1FPS5 equ 020644h
+
mPrgmDraw_Draw equ 00h
_CpyTo2FPS6 equ 020648h
+
mPrgmDraw_Pt equ 01h
_CpyTo1FPS6 equ 02064ch
+
mPrgmDraw_Store equ 02h
_CpyTo2FPS7 equ 020650h
+
mPrgmStatPlot equ 2Dh
_CpyTo1FPS7 equ 020654h
+
mPrgmSP_Plots equ 00h
_CpyTo1FPS8 equ 020658h
+
mPrgmSP_Type equ 01h
_CpyTo2FPS8 equ 02065ch
+
mPrgmSP_Mark equ 02h
_CpyTo1FPS10 equ 020660h
+
mPrgmStat equ 2Eh
_CpyTo1FPS9 equ 020664h
+
mPrgmStat_Edit equ 00h
_CpyTo2FPS4 equ 020668h
+
mPrgmStat_Calc equ 01h
_CpyTo6FPS3 equ 02066ch
+
mPrgmStat_Tests equ 02h
_CpyTo6FPS2 equ 020670h
+
mPrgmMath equ 2Fh
_CpyTo2FPS3 equ 020674h
+
mPrgmMath_Math equ 00h
_CpyCTo1FPS3 equ 020678h
+
mPrgmMath_Num equ 01h
_CpyTo1FPS3 equ 02067ch
+
mPrgmMath_Cplx equ 02h
_CpyFPS3 equ 020680h
+
mPrgmMath_Prob equ 03h
_CpyTo1FPS4 equ 020684h
+
mLink equ 30h
_CpyTo3FPS2 equ 020688h
+
mLink_Send equ 00h
_CpyTo5FPST equ 02068ch
+
mLink_Recieve equ 01h
_CpyTo6FPST equ 020690h
+
mLinkTrasmit equ 31h
_CpyTo4FPST equ 020694h
+
mLinkXmit_Xmit equ 01h
_CpyTo3FPST equ 020698h
+
mGarbageCollect equ 3Fh
_CpyTo2FPST equ 02069ch
+
mSelectGroupVars equ 40h
_CpyTo1FPST equ 0206a0h
+
mSelGrpVars_Sel equ 00h
_CpyFPST equ 0206a4h
+
mSelGrpVars_Grp equ 01h
_CpyStack equ 0206a8h
+
mDuplicateName equ 42h
_CpyTo3FPS1 equ 0206ach
+
mCatalog equ 45h
_CpyTo2FPS1 equ 0206b0h
+
mFinance equ 22h
_CpyTo1FPS1 equ 0206b4h
+
mFinance_Calc equ 00h
_CpyFPS1 equ 0206b8h
+
mFinance_Vars equ 01h
_CpyTo2FPS2 equ 0206bch
+
 
_CpyTo1FPS2 equ 0206c0h
+
;Keypress Equates
_CpyFPS2 equ 0206c4h
+
;-----------------------------------
_CpyO3ToFPST equ 0206c8h
+
kRight equ 001h
_CpyO2ToFPST equ 0206cch
+
kLeft equ 002h
_CpyO6ToFPST equ 0206d0h
+
kUp equ 003h
_CpyO1ToFPST equ 0206d4h
+
kDown equ 004h
_CpyToFPST equ 0206d8h
+
kEnter equ 005h
_CpyToStack equ 0206dch
+
kAlphaEnter equ 006h
_CpyO3ToFPS1 equ 0206e0h
+
kAlphaUp equ 007h
_CpyO5ToFPS1 equ 0206e4h
+
kAlphaDown equ 008h
_CpyO2ToFPS1 equ 0206e8h
+
kClear equ 009h
_CpyO1ToFPS1 equ 0206ech
+
kDel equ 00Ah
_CpyToFPS1 equ 0206f0h
+
kIns equ 00Bh
_CpyO2ToFPS2 equ 0206f4h
+
kRecall equ 00Ch
_CpyO3ToFPS2 equ 0206f8h
+
kLastEnt equ 00Dh
_CpyO6ToFPS2 equ 0206fch
+
kBOL equ 00Eh
_CpyO1ToFPS2 equ 020700h
+
kEOL equ 00Fh
_CpyToFPS2 equ 020704h
+
 
_CpyO5ToFPS3 equ 020708h
+
kSelAll equ 010h
_CpyO2ToFPS3 equ 02070ch
+
kUnselAll equ 011h
_CpyO1ToFPS3 equ 020710h
+
kLtoTI82 equ 012h
_CpyToFPS3 equ 020714h
+
kBackup equ 013h
_CpyO1ToFPS6 equ 020718h
+
kRecieve equ 014h
_CpyO1ToFPS7 equ 02071ch
+
kLnkQuit equ 015h
_CpyO1ToFPS5 equ 020720h
+
kTrans equ 016h
_CpyO2ToFPS4 equ 020724h
+
kRename equ 017h
_CpyO1ToFPS4 equ 020728h
+
kOverw equ 018h
_ErrNotEnoughMem equ 02072ch
+
kOmit equ 019h
_FPSMinus9 equ 020730h
+
kCont equ 01Ah
_HLMinus9 equ 020734h
+
kSendID equ 01Bh
_ErrOverflow equ 020738h
+
kSendSW equ 01Ch
_ErrDivBy0 equ 02073ch
+
kYes equ 01Dh
_ErrSingularMat equ 020740h
+
kNoWay equ 01Eh
_ErrDomain equ 020744h
+
kvSendType equ 01Fh
_ErrIncrement equ 020748h
+
kOverWAll equ 020h
_ErrNon_Real equ 02074ch
+
kNo equ 025h
_ErrSyntax equ 020750h
+
kKReset equ 026h
_ErrDataType equ 020754h
+
kApp equ 027h
_ErrArgument equ 020758h
+
kDoug equ 028h
_ErrDimMismatch equ 02075ch
+
kListflag equ 029h
_ErrDimension equ 020760h
+
menuStart equ 02Bh
_ErrUndefined equ 020764h
+
kAreYouSure equ 02Bh
_ErrMemory equ 020768h
+
kAppsMenu equ 02Ch
_ErrInvalid equ 02076ch
+
kPrgm equ 02Dh
_ErrBreak equ 020770h
+
kZoom equ 02Eh
_ErrStat equ 020774h
+
kDraw equ 02Fh
_ErrSignChange equ 020778h
+
kSPlot equ 030h
_ErrIterations equ 02077ch
+
kStat equ 031h
_ErrBadGuess equ 020780h
+
kMath equ 032h
_ErrTolTooSmall equ 020784h
+
kTest equ 033h
_ErrStatPlot equ 020788h
+
kChar equ 034h
_ErrLinkXmit equ 02078ch
+
kVars equ 035h
_JError equ 020790h
+
kMem equ 036h
_noErrorEntry equ 020794h
+
kMatrix equ 037h
_pushErrorHandler equ 020798h
+
kDist equ 038h
_popErrorHandler equ 02079ch
+
kAngle equ 039h
_StrCopy equ 0207a0h
+
kList equ 03Ah
_StrCat_ez80 equ 0207a4h
+
kCalc equ 03Bh
_IsInSet equ 0207a8h
+
kFin equ 03Ch
_GEQNAMEA equ 0207ach
+
menuEnd equ kFin
_RECNAME equ 0207b0h
+
kCatalog equ 03Eh
_PutMap equ 0207b4h
+
kInputDone equ 03Fh
_PutC equ 0207b8h
+
kOff equ kInputDone
_DispHL_s equ 0207bch
+
kQuit equ 040h
_PutS equ 0207c0h
+
appStart equ kQuit
_PutPSB equ 0207c4h
+
kLinkIO equ 041h
_PutPS equ 0207c8h
+
kMatrixEd equ 042h
_WPutPS equ 0207cch
+
kStatEd equ 043h
_PutBuf equ 0207d0h
+
kGraph equ 044h
_PutBuf1 equ 0207d4h
+
kMode equ 045h
_WPutC equ 0207d8h
+
kPrgmEd equ 046h ;PROGRAM EDIT
_WPutS equ 0207dch
+
kPrgmCr equ 047h ;PROGRAM CREATE
_WPutSEOL equ 0207e0h
+
kWindow equ 048h ;RANGE EDITOR
_WDispEOL equ 0207e4h
+
kYequ equ 049h ;EQUATION EDITOR
_WHomeUp equ 0207e8h
+
kTable equ 04Ah ;TABLE EDITOR
_SetNumWindow equ 0207ech
+
kTblSet equ 04Bh ;TABLE SET
_NewLine equ 0207f0h
+
kChkRAM equ 04Ch ;CHECK RAM (About screen)
_MoveDown equ 0207f4h
+
kDelMem equ 04Dh ;DELETE MEM
_ScrollUp equ 0207f8h
+
kResetMem equ 04Eh ;RESET MEM
_ShrinkWindow equ 0207fch
+
kResetDef equ 04Fh ;RESET DEFAULT
_MoveUp equ 020800h
+
kPrgmInput equ 050h ;PROGRAM INPUT
_ScrollDown equ 020804h
+
kZFactEd equ 051h ;ZOOM FACTOR EDITOR
_ClrLCDFull equ 020808h
+
kError equ 052h ;ERROR
_ClrLCD equ 02080ch
+
kSolveTVM equ 053h ;TVM SOLVER
_ClrScrnFull equ 020810h
+
kSolveRoot equ 054h ;SOLVE EDITOR
_ClrScrn equ 020814h
+
kStatP equ 055h ;stat plot
_ClrTxtShd equ 020818h
+
kInfStat equ 056h ;Inferential Statistic
_ClrWindow equ 02081ch
+
kFormat equ 057h ;FORMAT
_EraseEOL equ 020820h
+
kExtApps equ 058h ;External Applications. NEW
_EraseEOW equ 020824h
+
kNewApps equ 059h ;New Apps for Cerberus.
_HomeUp equ 020828h
+
append equ kNewApps
_GetCurLoc equ 02082ch
+
echoStart1 equ 05Ah
_VPutMap equ 020830h
+
kTrace equ 05Ah
_VPutS equ 020834h
+
kZFit equ 05Bh
_VPutSN equ 020838h
+
kZIn equ 05Ch
_VPutSNG equ 02083ch
+
kZOut equ 05Dh
_VPutSNT equ 020840h
+
kZPrev equ 05Eh
_RunIndicOn equ 020844h
+
kBox equ 05Fh
_RunIndicOff equ 020848h
+
kDecml equ 060h
_SaveCmdShadow equ 02084ch
+
kSetZm equ 061h
_SaveShadow equ 020850h
+
kSquar equ 062h
_RstrShadow equ 020854h
+
kStd equ 063h
_RstrPartial equ 020858h
+
kTrig equ 064h
_RstrCurRow equ 02085ch
+
kUsrZm equ 065h
_RstrUnderMenu equ 020860h
+
kZSto equ 066h
_RstrBotRow equ 020864h
+
kZInt equ 067h
_GetKeyPress equ 020868h
+
kZStat equ 068h
_GetTokLen equ 02086ch
+
echoStart2 equ 069h
_Get_Tok_Strng equ 020870h
+
kSelect equ 069h
_GetTokString equ 020874h
+
kCircl equ 06Ah
_PUTBPATBUF2 equ 020878h
+
kClDrw equ 06Bh
_PUTBPATBUF equ 02087ch
+
kLine equ 06Ch
_PUTBPAT equ 020880h
+
kPen equ 06Dh
_putcCheckScroll equ 020884h
+
kPtChg equ 06Eh
_DispEOL equ 020888h
+
kPtOff equ 06Fh
_fdispEOL equ 02088ch
+
kPtOn equ 070h
_MakeRowCmd equ 020890h
+
kVert equ 071h
_TOTOSTRP equ 020894h
+
kHoriz equ 072h
_MISSING_CALL_3 equ 20898h
+
kText equ 073h
_DispDone equ 02089ch
+
kTanLn equ 074h
_FinishOutput equ 0208a0h
+
kEval equ 075h
_CurBlink equ 0208a4h
+
kInters equ 076h
_CursorOff equ 0208a8h
+
kDYDX equ 077h
_HideCursor equ 0208ach
+
kFnIntg equ 078h
_CursorOn equ 0208b0h
+
kRootG equ 079h
_ShowCursor equ 0208b4h
+
kDYDT equ 07Ah
_KeyToString equ 0208b8h
+
kDXDT equ 07Bh
_PullDownChk equ 0208bch
+
kDRDo equ 07Ch
_MenuCatCommon equ 0208c0h
+
KGFMin equ 07Dh
_LoadCurCat equ 0208c4h
+
KGFMax equ 07Eh
_NCifprgmedmode equ 0208c8h
+
EchoStart equ 07Fh
_LoadMenuNum equ 0208cch
+
kListName equ 07Fh
_LoadMenuNumL equ 0208d0h
+
kAdd equ 080h
_MenuEdKey equ 0208d4h
+
kSub equ 081h
_MenCatRet equ 0208d8h
+
kMul equ 082h
_NotAlphNum equ 0208dch
+
kDiv equ 083h
_MISSING_CALL_4 equ 208e0h
+
kExpon equ 084h
_MISSING_CALL_5 equ 208e4h
+
kLParen equ 085h
_MISSING_CALL_6 equ 208e8h
+
kRParen equ 086h
_MISSING_CALL_7 equ 208ech
+
kLBrack equ 087h
_DispListName equ 0208f0h
+
kRBrack equ 088h
_DispLAlphaName equ 0208f4h
+
kShade equ 089h
_AbortPrgmode equ 0208f8h
+
kStore equ 08Ah
_Is_FullCntx equ 0208fch
+
kComma equ 08Bh
_AdrMRow equ 020900h
+
kChs equ 08Ch
_AdrMEle equ 020904h
+
kDecPnt equ 08Dh
_GetMatOP1A equ 020908h
+
k0 equ 08Eh
_GetM1ToOP1 equ 02090ch
+
k1 equ 08Fh
_GetM1TOP1A equ 020910h
+
k2 equ 090h
_GetMToOP1 equ 020914h
+
k3 equ 091h
_PutToM1A equ 020918h
+
k4 equ 092h
_PutToMa1 equ 02091ch
+
k5 equ 093h
_PutToMat equ 020920h
+
k6 equ 094h
_Mat_El_Div equ 020924h
+
k7 equ 095h
_CMATFUN equ 020928h
+
k8 equ 096h
_RowEch_Poly equ 02092ch
+
k9 equ 097h
_RowEchelon equ 020930h
+
kEE equ 098h
_AdrLEle equ 020934h
+
kSpace equ 099h
_GetL1ToOP1 equ 020938h
+
kCapA equ 09Ah
_GetL1TOP1A equ 02093ch
+
kCapB equ 09Bh
_GetLToOP1 equ 020940h
+
kCapC equ 09Ch
_GetL1ToOP2 equ 020944h
+
kCapD equ 09Dh
_GetL1TOP2A equ 020948h
+
kCapE equ 09Eh
_GetL2TOP1A equ 02094ch
+
kCapF equ 09Fh
_PutToLA1 equ 020950h
+
kCapG equ 0A0h
_PutToL equ 020954h
+
kCapH equ 0A1h
_MaxMinLst equ 020958h
+
kCapI equ 0A2h
_LLow equ 02095ch
+
kCapJ equ 0A3h
_LHigh equ 020960h
+
kCapK equ 0A4h
_LSum equ 020964h
+
kCapL equ 0A5h
_CumSum equ 020968h
+
kCapM equ 0A6h
_ToFrac equ 02096ch
+
kCapN equ 0A7h
_SeqSet equ 020970h
+
kCapO equ 0A8h
_SeqSolve equ 020974h
+
kCapP equ 0A9h
_Cmp_Num_Init equ 020978h
+
kCapQ equ 0AAh
_BinOPExec equ 02097ch
+
kCapR equ 0ABh
_ExMean1 equ 020980h
+
kCapS equ 0ACh
_Set2MVLPtrs equ 020984h
+
kCapT equ 0ADh
_SetMat1 equ 020988h
+
kCapU equ 0AEh
_CreateTList equ 02098ch
+
kCapV equ 0AFh
_UnOPExec equ 020990h
+
kCapW equ 0B0h
_ThreeExec equ 020994h
+
kCapX equ 0B1h
_RestoreErrNo equ 020998h
+
kCapY equ 0B2h
_FourExec equ 02099ch
+
kCapZ equ 0B3h
_FiveExec equ 0209a0h
+
kVarx equ 0B4h
_CpyTo2ES1 equ 0209a4h
+
kPi equ 0B5h
_CpyTo6ES1 equ 0209a8h
+
kInv equ 0B6h
_CpyTo1ES1 equ 0209ach
+
kSin equ 0B7h
_CpyTo3ES1 equ 0209b0h
+
kASin equ 0B8h
_CpyTo3ES2 equ 0209b4h
+
kCos equ 0B9h
_CpyTo2ES2 equ 0209b8h
+
kACos equ 0BAh
_CpyTo1ES2 equ 0209bch
+
kTan equ 0BBh
_CpyTo2ES3 equ 0209c0h
+
kATan equ 0BCh
_CpyTo1ES3 equ 0209c4h
+
kSquare equ 0BDh
_CpyTo3ES4 equ 0209c8h
+
kSqrt equ 0BEh
_CpyTo6ES3 equ 0209cch
+
kLn equ 0BFh
_CpyTo2ES4 equ 0209d0h
+
kExp equ 0C0h
_CpyTo1ES4 equ 0209d4h
+
kLog equ 0C1h
_CpyTo2ES5 equ 0209d8h
+
kALog equ 0C2h
_CpyTo1ES5 equ 0209dch
+
kToABC equ 0C3h
_CpyTo4EST equ 0209e0h
+
kClrTbl equ 0C4h
_CpyTo2EST equ 0209e4h
+
kAns equ 0C5h
_CpyTo1EST equ 0209e8h
+
kColon equ 0C6h
_CpyTo2ES6 equ 0209ech
+
kNDeriv equ 0C7h
_CpyTo1ES6 equ 0209f0h
+
kFnInt equ 0C8h
_CpyTo2ES7 equ 0209f4h
+
kRoot equ 0C9h
_CpyTo1ES7 equ 0209f8h
+
kQuest equ 0CAh
_CpyTo2ES8 equ 0209fch
+
kQuote equ 0CBh
_CpyTo1ES8 equ 020a00h
+
kTheta equ 0CCh
_CpyTo1ES9 equ 020a04h
+
kIf equ 0CDh
_CpyTo2ES9 equ 020a08h
+
kThen equ 0CEh
_CpyTo2ES10 equ 020a0ch
+
kElse equ 0CFh
_CpyTo1ES10 equ 020a10h
+
kFor equ 0D0h
_CpyTo2ES11 equ 020a14h
+
kWhile equ 0D1h
_CpyTo1ES11 equ 020a18h
+
kRepeat equ 0D2h
_CpyTo2ES12 equ 020a1ch
+
kEnd equ 0D3h
_CpyTo1ES12 equ 020a20h
+
kPause equ 0D4h
_CpyTo2ES13 equ 020a24h
+
kLbl equ 0D5h
_CpyTo1ES13 equ 020a28h
+
kGoto equ 0D6h
_CpyTo1ES14 equ 020a2ch
+
kISG equ 0D7h
_CpyTo1ES16 equ 020a30h
+
kDSL equ 0D8h
_CpyTo1ES17 equ 020a34h
+
kMenu equ 0D9h
_CpyTo1ES18 equ 020a38h
+
kExec equ 0DAh
_CpyTo1ES15 equ 020a3ch
+
kReturn equ 0DBh
_CpyTo2ES15 equ 020a40h
+
kStop equ 0DCh
_CpyO1ToEST equ 020a44h
+
kInput equ 0DDh
_CpyO1ToES1 equ 020a48h
+
kPrompt equ 0DEh
_CpyO6ToES1 equ 020a4ch
+
kDisp equ 0DFh
_CpyO6ToES3 equ 020a50h
+
kDispG equ 0E0h
_CpyO1ToES2 equ 020a54h
+
kDispT equ 0E1h
_CpyO2ToES2 equ 020a58h
+
kOutput equ 0E2h
_CpyO1ToES3 equ 020a5ch
+
kGetKey equ 0E3h
_CpyO1ToES4 equ 020a60h
+
kClrHome equ 0E4h
_CpyO1ToES5 equ 020a64h
+
kPrtScr equ 0E5h
_CpyO1ToES6 equ 020a68h
+
kSinH equ 0E6h
_CpyO1ToES7 equ 020a6ch
+
kCosH equ 0E7h
_CpyO2ToES4 equ 020a70h
+
kTanH equ 0E8h
_CpyO2ToES5 equ 020a74h
+
kASinH equ 0E9h
_CpyO2ToES6 equ 020a78h
+
kACosH equ 0EAh
_CpyO2ToES7 equ 020a7ch
+
kATanH equ 0EBh
_CpyO2ToES8 equ 020a80h
+
kLBrace equ 0ECh
_CpyO2ToES9 equ 020a84h
+
kRBrace equ 0EDh
_CpyO1ToES8 equ 020a88h
+
kI equ 0EEh
_CpyO1ToES9 equ 020a8ch
+
kCONSTeA equ 0EFh
_CpyO1ToES10 equ 020a90h
+
kPlot3 equ 0F0h
_CpyO1ToES11 equ 020a94h
+
kFMin equ 0F1h
_CpyO1ToES12 equ 020a98h
+
kFMax equ 0F2h
_CpyO1ToES13 equ 020a9ch
+
kL1A equ 0F3h
_CpyO1ToES14 equ 020aa0h
+
kL2A equ 0F4h
_EvalF3A equ 020aa4h
+
kL3A equ 0F5h
_GetK equ 020aa8h
+
kL4A equ 0F6h
_SetTitle equ 020aach
+
kL5A equ 0F7h
_DispVarVal equ 020ab0h
+
kL6A equ 0F8h
_RecallEd equ 020ab4h
+
kunA equ 0F9h
_SetupBuffer equ 020ab8h
+
kvnA equ 0FAh
_CreateNumEditBuf equ 020abch
+
kwnA equ 0FBh
_CallCommon equ 020ac0h
+
 
_CommonKeys equ 020ac4h
+
;THIS KEY MEANS THAT IT IS A 2 BYTE KEYCODE
_Leftmore equ 020ac8h
+
;THERE ARE 2 OF THESE KEYS; BE CAREFUL WITH USAGE
_fDel equ 020acch
+
;--------------------------------------------------------
_fClear equ 020ad0h
+
kExtendEcho2 equ 0FCh
_fInsDisp equ 020ad4h
+
 
_fInsDisp02 equ 020ad8h
+
;THIS KEY MEANS THAT THE KEY PRESS IS ONE THAT ECHOS
_SetIndicator equ 020adch
+
;INTO A BUFFER, AND IT IS A 2 BYTE KEY CODE, GO LOOK AT
_CloseEditBufNoR equ 020ae0h
+
;(EXTECHO) FOR THE KEY VALUE
_ReleaseBuffer equ 020ae4h
+
;--------------------------------------------------------
_VarNameToOP1HL equ 020ae8h
+
kExtendEcho equ 0FEh
_NameToOP1 equ 020aech
+
 
_numPPutAway equ 020af0h
+
kE1BT equ 0
_numRedisp equ 020af4h
+
kDrawInv equ kE1BT
_numError02 equ 020af8h
+
kDrawF equ kE1BT+1
_Load_SFont equ 020afch
+
kPixelOn equ kE1BT+2
_SFont_Len equ 020b00h
+
kPixelOff equ kE1BT+3
_InitNumVec equ 020b04h
+
kPxlTest equ kE1BT+4
_SetXXOP1 equ 020b08h
+
kRCGDB equ kE1BT+5
_SetXXOP2 equ 020b0ch
+
kRCPic equ kE1BT+6
_SetXXXXOP2 equ 020b10h
+
kSTGDB equ kE1BT+7
_UCLineS equ 020b14h
+
kSTPic equ kE1BT+8
_CLine equ 020b18h
+
kAbs equ kE1BT+9
_CLineS equ 020b1ch
+
kTequ equ kE1BT+10 ;==
_XRootY equ 020b20h
+
kTNoteQ equ kE1BT+11 ;<>
_YToX equ 020b24h
+
kTGT equ kE1BT+12 ;>
_MISSING_CALL_8 equ 20b28h
+
kTGTE equ kE1BT+13 ;>=
_MISSING_CALL_9 equ 20b2ch
+
kTLT equ kE1BT+14 ;<
_MISSING_CALL_10 equ 20b30h
+
kTLTE equ kE1BT+15 ;<=
_MISSING_CALL_11 equ 20b34h
+
kAnd equ kE1BT+16
_MISSING_CALL_12 equ 20b38h
+
kOr equ kE1BT+17
_MISSING_CALL_13 equ 20b3ch
+
kXor equ kE1BT+18
_MISSING_CALL_14 equ 20b40h
+
kNot equ kE1BT+19
_MISSING_CALL_15 equ 20b44h
+
kLR1 equ kE1BT+20
_MISSING_CALL_16 equ 20b48h
+
kXRoot equ kE1BT+21
_MISSING_CALL_17 equ 20b4ch
+
kCube equ kE1BT+22
_MISSING_CALL_18 equ 20b50h
+
kCbRt equ kE1BT+23 ;Cube ROOT
_MISSING_CALL_19 equ 20b54h
+
kToDec equ kE1BT+24
_MISSING_CALL_20 equ 20b58h
+
kCubicR equ kE1BT+25
_MISSING_CALL_21 equ 20b5ch
+
kQuartR equ kE1BT+26
_MISSING_CALL_22 equ 20b60h
+
kPlot1 equ kE1BT+27
_MISSING_CALL_23 equ 20b64h
+
kPlot2 equ kE1BT+28
_MISSING_CALL_24 equ 20b68h
+
kRound equ kE1BT+29
_MISSING_CALL_25 equ 20b6ch
+
kIPart equ kE1BT+30
_Mov18B equ 020b70h
+
kFPart equ kE1BT+31
_DarkLine equ 020b74h
+
kInt equ kE1BT+32
_IPoint equ 020b78h
+
kRand equ kE1BT+33
_XYRndBoth equ 020b7ch
+
kNPR equ kE1BT+34
_XYRnd equ 020b80h
+
kNCR equ kE1BT+35
_CheckTop equ 020b84h
+
kXFactorial equ kE1BT+36
_CheckXY equ 020b88h
+
kRad equ kE1BT+37
_DarkPnt equ 020b8ch
+
kDegr equ kE1BT+38 ;DEGREES CONV
_CPointS equ 020b90h
+
kAPost equ kE1BT+39
_WToV equ 020b94h
+
kToDMS equ kE1BT+40
_VtoWHLDE equ 020b98h
+
kRToPo equ kE1BT+41 ;R
_Xitof equ 020b9ch
+
kRToPr equ kE1BT+42
_YftoI equ 020ba0h
+
kPToRx equ kE1BT+43
_XftoI equ 020ba4h
+
kPToRy equ kE1BT+44
_MISSING_CALL_26 equ 20ba8h
+
kRowSwap equ kE1BT+45
_MISSING_CALL_27 equ 20bach
+
kRowPlus equ kE1BT+46
_MISSING_CALL_28 equ 20bb0h
+
kTimRow equ kE1BT+47
_MISSING_CALL_29 equ 20bb4h
+
kTRowP equ kE1BT+48
_MISSING_CALL_30 equ 20bb8h
+
kSortA equ kE1BT+49
_MISSING_CALL_31 equ 20bbch
+
kSortD equ kE1BT+50
_MISSING_CALL_32 equ 20bc0h
+
kSeq equ kE1BT+51
_GrLabels equ 020bc4h
+
kMin equ kE1BT+52
_MISSING_CALL_33 equ 20bc8h
+
kMax equ kE1BT+53
_MISSING_CALL_34 equ 20bcch
+
kMean equ kE1BT+54
_MISSING_CALL_35 equ 20bd0h
+
kMedian equ kE1BT+55
_MISSING_CALL_36 equ 20bd4h
+
kSum equ kE1BT+56
_MISSING_CALL_37 equ 20bd8h
+
kProd equ kE1BT+57
_MISSING_CALL_38 equ 20bdch
+
kDet equ kE1BT+58
_MISSING_CALL_39 equ 20be0h
+
kTransp equ kE1BT+59
_MISSING_CALL_40 equ 20be4h
+
kDim equ kE1BT+60
_MISSING_CALL_41 equ 20be8h
+
kFill equ kE1BT+61
_MISSING_CALL_42 equ 20bech
+
kIdent equ kE1BT+62
_MISSING_CALL_43 equ 20bf0h
+
kRandm equ kE1BT+63
_MISSING_CALL_44 equ 20bf4h
+
kAug equ kE1BT+64
_MISSING_CALL_45 equ 20bf8h
+
kOneVar equ kE1BT+65
_MISSING_CALL_46 equ 20bfch
+
kTwoVar equ kE1BT+66
_MISSING_CALL_47 equ 20c00h
+
kLR equ kE1BT+67
_MISSING_CALL_48 equ 20c04h
+
kLRExp equ kE1BT+68
_MISSING_CALL_49 equ 20c08h
+
kLRLn equ kE1BT+69
_MISSING_CALL_50 equ 20c0ch
+
kLRPwr equ kE1BT+70
_MISSING_CALL_51 equ 20c10h
+
kMedMed equ kE1BT+71
_MISSING_CALL_52 equ 20c14h
+
kQuad equ kE1BT+72
_MISSING_CALL_53 equ 20c18h
+
kClrLst equ kE1BT+73
_MISSING_CALL_54 equ 20c1ch
+
kHist equ kE1BT+74
_MISSING_CALL_55 equ 20c20h
+
kxyLine equ kE1BT+75
_MISSING_CALL_56 equ 20c24h
+
kScatter equ kE1BT+76
_MISSING_CALL_57 equ 20c28h
+
kmRad equ kE1BT+77
_MISSING_CALL_58 equ 20c2ch
+
kmDeg equ kE1BT+78
_MISSING_CALL_59 equ 20c30h
+
kmNormF equ kE1BT+79
_MISSING_CALL_60 equ 20c34h
+
kmSci equ kE1BT+80
_MISSING_CALL_61 equ 20c38h
+
kmEng equ kE1BT+81
_MISSING_CALL_62 equ 20c3ch
+
kmFloat equ kE1BT+82
_MISSING_CALL_63 equ 20c40h
+
kFix equ kE1BT+83
_MISSING_CALL_64 equ 20c44h
+
kSplitOn equ kE1BT+84
_MISSING_CALL_65 equ 20c48h
+
kFullScreen equ kE1BT+85
_MISSING_CALL_66 equ 20c4ch
+
kStndrd equ kE1BT+86
_MISSING_CALL_67 equ 20c50h
+
kParam equ kE1BT+87
_MISSING_CALL_68 equ 20c54h
+
kPolar equ kE1BT+88
_ChkTextCurs equ 020c58h
+
kSeqG equ kE1BT+89
_MISSING_CALL_69 equ 20c5ch
+
kAFillOn equ kE1BT+90
_DoRefFlags02 equ 020c60h
+
kAFillOff equ kE1BT+91
_YRes equ 020c64h
+
kACalcOn equ kE1BT+92
_PlotPtXY2 equ 020c68h
+
kACalcOff equ kE1BT+93
_MISSING_CALL_70 equ 20c6ch
+
kFNOn equ kE1BT+94
_MISSING_CALL_71 equ 20c70h
+
kFNOff equ kE1BT+95
_MISSING_CALL_72 equ 20c74h
+
kPlotsOn equ kE1BT+96
_PDspGrph equ 020c78h
+
kPlotsOff equ kE1BT+97
_HorizCmd equ 020c7ch
+
kPixelChg equ kE1BT+98
_VertCmd equ 020c80h
+
kSendMBL equ kE1BT+99
_LineCmd equ 020c84h
+
kRecvMBL equ kE1BT+100
_UnLineCmd equ 020c88h
+
kBoxPlot equ kE1BT+101
_MISSING_CALL_73 equ 20c8ch
+
kBoxIcon equ kE1BT+102
_MISSING_CALL_74 equ 20c90h
+
kCrossIcon equ kE1BT+103
_MISSING_CALL_75 equ 20c94h
+
kDotIcon equ kE1BT+104
_MISSING_CALL_76 equ 20c98h
+
kE2BT equ kE1BT+105
_MISSING_CALL_77 equ 20c9ch
+
kSeqential equ kE2BT
_MISSING_CALL_78 equ 20ca0h
+
kSimulG equ kE2BT+1
_MISSING_CALL_79 equ 20ca4h
+
kPolarG equ kE2BT+2
_MISSING_CALL_80 equ 20ca8h
+
kRectG equ kE2BT+3
_MISSING_CALL_81 equ 20cach
+
kCoordOn equ kE2BT+4
_MISSING_CALL_82 equ 20cb0h
+
kCoordOff equ kE2BT+5
_MISSING_CALL_83 equ 20cb4h
+
kDrawLine equ kE2BT+6
_MISSING_CALL_84 equ 20cb8h
+
kDrawDot equ kE2BT+7
_MISSING_CALL_85 equ 20cbch
+
kAxisOn equ kE2BT+8
_MISSING_CALL_86 equ 20cc0h
+
kAxisOff equ kE2BT+9
_MISSING_CALL_87 equ 20cc4h
+
kGridOn equ kE2BT+10
_MISSING_CALL_88 equ 20cc8h
+
kGridOff equ kE2BT+11
_MISSING_CALL_89 equ 20ccch
+
kLblOn equ kE2BT+12
_MISSING_CALL_90 equ 20cd0h
+
kLblOff equ kE2BT+13
_MISSING_CALL_91 equ 20cd4h
+
kL1 equ kE2BT+14
_MISSING_CALL_92 equ 20cd8h
+
kL2 equ kE2BT+15
_MISSING_CALL_93 equ 20cdch
+
kL3 equ kE2BT+16
_VPutBlank equ 020ce0h
+
kL4 equ kE2BT+17
_MISSING_CALL_94 equ 20ce4h
+
kL5 equ kE2BT+18
_DispListNameY equ 020ce8h
+
kL6 equ kE2BT+19
_CurNameLength equ 020cech
+
 
_NameToBuf equ 020cf0h
+
;These keys are laid on top of existing keys to
_JPromptCursor equ 020cf4h
+
;enable localization in the inferential stats editor.
_BufLeft equ 020cf8h
+
;----------------------------------------------------
_BufRight equ 020cfch
+
kinfData equ kL1
_BufInsert equ 020d00h
+
kinfStats equ kL1+1
_BufQueueChar equ 020d04h
+
kinfYes equ kL1+2
_BufReplace equ 020d08h
+
kinfNo equ kL1+3
_BufDelete equ 020d0ch
+
kinfCalc equ kL1+4
_BufPeek equ 020d10h
+
kinfDraw equ kL1+5
_BufPeek1 equ 020d14h
+
kinfAlt1ne equ kL1+6
_BufPeek2 equ 020d18h
+
kinfAlt1lt equ kL1+7
_BufPeek3 equ 020d1ch
+
kinfAlt1gt equ kL1+8
_BufToBtm equ 020d20h
+
kinfAlt2ne equ kL1+9
_SetupEditEqu equ 020d24h
+
kinfAlt2lt equ kL1+10
_BufToTop equ 020d28h
+
kinfAlt2gt equ kL1+11
_IsEditFull equ 020d2ch
+
kinfAlt3ne equ kL1+12
_IsEditEmpty equ 020d30h
+
kinfAlt3lt equ kL1+13
_IsAtTop equ 020d34h
+
kinfAlt3gt equ kL1+14
_IsAtBtm equ 020d38h
+
kinfAlt4ne equ kL1+15
_MISSING_CALL_95 equ 20d3ch
+
kinfAlt4lt equ kL1+16
_JCursorFirst equ 020d40h
+
kinfAlt4gt equ kL1+17
_JCursorLast equ 020d44h
+
kinfAlt5ne equ kL1+18
_CursorLeft equ 020d48h
+
kinfAlt5lt equ kL1+19
_JCursorRight equ 020d4ch
+
kinfAlt5gt equ kL1+20
_JCursorUp equ 020d50h
+
kinfAlt6ne equ kL1+21
_CursorDown equ 020d54h
+
kinfAlt6lt equ kL1+22
_CursorToOffset equ 020d58h
+
kinfAlt6gt equ kL1+23
_InsDisp equ 020d5ch
+
kMatA equ kE2BT+20
_FDispBOL1 equ 020d60h
+
kMatB equ kE2BT+21
_FDispBOL equ 020d64h
+
kMatC equ kE2BT+22
_DispEOW equ 020d68h
+
kMatD equ kE2BT+23
_DispHead equ 020d6ch
+
kMatE equ kE2BT+24
_DispTail equ 020d70h
+
kXmin equ kE2BT+25
_PutTokString equ 020d74h
+
kXmax equ kE2BT+26
_SetupEditCmd equ 020d78h
+
kXscl equ kE2BT+27
_SetEmptyEditEqu equ 020d7ch
+
kYmin equ kE2BT+28
_SetEmptyEditPtr equ 020d80h
+
kYmax equ kE2BT+29
_CloseEditEqu equ 020d84h
+
kYscl equ kE2BT+30
_GetPrevTok equ 020d88h
+
kTmin equ kE2BT+31
_GetKey equ 020d8ch
+
kTmax equ kE2BT+32
;------------------------------
+
kTStep equ kE2BT+33
_StoOther equ 020f4ch
+
kOmin equ kE2BT+34
_RclAns equ 020f50h
+
kOmax equ kE2BT+35
_RclY equ 020f54h
+
kOStep equ kE2BT+36
_RclN equ 020f58h
+
ku0 equ kE2BT+37
_RclX equ 020f5ch
+
kv0 equ kE2BT+38
_RclVarSym equ 020f60h
+
knMin equ kE2BT+39
_RclSysTok equ 020f64h
+
knMax equ kE2BT+40
_StMatEl equ 020f68h
+
kDeltaY equ kE2BT+41
_StLstVecEl equ 020f6ch
+
kDeltaX equ kE2BT+42
_ConvOP1 equ 020f70h
+
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 00h
 +
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
 
;------------------------------
 
;------------------------------
_createAppVar equ 021330h
+
skDown equ 01h
_createProtProg equ 021334h
+
skLeft equ 02h
_lockFlash equ 0213ACh
+
skRight equ 03h
_DelVarArc equ 021434h
+
skUp equ 04h
_SetParserHook equ 02149Ch
+
skEnter equ 09h
_ClrParserHook equ 0214A0h
+
skAdd equ 0Ah
_Arc_Unarc equ 021448h
+
skSub equ 0Bh
_ChkInRAM equ 021F98h
+
skMul equ 0Ch
_DispHL equ 021EE0h
+
skDiv equ 0Dh
_nmiHandler equ 0220A8h
+
skPower equ 0Eh
;-------------------------------------------------------------------------------
+
skClear equ 0Fh
; RAM Locations / Address Space
+
skChs equ 11h
;-------------------------------------------------------------------------------
+
sk3 equ 12h
flags equ 0D00080h
+
sk6 equ 13h
curRow equ 0D00595h
+
sk9 equ 14h
curCol equ 0D00596h
+
skRParen equ 15h
OP1 equ 0D005F8h
+
skTan equ 16h
OP2 equ 0D00603h
+
skVars equ 17h
OP3 equ 0D0060Eh
+
skDecPnt equ 19h
OP4 equ 0D00619h
+
sk2 equ 1Ah
OP5 equ 0D00624h
+
sk5 equ 1Bh
OP6 equ 0D0062Fh
+
sk8 equ 1Ch
penCol equ 0D008D2h
+
skLParen equ 1Dh
penRow equ 0D008D5h
+
skCos equ 1Eh
userMem equ 0D1A881h
+
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
  
vRam equ 0D40000h
+
; DI Keyboard Equates
 +
;---------------------------
 +
DI_Mode equ 0F50000h
 +
DI_Cntrl equ 0F50004h
 +
DI_Int equ 0F50008h
 +
DI_IntMask equ 0F5000Ch
  
errNo equ 0D008DFh
+
kbdG1 equ 0F50012h
errSP equ 0D008E0h
+
;----------------------------
tempMem equ 0D02587h
+
kbdGraph equ 00000001b
FPSbase equ 0D0258Ah
+
kbdTrace equ 00000010b
FPS equ 0D0258Dh
+
kbdZoom equ 00000100b
OPBase equ 0D02590h
+
kbdWindow equ 00001000b
OPS equ 0D02593h
+
kbdYequ equ 00010000b
 +
kbd2nd equ 00100000b
 +
kbdMode equ 01000000b
 +
kbdDel equ 10000000b
  
pTemp equ 0D0259Ah
+
kbitGraph equ 00h
progPtr equ 0D0259Dh
+
kbitTrace equ 01h
 +
kbitZoom equ 02h
 +
kbitWindow equ 03h
 +
kbitYequ equ 04h
 +
kbit2nd equ 05h
 +
kbitMode equ 06h
 +
kbitDel equ 07h
  
begPC equ 0D02317h
+
kbdG2 equ 0F50014h
curPC equ 0D0231Ah
+
;----------------------------
endPC equ 0D0231Dh
+
kbdStore equ 00000010b
 +
kbdLn equ 00000100b
 +
kbdLog equ 00001000b
 +
kbdSquare equ 00010000b
 +
kbdRecip equ 00100000b
 +
kbdMath equ 01000000b
 +
kbdAlpha equ 10000000b
  
asm_prgm_size equ 0D0118Ch
+
kbitStore equ 01h
 +
kbitLn equ 02h
 +
kbitLog equ 03h
 +
kbitSquare equ 04h
 +
kbitRecip equ 05h
 +
kbitMath equ 06h
 +
kbitAlpha equ 07h
  
kbdScanCode equ 0D00587h
+
kbdG3 equ 0F50016h
kbdLGSC equ 0D00588h
+
;----------------------------
kbdPSC equ 0D00589h
+
kbd0 equ 00000001b
kbdWUR equ 0D0058Ah
+
kbd1 equ 00000010b
kbdDebncCnt equ 0D0058Bh
+
kbd4 equ 00000100b
kbdKey equ 0D0058Ch
+
kbd7 equ 00001000b
kbdGetKy equ 0D0058Dh
+
kbdComma equ 00010000b
keyExtend equ 0D0058Eh
+
kbdSin equ 00100000b
 +
kbdApps equ 01000000b
 +
kbdGraphVar equ 10000000b
  
; safeRAM
+
kbit0 equ 00h
pixelShadow equ 0D031F6h ; 8400 bytes
+
kbit1 equ 01h
pixelShadow2 equ 0D052C6h ; 8400 bytes
+
kbit4 equ 02h
cmdPixelShadow equ 0D07396h ; 8400 bytes
+
kbit7 equ 03h
plotSScreen equ 0D09466h ; 21945 bytes
+
kbitComma equ 04h
saveSScreen equ 0D0EA1Fh ; 21945 bytes
+
kbitSin equ 05h
textShadow equ 0D006C0h ; 260 bytes
+
kbitApps equ 06h
cmdShadow equ 0D0232Dh ; 260 bytes
+
kbitGraphVar equ 07h
;-------------------------------------------------------------------------------
+
; Scan Codes
+
;-------------------------------------------------------------------------------
+
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
+
skDownLeft equ 252
+
skDownRight equ 250
+
skUpLeft equ 245
+
skUpRight equ 243
+
;-------------------------------------------------------------------------------
+
; Tokens
+
;-------------------------------------------------------------------------------
+
EOSSTART equ 0
+
  
DCONV equ 01h ; Display conversions come immediately before 'TSTORE'
+
kbdG4 equ 0F50018h
 +
;----------------------------
 +
kbdDecPnt equ 00000001b
 +
kbd2 equ 00000010b
 +
kbd5 equ 00000100b
 +
kbd8 equ 00001000b
 +
kbdLParen equ 00010000b
 +
kbdCos equ 00100000b
 +
kbdPgrm equ 01000000b
 +
kbdStat equ 10000000b
  
tToDMS equ DCONV ; 01h
+
kbitDecPnt equ 00h
tToDEC equ DCONV+1 ; 02h
+
kbit2 equ 01h
tToAbc equ DCONV+2 ; 03h> A b/c
+
kbit5 equ 02h
tStore equ DCONV+3 ; 04h Lstore 01
+
kbit8 equ 03h
tBoxPlot equ 05h
+
kbitLParen equ 04h
BRACKS equ 06h
+
kbitCos equ 05h
 +
kbitPgrm equ 06h
 +
kbitStat equ 07h
  
tLBrack equ BRACKS ; 06h '['
+
kbdG5 equ 0F5001Ah
tRBrack equ BRACKS+1 ; 07h ']'
+
;----------------------------
tLBrace equ BRACKS+2 ; 08h '{'
+
kbdChs equ 00000001b
tRBrace equ BRACKS+3 ; 09h '}'
+
kbd3 equ 00000010b
 +
kbd6 equ 00000100b
 +
kbd9 equ 00001000b
 +
kbdRParen equ 00010000b
 +
kbdTan equ 00100000b
 +
kbdVars equ 01000000b
  
tPOST1 equ BRACKS+4
+
kbitChs equ 00h
 +
kbit3 equ 01h
 +
kbit6 equ 02h
 +
kbit9 equ 03h
 +
kbitRParen equ 04h
 +
kbitTan equ 05h
 +
kbitVars equ 06h
  
tFromRad equ tPOST1 ; 0Ah Lradian
+
kbdG6 equ 0F5001Ch
tFromDeg equ tPOST1+1 ; 0Bh Ldegree
+
;----------------------------
tRecip equ tPOST1+2 ; 0Ch Linverse
+
kbdEnter equ 00000001b
tSqr equ tPOST1+3 ; 0Dh Lsquare
+
kbdAdd equ 00000010b
tTrnspos equ tPOST1+4 ; 0Eh Ltranspose
+
kbdSub equ 00000100b
tCube equ tPOST1+5 ; 0Fh '^3'
+
kbdMul equ 00001000b
tLParen equ 10h ; 10h '('
+
kbdDiv equ 00010000b
tRParen equ 11h ; 11h ')'
+
kbdPower equ 00100000b
 +
kbdClear equ 01000000b
  
IMUN equ 12h
+
kbitEnter equ 00h
tRound equ IMUN ; 12h 'round'
+
kbitAdd equ 01h
tPxTst equ IMUN+1 ; 13h 'PXL-TEST'
+
kbitSub equ 02h
tAug equ IMUN+2 ; 14h 'aug'
+
kbitMul equ 03h
tRowSwap equ IMUN+3 ; 15h 'rSwap'
+
kbitDiv equ 04h
tRowPlus equ IMUN+4 ; 16h 'rAdd'
+
kbitPower equ 05h
tmRow equ IMUN+5 ; 17h 'multR'
+
kbitClear equ 06h
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
+
kbdG7 equ 0F5001Eh
tSpace equ tEOSEL ; 29h ' '
+
;----------------------------
tString equ tEOSEL+1 ; 2Ah'"'
+
kbdDown equ 00000001b
tComma equ tEOSEL+2 ; 2Bh','
+
kbdLeft equ 00000010b
tii equ 2Ch ; i
+
kbdRight equ 00000100b
;-------------------------------------------------------------------------------
+
kbdUp equ 00001000b
; Postfix Functions
+
;-------------------------------------------------------------------------------
+
tPost equ 2Dh
+
  
tFact equ tPost ; 2Dh '!'
+
kbitDown equ 00h
tCubicR equ 2Eh
+
kbitLeft equ 01h
tQuartR equ 2Fh
+
kbitRight equ 02h
;-------------------------------------------------------------------------------
+
kbitUp equ 03h
; 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 ; 3FhLenter
+
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;
+
tVarMat equ vToks ; 5Ch - MATRIX token, 2nd token needed for name
+
tVarLst equ vToks+1 ; 5Dh - LIST token, 2nd token needed for name
+
tVarequ equ vToks+2 ; 5Eh - EQUATION token, 2nd token needed for name
+
tProg equ vToks+3 ; 5Fh
+
tVarPict equ vToks+4 ; 60h - PICT token, 2nd token needed for name
+
tVarGDB equ vToks+5 ; 61h - GDB token, 2nd token needed for name
+
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_'
+
;Tokens
tSplitOn equ MODES+1 ; 74h
+
;-----------------------------------------------------
tFullScreen equ MODES+2 ; 75h
+
EOSSTART equ 00h
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 bytes
+
;-------------------------------------------------------------------------------
+
tGFormat equ MODES+11; 7Eh
+
  
tBoxIcon equ 7Fh
+
;DISPLAY CONVERSIONS COME IMMEDIATELY BEFORE 'TSTORE'
tCrossIcon equ 80h
+
;
tDotIcon equ 81h
+
DCONV equ 01h
;-------------------------------------------------------------------------------
+
;
; Binary OP (Continuted)
+
tToDMS equ DCONV ;01h
;-------------------------------------------------------------------------------
+
tToDEC equ DCONV+1 ;02h
tMul equ 82h ; 82h'*'
+
tToAbc equ DCONV+2 ;03h > A b/c
tDiv equ 83h ; 83h'/'
+
;
;-------------------------------------------------------------------------------
+
tStore equ DCONV+3 ;04h Lstore 01
; Graph Commands
+
;
;-------------------------------------------------------------------------------
+
tBoxPlot equ 05h
GRCMDS equ 84h
+
;
 +
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
  
tTrace equ GRCMDS+0 ; 84h 'Trace'
+
;Postfix Functions
tClDrw equ GRCMDS+1 ; 85h 'ClDrw'
+
;-----------------------------------------
tZoomStd equ GRCMDS+2 ; 86h 'ZStd'
+
tPost equ 2Dh
tZoomtrg equ GRCMDS+3 ; 87h 'Ztrg'
+
;
tZoomBox equ GRCMDS+4 ; 88h 'ZBOX'
+
tFact equ tPost ;2Dh '!'
tZoomIn equ GRCMDS+5 ; 89h 'ZIn'
+
;
tZoomOut equ GRCMDS+6 ; 8Ah 'ZOut'
+
tCubicR equ 2Eh
tZoomSqr equ GRCMDS+7 ; 8Bh 'ZSqr'
+
tQuartR equ 2Fh
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 ; 92hZOOM STORE
+
tText equ GRCMDS+15 ; 93h
+
;-------------------------------------------------------------------------------
+
; Binary OP (Combination & Permutation)
+
;-------------------------------------------------------------------------------
+
tnPr equ GRCMDS+16 ; 94h '_nPr_'
+
tnCr equ GRCMDS+17 ; 95h '_nCr_'
+
;-------------------------------------------------------------------------------
+
; Graph Commands (Continuted)
+
;-------------------------------------------------------------------------------
+
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
+
;Number Tokens
;-------------------------------------------------------------------------------
+
;---------------------------------------
; Functions with No Arguments
+
NUMS equ 30h
;-------------------------------------------------------------------------------
+
;
NOARG equ 0ABh
+
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
  
tRand equ NOARG ; ABh 'rand'
+
;Binary OP
tPi equ NOARG+1 ; AChLpi
+
;-------------------------------------------
tGetKey equ NOARG+2 ; ADh 'getKy'
+
tOr equ 3Ch ;3Ch '_or_'
tAPost equ tGetKey+1 ; APOSTROPHY
+
tXor equ 3Dh ;3Dh
tQuest equ tAPost+1 ; QUESTION MARK
+
;
UNARY equ tQuest+1 ; B0h
+
tColon equ 3Eh ;3Eh ':'
tChs equ UNARY ; B0h
+
tEnter equ 3Fh ;3Fh Lenter
tInt equ UNARY+1 ; B1h
+
;
tAbs equ UNARY+2 ; B2h
+
tAnd equ 40h ;40h '_and_'
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
+
;-------------------------------------------------------------------------------
+
; 2 BYTE TOKENS (Continued)
+
;-------------------------------------------------------------------------------
+
t2ByteTok equ 0BBh ;
+
  
UNARYLR equ UNARY+12
+
;Letter Tokens
tSqrt equ UNARYLR ; BCh
+
;--------------------------------------
tCubRt equ UNARYLR+1 ; BDh
+
LET equ 41h
tLn equ UNARYLR+2 ; BEh
+
tA equ LET ;41h
tExp equ UNARYLR+3 ; BFh
+
tB equ LET+1 ;42h
tLog equ UNARYLR+4 ; C0h
+
tC equ LET+2 ;43h
tALog equ UNARYLR+5 ; C1h
+
tD equ LET+3 ;44h
tSin equ UNARYLR+6 ; C2h
+
tE equ LET+4 ;45h
tASin equ UNARYLR+7 ; C3h
+
tF equ LET+5 ;46h
tCos equ UNARYLR+8 ; C4h
+
tG equ LET+6 ;47h
tACos equ UNARYLR+9 ; C5h
+
tH equ LET+7 ;48h
tTan equ UNARYLR+10; C6h
+
tI equ LET+8 ;49h
tATan equ UNARYLR+11; C7h
+
tJ equ LET+9 ;4Ah
tSinH equ UNARYLR+12; C8h
+
tK equ LET+10 ;4Bh
tASinH equ UNARYLR+13; C9h
+
tL equ LET+11 ;4Ch
tCosH equ UNARYLR+14; CAh
+
tM equ LET+12 ;4Dh
tACosH equ UNARYLR+15; CBh
+
tN equ LET+13 ;4Eh
tTanH equ UNARYLR+16; CCh
+
tO equ LET+14 ;4Fh
tATanH equ UNARYLR+17; CDh
+
tP equ LET+15 ;50h
;-------------------------------------------------------------------------------
+
tQ equ LET+16 ;51h
; Some Programming Commands
+
tR equ LET+17 ;52h
;-------------------------------------------------------------------------
+
tS equ LET+18 ;53h
PROGTOK equ UNARYLR+18
+
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
  
tIf equ PROGTOK ; CEh
+
;These Var Tokens Are 1st Of A Double Token
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
+
vToks equ LET+27
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 ; FBhCLEAR 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
+
;-------------------------------------------------------------------------------
+
GFMT equ 0 ;Format settings commands
+
  
tSeq equ GFMT ; 'SeqG'
+
;User Matrix Token, 2nd Token Needed For Name
tSimulG equ GFMT+1; 'SimulG'
+
;
tPolarG equ GFMT+2; 'PolarGC'
+
tVarMat equ vToks ;5Ch
tRectG equ GFMT+3; 'RectGC'
+
;
tCoordOn equ GFMT+4; 'CoordOn'
+
;User List Token, 2nd Token Needed For Name
tCoordOff equ GFMT+5; 'CoordOff'
+
;
tDrawLine equ GFMT+6; 'DrawLine'
+
tVarLst equ vToks+1 ;5Dh
tDrawDot equ GFMT+7; 'DrawDot'
+
;
tAxisOn equ GFMT+8; 'AxesOn'
+
;User Equation Token, 2nd Token Needed For Name
tAxisOff equ GFMT+9; 'AxesOff'
+
;
tGridOn equ GFMT+10 ; 'GridOn'
+
tVarequ equ vToks+2 ;5Eh
tGridOff equ GFMT+11 ; 'GridOff'
+
tProg equ vToks+3 ;5Fh
tLblOn equ GFMT+12 ; 'LabelOn'
+
;
tLblOff equ GFMT+13 ; 'LabelOff'
+
;User Pict Token, 2nd Token Needed For Name
tWebOn equ GFMT+14 ; 'WebOn'
+
;
tWebOff equ GFMT+15 ; 'WebOFF'
+
tVarPict equ vToks+4 ;60h
tuv equ GFMT+16 ; U vs V
+
;
tvw equ GFMT+17 ; V vs W
+
;User GDB Token, 2nd Token Needed For Name
tuw equ GFMT+18 ; U vs W
+
;
;-------------------------------------------------------------------------------
+
tVarGDB equ vToks+5 ;61h
; 2nd half of User MATRIX Tokens
+
tVarOut equ vToks+6 ;62h
;-------------------------------------------------------------------------------
+
tVarSys equ vToks+7 ;63h
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
+
;Mode Setting Commands
tX1T equ 20h ; X1t
+
;-------------------------------------------------
tY1T equ 21h ; Y1t
+
MODESA equ vToks+8 ;64h
tX2T equ 22h ; X2t
+
tRad equ MODESA ;64h 'Radian'
tY2T equ 23h ; Y2t
+
tDeg equ MODESA+1 ;65h 'Degree'
tX3T equ 24h ; X3t
+
tNormF equ MODESA+2 ;66h 'Normal'
tY3T equ 25h ; Y3t
+
tSci equ MODESA+3 ;67h 'Sci'
tX4T equ 26h ; X4t
+
tEng equ MODESA+4 ;68h 'Eng'
tY4T equ 27h ; Y4t
+
tFloat equ MODESA+5 ;69h 'Float'
tX5T equ 28h ; X5t
+
CMPS equ 6Ah
tY5T equ 29h ; Y5t
+
tEQ equ CMPS ;6Ah '=='
tX6T equ 2Ah ; X6t
+
tLT equ CMPS+1 ;6Bh '<'
tY6T equ 2Bh ; Y6t
+
tGT equ CMPS+2 ;6Ch '>'
 +
tLE equ CMPS+3 ;6Dh LLE
 +
tGE equ CMPS+4 ;6Eh LGE
 +
tNE equ CMPS+5 ;6Fh LNE
  
; POLAR equATIONS have bit 6 set
+
;Binary OP
tR1 equ 40h ; R1
+
;---------------------------------------
tR2 equ 41h ; R2
+
tAdd equ 70h ;70h '+'
tR3 equ 42h ; R3
+
tSub equ 71h ;71h '-'
tR4 equ 43h ; R4
+
tAns equ 72h ;72h
tR5 equ 44h ; R5
+
tR6 equ 45h ; R6
+
  
; RECURSION equATIONS have bit 7 set
+
;Mode Setting Commands
tun equ 80h ; Un
+
;------------------------------------------------------
tvn equ 81h ; Vn
+
MODES equ 73h
twn equ 82h ; Wn
+
tFix equ MODES ;73h 'Fix_'
;-------------------------------------------------------------------------------
+
tSplitOn equ MODES+1 ;74h
; 2nd half of User PICTURE Tokens
+
tFullScreen equ MODES+2 ;75h
;-------------------------------------------------------------------------------
+
tStndrd equ MODES+3 ;76h 'Func'
tPic1 equ 00h ; PIC1
+
tParam equ MODES+4 ;77h 'Param'
tPic2 equ 01h ; PIC2
+
tPolar equ MODES+5 ;78h 'Pol'
tPic3 equ 02h ; PIC3
+
tSeqG equ MODES+6 ;79h
tPic4 equ 03h ; PIC4
+
tAFillOn equ MODES+7 ;7Ah 'AUTO FILL ON'
tPic5 equ 04h ; PIC5
+
tAFillOff equ MODES+8 ;7Bh
tPic6 equ 05h ; PIC6
+
tACalcOn equ MODES+9 ;7Ch
tPic7 equ 06h ; PIC7
+
tACalcOff equ MODES+10 ;7Dh 'AutoFill OFF'
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 User STRING VARS Tokens
+
;-------------------------------------------------------------------------------
+
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
+
;Graph Format Tokens Are 2 Byte Tokens
tXMean equ 03h ; X MEAN
+
;----------------------------------------
tSumX equ 04h ; SUM(X)
+
tGFormat equ MODES+11 ;7Eh
tSumXSqr equ 05h ; SUM(X^2)
+
tBoxIcon equ 7Fh
tStdX equ 06h ; STANDARD DEV X
+
tCrossIcon equ 80h
tStdPX equ 07h ; STANDARD DEV POP X
+
tDotIcon equ 81h
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 VARIABLES
+
;-------------------------------------------------------------------------------
+
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
+
;(More) Binary OP
tZFit equ 65h ; ZOOM FIT
+
;---------------------------------------
tDiag_on equ 66h ; DIANOSTIC DISPLAY ON
+
tMul equ 82h ;82h '*'
tDiag_off equ 67h ; DIANOSTIC DISPLAY OFF
+
tDiv equ 83h ;83h '/'
tOkEnd2v0 equ 67h ;end of 2byte tokens for version 0.
+
tArchive equ 68h ;archive
+
tUnarchive equ 69h ;unarchive
+
tasm equ 6Ah
+
tasmComp equ 6Bh ; assm compile
+
tasmPrgm equ 6Ch ; signifies a program is assm
+
tasmCmp equ 6Dh ; assm 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
+
;Some Graph Commands
tLcapICaret equ 80h
+
;-----------------------------------------------------
tLcapIDier equ 81h
+
GRCMDS equ 84h
tLiAcute equ 82h
+
tTrace equ GRCMDS ; 84h 'Trace'
tLiGrave equ 83h
+
tClDrw equ GRCMDS+1 ; 85h 'ClDrw'
tLiCaret equ 84h
+
tZoomStd equ GRCMDS+2 ; 86h 'ZStd'
tLiDier equ 85h
+
tZoomtrg equ GRCMDS+3 ; 87h 'Ztrg'
tLcapOAcute equ 86h
+
tZoomBox equ GRCMDS+4 ; 88h 'ZBOX'
tLcapOGrave equ 87h
+
tZoomIn equ GRCMDS+5 ; 89h 'ZIn'
tLcapOCaret equ 88h
+
tZoomOut equ GRCMDS+6 ; 8Ah 'ZOut'
tLcapODier equ 89h
+
tZoomSqr equ GRCMDS+7 ; 8Bh 'ZSqr'
tLoAcute equ 8Ah
+
tZoomInt equ GRCMDS+8 ; 8Ch 'ZInt'
tLoGrave equ 8Bh
+
tZoomPrev equ GRCMDS+9 ; 8Dh 'ZPrev'
tLoCaret equ 8Ch
+
tZoomDec equ GRCMDS+10 ; 8Eh 'ZDecm'
tLoDier equ 8Dh
+
tZoomStat equ GRCMDS+11 ; 8Fh 'ZStat
tLcapUAcute equ 8Eh
+
tUsrZm equ GRCMDS+12 ; 90h 'ZRcl'
tLcapUGrave equ 8Fh
+
tPrtScrn equ GRCMDS+13 ; 91h 'PrtScrn'
tLcapUCaret equ 90h
+
tZoomSto equ GRCMDS+14 ; 92h ZOOM STORE
tLcapUDier equ 91h
+
tText equ GRCMDS+15 ; 93h
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
+
;Binary OP (Combination & Permutation)
tLcapOmega equ 0aCh
+
;-------------------------------------------------
tLphat equ 0aDh
+
tnPr equ GRCMDS+16 ;94h '_nPr_'
tLchi equ 0aEh
+
tnCr equ GRCMDS+17 ;95h '_nCr_'
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
+
;More Graph Commands
tLm equ 0bDh
+
;--------------------------------------------------
;tLnequ 0bEh
+
tYOn equ GRCMDS+18 ;96h 'FnOn_'
tLo equ 0bFh
+
tYOff equ GRCMDS+19 ;97h 'FnOff_'
tLp equ 0c0h
+
tStPic equ GRCMDS+20 ;98h 'StPic_'
tLq equ 0c1h
+
tRcPic equ GRCMDS+21 ;99h 'RcPic_'
tLsmallr equ 0c2h
+
tStoDB equ GRCMDS+22 ;9Ah 'StGDB_'
tLs equ 0c3h
+
tRclDB equ GRCMDS+23 ;9Bh 'RcGDB_'
tLsmallt equ 0c4h
+
tLine equ GRCMDS+24 ;9Ch 'Line'
tLu equ 0c5h
+
tVert equ GRCMDS+25 ;9Dh 'Vert_'
tLv equ 0c6h
+
tPtOn equ GRCMDS+26 ;9Eh 'PtOn'
tLw equ 0c7h
+
tPtOff equ GRCMDS+27 ;9Fh 'PtOff'
tLx equ 0c8h
+
 
tLy equ 0c9h
+
;Token A0 Cannot Be An EOS Function Since Low MULT=A0 Already
tLz equ 0cAh
+
;-----------------------------------------------------
tLsigma equ 0cbh
+
tPtChg equ GRCMDS+28 ;A0h 'PtChg'
tLtau equ 0cch
+
tPXOn equ GRCMDS+29 ;A1h
tLcapIAcute equ 0cdh
+
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 00h
 +
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
 
;
 
;
tGarbagec equ 0Ceh
+
tY1 equ 10h ;Y1
LastToken equ 0Ceh ;Last token in this version...
+
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
; Extended Tokens
+
;-----------------------------------
;-----------------------------------------------
+
tX1T equ 20h ;X1t
; These are new on OSes after 1.15
+
tY1T equ 21h ;Y1t
tExtTok equ 0EFh
+
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
  
tSetDate equ 00h
+
;Polar Equations Have Bit 6 Set
tSetTime equ 01h
+
;----------------------------------
tCheckTmr equ 02h
+
tR1 equ 40h ;R1
tSetDtFmt equ 03h
+
tR2 equ 41h ;R2
tSetTmFmt equ 04h
+
tR3 equ 42h ;R3
tTimeCnv equ 05h
+
tR4 equ 43h ;R4
tDayOfWk equ 06h
+
tR5 equ 44h ;R5
tGetDtStr equ 07h
+
tR6 equ 45h ;R6
tGetTmStr equ 08h
+
tGetDate equ 09h
+
tGetTime equ 0Ah
+
tStartTmr equ 0Bh
+
tGtDtFmt equ 0Ch
+
tGetTmFmt equ 0Dh
+
tIsClockOn equ 0Eh
+
tClockOff equ 0Fh
+
tClockOn equ 10h
+
tOpenLib equ 11h
+
tExecLib equ 12h
+
tInvT equ 13h
+
tChiSquaredGofTest equ 14h
+
tLinRegTInt equ 15h
+
tManualFit equ 16h
+
  
; MathPrint
+
;Recursion Equations Have Bit 7 Set
tZQuadrant equ 17h
+
;----------------------------------
tZFracHalf equ 18h
+
tun equ 80h ;Un
tZFracThird equ 19h
+
tvn equ 81h ;Vn
tZFracFourth equ 1Ah
+
twn equ 82h ;Wn
tZFracFifth equ 1Bh
+
tZFracEighth equ 1Ch
+
tZFracTenth equ 1Dh
+
tFracSlash equ 2Eh
+
tFracMixedNum equ 2Fh
+
tSwapImProper equ 30h
+
tSwapFracDec equ 31h
+
tRemainder equ 32h
+
tSummationSigma equ 33h
+
tLogBase equ 34h
+
tRandIntNoRep equ 35h
+
tMathPrint equ 37h
+
tClassic equ 38h
+
tAutoAnswer equ 3Bh
+
tDecAnswer equ 3Ch
+
tFracAnswer equ 3Dh
+
  
; TI-84+CSE
+
;2nd Half User Picture Tokens
tBlue equ 41h
+
;------------------------------------
tRed equ 42h
+
tPic1 equ 00h ;PIC1
tBlack equ 43h
+
tPic2 equ 01h ;PIC2
tMagenta equ 44h
+
tPic3 equ 02h ;PIC3
tGreen equ 45h
+
tPic4 equ 03h ;PIC4
tOrange equ 46h
+
tPic5 equ 04h ;PIC5
tBrown equ 47h
+
tPic6 equ 05h ;PIC6
tNavy equ 48h
+
tPic7 equ 06h ;PIC7
tLtBlue equ 49h
+
tPic8 equ 07h ;PIC8
tYellow equ 4Ah
+
tPic9 equ 08h ;PIC9
tWhite equ 4Bh
+
tPic0 equ 09h ;PIC0
tLtGray equ 4Ch
+
tMedGray equ 4Dh
+
tGray equ 4Eh
+
tDarkGray equ 4Fh
+
  
tGraphColor equ 65h
+
;2nd Half User Graph Database Tokens
tTextColor equ 67h
+
;------------------------------------
tBackgroundOn equ 5Bh
+
tGDB1 equ 00h ;GDB1
tBackgroundOff equ 64h
+
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
  
tThin equ 74h
+
;2nd Half Of String Vars
;tThick - 0x7E 0x06 (was "Connected"?)
+
;------------------------------
tAsm84CPrgm equ 68h
+
tStr1 equ 00h
tAsm84CCmp equ 69h
+
tStr2 equ 01h
tBorderColor equ 6Ch
+
tStr3 equ 02h
 +
tStr4 equ 03h
 +
tStr5 equ 04h
 +
tStr6 equ 05h
 +
tStr7 equ 06h
 +
tStr8 equ 07h
 +
tStr9 equ 08h
 +
tStr0 equ 09h
  
tAsm84CeCmp equ 07Bh
+
;2nd Half Of System Output Only Variables
tAsm84CePrgm equ 07Ah
+
;----------------------------------------------------------------
;-----------------------------------------------
+
;OPEN equ 00h
; Data Types
+
tRegEq equ 01h ;REGRESSION EQUATION
;-----------------------------------------------
+
tStatN equ 02h ;STATISTICS N
RealObj equ 0
+
tXMean equ 03h ;X MEAN
ListObj equ 1
+
tSumX equ 04h ;SUM(X)
MatObj equ 2
+
tSumXSqr equ 05h ;SUM(X^2)
equObj equ 3
+
tStdX equ 06h ;STANDARD DEV X
StrngObj equ 4
+
tStdPX equ 07h ;STANDARD DEV POP X
ProgObj equ 5
+
tMinX equ 08h ;Min X VALUE
ProtProgObj equ 6
+
tMaxX equ 09h ;Max X VALUE
PictObj equ 7
+
tMinY equ 0Ah ;Min Y VALUE
GDBObj equ 8
+
tMaxY equ 0Bh ;Max Y VALUE
UnknownObj equ 9
+
tYmean equ 0Ch ;Y MEAN
UnknownequObj equ 0Ah
+
tSumY equ 0Dh ;SUM(Y)
NewequObj equ 0Bh
+
tSumYSqr equ 0Eh ;SUM(Y^2)
CplxObj equ 0Ch
+
tStdY equ 0Fh ;STANDARD DEV Y
CListObj equ 0Dh
+
tStdPY equ 10h ;STANDARD DEV POP Y
UndefObj equ 0Eh
+
tSumXY equ 11h ;SUM(XY)
WindowObj equ 0Fh
+
tCorr equ 12h ;CORRELATION
ZStoObj equ 10h
+
tMedX equ 13h ;MED(X)
TblRngObj equ 11h
+
tQ1 equ 14h ;1ST QUADRANT OF X
LCDObj equ 12h
+
tQ3 equ 15h ;3RD QUADRANT OF X
BackupObj equ 13h
+
tQuadA equ 16h ;1ST TERM OF QUAD POLY REG/ Y-INT
AppObj equ 14h ;application, only used in menus/link
+
tQuadB equ 17h ;2ND TERM OF QUAD POLY REG/ SLOPE
AppVarObj equ 15h ;application variable
+
tQuadC equ 18h ;3RD TERM OF QUAD POLY REG
TempProgObj equ 16h ;program, home deletes when finished
+
tCubeD equ 19h ;4TH TERM OF CUBIC POLY REG
GroupObj equ 17h ;group.
+
tQuartE equ 1Ah ;5TH TERM OF QUART POLY REG
;-----------------------------------------------
+
tMedX1 equ 1Bh ;x1 FOR MED-MED
; System Error Codes
+
tMedX2 equ 1Ch ;x2 FOR MED-MED
;-----------------------------------------------
+
tMedX3 equ 1Dh ;x3 FOR MED-MED
E_EDITF equ 7 ;allow re-entering application
+
tMedY1 equ 1Eh ;y1 FOR MED-MED
E_EDIT equ 1<<E_EDITF
+
tMedY2 equ 1Fh ;y2 FOR MED-MED
E_Mask equ 7Fh
+
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
  
E_Overflow equ 1+E_EDIT
+
;These next tokens are only used to access the data
E_DivBy0 equ 2+E_EDIT
+
;they are display only and the user cannot access them at all
E_SingularMat equ 3+E_EDIT
+
;------------------------------------------------------------
E_Domain equ 4+E_EDIT
+
tF_DF equ 37h ;ANOFAV FACTOR DF
E_Increment equ 5+E_EDIT
+
tF_SS equ 38h ;ANOFAV FACTOR SS
E_Break equ 6+E_EDIT
+
tF_MS equ 39h ;ANOFAV FACTOR MS
E_NonReal equ 7+E_EDIT
+
tE_DF equ 3Ah ;ANOFAV ERROR DF
E_Syntax equ 8+E_EDIT
+
tE_SS equ 3Bh ;ANOFAV ERROR SS
E_DataType equ 9+E_EDIT
+
tE_MS equ 3Ch ;ANOFAV ERROR MS
E_Argument equ 10+E_EDIT
+
 
E_DimMismatch equ 11+E_EDIT
+
;2nd Half Of System Input/Output Variables
E_Dimension equ 12+E_EDIT
+
;------------------------------------------------
E_Undefined equ 13+E_EDIT
+
; SYSTEM VARIABLE EQUATES
E_Memory equ 14+E_EDIT
+
;
E_Invalid equ 15+E_EDIT
+
tuXscl equ 0
E_IllegalNest equ 16+E_EDIT
+
tuYscl equ 1
E_Bound equ 17+E_EDIT
+
tXscl equ 2
E_GraphRange equ 18+E_EDIT
+
tYscl equ 3
E_Zoom equ 19+E_EDIT
+
tRecuru0 equ 4 ;U 1ST INITIAL COND
E_Label equ 20
+
tRecurv0 equ 5 ;V 1ST INITIAL COND
E_Stat equ 21
+
tun1 equ 6 ;U(N-1); NOT USED
E_Solver equ 22+E_EDIT
+
tvn1 equ 7 ;V(N-1); NOT USED
E_Singularity equ 23+E_EDIT
+
tuRecuru0 equ 8 ;
E_SignChange equ 24+E_EDIT
+
tuRecurv0 equ 9 ;
E_Iterations equ 25+E_EDIT
+
tXmin equ 0Ah
E_BadGuess equ 26+E_EDIT
+
tXmax equ 0Bh
E_StatPlot equ 27
+
tYmin equ 0Ch
E_TolTooSmall equ 28+E_EDIT
+
tYmax equ 0Dh
E_Reserved equ 29+E_EDIT
+
tTmin equ 0Eh
E_Mode equ 30+E_EDIT
+
tTmax equ 0Fh
E_LnkErr equ 31+E_EDIT
+
tThetaMin equ 10h
E_LnkMemErr equ 32+E_EDIT
+
tThetaMax equ 11h
E_LnkTransErr equ 33+E_EDIT
+
tuXmin equ 12h
E_LnkDupErr equ 34+E_EDIT
+
tuXmax equ 13h
E_LnkMemFull equ 35+E_EDIT
+
tuYmin equ 14h
E_Unknown equ 36+E_EDIT
+
tuYmax equ 15h
E_Scale equ 37+E_EDIT
+
tuThetMin equ 16h
E_IdNotFound equ 38
+
tuThetMax equ 17h
E_NoMode equ 39+E_EDIT
+
tuTmin equ 18h
E_Validation equ 40
+
tuTmax equ 19h
E_Length equ 41+E_EDIT
+
tTblMin equ 1Ah
E_Application equ 42+E_EDIT
+
tPlotStart equ 1Bh
E_AppErr1 equ 43+E_EDIT
+
tuPlotStart equ 1Ch
E_AppErr2 equ 44+E_EDIT
+
tnMax equ 1Dh
E_ExpiredApp equ 45
+
tunMax equ 1Eh
E_BadAddr equ 46
+
tnMin equ 1Fh
E_Archived equ 47+E_EDIT
+
tunMin equ 20h
E_Version equ 48
+
tTblStep equ 21h
E_ArchFull equ 49
+
tTStep equ 22h
E_Variable equ 50+E_EDIT
+
tThetaStep equ 23h
E_Duplicate equ 51+E_EDIT
+
tuTStep equ 24h
HigErrNum equ 51
+
tuThetStep equ 25h
;-----------------------------------------------
+
tDeltaX equ 26h
; Stat Vars Equates
+
tDeltaY equ 27h
;-----------------------------------------------
+
tXFact equ 28h
FPLEN equ 9 ;Length of a floating-point number.
+
tYFact equ 29h
StatN equ statVars
+
tTblInput equ 2Ah
XMean equ StatN+FPLEN
+
tFinN equ 2Bh
SumX equ XMean+FPLEN
+
tFinI equ 2Ch
SumXSqr equ SumX+FPLEN
+
tFinPV equ 2Dh
StdX equ SumXSqr+FPLEN
+
tFinPMT equ 2Eh
StdPX equ StdX+FPLEN
+
tFinFV equ 2Fh
MinX equ StdPX+FPLEN
+
tFinPY equ 30h
MaxX equ MinX+FPLEN
+
tFinCY equ 31h
MinY equ MaxX+FPLEN
+
tRecurw0 equ 32h ;w0(1)
MaxY equ MinY+FPLEN
+
tuRecurw0 equ 33h
YMean equ MaxY+FPLEN
+
tPlotStep equ 34h
SumY equ YMean+FPLEN
+
tuPlotStep equ 35h
SumYSqr equ SumY+FPLEN
+
tXres equ 36h
StdY equ SumYSqr+FPLEN
+
tuXres equ 37h
StdPY equ StdY+FPLEN
+
tRecuru02 equ 38h ;u0(2)
SumXY equ StdPY+FPLEN
+
tuRecuru02 equ 39h
Corr equ SumXY+FPLEN
+
tRecurv02 equ 3Ch ;v0(2)
MedX equ Corr+FPLEN
+
tuRecurv02 equ 3Dh
Q1 equ MedX+FPLEN
+
tRecurw02 equ 3Eh ;w0(2)
Q3 equ Q1+FPLEN
+
tuRecurw02 equ 3Fh
QuadA equ Q3+FPLEN
+
 
QuadB equ QuadA+FPLEN
+
;2nd Byte Of t2ByteTok Tokens
QuadC equ QuadB+FPLEN
+
;------------------------------
CubeD equ QuadC+FPLEN
+
tFinNPV equ 00h
QuartE equ CubeD+FPLEN
+
tFinIRR equ 01h
MedX1 equ QuartE +FPLEN
+
tFinBAL equ 02h
MedX2 equ MedX1+FPLEN
+
tFinPRN equ 03h
MedX3 equ MedX2+FPLEN
+
tFinINT equ 04h
MedY1 equ MedX3+FPLEN
+
tFinToNom equ 05h
MedY2 equ MedY1+FPLEN
+
tFinToEff equ 06h
MedY3 equ MedY2+FPLEN
+
tFinDBD equ 07h
PStat equ MedY3+2*FPLEN
+
tLCM equ 08h
ZStat equ PStat+FPLEN
+
tGCD equ 09h
TStat equ ZStat+FPLEN
+
tRandInt equ 0Ah
ChiStat equ TStat+FPLEN
+
tRandBin equ 0Bh
FStat equ ChiStat+FPLEN
+
tSubStrng equ 0Ch
DF equ FStat+FPLEN
+
tStdDev equ 0Dh
Phat equ DF+FPLEN
+
tVariance equ 0Eh
Phat1 equ Phat+FPLEN
+
tInStrng equ 0Fh
Phat2 equ Phat1+FPLEN
+
tDNormal equ 10h
MeanX1 equ Phat2+FPLEN
+
tInvNorm equ 11h
StdX1 equ MeanX1+FPLEN
+
tDT equ 12h
StatN1 equ StdX1+FPLEN
+
tChI equ 13h
MeanX2 equ StatN1+FPLEN
+
tDF equ 14h
StdX2 equ MeanX2+FPLEN
+
tBINPDF equ 15h
StatN2 equ StdX2+FPLEN
+
tBINCDF equ 16h
StdXP2 equ StatN2+FPLEN
+
tPOIPDF equ 17h
SLower equ StdXP2+FPLEN
+
tPOICDF equ 18h
SUpper equ SLower+FPLEN
+
tGEOPDF equ 19h
SStat equ SUpper+FPLEN
+
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.
 +
 
 +
;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
 +
 
 +
;System Variable Equates
 +
;------------------------------
 +
XSCLt equ 02h
 +
YSCLt equ 03h
 +
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 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
  
;F_DF equ anovaf_vars
+
extraHookFlags equ 3Eh
;F_SS equ F_DF + FPLEN
+
checkCatalog2HookVer equ 3 ;1 = check catalog 2 hook's version before executing it (and error or take other action if so)
;F_MS equ F_SS + FPLEN
+
openLibActive equ 4 ;1 = OpenLib( was successfully called on a Flash application (ExecLib will error if zero)
;E_DF equ F_MS + FPLEN
+
;5
;E_SS equ E_DF + FPLEN
+
;----------------------------------------------------------------------
;E_MS equ E_SS + FPLEN
+
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)
 +
;----------------------------------------------------------------------
 
#endif
 
#endif
 
.list</pre>
 
.list</pre>

Revision as of 20:19, 23 May 2015

Equates

;TI-84 Plus CE Include File

;Various Parts Contributed by
;- BrandonW
;- calc84
;- tr1p1ea
;- MateoConLechuga
;- Texas Instruments (ti83plus.inc)
.nolist

#ifndef TI84PCE
#define TI84PCE

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

;Hardware Defines
;------------------------------
lcdWidth		equ 320
lcdHeight		equ 240

;System Calls
;Jump Table located at 020104h
;--------------------------------
_OSSize			equ 020104
_BootOS			equ 020108
_intErrUptHandler	equ 02010C
_rst10Handler		equ 020110
_rst18Handler		equ 020114
_rst20Handler		equ 020118
_rst28Handler		equ 02011C
_rst30Handler		equ 020120
;020124
;020128
;02012C
;020130
_CallLocalizeHook	equ 020134
_LdHLInd_s		equ 020138
_cpHLDE			equ 02013C
_DivHLby10_s		equ 020140
_DivHLbyA_s		equ 020144
_KBDscan		equ 020148
_GetCSC			equ 02014C
_CoorMon		equ 020150
_Mon			equ 020154
_MonForceKey		equ 020158
_SendKPress		equ 02015C
_JForceCmdNoChar	equ 020160
_JForceCmd		equ 020164
_SysErrHandler		equ 020168
_NewContext		equ 02016C
_NewContext0		equ 020170
_PPutawayPrompt		equ 020174
_PPutAway		equ 020178
_PutAway		equ 02017C
_SizeWInd		equ 020180
_ErrorEP		equ 020184
_CallMain		equ 020188
_MonErrHand		equ 02018C
_AppInit		equ 020190
_Initialize		equ 020194
_Min			equ 020198
_Max			equ 02019C
_AbsO1PAbsO2		equ 0201A0
_Intgr			equ 0201A4
_TRunc			equ 0201A8
_InvSub			equ 0201AC
_Times2String		equ 0201B0
_Plus1			equ 0201B4
_Minus1			equ 0201B8
_FPSub			equ 0201BC
_FPAdd			equ 0201C0
_DToR			equ 0201C4
_RToD			equ 0201C8
_Cube			equ 0201CC
_TimesPT5		equ 0201D0
_FPSquare		equ 0201D4
_FPMult			equ 0201D8
_LjRnd			equ 0201DC
_InvOP1Sc		equ 0201E0
_InvOP1S		equ 0201E4
_InvOP2S		equ 0201E8
_Frac			equ 0201EC
_FPRecip		equ 0201F0
_FPDiv			equ 0201F4
_SqRoot			equ 0201F8
_RndGuard		equ 0201FC
_Rnfx			equ 020200
_Int			equ 020204
_Round			equ 020208
_LnX			equ 02020C
_LogX			equ 020210
_LjnoRnd		equ 020214
_EToX			equ 020218
_TenX			equ 02021C
_SinCosRad		equ 020220
_Sin			equ 020224
_Cos			equ 020228
_Tan			equ 02022C
_SinhCosh		equ 020230
_Tanh			equ 020234
_Cosh			equ 020238
_Sinh			equ 02023C
_AcosRad		equ 020240
_AtanRad		equ 020244
_Atan2Rad		equ 020248
_AsinRad		equ 02024C
_Acos			equ 020250
_Atan			equ 020254
_Asin			equ 020258
_Atan2			equ 02025C
_Atanh			equ 020260
_Asinh			equ 020264
_Acosh			equ 020268
_PToR			equ 02026C
_RToP			equ 020270
_HLTimes9		equ 020274
_CkOP1Cplx		equ 020278
_CkOP1Real		equ 02027C
_Angle			equ 020280
_COP1Set0		equ 020284
_CPop4OP3		equ 020288
_Mov9OP2cp		equ 02028C
_abso1o2cp		equ 020290
_cPOP1OP2		equ 020294
_OP3ToOP4		equ 020298
_OP1ToOP4		equ 02029C
_OP2ToOP4		equ 0202A0
_OP4ToOP2		equ 0202A4
_OP3ToOP2		equ 0202A8
_OP1ToOP3		equ 0202AC
_OP5ToOP2		equ 0202B0
_OP5ToOP6		equ 0202B4
_OP5ToOP4		equ 0202B8
_OP1ToOP2		equ 0202BC
_OP6ToOP2		equ 0202C0
_OP6ToOP1		equ 0202C4
_OP4toOP1		equ 0202C8
_OP5ToOP1		equ 0202CC
_OP3ToOP1		equ 0202D0
_OP6ToOP5		equ 0202D4
_OP4ToOP5		equ 0202D8
_OP3ToOP5		equ 0202DC
_OP2ToOP5		equ 0202E0
_OP2ToOP6		equ 0202E4
_OP1ToOP6		equ 0202E8
_OP1ToOP5		equ 0202EC
_OP2ToOP1		equ 0202F0
_Mov11b			equ 0202F4
_Mov10b			equ 0202F8
_Mov9b			equ 0202FC
_Mov9b_duplicate	equ 020300
_Mov8b			equ 020304
_Mov7b			equ 020308
_Mov7b_duplicate	equ 02030C
_OP2toOP3		equ 020310
_OP4toOP3		equ 020314
_OP5toOP3		equ 020318
_OP4toOP6		equ 02031C
_mov9toOP1		equ 020320
_mov9OP1OP2		equ 020324
_mov9toOP2		equ 020328
_movfrOP1		equ 02032C
_OP4Set1		equ 020330
_OP3Set1		equ 020334
_OP2Set8		equ 020338
_OP2Set5		equ 02033C
_OP2Seta		equ 020340
_OP2Set4		equ 020344
_OP2Set3		equ 020348
_OP1Set1		equ 02034C
_OP1Set4		equ 020350
_OP1Set3		equ 020354
_OP3Set2		equ 020358
_OP1Set2		equ 02035C
_OP2Set2		equ 020360
_OP2Set1		equ 020364
_Zero16d		equ 020368
_OP5Set0		equ 02036C
_OP4Set0		equ 020370
_OP3Set0		equ 020374
_OP2Set0		equ 020378
_OP1Set0		equ 02037C
_SetNum0		equ 020380
_ZeroOP1		equ 020384
_ZeroOP2		equ 020388
_ZeroOP3		equ 02038C
_ZeroOP			equ 020390
_ClrLP			equ 020394
_ShrACC			equ 020398
_ShlACC			equ 02039C
_Shr18			equ 0203A0
_Shr18a			equ 0203A4
_Shr16			equ 0203A8
_Shr14			equ 0203AC
_Shl16			equ 0203B0
_Shl14			equ 0203B4
_Srdo1			equ 0203B8
_ShrdRnd		equ 0203BC
_MantPa			equ 0203C0
_AddProp		equ 0203C4
_AddProplP		equ 0203C8
_Add16d			equ 0203CC
_Add14d			equ 0203D0
_Sub16d			equ 0203D4
_Sub14d			equ 0203D8
_OP2exOP6		equ 0203DC
_OP5exOP6		equ 0203E0
_OP1exOP5		equ 0203E4
_OP1exOP6		equ 0203E8
_OP2exOP4		equ 0203EC
_OP2exOP5		equ 0203F0
_OP1exOP3		equ 0203F4
_OP1exOP4		equ 0203F8
_OP1exOP2		equ 0203FC
_ExLP			equ 020400
_CkOP1c0		equ 020404
_CkOP1fp0		equ 020408
_CkOP2fp0		equ 02040C
_PosNo0Int		equ 020410
_CkPosInt		equ 020414
_CkInt			equ 020418
_CkOdd			equ 02041C
_CkOP1M			equ 020420
_GetCon1		equ 020424
_GetCon			equ 020428
_PIDiv2			equ 02042C
_PIDiv4			equ 020430
_TWOPI			equ 020434
_PICON			equ 020438
_ExpToHex		equ 02043C
_OP1expToDec		equ 020440
_CkOP2Pos		equ 020444
_CkOP1Pos		equ 020448
_ClrOP2s		equ 02044C
_ClrOP1s		equ 020450
_FDiv100		equ 020454
_FDiv10			equ 020458
_DecO1exp		equ 02045C
_IncO1exp		equ 020460
_Incexp			equ 020464
_CkValidNum		equ 020468
_GetExp			equ 02046C
_HtimesL		equ 020470
_EOP1notReal		equ 020474
_ThetaName		equ 020478
_RName			equ 02047C
_RegEqName		equ 020480
_ReCurnName		equ 020484
_XName			equ 020488
_YName			equ 02048C
_TName			equ 020490
_RealName		equ 020494
_SetEStoFPS		equ 020498
_ChkTempDirt		equ 02049C
_OP1mOP2exp		equ 0204A0
_OP1expmDE		equ 0204A4
_ChkErrBreak		equ 0204A8
_Isa2ByteTok		equ 0204AC
_GetLastEntry		equ 0204B0
_GetLastEntryPtr	equ 0204B4
_RegRclrChng		equ 0204B8
_ResetWinTop		equ 0204BC
_IsO1nonTLstorProg	equ 0204C0
_IsO1nonTempLst		equ 0204C4
_Is_A_LstoRcLst		equ 0204C8
_Chk_HL_999		equ 0204CC
_Equ_or_NewEqu		equ 0204D0
_Errd_OP1notpos		equ 0204D4
_Errd_OP1not_r		equ 0204D8
_Errd_OP1notposint	equ 0204DC
_Errd_OP1_le_0		equ 0204E0
_Errd_OP1_0		equ 0204E4
_FindSym_Get_size	equ 0204E8
_Sto_StatVar		equ 0204EC
_Rcl_StatVar		equ 0204F0
_ckop2Real		equ 0204F4
_Get_x_Indirect		equ 0204F8
_MemChk			equ 0204FC
_CmpPrgNamLen1		equ 020500
_CmpPrgNamLen		equ 020504
_FindProgSym		equ 020508
_ChkFindSym		equ 02050C
_FindSym		equ 020510
_InsertMem		equ 020514
_InsertMema		equ 020518
_EnoughMem		equ 02051C
_CmpMemneed		equ 020520
_createpVar4		equ 020524
_createpVar3		equ 020528
_createVar3		equ 02052C
_createcplx		equ 020530
_createReal		equ 020534
_createtrlIst		equ 020538
_createrlIst		equ 02053C
_createtclIst		equ 020540
_createclIst		equ 020544
_createtrmat		equ 020548
_creatermat		equ 02054C
_createtStrng		equ 020550
_createStrng		equ 020554
_create0Equ		equ 020558
_createtEqu		equ 02055C
_createEqu		equ 020560
_creategdb		equ 020564
_createProg		equ 020568
_ChkDel			equ 02056C
_ChkDela		equ 020570
_Adjparser		equ 020574
_Adjmath		equ 020578
_Adjm7			equ 02057C
_DelMema		equ 020580
_Get_Form_Num		equ 020584
_DelVar			equ 020588
_DelVario		equ 02058C
_DelMem			equ 020590
_DelVar3d		equ 020594
_DelVar3c		equ 020598
_DelVar3dc		equ 02059C
_Sym_Prog_non_t_Lst	equ 0205A0
_AdjSymPtrs		equ 0205A4
_datasizea		equ 0205A8
_datasize		equ 0205AC
_Popmcplxo1		equ 0205B0
_Popmcplx		equ 0205B4
_movcplx		equ 0205B8
_Popop5			equ 0205BC
_Popop3			equ 0205C0
_PopOP1			equ 0205C4
_PopRealo6		equ 0205C8
_PopRealo5		equ 0205CC
_PopRealo4		equ 0205D0
_PopRealo3		equ 0205D4
_PopRealo2		equ 0205D8
_PopRealo1		equ 0205DC
_PopReal		equ 0205E0
_fPopcplx		equ 0205E4
_fPopReal		equ 0205E8
_fPopFPS		equ 0205EC
_DeallocFPS		equ 0205F0
_DeallocFPS1		equ 0205F4
_AllocFPS		equ 0205F8
_AllocFPS1		equ 0205FC
_PushRealo6		equ 020600
_PushRealo5		equ 020604
_PushRealo4		equ 020608
_PushRealo3		equ 02060C
_PushRealo2		equ 020610
_PushRealo1		equ 020614
_PushReal		equ 020618
_Pushop5		equ 02061C
_Pushop3		equ 020620
_Pushmcplxo3		equ 020624
_PushOP1		equ 020628
_Pushmcplxo1		equ 02062C
_Pushmcplx		equ 020630
_exmcplxo1		equ 020634
_exch9			equ 020638
_CpyTo1FPS11		equ 02063C
_CpyTo2FPS5		equ 020640
_CpyTo1FPS5		equ 020644
_CpyTo2FPS6		equ 020648
_CpyTo1FPS6		equ 02064C
_CpyTo2FPS7		equ 020650
_CpyTo1FPS7		equ 020654
_CpyTo1FPS8		equ 020658
_CpyTo2FPS8		equ 02065C
_CpyTo1FPS10		equ 020660
_CpyTo1FPS9		equ 020664
_CpyTo2FPS4		equ 020668
_CpyTo6FPS3		equ 02066C
_CpyTo6FPS2		equ 020670
_CpyTo2FPS3		equ 020674
_Cpycto1FPS3		equ 020678
_CpyTo1FPS3		equ 02067C
_CpyFPS3		equ 020680
_CpyTo1FPS4		equ 020684
_CpyTo3FPS2		equ 020688
_CpyTo5FPSt		equ 02068C
_CpyTo6FPSt		equ 020690
_CpyTo4FPSt		equ 020694
_CpyTo3FPSt		equ 020698
_CpyTo2FPSt		equ 02069C
_CpyTo1FPSt		equ 0206A0
_CpyFPSt		equ 0206A4
_Cpystack		equ 0206A8
_CpyTo3FPS1		equ 0206AC
_CpyTo2FPS1		equ 0206B0
_CpyTo1FPS1		equ 0206B4
_CpyFPS1		equ 0206B8
_CpyTo2FPS2		equ 0206BC
_CpyTo1FPS2		equ 0206C0
_CpyFPS2		equ 0206C4
_Cpyo3toFPSt		equ 0206C8
_Cpyo2toFPSt		equ 0206CC
_Cpyo6toFPSt		equ 0206D0
_Cpyo1toFPSt		equ 0206D4
_CpyToFPSt		equ 0206D8
_CpyTostack		equ 0206DC
_Cpyo3toFPS1		equ 0206E0
_Cpyo5toFPS1		equ 0206E4
_Cpyo2toFPS1		equ 0206E8
_Cpyo1toFPS1		equ 0206EC
_CpyToFPS1		equ 0206F0
_Cpyo2toFPS2		equ 0206F4
_Cpyo3toFPS2		equ 0206F8
_Cpyo6toFPS2		equ 0206FC
_Cpyo1toFPS2		equ 020700
_CpyToFPS2		equ 020704
_Cpyo5toFPS3		equ 020708
_Cpyo2toFPS3		equ 02070C
_Cpyo1toFPS3		equ 020710
_CpyToFPS3		equ 020714
_Cpyo1toFPS6		equ 020718
_Cpyo1toFPS7		equ 02071C
_Cpyo1toFPS5		equ 020720
_Cpyo2toFPS4		equ 020724
_Cpyo1toFPS4		equ 020728
_ErrnotEnoughMem	equ 02072C
_FPSminus9		equ 020730
_HLminus9		equ 020734
_ErrOverflow		equ 020738
_ErrDivby0		equ 02073C
_ErrSingularMat		equ 020740
_ErrDomain		equ 020744
_ErrIncrement		equ 020748
_Errnon_Real		equ 02074C
_ErrSyntax		equ 020750
_ErrDataType		equ 020754
_ErrArgument		equ 020758
_ErrdimmIsmatch		equ 02075C
_Errdimension		equ 020760
_Errundefined		equ 020764
_ErrMemory		equ 020768
_Errinvalid		equ 02076C
_ErrBreak		equ 020770
_ErrStat		equ 020774
_ErrSignchange		equ 020778
_ErrIterations		equ 02077C
_ErrBadGuess		equ 020780
_ErrTolTooSmall		equ 020784
_ErrStatPlot		equ 020788
_ErrLinkXmit		equ 02078C
_JError			equ 020790
_noErrorEntry		equ 020794
_PushErrorhandler	equ 020798
_PopErrorhandler	equ 02079C
_Strcopy		equ 0207A0
_Strcat_ez80		equ 0207A4
_IsInSet		equ 0207A8
_GeqNamea		equ 0207AC
_RecName		equ 0207B0
_Putmap			equ 0207B4
_Putc			equ 0207B8
_Disphl_s		equ 0207BC
_Puts			equ 0207C0
_Putpsb			equ 0207C4
_Putps			equ 0207C8
_wPutps			equ 0207CC
_Putbuf			equ 0207D0
_Putbuf1		equ 0207D4
_wPutc			equ 0207D8
_wPuts			equ 0207DC
_wPutsEOL		equ 0207E0
_wDispEOL		equ 0207E4
_wHomeUp		equ 0207E8
_SetNumWIndow		equ 0207EC
_NewLine		equ 0207F0
_MoveDown		equ 0207F4
_ScrollUp		equ 0207F8
_ShrinkWIndow		equ 0207FC
_MoveUp			equ 020800
_ScrollDown		equ 020804
_Clrlcdfull		equ 020808
_Clrlcd			equ 02080C
_Clrscrnfull		equ 020810
_Clrscrn		equ 020814
_Clrtxtshd		equ 020818
_ClrWIndow		equ 02081C
_eraseEOL		equ 020820
_eraseEOW		equ 020824
_HomeUp			equ 020828
_GetCurloc		equ 02082C
_vPutmap		equ 020830
_vPuts			equ 020834
_vPutsn			equ 020838
_vPutsng		equ 02083C
_vPutsnt		equ 020840
_RunIndicon		equ 020844
_RunIndicoff		equ 020848
_SaveCmdShadow		equ 02084C
_SaveShadow		equ 020850
_RStrShadow		equ 020854
_RStrpartial		equ 020858
_RStrCurrow		equ 02085C
_RStrundermenu		equ 020860
_RStrbotrow		equ 020864
_GetKeypress		equ 020868
_GetTokLen		equ 02086C
_Get_Tok_Strng		equ 020870
_GetTokString		equ 020874
_Putbpatbuf2		equ 020878
_Putbpatbuf		equ 02087C
_Putbpat		equ 020880
_PutcChkScroll		equ 020884
_DispEOL		equ 020888
_FDispEOL		equ 02088C
_MakeRowCmd		equ 020890
_totoStrp		equ 020894
;020898
_DispDone		equ 02089C
_FinIshOutPut		equ 0208A0
_CurBlink		equ 0208A4
_Cursoroff		equ 0208A8
_HideCursor		equ 0208AC
_Cursoron		equ 0208B0
_ShowCursor		equ 0208B4
_KeyToString		equ 0208B8
_PullDownChk		equ 0208BC
_Menucatcommon		equ 0208C0
_LoadCurcat		equ 0208C4
_Ncifprgmedmode		equ 0208C8
_LoadMenuNum		equ 0208CC
_LoadMenuNuml		equ 0208D0
_MenuEdKey		equ 0208D4
_MenCatRet		equ 0208D8
_NotAlphNum		equ 0208DC
;0208E0
;0208E4
;0208E8
;0208EC
_DispLIstName		equ 0208F0
_DispLAlphaName		equ 0208F4
_AbortPrgmode		equ 0208F8
_Is_FullCntx		equ 0208FC
_AdrMRow		equ 020900
_AdrmeLE		equ 020904
_GetmatOP1A		equ 020908
_Getm1toOP1		equ 02090C
_Getm1tOP1A		equ 020910
_GetmtoOP1		equ 020914
_Puttom1a		equ 020918
_Puttoma1		equ 02091C
_PutToMat		equ 020920
_Mat_EL_Div		equ 020924
_CMatFun		equ 020928
_RowEch_Poly		equ 02092C
_RowEchelon		equ 020930
_AdrLELE		equ 020934
_Getl1ToOP1		equ 020938
_Getl1TOP1A		equ 02093C
_GetlToOP1		equ 020940
_Getl1ToOP2		equ 020944
_Getl1TOP2A		equ 020948
_Getl2TOP1A		equ 02094C
_PutTola1		equ 020950
_PutToL			equ 020954
_MaxMinLst		equ 020958
_LLow			equ 02095C
_LHigh			equ 020960
_LSum			equ 020964
_CumSum			equ 020968
_ToFrac			equ 02096C
_SeqSet			equ 020970
_SeqSolve		equ 020974
_Cmp_Num_Init		equ 020978
_BinOpExec		equ 02097C
_ExMeanL		equ 020980
_Set2MVLPtrs		equ 020984
_SetMat1		equ 020988
_CreateTLIst		equ 02098C
_UnOpExec		equ 020990
_ThreeExec		equ 020994
_ReStoreErrNo		equ 020998
_FourExec		equ 02099C
_FiveExec		equ 0209A0
_CpyTo2ES1		equ 0209A4
_CpyTo6ES1		equ 0209A8
_CpyTo1ES1		equ 0209AC
_CpyTo3ES1		equ 0209B0
_CpyTo3ES2		equ 0209B4
_CpyTo2ES2		equ 0209B8
_CpyTo1ES2		equ 0209BC
_CpyTo2ES3		equ 0209C0
_CpyTo1ES3		equ 0209C4
_CpyTo3ES4		equ 0209C8
_CpyTo6ES3		equ 0209CC
_CpyTo2ES4		equ 0209D0
_CpyTo1ES4		equ 0209D4
_CpyTo2ES5		equ 0209D8
_CpyTo1ES5		equ 0209DC
_CpyTo4ESt		equ 0209E0
_CpyTo2ESt		equ 0209E4
_CpyTo1ESt		equ 0209E8
_CpyTo2ES6		equ 0209EC
_CpyTo1ES6		equ 0209F0
_CpyTo2ES7		equ 0209F4
_CpyTo1ES7		equ 0209F8
_CpyTo2ES8		equ 0209FC
_CpyTo1ES8		equ 020A00
_CpyTo1ES9		equ 020A04
_CpyTo2ES9		equ 020A08
_CpyTo2ES10		equ 020A0C
_CpyTo1ES10		equ 020A10
_CpyTo2ES11		equ 020A14
_CpyTo1ES11		equ 020A18
_CpyTo2ES12		equ 020A1C
_CpyTo1ES12		equ 020A20
_CpyTo2ES13		equ 020A24
_CpyTo1ES13		equ 020A28
_CpyTo1ES14		equ 020A2C
_CpyTo1ES16		equ 020A30
_CpyTo1ES17		equ 020A34
_CpyTo1ES18		equ 020A38
_CpyTo1ES15		equ 020A3C
_CpyTo2ES15		equ 020A40
_CpyO1ToESt		equ 020A44
_CpyO1ToES1		equ 020A48
_CpyO6ToES1		equ 020A4C
_CpyO6ToES3		equ 020A50
_CpyO1ToES2		equ 020A54
_CpyO2ToES2		equ 020A58
_CpyO1ToES3		equ 020A5C
_CpyO1ToES4		equ 020A60
_CpyO1ToES5		equ 020A64
_CpyO1ToES6		equ 020A68
_CpyO1ToES7		equ 020A6C
_CpyO2ToES4		equ 020A70
_CpyO2ToES5		equ 020A74
_CpyO2ToES6		equ 020A78
_CpyO2ToES7		equ 020A7C
_CpyO2ToES8		equ 020A80
_CpyO2ToES9		equ 020A84
_CpyO1ToES8		equ 020A88
_CpyO1ToES9		equ 020A8C
_CpyO1ToES10		equ 020A90
_CpyO1ToES11		equ 020A94
_CpyO1ToES12		equ 020A98
_CpyO1ToES13		equ 020A9C
_CpyO1ToES14		equ 020AA0
_EvalF3A		equ 020AA4
_GetK			equ 020AA8
_SetTitle		equ 020AAC
_DispVarVal		equ 020AB0
_RecallEd		equ 020AB4
_SetUpBuffer		equ 020AB8
_CreateNumEditBuf	equ 020ABC
_CallCommon		equ 020AC0
_CommonKeys		equ 020AC4
_LeftMore		equ 020AC8
_fDel			equ 020ACC
_fClear			equ 020AD0
_fInsDisp		equ 020AD4
_fInsDisp02		equ 020AD8
_SetIndicator		equ 020ADC
_dsplstsnor		equ 020AE0
_ReleaseBuffer		equ 020AE4
_VarNameToOP1HL		equ 020AE8
_NameToOP1		equ 020AEC
_NumpPutAway		equ 020AF0
_NumReDisp		equ 020AF4
_NumError02		equ 020AF8
_Load_Sfont		equ 020AFC
_Sfont_Len		equ 020B00
_InitNumVec		equ 020B04
_SetxxOP1		equ 020B08
_SetxxOP2		equ 020B0C
_SetxxxxOP2		equ 020B10
_uCLines		equ 020B14
_CLine			equ 020B18
_CLines			equ 020B1C
_XrootY			equ 020B20
_YtoX			equ 020B24
;020B28
;020B2C
;020B30
;020B34
;020B38
;020B3C
;020B40
;020B44
;020B48
;020B4C
;020B50
;020B54
;020B58
;020B5C
;020B60
;020B64
;020B68
;020B6C
_Mov18b			equ 020B70
_DarkLine		equ 020B74
_ILine			equ 020B78
_IPoint			equ 020B7C
_XYRNDBOTH		equ 020B80
_XYRND			equ 020B84
_CheckTOP		equ 020B88
_CheckXY		equ 020B8C
_DarkPnt		equ 020B90
_CPointS		equ 020B94
_WTOV			equ 020B98
_VtoWHLDE		equ 020B9C
_Xitof			equ 020BA0
_YftoI			equ 020BA4
_XftoI			equ 020BA8
_TraceOff		equ 020BAC
_GrRedisp		equ 020BB0
_GDISPTOKEN		equ 020BB4
_GRDECODA		equ 020BB8
_LABCOOR		equ 020BBC
_COORDISP		equ 020BC0
_TMPEQUNOSRC		equ 020BC4
_GRLABELS		equ 020BC8
_YPIXSET		equ 020BCC
_XPIXSET		equ 020BD0
_COPYRNG		equ 020BD4
_VALCUR			equ 020BD8
_GRPUTAWAY		equ 020BDC
_RSTGFLAGS		equ 020BE0
_GRReset		equ 020BE4
_XYCENT			equ 020BE8
_ZOOMXYCMD		equ 020BEC
_CPTDELY		equ 020BF0
_CPTDELX		equ 020BF4
_SetFuncM		equ 020BF8
_SetSeqM		equ 020BFC
_SetPolM		equ 020C00
_SetParM		equ 020C04
_ZmInt			equ 020C08
_ZmDecml		equ 020C0C
_ZmPrev			equ 020C10
_ZmUsr			equ 020C14
_SETUZM			equ 020C18
_ZmFit			equ 020C1C
_ZmSquare		equ 020C20
_ZmTrig			equ 020C24
_SetXMinMax		equ 020C28
_ZooDefault		equ 020C2C
;020C30
;020C34
;020C38
;020C3C
;020C40
;020C44
;020C48
;020C4C
;020C50
;020C54
_ChkTextCurs		equ 020C58
;020C5C
_Dorefflags02		equ 020C60
_INITNSEQ		equ 020C64
_YRes			equ 020C68
_Ceiling		equ 020C6C
_PutXY			equ 020C70
_PUTEQUNO		equ 020C74
_PdspGrph		equ 020C78
_HorizCmd		equ 020C7C
_VertCmd		equ 020C80
_LineCmd		equ 020C84
_UnLineCmd		equ 020C88
_PointCmd		equ 020C8C
_PixelTest  		equ 020C90
_PixelCmd		equ 020C94
_TanLnF			equ 020C98
_DRAWCMD_INIT		equ 020C9C
_DrawCmd		equ 020CA0
_ShadeCmd		equ 020CA4
_InvCmd			equ 020CA8
_STATSHADE		equ 020CAC
_dspmattable		equ 020CB0
_dsplsts		equ 020CB4
_closeEditBuf		equ 020CB8
_parseEditBuf		equ 020CBC
_PutSM			equ 020CC0
_DspCurTbl		equ 020CC4
_DSPGRTBL		equ 020CC8
_ZeroTemplate		equ 020CCC
_settblrefs		equ 020CD0
_dispTblBot		equ 020CD4
_DispTblTop		equ 020CD8
_dispTblbody		equ 020CDC
_VPutBlank		equ 020CE0
;020CE4
_DispLIstNameY		equ 020CE8
_CurNameLength		equ 020CEC
_NameToBuf		equ 020CF0
_JpromptCursor		equ 020CF4
_BufLeft		equ 020CF8
_BufRight		equ 020CFC
_BufInsert		equ 020D00
_BufQueueChar		equ 020D04
_BufReplace		equ 020D08
_BufDelete		equ 020D0C
_BufPeek		equ 020D10
_BufPeek1		equ 020D14
_BufPeek2		equ 020D18
_BufPeek3		equ 020D1C
_BufToBtm		equ 020D20
_SetUpEditEqu		equ 020D24
_BufToTop		equ 020D28
_IsEditFull		equ 020D2C
_IsEditEmpty		equ 020D30
_IsAtTop		equ 020D34
_IsAtBtm		equ 020D38
;020D3C
_JCursorFirst		equ 020D40
_JCursorLast		equ 020D44
_JursorLeft		equ 020D48
_JCursorRight		equ 020D4C
_JCursorUp		equ 020D50
_JursorDown		equ 020D54
_CursortooffSet		equ 020D58
_InsDisp		equ 020D5C
_FDispBOL1		equ 020D60
_FDispBOL		equ 020D64
_DispEOW		equ 020D68
_DispHead		equ 020D6C
_DispTail		equ 020D70
_PutTokString		equ 020D74
_SetUpEditCmd		equ 020D78
_SetEmptyeditEqu	equ 020D7C
_SetEmptyEditPtr	equ 020D80
_CloseEditEqu		equ 020D84
_GetPrevTok		equ 020D88
_GetKey			equ 020D8C
_canIndic		equ 020D90
;020D94
;020D98
;020D9C
;020DA0
;020DA4
;020DA8
;020DAC
;020DB0
;020DB4
;020DB8
;020DBC
;020DC0
;020DC4
;020DC8
;020DCC
;020DD0
;020DD4
;020DD8
;020DDC
;020DE0
;020DE4
;020DE8
;020DEC
;020DF0
;020DF4
;020DF8
;020DFC
;020E00
;020E04
;020E08
;020E0C
;020E10
;020E14
;020E18
;020E1C
;020E20
;020E24
;020E28
;020E2C
;020E30
;020E34
;020E38
;020E3C
;020E40
;020E44
;020E48
;020E4C
;020E50
;020E54
;020E58
_DelRes			equ 020E5C
;020E60
;020E64
;020E68
;020E6C
;020E70
;020E74
;020E78
;020E7C
;020E80
;020E84
;020E88
;020E8C
;020E90
;020E94
;020E98
;020E9C
;020EA0
;020EA4
;020EA8
;020EAC
;020EB0
;020EB4
;020EB8
;020EBC
;020EC0
;020EC4
;020EC8
;020ECC
;020ED0
;020ED4
;020ED8
;020EDC
;020EE0
;020EE4
;020EE8
;020EEC
;020EF0
;020EF4
;020EF8
;020EFC
;020F00
_Parseon		equ 020F04
;020F08
;020F0C
;020F10
;020F14
;020F18
_OP2Set60		equ 020F1C
_GetStatPtr		equ 020F20
_Cmp_StatPtr		equ 020F24
_VarSYSADR		equ 020F28
_StoSyStok		equ 020F2C
_StoAns			equ 020F30
_StoTheta		equ 020F34
_StoR			equ 020F38
_StoY			equ 020F3C
_StoN			equ 020F40
_StoT			equ 020F44
_StoX			equ 020F48
_StoOther		equ 020F4C
_RclAns			equ 020F50
_RclY			equ 020F54
_RclN			equ 020F58
_RclX			equ 020F5C
_RclVarSym		equ 020F60
_RclsyStok		equ 020F64
_StMatel		equ 020F68
_StLstvecel		equ 020F6C
_ConvOP1		equ 020F70
_Find_parse_Formula	equ 020F74
_parse_Formula		equ 020F78
_StrngEnt1		equ 020F7C
_Prgrdlp		equ 020F80
_VarEnt			equ 020F84
_ParseOnc		equ 020F88
_ParseOn		equ 020F8C
_ParseCmd		equ 020F90
_StoType		equ 020F94
_CreatePair		equ 020F98
_PushNum		equ 020F9C
_IncCurPCErrEnd		equ 020FA0
_ErrEnd			equ 020FA4
_CommaErrF		equ 020FA8
_CommaErr		equ 020FAC
_StEQArg2		equ 020FB0
_StEQArg		equ 020FB4
_InpArg			equ 020FB8
_StEQArg3		equ 020FBC
_NxtFetch		equ 020FC0
_CkFetchVar		equ 020FC4
_FetchVarA		equ 020FC8
_FetchVar		equ 020FCC
_CkEndLin		equ 020FD0
_CkEndExp		equ 020FD4
_CkParsEnd		equ 020FD8
_StoTypeArg		equ 020FDC
_ConvDim		equ 020FE0
_ConvDim00		equ 020FE4
;020FE8
_ParsaHeads		equ 020FEC
;020FF0
_AnsName		equ 020FF4
;020FF8
;020FFC
;021000
;021004
;021008
;02100C
;021010
;021014
;021018
;02101C
;021020
;021024
;021028
;02102C
;021030
;021034
;021038
_ResetStacks		equ 02103C
;021040
;021044
;021048
;02104C
;021050
;021054
;021058
;02105C
;021060
;021064
;021068
;02106C
;021070
;021074
;021078
;02107C
;021080
;021084
;021088
;02108C
;021090
;021094
;021098
;02109C
;0210A0
;0210A4
;0210A8
;0210AC
;0210B0
;0210B4
;0210B8
;0210BC
;0210C0
;0210C4
;0210C8
;0210CC
;0210D0
;0210D4
;0210D8
;0210DC
;0210E0
;0210E4
;0210E8
_StrLength		equ 0210EC
_VPutMapRec		equ 0210F0
;0210F4
;0210F8
;0210FC
;021100
;021104
;021108
;02110C
;021110
;021114
;021118
;02111C
_GetBaseVer		equ 021120
_SetLocDEtoFP0		equ 021124
;021128
_SetIgnoreKey		equ 02112C
_SetSendThIsKeyBack	equ 021130
_DisableAPD		equ 021134
_EnableAPD		equ 021138
_set2IY34		equ 02113C
_forcecmd		equ 021140
_ApdSetup		equ 021144
_Get_NumKey		equ 021148
_AppSetup		equ 02114C
_ReleaseSedit		equ 021150
_initsmalleditline	equ 021154
_startsmalledit		equ 021158
;02115C
_SGetTokString		equ 021160
_LoadPattern		equ 021164
_SStringLength		equ 021168
_RestorePenCol		equ 02116C
;021170
;021174
;021178
;02117C
;021180
;021184
;021188
;02118C
;021190
;021194
;021198
;02119C
;0211A0
;0211A4
;0211A8
;0211AC
;0211B0
;0211B4
;0211B8
;0211BC
;0211C0
;0211C4
;0211C8
;0211CC
;0211D0
;0211D4
;0211D8
;0211DC
;0211E0
;0211E4
;0211E8
;0211EC
;0211F0
;0211F4
;0211F8
;0211FC
;021200
;021204
;021208
;02120C
;021210
;021214
;021218
;02121C
;021220
;021224
;021228
;02122C
;021230
;021234
;021238
;02123C
;021240
;021244
;021248
;02124C
;021250
;021254
;021258
;02125C
;021260
;021264
;021268
;02126C
;021270
;021274
;021278
;02127C
;021280
;021284
;021288
;02128C
;021290
;021294
;021298
;02129C
;0212A0
;0212A4
;0212A8
;0212AC
;0212B0
;0212B4
;0212B8
;0212BC
;0212C0
;0212C4
;0212C8
;0212CC
;0212D0
;0212D4
;0212D8
;0212DC
;0212E0
;0212E4
;0212E8
;0212EC
;0212F0
;0212F4
;0212F8
;0212FC
;021300
;021304
;021308
;02130C
;021310
;021314
;021318
;02131C
_GetStringInput		equ 021320
_GetStringInput2	equ 021324
_WaitEnterKeyValue	equ 021328
_HorizontalLine		equ 02132C
_CreateAppVar		equ 021330
_CreateProtProg		equ 021334
_CreateVar		equ 021338
_AsmComp		equ 02133C
_GetAsmSize		equ 021340
_SquishPrgm		equ 021344
_ExecutePrgm		equ 021348
_ChkFindSymAsm		equ 02134C
_ParsePrgmName		equ 021350
_CAdd			equ 021354
_CSqaure		equ 021358
_CMult			equ 02135C
_CRecip			equ 021360
_CDiv			equ 021364
_CAbs			equ 021368
_AddSquares		equ 02136C
_CSqroot		equ 021370
_CLn			equ 021374
_CLog			equ 021378
_CTenX			equ 02137C
_CEtoX			equ 021380
_CXrootY		equ 021384
;021388
_CYtoX			equ 02138C
_InvertNonReal		equ 021390
_CplxMult		equ 021394
_CplxDiv		equ 021398
_CplxTrunc		equ 02139C
_CplxFrac		equ 0213A0
_CplxFloor		equ 0213A4
;0213A8
_FlashWriteDisable	equ 0213AC
;0213B0
_GetBytePaged_Unpaged	equ 0213B4
_RunCursorHook		equ 0213B8
_RunLibraryHook		equ 0213BC
_RunRawkeyHook		equ 0213C0
_SetCursorHook		equ 0213C4
_SetLibraryHook		equ 0213C8
;0213CC
;0213D0
;0213D4
;0213D8
;0213DC
_SetGetKeyHook		equ 0213E0
_ClrGetKeyHook		equ 0213E4
_SetCatalog2Hook	equ 0213E8
_ClrCatalog2Hook	equ 0213EC
_SetLocalizeHook	equ 0213F0
_ClrLocalizeHook	equ 0213F4
_SetTokenHook		equ 0213F8
_ClrTokenHook		equ 0213FC
;021400
;021404
;021408
;02140C
_SetHomescreenHook	equ 021410
_ClrHomescreenHook	equ 021414
_SetWIndowHook		equ 021418
_ClrWIndowHook		equ 02141C
_SetGraphModeHook	equ 021420
_ClrGraphModeHook	equ 021424
_ParseAndStoreSysVar	equ 021428
_DisplayEditSysVar	equ 02142C
_JForceWIndowSettings	equ 021430
_DelVarArc		equ 021434
_DelVarNoArc		equ 021438
_SetAllPlots		equ 02143C
_SetYeditHook		equ 021440
_ClrYeditHook		equ 021444
_Arc_Unarc		equ 021448
;02144C
;021450
_SetFontHook		equ 021454
_ClrFontHook		equ 021458
_SetRegraphHook		equ 02145C
_ClrRegraphHook		equ 021460
_RunGraphingHook	equ 021464
_SetTraceHook		equ 021468
_ClrTraceHook		equ 02146C
_RunTraceHook		equ 021470
_NDeriv			equ 021474
_PolarDerivative	equ 021478
_JForceGraphNoKey	equ 02147C
_JForceGraphKey		equ 021480
_PowerOff		equ 021484
_GetKeyRetOff		equ 021488
_FindGroUpSym		equ 02148C
_LoadDEIndPaged_Unpaged	equ 021490
_SetUpPagedPtr_Unpaged	equ 021494
_PagedGet_Unpaged	equ 021498
_SetParserHook		equ 02149C
_ClrParserHook		equ 0214A0
_SetAppChangeHook	equ 0214A4
_ClrAppChangeHook	equ 0214A8
_SetGraphicsHook	equ 0214AC
_ClrGraphicsHook	equ 0214B0
_ILineNoGraphicsHook	equ 0214B4
_ILineNoHook		equ 0214B8
;0214BC
_DeleteTempPrograms	equ 0214C0
_SetCatalog1Hook	equ 0214C4
_ClrCatalog1Hook	equ 0214C8
_SetHelpHook		equ 0214CC
_ClrHelpHook		equ 0214D0
_DispCatalogEnd		equ 0214D4
_GetMenuKeypress	equ 0214D8
_GetCatalogItem		equ 0214DC
_RunCatalog2Hook	equ 0214E0
_RunCatalog1Hook	equ 0214E4
;0214E8
;0214EC
_DispMenuTitle		equ 0214F0
;0214F4
_SetcxReDispHook	equ 0214F8
_ClrcxReDispHook	equ 0214FC
;021500
;021504
;021508
;02150C
;021510
;021514
_SetMenuHook		equ 021518
_ClrMenuHook		equ 02151C
_GetBCOffSetIX		equ 021520
;021524
_ForceFullScreen	equ 021528
_HLminus5		equ 02152C
;021530
;021534
;021538
_Arc_Unarc		equ 02153C
;021540
;021544
;021548
;02154C
;021550
;021554
;021558
;02155C
;021560
;021564
;021568
;02156C
;021570
;021574
;021578
;02157C
;021580
;021584
;021588
;02158C
;021590
;021594
;021598
;02159C
;0215A0
;0215A4
;0215A8
;0215AC
;0215B0
;0215B4
;0215B8
;0215BC
;0215C0
;0215C4
;0215C8
;0215CC
;0215D0
;0215D4
;0215D8
;0215DC
;0215E0
;0215E4
;0215E8
;0215EC
;0215F0
;0215F4
;0215F8
;0215FC
;021600
;021604
;021608
;02160C
;021610
;021614
;021618
;02161C
;021620
;021624
;021628
;02162C
;021630
;021634
;021638
;02163C
;021640
;021644
;021648
;02164C
;021650
;021654
;021658
;02165C
;021660
;021664
;021668
;02166C
;021670
;021674
;021678
;02167C
;021680
;021684
;021688
;02168C
;021690
;021694
;021698
;02169C
;0216A0
_NumError02		equ 0216A4
;0216A8
;0216AC
;0216B0
;0216B4
;0216B8
;0216BC
;0216C0
;0216C4
;0216C8
;0216CC
;0216D0
;0216D4
;0216D8
;0216DC
;0216E0
;0216E4
;0216E8
;0216EC
;0216F0
;0216F4
;0216F8
;0216FC
;021700
;021704
;021708
;02170C
;021710
;021714
;021718
;02171C
;021720
;021724
;021728
;02172C
;021730
;021734
;021738
;02173C
;021740
;021744
;021748
;02174C
;021750
;021754
;021758
;02175C
;021760
;021764
;021768
;02176C
;021770
;021774
;021778
;02177C
;021780
;021784
;021788
;02178C
;021790
;021794
;021798
;02179C
;0217A0
;0217A4
;0217A8
;0217AC
;0217B0
;0217B4
;0217B8
;0217BC
;0217C0
;0217C4
;0217C8
;0217CC
;0217D0
;0217D4
;0217D8
;0217DC
;0217E0
;0217E4
;0217E8
;0217EC
;0217F0
;0217F4
;0217F8
;0217FC
;021800
;021804
;021808
;02180C
;021810
;021814
;021818
;02181C
;021820
;021824
;021828
;02182C
;021830
;021834
;021838
;02183C
;021840
;021844
;021848
;02184C
;021850
;021854
;021858
;02185C
;021860
;021864
;021868
;02186C
;021870
;021874
;021878
;02187C
;021880
;021884
;021888
;02188C
;021890
;021894
;021898
;02189C
;0218A0
;0218A4
;0218A8
;0218AC
;0218B0
;0218B4
;0218B8
;0218BC
;0218C0
;0218C4
;0218C8
;0218CC
;0218D0
;0218D4
;0218D8
;0218DC
;0218E0
;0218E4
;0218E8
;0218EC
;0218F0
;0218F4
;0218F8
;0218FC
;021900
;021904
;021908
;02190C
;021910
;021914
;021918
;02191C
;021920
;021924
;021928
;02192C
;021930
;021934
;021938
;02193C
_commonKeys		equ 021940
;021944
;021948
;02194C
;021950
;021954
;021958
;02195C
;021960
;021964
;021968
;02196C
;021970
;021974
;021978
;02197C
;021980
;021984
;021988
;02198C
;021990
;021994
;021998
;02199C
;0219A0
;0219A4
;0219A8
;0219AC
;0219B0
;0219B4
;0219B8
;0219BC
;0219C0
;0219C4
;0219C8
;0219CC
;0219D0
;0219D4
;0219D8
;0219DC
;0219E0
;0219E4
;0219E8
;0219EC
;0219F0
;0219F4
;0219F8
;0219FC
;021A00
;021A04
;021A08
;021A0C
;021A10
;021A14
;021A18
;021A1C
;021A20
;021A24
;021A28
;021A2C
;021A30
;021A34
;021A38
_drawStatusbar		equ 021A3C
;021A40
;021A44
;021A48
;021A4C
;021A50
;021A54
;021A58
;021A5C
;021A60
;021A64
;021A68
;021A6C
;021A70
;021A74
;021A78
;021A7C
;021A80
;021A84
;021A88
;021A8C
;021A90
;021A94
;021A98
;021A9C
;021AA0
;021AA4
;021AA8
;021AAC
;021AB0
;021AB4
;021AB8
;021ABC
;021AC0
;021AC4
;021AC8
;021ACC
;021AD0
;021AD4
;021AD8
;021ADC
;021AE0
_SetTextFGBGcolors	equ 021AE4
_SetTextBGcolor		equ 021AE8
;021AEC
;021AF0
;021AF4
;021AF8
;021AFC
;021B00
;021B04
;021B08
;021B0C
;021B10
;021B14
;021B18
;021B1C
;021B20
;021B24
;021B28
;021B2C
;021B30
;021B34
;021B38
;021B3C
;021B40
;021B44
;021B48
;021B4C
;021B50
;021B54
;021B58
;021B5C
;021B60
;021B64
;021B68
;021B6C
;021B70
;021B74
;021B78
;021B7C
;021B80
;021B84
;021B88
;021B8C
;021B90
;021B94
;021B98
;021B9C
;021BA0
;021BA4
;021BA8
_GetColorValue		equ 021BAC
;021BB0
;021BB4
;021BB8
;021BBC
;021BC0
;021BC4
;021BC8
;021BCC
;021BD0
;021BD4
;021BD8
;021BDC
;021BE0
;021BE4
;021BE8
;021BEC
;021BF0
;021BF4
;021BF8
;021BFC
;021C00
;021C04
;021C08
;021C0C
;021C10
;021C14
;021C18
;021C1C
;021C20
;021C24
;021C28
;021C2C
;021C30
;021C34
;021C38
;021C3C
;021C40
;021C44
;021C48
;021C4C
;021C50
;021C54
;021C58
;021C5C
;021C60
;021C64
;021C68
;021C6C
;021C70
;021C74
;021C78
_PopErrorhandler	equ 021C7C
;021C80
;021C84
;021C88
;021C8C
;021C90
;021C94
;021C98
;021C9C
;021CA0
;021CA4
;021CA8
;021CAC
;021CB0
;021CB4
;021CB8
;021CBC
;021CC0
;021CC4
;021CC8
;021CCC
;021CD0
;021CD4
;021CD8
;021CDC
;021CE0
;021CE4
;021CE8
;021CEC
;021CF0
;021CF4
;021CF8
;021CFC
;021D00
;021D04
;021D08
;021D0C
;021D10
;021D14
;021D18
;021D1C
;021D20
;021D24
;021D28
;021D2C
;021D30
;021D34
;021D38
;021D3C
;021D40
;021D44
_ChkBCIs0		equ 021D48
_ChkDEIs0		equ 021D4C
_ChkHLIs0		equ 021D50
_SetatoBCU		equ 021D54
_SetatoDEU		equ 021D58
_SetatoHLU		equ 021D5C
_SetBCUtoA		equ 021D60
_SetBCUtoB		equ 021D64
_SetDEUtoA		equ 021D68
_SetDEUtoB		equ 021D6C
_SetHLUtoA		equ 021D70
_SetHLUtoB		equ 021D74
_SignextendBC		equ 021D78
_SignextendDE_Broken	equ 021D7C
_SignextendHL_Broken	equ 021D80
_SetBCUto0		equ 021D84
_SetDEUto0		equ 021D88
_SetHLUto0		equ 021D8C
_DivHLbya		equ 021D90
_cpHLDE_s		equ 021D94
_cpHLDE			equ 021D98
_loadDEInd_s		equ 021D9C
_loadDEInd		equ 021DA0
_cpHLDEBC		equ 021DA4
_negBC			equ 021DA8
_negDE			equ 021DAC
_StrCmpre		equ 021DB0
_addHLandA		equ 021DB4
;021DB8
;021DBC
_swapHLendian		equ 021DC0
;021DC4
;021DC8
;021DCC
;021DD0
;021DD4
;021DD8
;021DDC
;021DE0
;021DE4
;021DE8
;021DEC
;021DF0
;021DF4
;021DF8
;021DFC
;021E00
;021E04
;021E08
;021E0C
;021E10
;021E14
;021E18
;021E1C
;021E20
;021E24
;021E28
;021E2C
;021E30
;021E34
;021E38
;021E3C
;021E40
;021E44
;021E48
;021E4C
;021E50
;021E54
;021E58
;021E5C
;021E60
;021E64
;021E68
;021E6C
;021E70
;021E74
;021E78
;021E7C
;021E80
;021E84
;021E88
;021E8C
;021E90
;021E94
;021E98
;021E9C
;021EA0
;021EA4
;021EA8
;021EAC
;021EB0
;021EB4
;021EB8
;021EBC
;021EC0
;021EC4
;021EC8
;021ECC
;021ED0
;021ED4
;021ED8
;021EDC
_Disphl			equ 021EE0
;021EE4
;021EE8
;021EEC
;021EF0
;021EF4
;021EF8
;021EFC
;021F00
;021F04
;021F08
;021F0C
;021F10
;021F14
;021F18
;021F1C
;021F20
;021F24
;021F28
;021F2C
;021F30
;021F34
;021F38
;021F3C
;021F40
;021F44
;021F48
;021F4C
;021F50
;021F54
;021F58
;021F5C
;021F60
;021F64
;021F68
;021F6C
;021F70
;021F74
;021F78
;021F7C
;021F80
;021F84
;021F88
;021F8C
;021F90
;021F94
_Chkinram		equ 021F98
;021F9C
;021FA0
;021FA4
;021FA8
;021FAC
;021FB0
;021FB4
;021FB8
;021FBC
;021FC0
;021FC4
;021FC8
;021FCC
;021FD0
;021FD4
;021FD8
;021FDC
;021FE0
;021FE4
;021FE8
;021FEC
;021FF0
;021FF4
;021FF8
;021FFC
;022000
;022004
;022008
;02200C
;022010
;022014
;022018
;02201C
;022020
;022024
;022028
;02202C
;022030
;022034
;022038
;02203C
;022040
;022044
;022048
;02204C
;022050
;022054
;022058
;02205C
;022060
;022064
;022068
;02206C
;022070
;022074
;022078
;02207C
;022080
;022084
;022088
_ret			equ 02208C
;022090
;022094
;022098
;02209C
;0220A0
;0220A4
_nmihandler		equ 0220A8

;RAM Equates
;--------------------------------
flags			equ 0D00080h

kbdScanCode		equ 0D00587h
kbdLGSC			equ 0D00588h
kbdPSC			equ 0D00589h
kbdWUR			equ 0D0058Ah
kbdDebncCnt		equ 0D0058Bh
kbdKey			equ 0D0058Ch
kbdGetKy		equ 0D0058Dh
keyExtend		equ 0D0058Eh

apdTimer		equ 0D00591h
curRow			equ 0D00595h
curCol			equ 0D00596h
curOffset		equ 0D00597h

OP1			equ 0D005F8h
OP1M			equ 0D005FAh
OP2			equ 0D00603h
OP2M			equ 0D00605h
OP2EXT			equ 0D0060Ch
OP3			equ 0D0060Eh
OP3M			equ 0D00610h
OP4			equ 0D00619h
OP4M			equ 0D0061Bh
OP5			equ 0D00624h
OP5M			equ 0D00626h
OP6			equ 0D0062Fh
OP6M			equ 0D00631h
OP6EXT			equ 0D00638h

onSp			equ 0D007FAh

penCol			equ 0D008D2h
penRow			equ 0D008D5h

errNo			equ 0D008DFh
errSP			equ 0D008E0h

asm_prgm_size		equ 0D0118Ch

begPC			equ 0D02317h
curPC			equ 0D0231Ah
endPC			equ 0D0231Dh

tempMem			equ 0D02587h
FPSbase			equ 0D0258Ah
FPS			equ 0D0258Dh
OPBase			equ 0D02590h
OPS			equ 0D02593h

pTemp			equ 0D0259Ah
progPtr			equ 0D0259Dh

pagedGetPtr		equ 0D025A3h	; 2 bytes scrap

winTop			equ 0D02504h
winBtm			equ 0D02505h
winLeftEdge		equ 0D02506h
winLeft			equ 0D02507h

cursorHookPtr		equ 0D025D5h
libraryHookPtr		equ 0D025D8h
rawKeyHookPtr		equ 0D025DBh
getKeyHookPtr		equ 0D025DEh
homescreenHookPtr	equ 0D025E1h
windowHookPtr		equ 0D025E4h
graphHookPtr		equ 0D025E7h
yEqualsHookPtr		equ 0D025EAh
fontHookPtr		equ 0D025EDh
regraphHookPtr		equ 0D025F0h
graphicsHookPtr		equ 0D025F3h
traceHookPtr		equ 0D025E6h
parserHookPtr		equ 0D025F9h
appChangeHookPtr	equ 0D025FCh
catalog1HookPtr		equ 0D025FFh
helpHookPtr		equ 0D02602h
cxRedispHookPtr		equ 0D02605h
menuHookPtr		equ 0D02608h
catalog2HookPtr		equ 0D0260Bh
tokenHookPtr		equ 0D0260Eh
localizeHookPtr		equ 0D02611h
silentLinkHookPtr	equ 0D02614h
USBActivityHookPtr	equ 0D02617h

textBGcolor		equ 0D02688h
textFGcolor		equ 0D0268Ah

drawBGColor		equ 0D026AAh
drawFGColor		equ 0D026ACh
drawColorCode		equ 0D026AEh

scrapMem		equ 0D02AD7h	; 3 byte scrap (unstable)

;safeRAM Locations
;---------------------------------------------
pixelShadow		equ 0D031F6h ; 8400 bytes
pixelShadow2		equ 0D052C6h ; 8400 bytes	; (stable)
cmdPixelShadow		equ 0D07396h ; 8400 bytes
plotSScreen		equ 0D09466h ; 21945 bytes	; Set GraphDraw Flag to redraw graph if used
saveSScreen		equ 0D0EA1Fh ; 21945 bytes	; Set GraphDraw Flag to redraw graph if used
textShadow		equ 0D006C0h ; 260 bytes	; Call _ClrTxtShdw to put spaces in here
cmdShadow		equ 0D0232Dh ; 260 bytes

;RAM Equates Continued
;---------------------------------------------
userMem			equ 0D1A881h
symTable		equ 0D3FFFFh
vRam			equ 0D40000h
vRamEnd			equ 0D65800h

;Ports
;--------------------------------
pCpuSpeed		equ 0001h
pHardwareId		equ 0003h
pUsbRange		equ 3000h

;LCD Ports
;--------------------------------
pLcdCtrlRange		equ 4000h
mpLcdCtrlRange		equ 0E30000h
pLcdBase		equ 4010h
mpLcdBase		equ 0E30010h

pLcdCtrl		equ 4018h
mpLcdCtrl		equ 0E30018h

lcdEn			equ 01h
lcdTft			equ 20h
lcdBpp1			equ 0000b | lcdTft | lcdEn
lcdBpp2			equ 0010b | lcdTft | lcdEn
lcdBpp4			equ 0100b | lcdTft | lcdEn
lcdBpp8			equ 0110b | lcdTft | lcdEn
lcdBpp16Alt		equ 1000b | lcdTft | lcdEn
lcdBpp24		equ 1010b | lcdTft | lcdEn
lcdBpp16		equ 1100b | lcdTft | lcdEn ; Default LCD mode
lcdBpp12		equ 1110b | lcdTft | lcdEn
lcdBgr			equ 100h
lcdBigEndian		equ 200h
lcdBigEndianPixels	equ 400h
lcdPwr			equ 800h
lcdIntVSync		equ 00h
lcdIntBack		equ 1000h
lcdIntActiveVideo	equ 2000h
lcdIntFront		equ 4000h
lcdWatermark		equ 10000h
lcdNormalMode		equ lcdPwr | lcdBgr | lcdBpp16

pLcdPalette		equ 4200h
mpLcdPalette		equ 0E30200h
pLcdCursorImg		equ 4800h
mpLcdCursorImg		equ 0E30800h
pLcdCrsrCtrl		equ 4C00h
mpLcdCrsrCtrl		equ 0E30C00h
pLcdCrsrConfig		equ 4C04h
mpLcdCrsrConfig		equ 0E30C04h
pLcdCrsrPal0		equ 4C08h
mpLcdCrsrPal0		equ 0E30C08h
pLcdCrsrPal1		equ 4C0Ch
mpLcdCrsrPal1		equ 0E30C0Ch
pLcdCrsrXy		equ 4C10h
mpLcdCrsrXy		equ 0E30C10h
pLcdCrsrClip		equ 4C14h
mpLcdCrsrClip		equ 0E30C14h

;RTC Ports
;-----------------------------------
pRtcRange		equ 8000h
mpRtcRange		equ 0F30000h

;Backlight Ports
;-----------------------------------
pBlLevel		equ 0B024h
mpBlLevel		equ 0F60024h

; Boot Calls
;-----------------------------------
__getBootVerMajor	equ 0000080h
__getHardwareVersion	equ 0000084h
__getKeyID		equ 0000088h
__getBootVerMinor	equ 000008Ch
__getBootVerBuild	equ 0000090h
			   ;0000094h ;outputs A to 0FFFEh and locks up, only on certain hardware revision?
__memchr		equ 000009Ch
__memcmp		equ 00000A0h
__memcpy		equ 00000A4h
__memmove		equ 00000A8h
__memset		equ 00000ACh
__memclear		equ 00000B0h
__DoNothing		equ 00000F8h
__setjmp		equ 00000B8h
__longjmp		equ 0000098h
__sprintf		equ 00000BCh
__strcat		equ 00000C0h
__strchr		equ 00000C4h
__strcmp		equ 00000C8h
__strcpy		equ 00000CCh
__strcspn		equ 00000D0h
__strlen		equ 00000D4h
__strncat		equ 00000D8h
__strncmp		equ 00000DCh
__strncpy		equ 00000E0h
__strpbrk		equ 00000E4h
__strrchr		equ 00000E8h
__strspn		equ 00000ECh
__strstr		equ 00000F0h
__strtok		equ 00000F4h; Uses static 24-bit variable at 0D0FFFFh
__case			equ 0000110h
__case16		equ 0000114h
__case16D		equ 0000118h
__case24		equ 000011Ch
__case24D		equ 0000120h
__case8			equ 0000124h
__case8D		equ 0000128h
__frameset0		equ 0000130h
__frameset		equ 000012Ch
__iand			equ 0000134h
__icmpzero		equ 0000138h
__idivs			equ 000013Ch
__idivu			equ 0000140h
__idvrmu		equ 0000144h
__ildix			equ 0000148h
__ildiy			equ 000014Ch
__imul_b		equ 0000150h
__imuls			equ 0000154h
__imulu			equ 0000158h
__indcall		equ 000015Ch
__ineg			equ 0000160h
__sneg			equ 000022Ch
__inot			equ 0000164h
__snot			equ 0000230h
__ior			equ 0000168h
__irems			equ 000016Ch
__iremu			equ 0000170h
__ishl_b		equ 0000178h
__ishl			equ 0000174h
__ishrs_b		equ 0000180h
__ishrs			equ 000017Ch
__ishru_b		equ 0000188h
__ishru			equ 0000184h
__istix			equ 000018Ch
__istiy			equ 0000190h
__itol			equ 0000194h
__ixor			equ 0000198h
__ladd_b		equ 00001A0h
__ladd			equ 000019Ch
__land			equ 00001A4h
__lcmps			equ 00001A8h
__lcmpu			equ 00001ACh
__lcmpzero		equ 00001B0h
__ldivs			equ 00001B4h
__ldivu			equ 00001B8h
__ldvrmu		equ 00001BCh
__lldix			equ 00001C0h
__lldiy			equ 00001C4h
__lmuls			equ 00001C8h
__lmulu			equ 00001CCh
__lneg			equ 00001D0h
__lnot			equ 00001D4h
__lor			equ 00001D8h
__lrems			equ 00001DCh
__lremu			equ 00001E0h
__lshl			equ 00001E4h
__lshrs			equ 00001E8h
__lshru			equ 00001ECh
__bshru			equ 0000104h
__bshl			equ 0000100h
__bldiy			equ 00000FCh
__bstiy			equ 0000108h
__bstix			equ 000010Ch
__lstix			equ 00001F0h
__lstiy			equ 00001F4h
__lsub			equ 00001F8h
__lxor			equ 00001FCh
__sand			equ 0000200h
__scmp0			equ 0000204h
__sdivs			equ 0000208h
__sdivu			equ 000020Ch
__seqcase		equ 0000210h
__seqcaseD		equ 0000214h
__setflag		equ 0000218h
__sldix			equ 000021Ch
__sldiy			equ 0000220h
__smuls			equ 0000224h
__smulu			equ 0000228h
__sor			equ 0000234h
__srems			equ 0000238h
__sremu			equ 000023Ch
__sshl_b		equ 0000244h
__sshl			equ 0000240h
__sshrs_b		equ 000024Ch
__sshrs			equ 0000248h
__sshru_b		equ 0000254h
__sshru			equ 0000250h
__sstix			equ 0000258h
__sstiy			equ 000025Ch
__stoi			equ 0000260h
__stoiu			equ 0000264h
__sxor			equ 0000268h
			   ;00002D0h   ;checks something about field 80C0h in the OS header (value 0101h)
__WriteAByte		equ 00002D4h
__EraseFlash		equ 00002D8h
__EraseFlashPage	equ 00002DCh
__WriteFlash		equ 00002E0h
__WriteAByte2		equ 00002E4h	;no difference from 00002D4h
__WriteAByteA		equ 00002E8h	;byte is in A, not B
			   ;00002ECh   ;lots of writes/erases involving sectors 3Bh/3Fh
			   ;00002F0h   ;zeroes out 4KB at 0D1887Ch and writes 0D18C7Ch to start of it
__WriteFlashUnsafe	equ 0000334h
__DispStr		equ 0000378h
__NewLine_Boot		equ 0000390h

__fppack		equ 000026Ch
__FLT_MAX		equ 0000294h	; Not A Routine
__fadd			equ 0000270h
__fcmp			equ 0000274h
__fdiv			equ 0000278h
__ftol			equ 000027Ch
__ltof			equ 0000284h
__fmul			equ 0000288h
__fneg			equ 000028Ch
__fsub			equ 0000290h
__ultof			equ 0000280h
_fsqrt			equ 0000298h
__frbtof		equ 000029Ch
__frftob		equ 00002A0h
__frftoi		equ 00002A8h
__frftos		equ 00002B0h
__frftoub		equ 00002A4h
__frftoui		equ 00002ACh
__frftous		equ 00002B4h
__fritof		equ 00002B8h
__frstof		equ 00002C0h
__frubtof		equ 00002C4h
__fruitof		equ 00002BCh
__frustof		equ 00002C8h

;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 00h
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

; DI Keyboard Equates
;---------------------------
DI_Mode		equ 0F50000h
DI_Cntrl	equ 0F50004h
DI_Int		equ 0F50008h
DI_IntMask	equ 0F5000Ch

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

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

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

kbitStore	equ 01h
kbitLn		equ 02h
kbitLog		equ 03h
kbitSquare	equ 04h
kbitRecip	equ 05h
kbitMath	equ 06h
kbitAlpha	equ 07h

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

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

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

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

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

kbitChs		equ 00h
kbit3		equ 01h
kbit6		equ 02h
kbit9		equ 03h
kbitRParen	equ 04h
kbitTan		equ 05h
kbitVars	equ 06h

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

kbitEnter	equ 00h
kbitAdd		equ 01h
kbitSub		equ 02h
kbitMul		equ 03h
kbitDiv		equ 04h
kbitPower	equ 05h
kbitClear	equ 06h

kbdG7		equ 0F5001Eh
;----------------------------
kbdDown		equ 00000001b
kbdLeft		equ 00000010b
kbdRight	equ 00000100b
kbdUp		equ 00001000b

kbitDown	equ 00h
kbitLeft	equ 01h
kbitRight	equ 02h
kbitUp		equ 03h

;Tokens
;-----------------------------------------------------
EOSSTART		equ 00h

;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 00h
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 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 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.

;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

;System Variable Equates
;------------------------------
XSCLt			equ 02h
YSCLt			equ 03h
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 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)
;----------------------------------------------------------------------
#endif
.list