;-----------------------------------------------------------------------------
;ti-83 include file
;-----------------------------------------------------------------------------
; 27/06/05
;-----------------------------------------------------------------------------
;brandon wilson
;-----------------------------------------------------------------------------
; 19/08/12
;-----------------------------------------------------------------------------
;deeph
;-----------------------------------------------------------------------------
#define bcall call
#define bcallz call z,
#define bcallnz call nz,
#define bcallc call c,
#define bcallnc call nc,
#define bjump jp
#define __bank_call 0000h
#define __bank_entry 0000h
#define __bank_ret 0000h
#define __bank_jump 0000h
;rom calls
;------------------------------------
#define _ldhlind 4000h
#define _cphlde 4004h
#define _divhlby10 4008h
#define _divhlbya 400ch
#define _kbdscan 4010h
#define _getcsc 4014h
#define _coormon 4018h
#define _mon 401bh
#define _monforcekey 401eh
#define _sendkpress 4021h
#define _jforcecmdnochar 4024h
#define _jforcecmd 4027h
#define _syserrhandler 402ah
#define _newcontext 402eh
#define _newcontext0 4032h
#define _a2pointhlind 4036h
#define _pointhlind 403ah
#define _pputawayprompt 403eh
#define _pputaway 4042h
#define _putaway 4046h
#define _sizewind 404ah
#define _errorep 404eh
#define _callmain 4052h
#define _monerrhand 4056h
#define _appinit 405ah
#define _appinitifdec 405eh
#define _initialize 4062h
#define _lcd_busy 4066h
#define _min 406ah
#define _max 406eh
#define _abso1pabso2 4072h
#define _intgr 4076h
#define _trunc 407ah
#define _invsub 407eh
#define _times2 4082h
#define _plus1 4086h
#define _minus1 408ah
#define _fpsub 408eh
#define _fpadd 4092h
#define _dtor 4096h
#define _rtod 409ah
#define _cube 409eh
#define _timespt5 40a2h
#define _fpsquare 40a6h
#define _fpmult 40aah
#define _ljrnd 40aeh
#define _invop1sc 40b2h
#define _invop1s 40b6h
#define _invop2s 40bah
#define _frac 40beh
#define _fprecip 40c2h
#define _fpdiv 40c6h
#define _sqroot 40cah
#define _rndguard 40ceh
#define _rnfx 40d2h
#define _int 40d6h
#define _round 40dah
#define _lnx 40deh
#define _logx 40e2h
#define _ljnornd 40e6h
#define _etox 40eah
#define _tenx 40eeh
#define _sincosrad 40f2h
#define _sin 40f6h
#define _cos 40fah
#define _tan 40feh
#define _sinhcosh 4102h
#define _tanh 4106h
#define _cosh 410ah
#define _sinh 410eh
#define _acosrad 4112h
#define _atanrad 4116h
#define _atan2rad 411ah
#define _asinrad 411eh
#define _acos 4122h
#define _atan 4126h
#define _asin 412ah
#define _atan2 412eh
#define _atanh 4132h
#define _asinh 4136h
#define _acosh 413ah
#define _ptor 413eh
#define _rtop 4142h
#define _hltimes9 4146h
#define _ckop1cplx 414ah
#define _ckop1real 414eh
#define _angle 4152h
#define _cop1set0 4156h
#define _cpop4op3 415ah
#define _mov9op2cp 415eh
#define _abso1o2cp 4162h
#define _cpop1op2 4166h
#define _op3toop4 416ah
#define _op1toop4 416eh
#define _op2toop4 4172h
#define _op4toop2 4176h
#define _op3toop2 417ah
#define _op1toop3 417eh
#define _op5toop2 4182h
#define _op5toop6 4186h
#define _op5toop4 418ah
#define _op1toop2 418eh
#define _op6toop2 4192h
#define _op6toop1 4196h
#define _op4toop1 419ah
#define _op5toop1 419eh
#define _op3toop1 41a2h
#define _op6toop5 41a6h
#define _op4toop5 41aah
#define _op3toop5 41aeh
#define _op2toop5 41b2h
#define _op2toop6 41b6h
#define _op1toop6 41bah
#define _op1toop5 41beh
#define _op2toop1 41c2h
#define _movreg 41c6h
#define _mov10b 41cah
#define _mov9b 41ceh
#define _mov18 41d2h
#define _mov8b 41d6h
#define _mov7b 41dah
#define _mov14 41deh
#define _mov6b 41e2h
#define _mov5b 41e6h
#define _mov4b 41eah
#define _mov3b 41eeh
#define _mov2b 41f2h
#define _op2toop3 41f6h
#define _op4toop3 41fah
#define _op5toop3 41feh
#define _op4toop6 4202h
#define _mov9toop1 4206h
#define _mov9op1op2 420ah
#define _mov9toop2 420eh
#define _movfrop1 4212h
#define _op4set1 4216h
#define _op3set1 421ah
#define _op2set8 421eh
#define _op2set5 4222h
#define _op2seta 4226h
#define _op2set4 422ah
#define _op2set3 422eh
#define _op1set1 4232h
#define _op1set4 4236h
#define _op1set3 423ah
#define _op3set2 423eh
#define _op1set2 4242h
#define _op2set2 4246h
#define _setnum2 424ah
#define _setmant1 424eh
#define _op2set1 4252h
#define _setnum1 4256h
#define _setnum 425ah
#define _setnuma 425eh
#define _setmant 4262h
#define _zero16d 4266h
#define _set16a 426ah
#define _set14a 426eh
#define _set14d 4272h
#define _op5set0 4276h
#define _op4set0 427ah
#define _op3set0 427eh
#define _op2set0 4282h
#define _op1set0 4286h
#define _setnum0 428ah
#define _zeroop1 428eh
#define _zeroop2 4292h
#define _zeroop3 4296h
#define _zeroop 429ah
#define _clrlp 429eh
#define _shracc 42a2h
#define _shlacc 42a6h
#define _shlacc 42a6h
#define _shr18 42aah
#define _shr18a 42aeh
#define _shr16 42b2h
#define _shr14 42b6h
#define _shl16 42bah
#define _shl14 42beh
#define _srdo1 42c2h
#define _shrdrnd 42c6h
#define _mantpa 42cah
#define _addprop 42ceh
#define _addproplp 42d2h
#define _add16d 42d6h
#define _add14d 42dah
#define _sub16d 42deh
#define _sub14d 42e2h
#define _op2exop6 42e6h
#define _op5exop6 42eah
#define _op1exop5 42eeh
#define _op1exop6 42f2h
#define _op2exop4 42f6h
#define _op2exop5 42fah
#define _op1exop3 42feh
#define _op1exop4 4302h
#define _op1exop2 4306h
#define _exlp 430ah
#define _ckop1c0 430eh
#define _ckop1fp0 4312h
#define _ckop2fp0 4316h
#define _posno0int 431ah
#define _ckposint 431eh
#define _ckint 4322h
#define _ckodd 4326h
#define _ckop1m 432ah
#define _getcon1 432eh
#define _getcon 4332h
#define _pidiv2 4336h
#define _pidiv4 433ah
#define _twopi 433eh
#define _picon 4342h
#define _pidiv4a 4346h
#define _pidiv2a 434ah
#define _exptohex 434eh
#define _op1exptodec 4352h
#define _ckop2pos 4356h
#define _ckop1pos 435ah
#define _clrop2s 435eh
#define _clrop1s 4362h
#define _fdiv100 4366h
#define _fdiv10 436ah
#define _deco1exp 436eh
#define _inco1exp 4372h
#define _incexp 4376h
#define _ckvalidnum 437ah
#define _getexp 437eh
#define _htimesl 4382h
#define _eop1notreal 4386h
#define _thetaname 438ah
#define _rname 438eh
#define _regeqname 4392h
#define _recurnname 4396h
#define _xname 439ah
#define _yname 439eh
#define _tname 43a2h
#define _realname 43a6h
#define _setestofps 43aah
#define _chktempdirt 43aeh
#define _op1mop2exp 43b2h
#define _op1expmde 43b6h
#define _chkerrbreak 43bah
#define _isa2bytetok 43beh
#define _getlastentry 43c2h
#define _getlastentryptr 43c6h
#define _regrclrchng 43cah
#define _resetwintop 43ceh
#define _setyup 43d2h
#define _setxup 43d6h
#define _iso1nontlstorprog 43dah
#define _iso1nontemplst 43deh
#define _is_a_lstorclst 43e2h
#define _chk_hl_999 43e6h
#define _equ_or_newequ 43eah
#define _get_plus1_save 43eeh
#define _errd_op1notpos 43f2h
#define _errd_op1not_r 43f6h
#define _errd_op1notposint 43fah
#define _errd_op1_le_0 43feh
#define _errd_op1_0 4402h
#define _findsym_get_size 4406h
#define _sto_statvar 440ah
#define _rcl_statvar 440eh
#define _ckop2real 4412h
#define _get_x_indirect 4416h
#define _memchk 441ah
#define _cmpprgnamlen1 441eh
#define _cmpprgnamlen 4422h
#define _findprogsym 4426h
#define _chkfindsym 442ah
#define _findsym 442eh
#define _insertmem 4432h
#define _insertmema 4436h
#define _enoughmem 443ah
#define _cmpmemneed 443eh
#define _createpvar4 4442h
#define _createpvar3 4446h
#define _createvar3 444ah
#define _createcplx 444eh
#define _createreal 4452h
#define _createtrlist 4456h
#define _createrlist 445ah
#define _createtclist 445eh
#define _createclist 4462h
#define _createtrmat 4466h
#define _creatermat 446ah
#define _createtstrng 446eh
#define _createstrng 4472h
#define _create0equ 4476h
#define _createtequ 447ah
#define _createequ 447eh
#define _createpict 4482h
#define _creategdb 4486h
#define _createprog 448ah
#define _chkdel 448eh
#define _chkdela 4492h
#define _adjparser 4496h
#define _adjmath 449ah
#define _adjm7 449eh
#define _delmema 44a2h
#define _get_form_num 44a6h
#define _delvar 44aah
#define _delvario 44aeh
#define _delmem 44b2h
#define _delvar3d 44b6h
#define _delvar3c 44bah
#define _delvar3dc 44beh
#define _sym_prog_non_t_lst 44c2h
#define _adjsymptrs 44c6h
#define _datasizea 44cah
#define _datasize 44ceh
#define _popmcplxo1 44d2h
#define _popmcplx 44d6h
#define _movcplx 44dah
#define _popop5 44deh
#define _popop3 44e2h
#define _popop1 44e6h
#define _poprealo6 44eah
#define _poprealo5 44eeh
#define _poprealo4 44f2h
#define _poprealo3 44f6h
#define _poprealo2 44fah
#define _poprealo1 44feh
#define _popreal 4502h
#define _fpopcplx 4506h
#define _fpopreal 450ah
#define _fpopfps 450eh
#define _deallocfps 4512h
#define _deallocfps1 4516h
#define _allocfps 451ah
#define _allocfps1 451eh
#define _pushrealo6 4522h
#define _pushrealo5 4526h
#define _pushrealo4 452ah
#define _pushrealo3 452eh
#define _pushrealo2 4532h
#define _pushrealo1 4536h
#define _pushreal 453ah
#define _pushop5 453eh
#define _pushop3 4542h
#define _pushmcplxo3 4546h
#define _pushop1 454ah
#define _pushmcplxo1 454eh
#define _pushmcplx 4552h
#define _exmcplxo1 4556h
#define _exch9 455ah
#define _cpyto1fps11 455eh
#define _cpyto2fps5 4562h
#define _cpyto1fps5 4566h
#define _cpyto2fps6 456ah
#define _cpyto1fps6 456eh
#define _cpyto2fps7 4572h
#define _cpyto1fps7 4576h
#define _cpyto1fps8 457ah
#define _cpyto2fps8 457eh
#define _cpyto1fps10 4582h
#define _cpyto1fps9 4586h
#define _cpyto2fps4 458ah
#define _cpyto6fps3 458eh
#define _cpyto6fps2 4592h
#define _cpyto2fps3 4596h
#define _cpycto1fps3 459ah
#define _cpyto1fps3 459eh
#define _cpyfps3 45a2h
#define _cpyto1fps4 45a6h
#define _cpyto3fps2 45aah
#define _cpyto5fpst 45aeh
#define _cpyto6fpst 45b2h
#define _cpyto4fpst 45b6h
#define _cpyto3fpst 45bah
#define _cpyto2fpst 45beh
#define _cpyto1fpst 45c2h
#define _cpyfpst 45c6h
#define _cpystack 45cah
#define _cpyto3fps1 45ceh
#define _cpyto2fps1 45d2h
#define _cpyto1fps1 45d6h
#define _cpyfps1 45dah
#define _cpyto2fps2 45deh
#define _cpyto1fps2 45e2h
#define _cpyfps2 45e6h
#define _cpyo3tofpst 45eah
#define _cpyo2tofpst 45eeh
#define _cpyo6tofpst 45f2h
#define _cpyo1tofpst 45f6h
#define _cpytofpst 45fah
#define _cpytostack 45feh
#define _cpyo3tofps1 4602h
#define _cpyo5tofps1 4606h
#define _cpyo2tofps1 460ah
#define _cpyo1tofps1 460eh
#define _cpytofps1 4612h
#define _cpyo2tofps2 4616h
#define _cpyo3tofps2 461ah
#define _cpyo6tofps2 461eh
#define _cpyo1tofps2 4622h
#define _cpytofps2 4626h
#define _cpyo5tofps3 462ah
#define _cpyo2tofps3 462eh
#define _cpyo1tofps3 4632h
#define _cpytofps3 4636h
#define _cpyo1tofps6 463ah
#define _cpyo1tofps7 463eh
#define _cpyo1tofps5 4642h
#define _cpyo2tofps4 4646h
#define _cpyo1tofps4 464ah
#define _errnotenoughmem 464eh
#define _fpsminus9 4652h
#define _hlminus9 4656h
#define _erroverflow 465ah
#define _errdivby0 465dh
#define _errsingularmat 4660h
#define _errdomain 4663h
#define _errincrement 4666h
#define _errnon_real 4669h
#define _errsyntax 466ch
#define _errdatatype 466fh
#define _errargument 4672h
#define _errdimmismatch 4675h
#define _errdimension 4678h
#define _errundefined 467bh
#define _errmemory 467eh
#define _errinvalid 4681h
#define _errbreak 4684h
#define _errstat 4687h
#define _errsignchange 468ah
#define _erriterations 468dh
#define _errbadguess 4690h
#define _errtoltoosmall 4693h
#define _errstatplot 4696h
#define _errlinkxmit 4699h
#define _jerror 469ch
#define _jerrorno 469fh
#define _noerrorentry 46a2h
#define _pusherrorhandler 46a5h
#define _poperrorhandler 46a9h
#define _strcopy 46adh
#define _strcat 46b1h
#define _isinset 46b5h
#define _sdone 46b9h
#define _serrort 46bdh
#define _snameeq 46c1h
#define _sunderscr 46c5h
#define _sfail 46c9h
#define _sname 46cdh
#define _sok 46d1h
#define _seqn 46d5h
#define _sselect 46d9h
#define _stransmit 46ddh
#define _srecurn 46e1h
#define _geqnamea 46e5h
#define _recname 46e9h
#define ___bank_call 46edh
#define ___bank_ret 46f1h
#define ___bank_jump 46f5h
#define ___bank_entry 46f9h
#define _readdisp2 46fdh
#define _putmap 4701h
#define _putc 4705h
#define _disphl 4709h
#define _puts 470dh
#define _putpsb 4711h
#define _putps 4715h
#define _wputps 4719h
#define _putbuf 471dh
#define _putbuf1 4721h
#define _wputc 4725h
#define _wputs 4729h
#define _wputseol 472dh
#define _wdispeol 4731h
#define _whomeup 4735h
#define _setnumwindow 4739h
#define _newline 473dh
#define _movedown 4741h
#define _scrollup 4745h
#define _shrinkwindow 4749h
#define _moveup 474dh
#define _scrolldown 4751h
#define _clrlcdfull 4755h
#define _clrlcd 4759h
#define _clrscrnfull 475dh
#define _clrscrn 4761h
#define _clrtxtshd 4765h
#define _clrwindow 4769h
#define _eraseeol 476dh
#define _eraseeow 4771h
#define _homeup 4775h
#define _getcurloc 4779h
#define _vputmap 477dh
#define _vputs 4781h
#define _vputsn 4785h
#define _vputsng 4789h
#define _vputsnt 478dh
#define _runindicon 4791h
#define _runindicoff 4795h
#define _savecmdshadow 4799h
#define _saveshadow 479dh
#define _rstrshadow 47a1h
#define _rstrpartial 47a5h
#define _rstrcurrow 47a9h
#define _rstrundermenu 47adh
#define _rstrbotrow 47b1h
#define _savetr 47b5h
#define _restoretr 47b9h
#define _getkeypress 47bdh
#define _gettoklen 47c1h
#define _get_tok_strng 47c5h
#define _gettokstring 47c9h
#define _putbpatbuf2 47cdh
#define _putbpatbuf 47d1h
#define _putbpat 47d5h
#define _putccheckscroll 47d9h
#define _dispeol 47ddh
#define _fdispeol 47e1h
#define _makerowcmd 47e5h
#define _totostrp 47e9h
#define _setvarname 47edh
#define _dispdone 47f1h
#define _dispdone 47f1h
#define _finishoutput 47f5h
#define _curblink 47f9h
#define _cursoroff 47fdh
#define _hidecursor 4801h
#define _cursoron 4805h
#define _showcursor 4809h
#define _keytostring 480dh
#define _pulldownchk 4811h
#define _menucatcommon 4815h
#define _zifcatalog 4819h
#define _zifmatrixmenu 481dh
#define _loadcurcat 4821h
#define _ncifprgmedmode 4825h
#define _loadmenunum 4829h
#define _loadmenunuml 482dh
#define _menuedkey 4831h
#define _mencatret 4835h
#define _notalphnum 4839h
#define _savesavedflags 483dh
#define _setmenuflags 4841h
#define _rstrsomeflags 4845h
#define _rstrsmalltext 4849h
#define _displistname 484dh
#define _seeiferrorcx 4851h
#define _rstroscreen 4855h
#define _saveoscreen 4859h
#define _displalphaname 485dh
#define _abortprgmode 4861h
#define _is_fullcntx 4865h
#define _adrmrow 4869h
#define _adrmele 486dh
#define _getmatop1a 4871h
#define _getm1toop1 4875h
#define _getm1top1a 4879h
#define _getmtoop1 487dh
#define _puttom1a 4881h
#define _puttoma1 4885h
#define _puttomat 4889h
#define _mat_el_div 488dh
#define _cmatfun 4891h
#define _rowech_poly 4895h
#define _rowechelon 4899h
#define _adrlele 489dh
#define _getl1toop1 48a1h
#define _getl1top1a 48a5h
#define _getltoop1 48a9h
#define _getl1toop2 48adh
#define _getl1top2a 48b1h
#define _getl2top1a 48b5h
#define _puttola1 48b9h
#define _puttol 48bdh
#define _maxminlst 48c1h
#define _llow 48c5h
#define _lhigh 48c9h
#define _lsum 48cdh
#define _cumsum 48d1h
#define _tofrac 48d5h
#define _seqset 48d9h
#define _seqsolve 48ddh
#define _cmp_num_init 48e1h
#define _binopexec 48e5h
#define _exmean1 48e9h
#define _set2mvlptrs 48edh
#define _setmat1 48f1h
#define _createtlist 48f5h
#define _unopexec 48f9h
#define _threeexec 48fdh
#define _restoreerrno 4901h
#define _fourexec 4904h
#define _fiveexec 4908h
#define _cpyto2es1 490ch
#define _cpyto6es1 4910h
#define _cpyto1es1 4914h
#define _cpyto3es1 4918h
#define _cpyto3es2 491ch
#define _cpyto2es2 4920h
#define _cpyto1es2 4924h
#define _cpyto2es3 4928h
#define _cpyto1es3 492ch
#define _cpyto3es4 4930h
#define _cpyto6es3 4934h
#define _cpyto2es4 4938h
#define _cpyto1es4 493ch
#define _cpyto2es5 4940h
#define _cpyto1es5 4944h
#define _cpyto4est 4948h
#define _cpyto2est 494ch
#define _cpyto1est 4950h
#define _cpyto2es6 4954h
#define _cpyto1es6 4958h
#define _cpyto2es7 495ch
#define _cpyto1es7 4960h
#define _cpyto2es8 4964h
#define _cpyto1es8 4968h
#define _cpyto1es9 496ch
#define _cpyto2es9 4970h
#define _cpyto2es10 4974h
#define _cpyto1es10 4978h
#define _cpyto2es11 497ch
#define _cpyto1es11 4980h
#define _cpyto2es12 4984h
#define _cpyto1es12 4988h
#define _cpyto2es13 498ch
#define _cpyto1es13 4990h
#define _cpyto1es14 4994h
#define _cpyto1es16 4998h
#define _cpyto1es17 499ch
#define _cpyto1es18 49a0h
#define _cpyto1es15 49a4h
#define _cpyto2es15 49a8h
#define _cpyo1toest 49ach
#define _cpyo1toes1 49b0h
#define _cpyo6toes1 49b4h
#define _cpyo6toes3 49b8h
#define _cpyo1toes2 49bch
#define _cpyo2toes2 49c0h
#define _cpyo1toes3 49c4h
#define _cpyo1toes4 49c8h
#define _cpyo1toes5 49cch
#define _cpyo1toes6 49d0h
#define _cpyo1toes7 49d4h
#define _cpyo2toes4 49d8h
#define _cpyo2toes5 49dch
#define _cpyo2toes6 49e0h
#define _cpyo2toes7 49e4h
#define _cpyo2toes8 49e8h
#define _cpyo2toes9 49ech
#define _cpyo1toes8 49f0h
#define _cpyo1toes9 49f4h
#define _cpyo1toes10 49f8h
#define _cpyo1toes11 49fch
#define _cpyo1toes12 4a00h
#define _cpyo1toes13 4a04h
#define _cpyo1toes14 4a08h
#define _cpyo1toes15 4a0ch
#define _evalf3a 4a10h
#define complex_exec 4a14h
#define _getk 4a18h
#define _settitle 4a1ch
#define _dispvarval 4a20h
#define _recalled 4a24h
#define _setupbuffer 4a28h
#define _createnumeditbuf 4a2ch
#define _callcommon 4a30h
#define _commonkeys 4a34h
#define _leftmore 4a37h
#define _fdel 4a3ah
#define _fclear 4a3eh
#define _finsdisp 4a42h
#define _finsdisp02 4a45h
#define _setindicator 4a49h
#define _closeeditbufno 4a4dh
#define _releasebuffer 4a51h
#define _varnametoop1hl 4a55h
#define _nametoop1 4a59h
#define _numpputaway 4a5dh
#define _numredisp 4a61h
#define _numerror02 4a65h
#define _load_sfont 4a68h
#define _sfont_len 4a6ch
#define _initnumvec 4a70h
#define _setxxop1 4a74h
#define _setxxop2 4a78h
#define _setxxxxop2 4a7ch
#define _uclines 4a80h
#define _cline 4a84h
#define _clines 4a88h
#define _xrooty 4a8ch
#define _ytox 4a90h
#define _zmstats 4a94h
#define _point_stat_hlp 4a98h
#define _drawsplot 4a9ch
#define _initnewtracep 4aa0h
#define _splotcoord 4aa4h
#define _splotright 4aa8h
#define _splotleft 4aach
#define _cmpboxinfo 4ab0h
#define _nextplot 4ab4h
#define _prevplot 4ab8h
#define _clrprevplot 4abch
#define _put_index_lst 4ac0h
#define _get_index_lst 4ac4h
#define _heap_sort 4ac8h
#define _stogdb2 4acch
#define _rclgdb2 4ad0h
#define _circcmd 4ad4h
#define _grphcirc 4ad8h
#define _mov18b 4adch
#define _darkline 4ae0h
#define _iline 4ae4h
#define _ipoint 4ae8h
#define _xyrndboth 4aech
#define _xyrnd 4af0h
#define _checktop 4af4h
#define _checkxy 4af8h
#define _darkpnt 4afch
#define _cpoints 4b00h
#define _wtov 4b04h
#define _vtowhlde 4b08h
#define _xitof 4b0ch
#define _yftoi 4b10h
#define _xftoi 4b14h
#define _traceoff 4b18h
#define _grredisp 4b1ch
#define _gdisptoken 4b20h
#define _grdecoda 4b24h
#define _labcoor 4b28h
#define _coordisp 4b2ch
#define _tmpequnosrc 4b30h
#define _grlabels 4b34h
#define _ypixset 4b38h
#define _xpixset 4b3ch
#define _copyrng 4b40h
#define _valcur 4b44h
#define _grputaway 4b48h
#define _rstgflags 4b4ch
#define _grreset 4b50h
#define _xycent 4b54h
#define _zoomxycmd 4b58h
#define _cptdely 4b5ch
#define _cptdelx 4b60h
#define _setfuncm 4b64h
#define _setseqm 4b68h
#define _setpolm 4b6ch
#define _setparm 4b70h
#define _zmint 4b74h
#define _zmdecml 4b78h
#define _zmprev 4b7ch
#define _zmusr 4b80h
#define _setuzm 4b84h
#define _zmfit 4b88h
#define _zmsquare 4b8ch
#define _zmtrig 4b90h
#define _setxminmax 4b94h
#define _zoodefault 4b98h
#define _copygbuf 4b9ch
#define _drawsplitline 4ba0h
#define _restoredisp 4ba4h
#define _fnddb 4ba8h
#define _alleq 4bach
#define _fndallseleq 4bb0h
#define _nexteq 4bb4h
#define _preveq 4bb8h
#define _blinkgcur 4bbch
#define _nbcursor 4bc0h
#define _statmark 4bc4h
#define _chktextcurs 4bc8h
#define _regraph 4bcch
#define _dorefflags02 4bd0h
#define _initnseq 4bd4h
#define _yres 4bd8h
#define _plotptxy2 4bdch
#define _ceiling 4be0h
#define _putxy 4be4h
#define _putequno 4be7h
#define _pdspgrph 4bebh
#define _pdspgrph 4bebh
#define _horizcmd 4befh
#define _vertcmd 4bf3h
#define _linecmd 4bf7h
#define _unlinecmd 4bfbh
#define _pointcmd 4bffh
#define _pixeltest 4c03h
#define _pixelcmd 4c07h
#define _tanlnf 4c0bh
#define _drawcmd_init 4c0fh
#define _drawcmd 4c13h
#define _shadecmd 4c17h
#define _invcmd 4c1bh
#define _statshade 4c1fh
#define _dspmattable 4c23h
#define _dsplsts 4c27h
#define _closeeditbuf 4c2bh
#define _parseeditbuf 4c2fh
#define _putsm 4c33h
#define _dspcurtbl 4c37h
#define _dspgrtbl 4c3bh
#define _zerotemplate 4c3fh
#define _settblrefs 4c43h
#define _disptblbot 4c47h
#define _disptbltop 4c4bh
#define _disptblbody 4c4fh
#define _vputblank 4c53h
#define _vputblank 4c53h
#define _tbltrace 4c57h
#define _displistnamey 4c5bh
#define _curnamelength 4c5fh
#define _nametobuf 4c63h
#define _jpromptcursor 4c67h
#define _bufleft 4c6ah
#define _bufright 4c6eh
#define _bufinsert 4c72h
#define _bufqueuechar 4c76h
#define _bufreplace 4c7ah
#define _bufdelete 4c7eh
#define _bufpeek 4c82h
#define _bufpeek1 4c86h
#define _bufpeek2 4c8ah
#define _bufpeek3 4c8eh
#define _buftobtm 4c92h
#define _setupeditequ 4c96h
#define _buftotop 4c9ah
#define _iseditfull 4c9eh
#define _iseditempty 4ca2h
#define _isattop 4ca6h
#define _isatbtm 4caah
#define _bufclear 4caeh
#define _jcursorfirst 4cb2h
#define _jcursorlast 4cb5h
#define _cursorleft 4cb8h
#define _jcursorright 4cbch
#define _jcursorup 4cbfh
#define _cursordown 4cc2h
#define _cursortooffset 4cc6h
#define _insdisp 4ccah
#define _fdispbol1 4cceh
#define _fdispbol 4cd2h
#define _dispeow 4cd6h
#define _disphead 4cdah
#define _disptail 4cdeh
#define _puttokstring 4ce2h
#define _setupeditcmd 4ce6h
#define _setemptyeditequ 4ceah
#define _setemptyeditptr 4ceeh
#define _closeeditequ 4cf2h
#define _toggleins 4cf6h
#define _getprevtok 4cfah
#define _getkey 4cfeh
#define _getkey 4cfeh
#define _canindic 4d02h
#define _lcd_driveron 4d06h
#define _dfmin2 4d0ah
#define _formdisp 4d0eh
#define _formmatrix 4d12h
#define _wscrollleft 4d16h
#define _wscrollup 4d1ah
#define _wscrolldown 4d1eh
#define _wscrollright 4d22h
#define _formereal 4d26h
#define _formerealtok 4d2ah
#define _formdcplx 4d2eh
#define _formreal 4d32h
#define _formscrollup 4d36h
#define _setwinabove 4d3ah
#define _disarmscroll 4d3eh
#define _op1toedit 4d42h
#define _mintoedit 4d46h
#define _rclvartoedit 4d4ah
#define _rclvartoeditptr 4d4eh
#define _rclentrytoedit 4d52h
#define _rcltoqueue 4d56h
#define _formtotok 4d5ah
#define _disp_interval 4d5eh
#define _displstname 4d62h
#define _dispslstnamehl 4d66h
#define _editequ 4d6ah
#define _closeequfield 4d6eh
#define _autoselect 4d72h
#define _dispyeos 4d76h
#define _dispnumeos 4d7ah
#define _setupdispeq 4d7eh
#define _dispforward 4d82h
#define _dispyprompt2 4d86h
#define _stringwidth 4d8ah
#define _disperrorscreen 4d8eh
#define _popcx 4d92h
#define _loadnoeentry 4d96h
#define _savescreen 4d9ah
#define _retscreen 4d9eh
#define _retscreenerr 4da2h
#define _splitchange 4da6h
#define _solveredisp 4daah
#define _solvedisp 4daeh
#define _itemname 4db2h
#define _setnorm_vals 4db6h
#define _setvert_vals 4dbah
#define _convkeytotok 4dbeh
#define _keytotoknew2b 4dc2h
#define _keytotok2byte 4dc6h
#define _toktokey 4dcah
#define _load_lfont 4dceh
#define _send1berr 4dd2h
#define _getvarcmd 4dd6h
#define _sendvarcmd 4ddah
#define _printscreen 4ddeh
#define _keyscnlnk 4de2h
#define _ioresetall 4de6h
#define _delres 4deah
#define _convlctolr 4deeh
#define _redimmat 4df2h
#define _inclstsize 4df6h
#define _insertlist 4dfah
#define _dellistel 4dfeh
#define _editprog 4e02h
#define _closeprog 4e06h
#define _clrgraphref 4e0ah
#define _fixtempcnt 4e0eh
#define _savedata 4e12h
#define _restoredata 4e16h
#define _findalphaup 4e1ah
#define _findalphadn 4e1eh
#define _cmpsyms 4e22h
#define _createtemp 4e26h
#define _cleanall 4e2ah
#define _movetonextsym 4e2eh
#define _convlrtolc 4e32h
#define _tblscreendn 4e36h
#define _tblscreenup 4e3ah
#define _screenup 4e3eh
#define _screenupdown 4e42h
#define _zifrclhandler 4e46h
#define _zifrclkapp 4e4ah
#define _rclkeyrtn 4e4eh
#define _rclkey 4e52h
#define _rclregeq_call 4e55h
#define _rclregeq 4e59h
#define _initnameprompt 4e5ch
#define _nameprompt2 4e60h
#define _catalogchk 4e64h
#define _clrtr 4e68h
#define _quad 4e6ch
#define _graphquad 4e70h
#define _bc2nonreal 4e74h
#define _errnonreal 4e78h
#define _write_text 4e7ch
#define _forseqinit 4e80h
#define _grphpars 4e84h
#define _plotpars 4e88h
#define _parseinp 4e8ch
#define _parseoff 4e90h
#define _parsescan 4e94h
#define _getparse 4e98h
#define _saveparse 4e9ch
#define _initpflgs 4ea0h
#define _ckendlinerr 4ea4h
#define _op2set60 4ea8h
#define _getstatptr 4each
#define _cmp_statptr 4eb0h
#define _varsysadr 4eb4h
#define _stosystok 4eb8h
#define _stoans 4ebch
#define _stotheta 4ec0h
#define _stor 4ec4h
#define _stoy 4ec8h
#define _ston 4ecch
#define _stot 4ed0h
#define _stox 4ed4h
#define _stoother 4ed8h
#define _rclans 4edch
#define _rcly 4ee0h
#define _rcln 4ee4h
#define _rclx 4ee8h
#define _rclvarsym 4eech
#define _rclsystok 4ef0h
#define _stmatel 4ef4h
#define _stlstvecel 4ef8h
#define _convop1 4efch
#define _isaletter 4f00h
#define _find_parse_formula 4f04h
#define _parse_formula 4f08h
#define _strngent1 4f0ch
#define _getnumlet 4f15h
#define _init_prog_list 4f1eh
#define _prgrdlp 4f27h
#define _varent 4f30h
#define _rclstat 4f39h
#define _parseloop 4f42h
#define _parseonc 4f4bh
#define _parseon 4f52h
#define _parsecmd 4f5ah
#define _stotype 4f61h
#define _createpair 4f6ah
#define _pushnum 4f73h
#define _inccurpcerrend 4f7ch
#define _errend 4f85h
#define _commaerrf 4f8eh
#define _commaerr 4f97h
#define _steqarg2 4fa0h
#define _steqarg 4fa9h
#define _inparg 4fb2h
#define _steqarg3 4fbbh
#define _nxtfetch 4fc4h
#define _ckfetchvar 4fcdh
#define _fetchvara 4fd6h
#define parser_exec 4fdfh
#define _fetchvar 4fe3h
#define _ckendlin 4fech
#define _ckendexp 4ff5h
#define _ckparsend 4ffeh
#define _stotypearg 5007h
#define _convdim 5010h
#define _convdim00 5019h
#define _aheadequal 5022h
#define _parsaheads 502bh
#define _parsahead 5034h
#define _ansname 503dh
#define _stocmpreals 5046h
#define _getdeptr 504fh
#define _push2boper 5058h
#define _pop2boper 5061h
#define _pushoper 506ah
#define _popoper 5073h
#define _find_e_undef 507ch
#define _sttmpeq 5085h
#define _findeol 508eh
#define _brkinc 5097h
#define _incfetch 50a0h
#define _curfetch 50a9h
#define pgmio_exec 50b2h
#define _random 50b6h
#define _storand 50bah
#define _randinit 50beh
#define _resetstacks 50c2h
#define _factorial 50c6h
#define _yonoff 50cah
#define _eqselunsel 50ceh
#define _itsolver 50d2h
#define _gritsolver 50d6h
#define _itsolverb 50dah
#define _itsolvernb 50deh
#define _extest_int 50e2h
#define _dist_fun 50e6h
#define _loggamma 50eah
#define _onevar 50eeh
#define _onevars_0 50f2h
#define _ordstat 50f6h
#define _initstatans2 50fah
#define _anova_spec 50feh
#define _exec_assembly 5102h
#define _outputexpr 5106h
#define _centcursor 510ah
#define _text 5113h
#define _finishspec 511ch
#define _trcyfunc 5125h
#define _rcl_seq_x 512eh
#define _rclseq2 5137h
#define _grpputaway 5140h
#define _ckvaldelx 5149h
#define _ckvaldelta 5152h
#define _grbufclr 515bh
#define _copygbuf_v 5164h
#define _fndseleq 516dh
#define _clrgraphxy 5176h
#define _next_y_style 517fh
#define graph_exec 5188h
#define _plotpt 518ch
#define _newindep 5195h
#define _axes 519eh
#define _setpenx 51a7h
#define _setpeny 51b0h
#define _setpent 51b9h
#define _tan_equ_disp 51c2h
#define _putans 51cbh
#define _dispop1a 51d4h
#define _mathtanln 51ddh
#define _enddraw 51e6h
#define io_exec 51efh
#define execute_z80 52e5h
;ram equates
;------------------------------------
#define currow 800ch
#define curcol 800dh
#define op1 8039h
#define op1+1 803ah
#define op1m 803bh
#define op2 8044h
#define op2exp 8045h
#define op2m 8046h
#define op3 804fh
#define op3exp 8050h
#define op3m 8051h
#define op3ext 8058h
#define op4 805ah
#define op4exp 805bh
#define op4m 805ch
#define op4ext 8063h
#define op5 8065h
#define op5exp 8066h
#define op5m 8067h
#define op5ext 806eh
#define op6 8070h
#define op6exp 8071h
#define op6m 8072h
#define op6ext 8079h
#define imathptr1 8094h
#define imathptr2 8096h
#define imathptr3 8098h
#define imathptr4 809ah
#define imathptr5 809ch
#define pencol 8252h
#define penrow 8253h
#define usermem_offset 8565h
#define curcy 886dh
#define curgx 886eh
#define progptr 9319h
#define symtable fe6eh
;address of lcd driver instruction port
;--------------------------------------
#define lcdinstport 10h
;screen shadows
;------------------------------------
#define textshadow 80c9h
#define cmdshadow 9157h
;graph backup buffer
;------------------------------------
#define plotsscreen 8e29h
#define gbuf plotsscreen
#define graphbuffer gbuf
;safe ram locations
;------------------------------------
#define savesscreen 8265h
#define statvars 858fh
;indirect call byte
;------------------------------------
#define asm_ind_call 80c8h
;link port write equates
;------------------------------------
#define d0ld1l 0c3h
#define d0ld1h 0c1h
#define d0hd1l 0c2h
#define d0hd1h 0c0h
#define bport 0
;system flag equates
;------------------------------------
#define trigfslags 0
#define trigdeg 2
;
#define plotflags 2
#define plotloc 1
#define plotdisp 2
;
#define grfmodeflags 2
#define grffuncm 4
#define grfpolarm 5
#define grfparamm 6
#define grfrecurm 7
;
#define graphflags 3
#define graphdraw 0
#define graphcursor 2
;
#define grfdbflags 4
#define grfdot 0
#define grfsimul 1
#define grfgrid 2
#define grfpolar 3
#define grfnocoord 4
#define grfnoaxis 5
#define grflabel 6
;
#define textflags 5
#define texterasebelow 1
#define textscrolled 2
#define textinverse 3
;
#define onflags 9
#define onrunning 3
#define oninterrupt 4
;
#define statflags 9
#define statsvalid 6
;
#define fmtflags 10
#define fmtexponent 0
#define fmteng 1
;
#define nummode 10
#define fmtreal 5
#define fmtrect 6
#define fmtpolar 7
;
#define curflags 12
#define curable 2
#define curon 3
#define curlock 4
;
#define appflags 13
#define apptextsave 1
#define appautoscroll 2
;
#define plotflag2 17
#define expr_param 3
#define expr_writing 4
;
#define indicflags 18
#define indicrun 0
#define indiconly 2
;
#define shiftflags 18
#define shift2nd 3
#define shiftalpha 4
#define shiftalock 6
;
#define tblflags 19
#define autofill 4
#define autocalc 5
;
#define sgrflags 20
#define grfsplit 0
#define vertsplit 1
#define write_on_graph 4
#define textwrite 7
;
#define asm_flag1 33
#define asm_flag1_0 0
#define asm_flag1_1 1
#define asm_flag1_2 2
#define asm_flag1_3 3
#define asm_flag1_4 4
#define asm_flag1_5 5
#define asm_flag1_6 6
#define asm_flag1_7 7
;
#define asm_flag2 34
#define asm_flag2_0 0
#define asm_flag2_1 1
#define asm_flag2_2 2
#define asm_flag2_3 3
#define asm_flag2_4 4
#define asm_flag2_5 5
#define asm_flag2_6 6
#define asm_flag2_7 7
;
#define asm_flag3 35
#define asm_flag3_0 0
#define asm_flag3_1 1
#define asm_flag3_2 2
#define asm_flag3_3 3
#define asm_flag3_4 4
#define asm_flag3_5 5
#define asm_flag3_6 6
#define asm_flag3_7 7
;system var equates, for storing and recalling them
;--------------------------------------------------
#define xsclt 2 ;xscale
#define ysclt 3 ;yscale
#define xmint 0ah ;xmin
#define xmaxt 0bh ;xmax
#define ymint 0ch ;ymin
#define ymaxt 0dh ;xmax
#define tmint 0eh ;tmin
#define tmaxt 0fh ;tmax
#define thetmint 10h ;theta min
#define thetmaxt 11h ;theta max
#define tblmint 1ah ;table min
#define plotstartt 1bh ;plot start
#define nmaxt 1dh ;nmax
#define nmint 1fh ;nmin
#define tblstept 21h ;table step
#define tstept 22h ;t step
#define thetstept 23h ;theta step
#define deltaxt 26h ;delta x
#define deltayt 27h ;delta y
#define xfactt 28h ;x zoom factor
#define yfactt 29h ;y zoom factor
#define finnt 2bh ;tvm n
#define finit 2ch ;tvm i
#define finpvt 2dh ;tvm pv
#define finpmtt 2eh ;tvm pmt
#define finfvt 2fh ;tvm fv
#define finpyt 30h ;tvm p/y
#define fincyt 31h ;tvm c/y
#define plotstept 34h ;plot step
#define xrest 36h ;x res
;character font equates
;-----------------------------------
#define lseq_n 001h
#define lseq_u 002h
#define lseq_v 003h
#define lseq_w 004h
#define lconvert 005h
#define lsqup 006h
#define lsqdown 007h
#define lintegral 008h
#define lcross 009h
#define lboxicon 00ah
#define lcrossicon 00bh
#define ldoticon 00ch
#define lsubt 00dh ;small capital t for parametric mode.
#define lcuber 00eh ;slightly different 3 for cubed root.
#define lhexf 00fh
#define lroot 010h
#define linverse 011h
#define lsquare 012h
#define langle 013h
#define ldegree 014h
#define lradian 015h
#define ltranspose 016h
#define lle 017h
#define lne 018h
#define lge 019h
#define lneg 01ah
#define lexponent 01bh
#define lstore 01ch
#define lten 01dh
#define luparrow 01eh
#define ldownarrow 01fh
#define lspace 020h
#define lexclam 021h
#define lquote 022h
#define lpound 023h
#define lfourth 024h
#define lpercent 025h
#define lampersand 026h
#define lapostrophe 027h
#define llparen 028h
#define lrparen 029h
#define lasterisk 02ah
#define lplussign 02bh
#define lcomma 02ch
#define ldash 02dh
#define lperiod 02eh
#define lslash 02fh
#define l0 030h
#define l1 031h
#define l2 032h
#define l3 033h
#define l4 034h
#define l5 035h
#define l6 036h
#define l7 037h
#define l8 038h
#define l9 039h
#define lcolon 03ah
#define lsemicolon 03bh
#define llt 03ch
#define leq 03dh
#define lgt 03eh
#define lquestion 03fh
#define latsign 040h
#define lcapa 041h
#define lcapb 042h
#define lcapc 043h
#define lcapd 044h
#define lcape 045h
#define lcapf equ 046h
#define lcapg 047h
#define lcaph 048h
#define lcapi 049h
#define lcapj 04ah
#define lcapk 04bh
#define lcapl 04ch
#define lcapm 04dh
#define lcapn 04eh
#define lcapo 04fh
#define lcapp 050h
#define lcapq 051h
#define lcapr 052h
#define lcaps 053h
#define lcapt 054h
#define lcapu 055h
#define lcapv 056h
#define lcapw 057h
#define lcapx 058h
#define lcapy 059h
#define lcapz 05ah
#define ltheta 05bh
#define lbackslash 05ch
#define lrbrack 05dh
#define lcaret 05eh
#define lunderscore 05fh
#define lbackquote 060h
#define la 061h
#define lb 062h
#define lc 063h
#define ld 064h
#define le 065h
#define lf 066h
#define lg 067h
#define lh 068h
#define li 069h
#define lj 06ah
#define lk 06bh
#define ll 06ch
#define lm 06dh
#define ln 06eh
#define lo 06fh
#define lp 070h
#define lq 071h
#define lr 072h
#define ls 073h
#define lt 074h
#define lu 075h
#define lv 076h
#define lw 077h
#define lx 078h
#define ly 079h
#define lz 07ah
#define llbrace 07bh
#define lbar 07ch
#define lrbrace 07dh
#define ltilde 07eh
#define linveq 07fh
#define lsub0 080h
#define lsub1 081h
#define lsub2 082h
#define lsub3 083h
#define lsub4 084h
#define lsub5 085h
#define lsub6 086h
#define lsub7 087h
#define lsub8 088h
#define lsub9 089h
#define lcapaacute 08ah
#define lcapagrave 08bh
#define lcapacaret 08ch
#define lcapadier 08dh
#define laacute 08eh
#define lagrave 08fh
#define lacaret 090h
#define ladier 091h
#define lcapeacute 092h
#define lcapegrave 093h
#define lcapecaret 094h
#define lcapedier 095h
#define leacute 096h
#define legrave 097h
#define lecaret 098h
#define ledier 099h
#define lcapiacute 09ah
#define lcapigrave 09bh
#define lcapicaret 09ch
#define lcapidier 09dh
#define liacute 09eh
#define ligrave 09fh
#define licaret 0a0h
#define lidier 0a1h
#define lcapoacute 0a2h
#define lcapograve 0a3h
#define lcapocaret 0a4h
#define lcapodier 0a5h
#define loacute 0a6h
#define lograve 0a7h
#define locaret 0a8h
#define lodier 0a9h
#define lcapuacute 0aah
#define lcapugrave 0abh
#define lcapucaret 0ach
#define lcapudier 0adh
#define luacute 0aeh
#define lugrave 0afh
#define lucaret 0b0h
#define ludier 0b1h
#define lcapcced 0b2h
#define lcced 0b3h
#define lcapntilde 0b4h
#define lntilde 0b5h
#define laccent 0b6h
#define lgrave 0b7h
#define ldieresis 0b8h
#define lquesdown 0b9h
#define lexclamdown 0bah
#define lalpha 0bbh
#define lbeta 0bch
#define lgamma 0bdh
#define lcapdelta 0beh
#define ldelta 0bfh
#define lepsilon 0c0h
#define llbrack 0c1h
#define llambda 0c2h
#define lmu 0c3h
#define lpi 0c4h
#define lrho 0c5h
#define lcapsigma 0c6h
#define lsigma 0c7h
#define ltau 0c8h
#define lphi 0c9h
#define lcapomega 0cah
#define lxmean 0cbh
#define lymean 0cch
#define lsupx 0cdh
#define lellipsis 0ceh
#define lleft 0cfh
#define lblock 0d0h
#define lper 0d1h
#define lhyphen 0d2h
#define larea 0d3h
#define ltemp 0d4h
#define lcube 0d5h
#define lenter 0d6h
#define limagi 0d7h
#define lphat 0d8h
#define lchi 0d9h
#define lstatf 0dah
#define llne 0dbh
#define llistl 0dch
#define lfinann 0ddh
;# tokens in use = 249
;--------------------------------
;length (+80h for leading blank)
;(+40h for trailing blank)
#define eosstart 0
;display conversions come immediately before 'tstore'
;----------------------------------------------------
#define dconv 01h
;
#define ttodms dconv ;01h
#define ttodec dconv+1 ;02h
#define ttoabc dconv+2 ;03h > a b/c
;
#define tstore dconv+3 ;04h lstore 01
;
#define tboxplot 05h
;
#define bracks 06h
;
#define tlbrack bracks ;06h '['
#define trbrack bracks+1 ;07h ']'
#define tlbrace bracks+2 ;08h '{'
#define trbrace bracks+3 ; 09h '}'
;
#define tpost1 bracks+4
;
#define tfromrad tpost1 ;0ah lradian
#define tfromdeg tpost1+1 ;0bh ldegree
#define trecip tpost1+2 ;0ch linverse
#define tsqr tpost1+3 ;0dh lsquare
#define ttrnspos tpost1+4 ;0eh ltranspose
#define tcube tpost1+5 ;0fh '^3'
;
#define tlparen 10h ;10h '('
#define trparen 11h ;11h ')'
;immediate unary tokens go from here to 'eosel-1'
;--------------------------------------------------------
#define imun 12h
;
#define tround imun ;12h 'round'
#define tpxtst imun+1 ;13h 'pxl-test'
#define taug imun+2 ;14h 'aug'
#define trowswap imun+3 ;15h 'rswap'
#define trowplus imun+4 ;16h 'radd'
#define tmrow imun+5 ;17h 'multr'
#define tmrowplus imun+6 ;18h 'mradd'
#define tmax imun+7 ;19h 'max'
#define tmin imun+8 ;1ah 'min'
#define trtopr imun+9 ;1bh 'r>pr
#define trtopo imun+10 ;1ch 'r>po
#define tptorx imun+11 ;1dh 'p>rx
#define tptory imun+12 ;1eh 'p>ry
#define tmedian imun+13 ;1fh 'median
#define trandm imun+14 ;20h 'randm'
#define tmean imun+15 ;21h
#define troot imun+16 ;22h 'root'
#define tseries imun+17 ;23h 'seq'
#define tfnint imun+18 ;24h 'fnint'
#define tnderiv imun+19 ;25h 'fnir'
#define tevalf imun+20 ;26h
#define tfmin imun+21 ;27h
#define tfmax imun+22 ;28h
;token 29h cannot be an eos function since el(=29h already
;---------------------------------------------------------
#define teosel imun+23
;
#define tspace teosel ;29h ' '
#define tstring teosel+1 ;2ah '"'
#define tcomma teosel+2 ;2bh ','
#define tii 2ch ;i
;postfix functions
;---------------------------------------------
#define tpost 2dh
;
#define tfact tpost ;2dh '!'
#define tcubicr 2eh
#define tquartr 2fh
;number tokens
;--------------------------------------------
#define nums 30h
;
#define t0 nums ;30h
#define t1 nums+1 ;31h
#define t2 nums+2 ;32h
#define t3 nums+3 ;33h
#define t4 nums+4 ;34h
#define t5 nums+5 ;35h
#define t6 nums+6 ;36h
#define t7 nums+7 ;37h
#define t8 nums+8 ;38h
#define t9 nums+9 ;39h
#define tdecpt nums+10 ;3ah
#define tee nums+11 ;3bh
;binary op
;----------------------------------------------
#define tor 3ch ;3ch '_or_'
#define txor 3dh ;3dh
;
#define tcolon 3eh ;3eh ':'
#define tenter 3fh ;3fh lenter
;binary op
;--------------------------------------------------
#define tand 40h ;40h '_and_' 05
;letter tokens
;------------------------------------------
#define let 41h
;
#define ta let ;41h
#define tb let+1 ;42h
#define tc let+2 ;43h
#define td let+3 ;44h
#define te let+4 ;45h
#define tf let+5 ;46h
#define tg let+6 ;47h
#define th let+7 ;48h
#define ti let+8 ;49h
#define tj let+9 ;4ah
#define tk let+10 ;4bh
#define tl let+11 ;4ch
#define tm let+12 ;4dh
#define tn let+13 ;4eh
#define to let+14 ;4fh
#define tp let+15 ;50h
#define tq let+16 ;51h
#define tr let+17 ;52h
#define ts let+18 ;53h
#define tt let+19 ;54h
#define tu let+20 ;55h
#define tv let+21 ;56h
#define tw let+22 ;57h
#define tx let+23 ;58h
#define ty let+24 ;59h
#define tz let+25 ;5ah
#define ttheta let+26 ;5bh
;these var tokens are 1st of a double token
; see 'vars.doc' for more info on vars
;------------------------------------------
#define vtoks let+27
;user matrix token, 2nd token needed for name
;--------------------------------------------
#define tvarmat vtoks ;5ch
;user list token, 2nd token needed for name
;-------------------------------------------
#define tvarlst vtoks+1 ;5dh
;user equation token, 2nd token needed for name
;----------------------------------------------
#define tvarequ vtoks+2 ;5eh
;this is a single token, i will have to read the name in
;every single time i execute
;-------------------------------------------
#define tprog vtoks+3 ;5fh
;user pict token, 2nd token needed for name
;-------------------------------------------
#define tvarpict vtoks+4 ;60h
;user gdb token, 2nd token needed for name
;-------------------------------------------
#define tvargdb vtoks+5 ;61h
;system vars that are used for output only
;cannot be stored to by the user
;-------------------------------------------
#define tvarout vtoks+6 ;62h
;system vars that are not in the symbol table
;but the user can store to them
;--------------------------------------------
#define tvarsys vtoks+7 ;63h
;mode setting commands
;------------------------------------------------------
#define modesa vtoks+8 ;64h
;
#define trad modesa ;64h 'radian'
#define tdeg modesa+1 ; 65h 'degree'
#define tnormf modesa+2 ;66h 'normal'
#define tsci modesa+3 ;67h 'sci'
#define teng modesa+4 ;68h 'eng'
#define tfloat modesa+5 ;69h 'float'
;
#define cmps 6ah
;
#define teq cmps ;6ah '=='
#define tlt cmps+1 ;6bh '<'
#define tgt cmps+2 ;6ch '>'
#define tle cmps+3 ;6dh lle
#define tge cmps+4 ;6eh lge
#define tne cmps+5 ;6fh lne
;binary op
;-------------------------------------------
#define tadd 70h ;70h '+'
#define tsub 71h ;71h '-'
;
#define tans 72h ;72h
;mode setting commands
;----------------------------------
#define modes 73h
;
#define tfix modes ;73h 'fix_'
#define tspliton modes+1 ;74h
#define tfullscreen modes+2 ;75h
#define tstndrd modes+3 ;76h 'func'
#define tparam modes+4 ;77h 'param'
#define tpolar modes+5 ;78h 'pol'
#define tseqg modes+6 ;79h
#define tafillon modes+7 ;7ah 'auto fill on
#define tafilloff modes+8 ;7bh
#define tacalcon modes+9 ;7ch
#define tacalcoff modes+10 ;7dh 'autofill off
;graph format tokens are 2 byte tokens
;--------------------------------------------
#define tgformat modes+11 ;7eh
;
#define tboxicon 7fh
#define tcrossicon 80h
#define tdoticon 81h
;binary op
;---------------------------
#define tmul 82h ;82h '*'
#define tdiv 83h ;83h '/'
;some graph commands
;-------------------------
#define grcmds 84h
;
#define ttrace grcmds ;84h 'trace'
#define tcldrw grcmds+1 ;85h 'cldrw'
#define tzoomstd grcmds+2 ;86h 'zstd'
#define tzoomtrg grcmds+3 ;87h 'ztrg'
#define tzoombox grcmds+4 ;88h 'zbox'
#define tzoomin grcmds+5 ;89h 'zin'
#define tzoomout grcmds+6 ;8ah 'zout'
#define tzoomsqr grcmds+7 ;8bh 'zsqr'
#define tzoomint grcmds+8 ;8ch 'zint'
#define tzoomprev grcmds+9 ;8dh 'zprev'
#define tzoomdec grcmds+10 ;8eh 'zdecm'
#define tzoomstat grcmds+11 ;8fh 'zstat
#define tusrzm grcmds+12 ;90h 'zrcl'
#define tprtscrn grcmds+13 ;91h 'prtscrn'
#define tzoomsto grcmds+14 ;92h zoom store
#define ttext grcmds+15 ;93h
;binary op
;----------------------------
#define tnpr grcmds+16 ;94h '_npr_'
#define tncr grcmds+17 ;95h '_ncr_'
;more graph commands
;--------------------------------
#define tyon grcmds+18 ;96h 'fnon_'
#define tyoff grcmds+19 ;97h 'fnoff_'
#define tstpic grcmds+20 ;98h 'stpic_'
#define trcpic grcmds+21 ;99h 'rcpic_'
#define tstodb grcmds+22 ;9ah 'stgdb_'
#define trcldb grcmds+23 ;9bh 'rcgdb_'
#define tline grcmds+24 ;9ch 'line'
#define tvert grcmds+25 ;9dh 'vert_'
#define tpton grcmds+26 ;9eh 'pton'
#define tptoff grcmds+27 ;9fh 'ptoff'
;token a0 cannot be an eos function since low mult=a0 already
;------------------------------------------------------------
#define tptchg grcmds+28 ;a0h 'ptchg'
#define tpxon grcmds+29 ;a1h
#define tpxoff grcmds+30 ;a2h
#define tpxchg grcmds+31 ;a3h
#define tshade grcmds+32 ;a4h 'shade'
#define tcircl grcmds+33 ;a5h 'circl'
#define thorz grcmds+34 ;a6h 'horizontal'
#define ttanln grcmds+35 ;a7h 'tanln'
#define tdrinv grcmds+36 ;a8h 'drinv_'
#define tdrawf grcmds+37 ;a9h 'drawf_'
;
#define tvarstrng 0aah
;functions with no arguments
;------------------------------------------------------
#define noarg 0abh
;
#define trand noarg ;abh 'rand'
#define tpi noarg+1 ;ach lpi
#define tgetkey noarg+2 ;adh 'getky'
;
#define tapost tgetkey+1 ;apostrophe
#define tquest tapost+1 ;question mark
;unary functions
;---------------------------------------------------
;unary: these unary functions take a copmbination of
; arguments, real, list, matrix
#define unary tquest+1 ;b0h
;
#define tchs unary ;b0h
#define tint unary+1 ;b1h
#define tabs unary+2 ;b2h
#define tdet unary+3 ;b3h
#define tident unary+4 ;b4h
#define tdim unary+5 ;b5h
#define tsum unary+6 ;b6h
#define tprod unary+7 ;b7h
#define tnot unary+8 ;b8h
#define tipart unary+9 ;b9h
#define tfpart unary+10 ;bah
;new 2 byte tokens
;-----------------------------------
#define t2bytetok 0bbh
;unarylr: unary functions that only work with
; real numbers and lists
;----------------------------------------------
#define unarylr equ unary+12
;
#define tsqrt unarylr ;bch
#define tcubrt unarylr+1 ;bdh
#define tln unarylr+2 ;beh
#define texp unarylr+3 ;bfh
#define tlog unarylr+4 ;c0h
#define talog unarylr+5 ;c1h
#define tsin unarylr+6 ;c2h
#define tasin unarylr+7 ;c3h
#define tcos unarylr+8 ;c4h
#define tacos unarylr+9 ;c5h
#define ttan unarylr+10 ;c6h
#define tatan unarylr+11 ;c7h
#define tsinh unarylr+12 ;c8h
#define tasinh unarylr+13 ;c9h
#define tcosh unarylr+14 ;cah
#define tacosh unarylr+15 ;cbh
#define ttanh unarylr+16 ;cch
#define tatanh unarylr+17 ;cdh
;some programming commands
;--------------------------------------------------------
#define progtok unarylr+18
;
#define tif progtok ;ceh
#define tthen progtok+1 ;cfh
#define telse progtok+2 ;d0h
#define twhile progtok+3 ;d1h
#define trepeat progtok+4 ;d2h
#define tfor progtok+5 ;d3h
#define tend progtok+6 ;d4h
#define treturn progtok+7 ;d5h
#define tlbl progtok+8 ;d6h 'lbl_'
#define tgoto progtok+9 ;d7h 'goto_'
#define tpause progtok+10 ;d8h 'pause_'
#define tstop progtok+11 ;d9h 'stop'
#define tisg progtok+12 ;dah 'is>'
#define tdsl progtok+13 ;dbh 'ds<'
#define tinput progtok+14 ;dch 'input_'
#define tprompt progtok+15 ;ddh 'prompt_'
#define tdisp progtok+16 ;deh 'disp_'
#define tdispg progtok+17 ;dfh 'dispg'
;token e0 cannot be an eos function since hi mu
;---------------------------------------------
#define toutput progtok+18 ;e0h 'outpt'
#define tcllcd progtok+19 ;e1h 'cllcd'
#define tconst progtok+20 ;e2h 'fill'
#define tsorta progtok+21 ;e3h 'sorta_'
#define tsortd progtok+22 ;e4h 'sortd_'
#define tdisptab progtok+23 ;e5h 'disp table
#define tmenu progtok+24 ;e6h 'menu'
#define tsendmbl progtok+25 ;e7h 'send'
#define tgetmbl progtok+26 ;e8h 'get'
;stat plot commands
;-------------------------
#define statpcmd progtok+27
;
#define tploton statpcmd ;e9h ' plotson'
#define tplotoff statpcmd+1 ;eah ' plotsoff
;
#define tlistname 0ebh ;list designator
#define tplot1 0ech
#define tplot2 0edh
#define tplot3 0eeh
#define tpower 0f0h ;'^'
#define txroot 0f1h ;lsupx,lroot
#define statcmd 0f2h
;
#define tonevar statcmd ;f2h 'onevar_'
#define ttwovar statcmd+1 ;f3h
#define tlr statcmd+2 ;f4h 'linr(a+bx
#define tlrexp statcmd+3 ;f5h 'expr_'
#define tlrln statcmd+4 ;f6h 'lnr_'
#define tlrpwr statcmd+5 ;f7h 'pwrr_'
#define tmedmed statcmd+6 ;f8h
#define tquad statcmd+7 ;f9h
#define tclrlst statcmd+8 ;fah 'clear list
#define tclrtbl statcmd+9 ;fbh 'clear table
#define thist statcmd+10 ;fch 'hist_'
#define txyline statcmd+11 ;fdh 'xyline_'
#define tscatter statcmd+12 ;feh 'scatter_'
#define tlr1 statcmd+13 ;ffh 'linr(ax+b
;2nd half of graph format tokens
;--------------------------------------------------
;format settings commands
#define gfmt 0
;
#define tseq gfmt ;'seqg'
#define tsimulg gfmt+1 ;'simulg'
#define tpolarg gfmt+2 ;'polargc'
#define trectg gfmt+3 ;'rectgc'
#define tcoordon gfmt+4 ;'coordon'
#define tcoordoff gfmt+5 ;'coordoff'
#define tdrawline gfmt+6 ;'drawline'
#define tdrawdot gfmt+7 ;'drawdot'
#define taxison gfmt+8 ;'axeson'
#define taxisoff gfmt+9 ;'axesoff'
#define tgridon gfmt+10 ;'gridon'
#define tgridoff gfmt+11 ;'gridoff'
#define tlblon gfmt+12 ;'labelon'
#define tlbloff gfmt+13 ;'labeloff'
#define twebon gfmt+14 ;'webon'
#define tweboff gfmt+15 ;'weboff'
#define tuv gfmt+16 ;u vs v
#define tvw gfmt+17 ;v vs w
#define tuw gfmt+18 ;u vs w
;2nd half of user matrix tokens
;-----------------------------------------
#define tmata 00h ;mat a
#define tmatb 01h ;mat b
#define tmatc 02h ;mat c
#define tmatd 03h ;mat d
#define tmate 04h ;mat e
#define tmatf 05h ;mat f
#define tmatg 06h ;mat g
#define tmath 07h ;mat h
#define tmati 08h ;mat i
#define tmatj 09h ;mat j
;2nd half of user list tokens
;------------------------------------------
#define tl1 00h ;list 1
#define tl2 01h ;list 2
#define tl3 02h ;list 3
#define tl4 03h ;list 4
#define tl5 04h ;list 5
#define tl6 05h ;list 6
;2nd half of user equation tokens
;--------------------------------------
;"y" equations have bit 4 set
#define ty1 10h ;y1
#define ty2 11h ;y2
#define ty3 12h ;y3
#define ty4 13h ;y4
#define ty5 14h ;y5
#define ty6 15h ;y6
#define ty7 16h ;y7
#define ty8 17h ;y8
#define ty9 18h ;y9
#define ty0 19h ;y0
;param equations have bit 5 set
;---------------------------------------
#define tx1t 20h ;x1t
#define ty1t 21h ;y1t
#define tx2t 22h ;x2t
#define ty2t 23h ;y2t
#define tx3t 24h ;x3t
#define ty3t 25h ;y3t
#define tx4t 26h ;x4t
#define ty4t 27h ;y4t
#define tx5t 28h ;x5t
#define ty5t 29h ;y5t
#define tx6t 2ah ;x6t
#define ty6t 2bh ;y6t
;polar equations have bit 6 set
;--------------------------------------
#define tr1 40h ;r1
#define tr2 41h ;r2
#define tr3 42h ;r3
#define tr4 43h ;r4
#define tr5 44h ;r5
#define tr6 45h ;r6
;recursion equations have bit 7 set
;--------------------------------------
#define tun 80h ;un
#define tvn 81h ;vn
#define twn 82h ;wn
;2nd half of user picture tokens
;----------------------------------------
#define tpic1 00h ;pic1
#define tpic2 01h ;pic2
#define tpic3 02h ;pic3
#define tpic4 03h ;pic4
#define tpic5 04h ;pic5
#define tpic6 05h ;pic6
#define tpic7 06h ;pic7
#define tpic8 07h ;pic8
#define tpic9 08h ;pic9
#define tpic0 09h ;pic0
;2nd half of user graph database tokens
;----------------------------------------
#define tgdb1 00h ;gdb1
#define tgdb2 01h ;gdb2
#define tgdb3 02h ;gdb3
#define tgdb4 03h ;gdb4
#define tgdb5 04h ;gdb5
#define tgdb6 05h ;gdb6
#define tgdb7 06h ;gdb7
#define tgdb8 07h ;gdb8
#define tgdb9 08h ;gdb9
#define tgdb0 09h ;gdb0
;2nd half of string vars
;----------------------------------
#define tstr1 00h
#define tstr2 01h
#define tstr3 02h
#define tstr4 03h
#define tstr5 04h
#define tstr6 05h
#define tstr7 06h
#define tstr8 07h
#define tstr9 08h
#define tstr0 09h
;2nd half of system output only variables
;--------------------------------------------------------------------
;#define open 00h
;
#define tregeq 01h ;regression equation
;
#define tstatn 02h ;statistics n
;
#define txmean 03h ;x mean
#define tsumx 04h ;sum(x)
#define tsumxsqr 05h ;sum(x^2)
#define tstdx 06h ;standard dev x
#define tstdpx 07h ;standard dev pop x
#define tminx 08h ;min x value
#define tmaxx 09h ;max x value
;
#define tminy 0ah ;min y value
#define tmaxy 0bh ;max y value
#define tymean 0ch ;y mean
#define tsumy 0dh ;sum(y)
#define tsumysqr 0eh ;sum(y^2)
#define tstdy 0fh ;standard dev y
#define tstdpy 10h ;standard dev pop y
;
#define tsumxy 11h ;sum(xy)
#define tcorr 12h ;correlation
#define tmedx 13h ;med(x)
#define tq1 14h ;1st quadrant of x
#define tq3 15h ;3rd quadrant of x
#define tquada 16h ;1st term of quad poly reg/ y-int
#define tquadb 17h ;2nd term of quad poly reg/ slope
#define tquadc 18h ;3rd term of quad poly reg
#define tcubed 19h ;4th term of cubic poly reg
#define tquarte 1ah ;5th term of quart poly reg
#define tmedx1 1bh ;x1 for med-med
#define tmedx2 1ch ;x2 for med-med
#define tmedx3 1dh ;x3 for med-med
#define tmedy1 1eh ;y1 for med-med
#define tmedy2 1fh ;y2 for med-med
#define tmedy3 20h ;y3 for med-med
;
#define trecurn 21h ;recursion n
#define tstatp 22h
#define tstatz 23h
#define tstatt 24h
#define tstatchi 25h
#define tstatf 26h
#define tstatdf 27h
#define tstatphat 28h
#define tstatphat1 29h
#define tstatphat2 2ah
#define tstatmeanx1 2bh
#define tstatstdx1 2ch
#define tstatn1 2dh
#define tstatmeanx2 2eh
#define tstatstdx2 2fh
#define tstatn2 30h
#define tstatstdxp 31h
#define tstatlower 32h
#define tstatupper 33h
#define tstat_s 34h
#define tlrsqr 35h ;r^2
#define tbrsqr 36h ;r^2
;these next tokens are only used to acess the data.
;they are display only and the user cannot access them at all.
;-------------------------------------------------------------
#define tf_df 37h ;anofav factor df
#define tf_ss 38h ;anofav factor ss
#define tf_ms 39h ;anofav factor ms
#define te_df 3ah ;anofav error df
#define te_ss 3bh ;anofav error ss
#define te_ms 3ch ;anofav error ms
;2nd half of system input/output variables
;----------------------------------------------------
;system variable equates
;
;vars with no restriction
#define tuxscl 0
#define tuyscl 1
#define txscl 2
#define tyscl 3
#define trecuru0 4 ;u 1st initial cond
#define trecurv0 5 ;v 1st initial cond
#define tun1 6 ;u(n-1) ;not used
#define tvn1 7 ;v(n-1) ;not used
#define turecuru0 8
#define turecurv0 9
;vars rounded to 10 digits
;----------------------------------
#define txmin 0ah
#define txmax 0bh
#define tymin 0ch
#define tymax 0dh
#define ttmin 0eh
#define ttmax 0fh
#define tthetamin 10h
#define tthetamax 11h
#define tuxmin 12h
#define tuxmax 13h
#define tuymin 14h
#define tuymax 15h
#define tuthetmin 16h
#define tuthetmax 17h
#define tutmin 18h
#define tutmax 19h
#define ttblmin 1ah
#define tplotstart 1bh
#define tuplotstart 1ch
#define tnmax 1dh
#define tunmax 1eh
#define tnmin 1fh
#define tunmin 20h
;vars cannot be 0
;----------------------------------
#define ttblstep 21h
#define ttstep 22h
#define tthetastep 23h
#define tutstep 24h
#define tuthetstep 25h
;special limits on these
;----------------------------------
#define tdeltax 26h
#define tdeltay 27h
;special limits on these
;----------------------------------
#define txfact 28h
#define tyfact 29h
#define ttblinput 2ah
;any restrictions?
;-----------------------------------------
#define tfinn 2bh
#define tfini 2ch
#define tfinpv 2dh
#define tfinpmt 2eh
#define tfinfv 2fh
#define tfinpy 30h
#define tfincy 31h
;
#define trecurw0 32h ;w0(1)
#define turecurw0 33h
;
#define tplotstep 34h
#define tuplotstep 35h
;
#define txres 36h
#define tuxres 37h
;all the tokens below do not have strings associated.
;they are here just for storing and recalling.
;----------------------------------------------------
#define trecuru02 38h ;u0(2)
#define turecuru02 39h
#define trecurv02 3ch ;v0(2)
#define turecurv02 3dh
#define trecurw02 3eh ;w0(2)
#define turecurw02 3fh
;no restrictions
;------------------------------------------
;#define twn1 40h ;w(n-1)
;#define un2 41h ;u(n-2)
;#define vn2 42h ;v(n-2)
;#define wn2 43h ;w(n-2)
;don't know if need these yet?
;-----------------------------
;tui12
;tui22
;tuui12
;tuui22
#define tfinnpv 00h ;immediate unary
#define tfinirr 01h ;immediate unary
#define tfinbal 02h ;immediate unary
#define tfinprn 03h ;immediate unary
#define tfinint 04h ;immediate unary
#define tfintonom 05h ;immediate unary
#define tfintoeff 06h ;immediate unary
#define tfindbd 07h ;immediate unary
#define tlcm 08h ;immediate unary
#define tgcd 09h ;immediate unary
#define trandint 0ah ;immediate unary
#define trandbin 0bh ;immediate unary
#define tsubstrng 0ch ;immediate unary
#define tstddev 0dh ;immediate unary
#define tvariance 0eh ;immediate unary
#define tinstrng 0fh ;immediate unary
#define tdnormal 10h ;immediate unary
#define tinvnorm 11h ;immediate unary
#define tdt 12h ;immediate unary
#define tchi 13h ;immediate unary
#define tdf 14h ;immediate unary
#define tbinpdf 15h ;immediate unary
#define tbincdf 16h ;immediate unary
#define tpoipdf 17h ;immediate unary
#define tpoicdf 18h ;immediate unary
#define tgeopdf 19h ;immediate unary
#define tgeocdf 1ah ;immediate unary
#define tnormalpdf 1bh ;immediate unary
#define ttpdf 1ch ;immediate unary
#define tchipdf 1dh ;immediate unary
#define tfpdf 1eh ;immediate unary
;#define trandbin 1fh ;immediate unary
#define trandnorm 1fh ;immediate unary
#define tfinfpmt 20h ;0 or multy arg function
#define tfinfi 21h ;0 or multy arg function
#define tfinfpv 22h ;0 or multy arg function
#define tfinfn 23h ;0 or multy arg function
#define tfinffv 24h ;0 or multy arg function
#define tconj 25h ;unary
#define treal 26h ;unary
#define timag 27h ;unary
#define tangle 28h ;unary
#define tcumsum 29h ;unary
#define texpr 2ah ;unary
#define tlength 2bh ;unary
#define tdeltalst 2ch ;unary
#define tref 2dh ;unary
#define trref 2eh ;unary
#define ttorect 2fh ;display conversion
#define ttopolar 30h ;display conversion
#define tconste 31h ;function no arg
#define tsinreg 32h ;command opt push
#define tlogistic 33h ;command opt push
#define tlinregttest 34h ;command opt push
#define tshadenorm 35h ;command pushed
#define tshadet 36h ;command pushed
#define tshadechi 37h ;command pushed
#define tshadef 38h ;command pushed
#define tmattolst 39h ;command pushed
#define tlsttomat 3ah ;command pushed
#define tztest 3bh ;command pushed
#define tttest 3ch ;command pushed
#define t2sampztest 3dh ;command pushed
#define t1propztest 3eh ;command pushed
#define t2propztest 3fh ;command pushed
#define tchitest 40h ;command pushed
#define tzintval 41h ;command pushed
#define t2sampzint 42h ;command pushed
#define t1propzint 43h ;command pushed
#define t2propzint 44h ;command pushed
#define tgraphstyle 45h ;command pushed
#define t2sampttest 46h ;command opt pushed
#define t2sampftest 47h ;command opt pushed
#define ttintval 48h ;command opt pushed
#define t2samptint 49h ;command opt pushed
#define tsetuplst 4ah ;command opt pushed
#define tfinpmtend 4bh ;mode command
#define tfinpmtbeg 4ch ;mode command
#define trealm 4dh ;mode command
#define tpolarm 4eh ;mode command
#define trectm 4fh ;mode command
#define texpron 50h ;mode command
#define texproff 51h ;mode command
#define tclralllst 52h ;command not pushed
#define tgetcalc 53h ;command not pushed
#define tdelvar 54h ;command not pushed
#define tequtostrng 55h ;command not pushed
#define tstrngtoequ 56h ;command not pushed
#define tdellast 57h ;command not pushed
#define tselect 58h ;command not pushed
#define tanova 59h ;command not pushed
#define tmodbox 5ah ;icon
#define tnormprob 5bh ;icon
;tokens 5ch to 63h cannot be the 2nd byte of
; two byte tokens. these are already the 1st byte value
; of two byte tokens. reading tokens backwards will not
; work if this restriction is not in place.
;------------------------------------------------------
;no use 5ch
;no use 5dh
;no use 5eh
;no use 5fh
;no use 60h
;no use 61h
;no use 62h
;no use 63h
#define tmgt 64h ;vertical split
#define tzfit 65h ;zoom fit
#define tdiag_on 66h ;dianostic display on
#define tdiag_off 67h ;dianostic display off