This file is indexed.

/usr/share/z88dk/lib/Ti83p.def is in z88dk-data 1.8.ds1-10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
;-------------------------------
; Some DEFC's needed by the code
;-------------------------------
; Ti83+ Silver Edition:
defc SetExSpeed       = $50BF	; BCALL entry to switch 6<->15MHz on Ti83+SE

;All Ti83+:
;defc statvars         = $8A3A	; 531 bytes free $8A3A / $8C4D
defc plotSScreen      = $9340	; 768 bytes free (normal screen buffer)
;defc appBackUpScreen  = $9872	; 768 bytes free (free space for apps)
;defc saveSScreen      = $86EC	; 768 bytes free (APD buffer)
defc _IY_TABLE        = $89F0   ;

;TSE dfines

defc krnlbase        = $9872
defc _tseKrnlVer     = krnlbase + 2
defc _tseChkProg     = krnlbase + 5
defc _tseExitShell   = krnlbase + 8
defc _tseSwitchTask  = krnlbase + 11
defc _tseStartTask   = krnlbase + 14
defc _tseEndTask     = krnlbase + 17
defc _tseForceYield  = krnlbase + 20

defc libsbase        = $8A3A
defc _tseLibsVer     = libsbase + 0
defc _tseRandom      = libsbase + 3
defc _tseSprite      = libsbase + 6
defc _tseLargeSprite = libsbase + 9
defc _tseGetPixel    = libsbase + 12
defc _tseDecompress  = libsbase + 15
defc _tseFastcopy    = libsbase + 18
defc _tseFindVar     = libsbase + 21

;defc ionRandom       = _tseRandom
;defc ionPutSprite    = _tseSprite
;defc ionLargeSprite  = _tseLargeSprite
;defc ionGetPixel     = _tseGetPixel
;defc ionFastCopy     = _tseFastCopy
;defc ionDecompress   = _tseDecompress
;defc ionDetect	      = $8508

; Kernel Memory Structure
defc pptr_code         = $8C4C - 2
defc pptr_preserve     = pptr_code - 2
defc progsize          = pptr_preserve - 2
defc sysstack          = progsize - 2
defc sysflags          = sysstack - 60
defc cprogram          = sysflags - 9
defc fptr_varsize      = cprogram - 2
defc fptr_prgtitle     = fptr_varsize - 2
defc fptr_memreq       = fptr_prgtitle - 2
defc fptr_end          = fptr_memreq - 2


;======================================================================
; Include File for the TI-83 Plus
; Last Updated 10/27/1999 
;
; Copyright (c) 1999 Texas Instruments: The Licensed Materials are
; copyrighted by TI. LICENSEE agrees that it will 
; not delete the copyright notice, trademarks or
; protective notices from any copy made by LICENSEE.
;
; Warranty: TI does not warrant that the Licensed Materials will
; be free from errors or will meet your specific requirements.
; The Licensed Materials are made available "AS IS" to LICENSEE.
;
; Limitations: TI MAKES NO WARRANTY OR CONDITION, EITHER EXPRESS
; OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE,
; REGARDING THE LICENSED MATERIALS.  IN NO EVENT SHALL
; TI OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, INCIDENTAL
; OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS, LOSS OF USE OR DATA, 
; OR INTERRUPTION OF BUSINESS, WHETHER THE ALLEGED DAMAGES ARE
; LABELED IN TORT, CONTRACT OR INDEMNITY.
;
;

DEFC		Entry =			$9D95 - $02
; Syntax Enhancers

;======================================================================
;           System Variable Equates
;======================================================================
;       Entry Points : RclSysTok, StoSysTok
;
DEFC  XSCLt =		2
DEFC  YSCLt =		3
DEFC  XMINt =		$0A
DEFC  XMAXt =		$0B
DEFC  YMINt =		$0C
DEFC  YMAXt =		$0D
DEFC  TMINt =		$0E
DEFC  TMAXt =		$0F
DEFC  THETMINt =	$10
DEFC  THETMAXt =	$11
DEFC  TBLMINt =		$1A
DEFC  PLOTSTARTt =	$1B
DEFC  NMAXt =		$1D
DEFC  NMINt =		$1F
DEFC  TBLSTEPt =	$21
DEFC  TSTEPt =		$22
DEFC  THETSTEPt =	$23
DEFC  DELTAXt =		$26
DEFC  DELTAYt =		$27
DEFC  XFACTt =		$28
DEFC  YFACTt =		$29
DEFC  FINNt =		$2B
DEFC  FINIt =		$2C
DEFC  FINPVt =		$2D
DEFC  FINPMTt =		$2E
DEFC  FINFVt =		$2F
DEFC  FINPYt =		$30
DEFC  FINCYt =		$31
DEFC  PLOTSTEPt =	$34
DEFC  XRESt =		$36
;

;======================================================================
;           Run indicators
;======================================================================
;
DEFC	busyPause =	@10101010
DEFC	busyNormal =	@11110000
;

;======================================================================
;           Common subroutine RST numbers  
;======================================================================
;
DEFC  rOP1TOOP2 =	$08
DEFC  rFINDSYM =	$10
DEFC  rPUSHREALO1 =	$18
DEFC  rMOV9TOOP1 =	$20
DEFC  rFPADD =		$30
;

;SYMBOLIC_DEBUG_START
;======================================================================
;           Entry points  
;======================================================================
;
DEFC _HomeUp =		$4558
DEFC _AbsO1O2Cp =	$410E
DEFC _AbsO1PAbsO2 =	$405A
DEFC _ACos =		$40DE
DEFC _ACosH =		$40F0
DEFC _ACosRad =	$40D2
DEFC _AdrLEle =	$462D
DEFC _AdrMEle =	$4609
DEFC _AdrMRow =	$4606
DEFC _AllEq =		$4876
DEFC _AllocFPS =	$43A5
DEFC _AllocFPS1 =	$43A8
DEFC _Angle =		$4102
DEFC _AnsName =	$4B52
DEFC _ApdSetup =	$4C93
DEFC _AppGetCalc =	$4C78
DEFC _AppGetCbl =	$4C75
DEFC _Arc_Unarc =	$4FD8
DEFC _ASin =		$40E4
DEFC _ASinH =		$40ED
DEFC _ASinRad =	$40DB
DEFC _ATan =		$40E1
DEFC _ATan2 =		$40E7
DEFC _ATan2Rad =	$40D8
DEFC _ATanH =		$40EA
DEFC _ATanRad =	$40D5

DEFC _BinOPExec =	$4663
DEFC _Bit_VertSplit =	$4FA8
DEFC _BufClr =		$5074
DEFC _BufCpy =		$5071

DEFC _CAbs =		$4E97
DEFC _CAdd =		$4E88
DEFC _CanAlphIns =	$4C69
DEFC _CDiv =		$4E94
DEFC _CDivByReal =	$4EBB
DEFC _CEtoX =		$4EA9
DEFC _CFrac =		$4EC1
DEFC _CheckSplitFlag =	$49F0
DEFC _ChkFindSym =	$42F1
DEFC _CIntgr =		$4EC4
DEFC _CircCmd =	$47D4
DEFC _CkInt =		$4234
DEFC _CkOdd =		$4237
DEFC _CkOP1C0 =	$4225
DEFC _CkOP1Cplx =	$40FC
DEFC _CkOP1FP0 =	$4228
DEFC _CkOP1Pos =	$4258
DEFC _CkOP1Real =	$40FF
DEFC _CkOP2FP0 =	$422B
DEFC _CkOP2Pos =	$4255
DEFC _CkOP2Real =	$42DF
DEFC _CkPosInt =	$4231
DEFC _CkValidNum =	$4270
DEFC _CleanAll =	$4A50
DEFC _ClearRect =	$4D5C
DEFC _ClearRow =	$4CED
DEFC _CLine =		$4798
DEFC _CLineS =		$479B
DEFC _CLN =		$4EA0
DEFC _CLog =		$4EA3
DEFC _CloseEditBufNoR =	$476E
DEFC _CloseProg =	$4A35
DEFC _ClrGraphRef =	$4A38
DEFC _ClrLCD =		$4543
DEFC _ClrLCDFull =	$4540
DEFC _ClrLp =		$41D1
DEFC _ClrOP1S =	$425E
DEFC _ClrOP2S =	$425B
DEFC _ClrScrn =	$4549
DEFC _ClrScrnFull =	$4546
DEFC _ClrTxtShd =	$454C
DEFC _CMltByReal =	$4EB8
DEFC _CmpSyms =	$4A4A
DEFC _CMult =		$4E8E
DEFC _Conj =		$4EB5
DEFC _ConvDim =	$4B43
DEFC _ConvDim00 =	$4B46
DEFC _ConvLcToLr =	$4A23
DEFC _ConvLrToLc =	$4A56
DEFC _ConvOP1 =	$4AEF
DEFC _COP1Set0 =	$4105
DEFC _Cos =		$40C0
DEFC _CosH =		$40CC
DEFC _CpHLDE =		$400C
DEFC _CPoint =		$4DC8
DEFC _CPointS =	$47F5
DEFC _CpOP1OP2 =	$4111
DEFC _CpOP4OP3 =	$4108
DEFC _CpyO1ToFPS1 =	$445C
DEFC _CpyO1ToFPS2 =	$446B
DEFC _CpyO1ToFPS3 =	$4477
DEFC _CpyO1ToFPS4 =	$4489
DEFC _CpyO1ToFPS5 =	$4483
DEFC _CpyO1ToFPS6 =	$447D
DEFC _CpyO1ToFPS7 =	$4480
DEFC _CpyO1ToFPST =	$444A
DEFC _CpyO2ToFPS1 =	$4459
DEFC _CpyO2ToFPS2 =	$4462
DEFC _CpyO2ToFPS3 =	$4474
DEFC _CpyO2ToFPS4 =	$4486
DEFC _CpyO2ToFPST =	$4444
DEFC _CpyO3ToFPS1 =	$4453
DEFC _CpyO3ToFPS2 =	$4465
DEFC _CpyO3ToFPST =	$4441
DEFC _CpyO5ToFPS1 =	$4456
DEFC _CpyO5ToFPS3 =	$4471
DEFC _CpyO6ToFPS2 =	$4468
DEFC _CpyO6ToFPST =	$4447
DEFC _CpyStack =	$4429
DEFC _CpyTo1FPS1 =	$4432
DEFC _CpyTo1FPS10 =	$43F3
DEFC _CpyTo1FPS11 =	$43D8
DEFC _CpyTo1FPS2 =	$443B
DEFC _CpyTo1FPS3 =	$4408
DEFC _CpyTo1FPS4 =	$440E
DEFC _CpyTo1FPS5 =	$43DE
DEFC _CpyTo1FPS6 =	$43E4
DEFC _CpyTo1FPS7 =	$43EA
DEFC _CpyTo1FPS8 =	$43ED
DEFC _CpyTo1FPS9 =	$43F6
DEFC _CpyTo1FPST =	$4423
DEFC _CpyTo2FPS1 =	$442F
DEFC _CpyTo2FPS2 =	$4438
DEFC _CpyTo2FPS3 =	$4402
DEFC _CpyTo2FPS4 =	$43F9
DEFC _CpyTo2FPS5 =	$43DB
DEFC _CpyTo2FPS6 =	$43E1
DEFC _CpyTo2FPS7 =	$43E7
DEFC _CpyTo2FPS8 =	$43F0
DEFC _CpyTo2FPST =	$4420
DEFC _CpyTo3FPS1 =	$442C
DEFC _CpyTo3FPS2 =	$4411
DEFC _CpyTo3FPST =	$441D
DEFC _CpyTo4FPST =	$441A
DEFC _CpyTo5FPST =	$4414
DEFC _CpyTo6FPS2 =	$43FF
DEFC _CpyTo6FPS3 =	$43FC
DEFC _CpyTo6FPST =	$4417
DEFC _CpyToFPS1 =	$445F
DEFC _CpyToFPS2 =	$446E
DEFC _CpyToFPS3 =	$447A
DEFC _CpyToFPST =	$444D
DEFC _CpyToStack =	$4450
DEFC _Create0Equ =	$432A
DEFC _CreateAppVar =	$4E6A
DEFC _CreateCList =	$431B
DEFC _CreateCplx =	$430C
DEFC _CreateEqu =	$4330
DEFC _CreatePair =	$4B0D
DEFC _CreatePict =	$4333
DEFC _CreateProg =	$4339
DEFC _CreateProtProg =	$4E6D
DEFC NewProg =		$4E6D
DEFC _CreateReal =	$430F
DEFC _CreateRList =	$4315
DEFC _CreateRMat =	$4321
DEFC _CreateStrng =	$4327
DEFC _CRecip =		$4E91
DEFC _CSqRoot =	$4E9D
DEFC _CSquare =	$4E8B
DEFC _CSub =		$4E85
DEFC _CTenX =		$4EA6
DEFC _CTrunc =		$4EBE
DEFC _Cube =		$407B
DEFC _CursorOff =	$45BE
DEFC _CursorOn =	$45C4
DEFC _CXrootY =	$4EAC
DEFC _CYtoX =		$4EB2

DEFC _DarkLine =	$47DD
DEFC _DarkPnt =	$47F2
DEFC _DataSize =	$436C
DEFC _DataSizeA =	$4369
DEFC _DeallocFPS =	$439F
DEFC _DeallocFPS1 =	$43A2
DEFC _DecO1Exp =	$4267
DEFC _DelListEl =	$4A2F
DEFC DeleteMem =	$4357
DEFC _DelRes =		$4A20
DEFC _DelVar =		$4351
DEFC _DelVarArc =	$4FC6
DEFC _DelVarNoArc =	$4FC9
DEFC _DisableApd =	$4C84
DEFC _Disp =		$4F45
DEFC _DispDone =	$45B5
DEFC _DispEOL =	$45A6
DEFC _DispHL =		$4507
DEFC _DisplayImage =	$4D9B
DEFC _DispOP1A =	$4BF7
DEFC _DivHLBy10 =	$400F
DEFC _DivHLByA =	$4012
DEFC _DrawCirc2 =	$4C66
DEFC _DrawCmd =	$48C1
DEFC _DrawRectBorder =	$4D7D
DEFC _DrawRectBorderClear =	$4D8C
DEFC _DToR =		$4075

DEFC _EditProg =	$4A32
DEFC _EnableApd =	$4C87
DEFC _EnoughMem =	$42FD
DEFC _EOP1NotReal =	$4279
DEFC _Equ_or_NewEqu =	$42C4
DEFC _EraseEOL =	$4552
DEFC _EraseRectBorder =	$4D86
DEFC _ErrArgument =	$44AD
DEFC _ErrBadGuess =	$44CB
DEFC _ErrBreak =	$44BF
DEFC _ErrD_OP1_0 =	$42D3
DEFC _ErrD_OP1_LE_0 =	$42D0
DEFC _ErrD_OP1Not_R =	$42CA
DEFC _ErrD_OP1NotPos =	$42C7
DEFC _ErrD_OP1NotPosInt =	$42CD


DEFC _ErrDataType =	$44AA
DEFC _ErrDimension =	$44B3
DEFC _ErrDimMismatch =	$44B0
DEFC _ErrDivBy0 =	$4498
DEFC _ErrDomain =	$449E
DEFC _ErrIncrement =	$44A1
DEFC _ErrInvalid =	$44BC
DEFC _ErrIterations =	$44C8
DEFC _ErrLinkXmit =	$44D4
DEFC _ErrMemory =	$44B9
DEFC _ErrNon_Real =	$44A4
DEFC _ErrNonReal =	$4A8C
DEFC _ErrNotEnoughMem =	$448C
DEFC _ErrOverflow =	$4495
DEFC _ErrSignChange =	$44C5
DEFC _ErrSingularMat =	$449B
DEFC _ErrStat =	$44C2
DEFC _ErrStatPlot =	$44D1
DEFC _ErrSyntax =	$44A7
DEFC _ErrTolTooSmall =	$44CE
DEFC _ErrUndefined =	$44B6
DEFC _EToX =		$40B4
DEFC _Exch9 =		$43D5
DEFC _ExLp =		$4222
DEFC _ExpToHex =	$424F

DEFC _Factorial =	$4B85
DEFC _FillRect =	$4D62
DEFC _FillRectPattern =	$4D89
DEFC _Find_Parse_Formula =	$4AF2
DEFC _FindAlphaDn =	$4A47
DEFC _FindAlphaUp =	$4A44
DEFC _FindApp =		$4C4E
DEFC _FindAppDn =		$4C4B
DEFC _FindAppNumPages =	$509B
DEFC _FindAppUp =		$4C48
DEFC _FindSym =	$42F4
DEFC _FiveExec =	$467E
DEFC _FixTempCnt =	$4A3B
DEFC _FlashToRam =	$5017
DEFC _ForceFullScreen =	$508F
DEFC _FormBase =	$50AA
DEFC _FormDCplx =	$4996
DEFC _FormEReal =	$4990
DEFC _FormReal =	$4999
DEFC _FourExec =	$467B
DEFC _FPAdd =		$4072
DEFC _FPDiv =		$4099
DEFC _FPMult =		$4084
DEFC _FPRecip =	$4096
DEFC _FPSquare =	$4081
DEFC _FPSub =		$406F
DEFC _Frac =		$4093

DEFC _GetBaseVer =	$4C6F
DEFC _GetCSC =		$4018
DEFC _GetKey =		$4972
DEFC _GetLToOP1 =	$4636
DEFC _GetMToOP1 =	$4615
DEFC _GetTokLen =	$4591
DEFC _GrBufClr =	$4BD0
DEFC ClearPlots =	_GrBufClr
DEFC _GrBufCpy =	$486A
DEFC _GrphCirc =	$47D7

DEFC _HLTimes9 =	$40F9
DEFC _HorizCmd =	$48A6
DEFC _HTimesL =	$4276

DEFC _IBounds =	$4C60
DEFC _IBoundsFull =	$4D98
DEFC _ILine =		$47E0
DEFC _IncLstSize =	$4A29
DEFC _InsertList =	$4A2C
DEFC InsertMem =	$42F7
DEFC _Int =		$40A5
DEFC _Intgr =		$405D
DEFC _InvCmd =		$48C7
DEFC _InvertRect =	$4D5F
DEFC _InvOP1S =	$408D
DEFC _InvOP1SC =	$408A
DEFC _InvOP2S =	$4090
DEFC _InvSub =		$4063
DEFC _IOffset =	$4C63
DEFC _IPoint =		$47E3

DEFC _JError =		$44D7
DEFC _JErrorNo =	$4000
DEFC _JForceCmdNoChar =	$4027
DEFC _JForceGraphKey =	$5005
DEFC _JForceGraphNoKey =	$5002

DEFC _KeyToString =	$45CA

DEFC _LineCmd =	$48AC
DEFC _LnX =		$40AB
DEFC _Load_SFont =	$4783
DEFC _LoadCIndPaged =	$501D
DEFC _LoadDEIndPaged =	$501A
DEFC _LoadPattern =	$4CB1
DEFC _LogX =		$40AE

DEFC _Max =		$4057
DEFC	MemFree =		$42E5
DEFC _MemClear =	$4C30
DEFC _MemSet =		$4C33
DEFC _Min =		$4054
DEFC _Minus1 =		$406C
DEFC _Mov10B =		$415C
DEFC _Mov18B =		$47DA
DEFC _Mov7B =		$4168
DEFC _Mov8B =		$4165
DEFC _Mov9B =		$415F
DEFC _Mov9OP1OP2 =	$417D
DEFC _Mov9OP2Cp =	$410B
DEFC _Mov9ToOP1 =	$417A
DEFC _Mov9ToOP2 =	$4180
DEFC _MovFrOP1 =	$4183

DEFC _OneVar =		$4BA3
DEFC _OP1ExOP2 =	$421F
DEFC _OP1ExOP3 =	$4219
DEFC _OP1ExOP4 =	$421C
DEFC _OP1ExOP5 =	$420D
DEFC _OP1ExOP6 =	$4210
DEFC _OP1ExpToDec =	$4252
DEFC _OP1Set0 =	$41BF
DEFC _OP1Set1 =	$419B
DEFC _OP1Set2 =	$41A7
DEFC _OP1Set3 =	$41A1
DEFC _OP1Set4 =	$419E
DEFC _OP1ToOP2 =	$412F
DEFC _OP1ToOP3 =	$4123
DEFC _OP1ToOP4 =	$4117
DEFC _OP1ToOP5 =	$4153
DEFC _OP1ToOP6 =	$4150
DEFC _OP2ExOP4 =	$4213
DEFC _OP2ExOP5 =	$4216
DEFC _OP2ExOP6 =	$4207
DEFC _OP2Set0 =	$41BC
DEFC _OP2Set1 =	$41AD
DEFC _OP2Set2 =	$41AA
DEFC _OP2Set3 =	$4198
DEFC _OP2Set4 =	$4195
DEFC _OP2Set5 =	$418F
DEFC _OP2Set60 =	$4AB0
DEFC _OP2Set8 =	$418C
DEFC _OP2SetA =	$4192
DEFC _OP2ToOP1 =	$4156
DEFC _OP2ToOP3 =	$416E
DEFC _OP2ToOP4 =	$411A
DEFC _OP2ToOP5 =	$414A
DEFC _OP2ToOP6 =	$414D
DEFC _OP3Set0 =	$41B9
DEFC _OP3Set1 =	$4189
DEFC _OP3Set2 =	$41A4
DEFC _OP3ToOP1 =	$413E
DEFC _OP3ToOP2 =	$4120
DEFC _OP3ToOP4 =	$4114
DEFC _OP3ToOP5 =	$4147
DEFC _OP4Set0 =	$41B6
DEFC _OP4Set1 =	$4186
DEFC _OP4ToOP1 =	$4138
DEFC _OP4ToOP2 =	$411D
DEFC _OP4ToOP3 =	$4171
DEFC _OP4ToOP5 =	$4144
DEFC _OP4ToOP6 =	$4177
DEFC _OP5ExOP6 =	$420A
DEFC _OP5Set0 =	$41B3
DEFC _OP5ToOP1 =	$413B
DEFC _OP5ToOP2 =	$4126
DEFC _OP5ToOP3 =	$4174
DEFC _OP5ToOP4 =	$412C
DEFC _OP5ToOP6 =	$4129
DEFC _OP6ToOP1 =	$4135
DEFC _OP6ToOP2 =	$4132
DEFC _OP6ToOP5 =	$4141
DEFC _OutputExpr =	$4BB2

DEFC _PagedGet =	$5023
DEFC _ParseInp =	$4A9B
DEFC _PDspGrph =	$48A3
DEFC _PixelTest =	$48B5
DEFC _Plus1 =		$4069
DEFC _PointCmd =	$48B2
DEFC _PointOn =	$4C39
DEFC _PopOP1 =		$437E
DEFC _PopOP3 =		$437B
DEFC _PopOP5 =		$4378
DEFC _PopReal =	$4393
DEFC _PopRealO1 =	$4390
DEFC _PopRealO2 =	$438D
DEFC _PopRealO3 =	$438A
DEFC _PopRealO4 =	$4387
DEFC _PopRealO5 =	$4384
DEFC _PopRealO6 =	$4381
DEFC _PosNo0Int =	$422E
DEFC _PtoR =		$40F3
DEFC _PushOP1 =	$43C9
DEFC _PushOP3 =	$43C3
DEFC _PushOP5 =	$43C0
DEFC _PushReal =	$43BD
DEFC _PushRealO1 =	$43BA
DEFC _PushRealO2 =	$43B7
DEFC _PushRealO3 =	$43B4
DEFC _PushRealO4 =	$43B1
DEFC _PushRealO5 =	$43AE
DEFC _PushRealO6 =	$43AB
DEFC _PutC =		$4504
DEFC _PutMap =		$4501
DEFC _PutPS =		$4510
DEFC _PutS =		$450A
DEFC _PutTokString =	$4960
DEFC _PutToL =		$4645
DEFC _PutToMat =	$461E

DEFC _RandInit =	$4B7F
DEFC _Random =		$4B79
DEFC _Rcl_StatVar =	$42DC
DEFC _RclAns =		$4AD7
DEFC _RclGDB2 =	$47D1
DEFC _RclN =		$4ADD
DEFC _RclSysTok =	$4AE6
DEFC _RclVarSym =	$4AE3
DEFC _RclX =		$4AE0
DEFC _RclY =		$4ADA
DEFC _Rec1stByte =	$4EFA
DEFC _Rec1stByteNC =	$4EFD
DEFC _RecAByteIO =	$4F03
DEFC _RedimMat =	$4A26
DEFC _Regraph =	$488E
DEFC _ReloadAppEntryVecs =	$4C36
DEFC _RestoreDisp =	$4870
DEFC _RName =		$427F
DEFC _RndGuard =	$409F
DEFC _RnFx =		$40A2
DEFC _Round =		$40A8
DEFC _RToD =		$4078
DEFC _RToP =		$40F6
DEFC _RunIndicOff =	$4570
DEFC _RunIndicOn =	$456D

DEFC _SaveDisp =	$4C7B
DEFC _SendAByte =	$4EE5
DEFC _SetAllPlots =	$4FCC
DEFC _SetFuncM =	$4840
DEFC _SetNorm_Vals =	$49FC
DEFC _SetParM =	$4849
DEFC _SetPolM =	$4846
DEFC _SetSeqM =	$4843
DEFC _SetTblGraphDraw =	$4C00
DEFC _SetupPagedPtr =	$5020
DEFC _SetXXOP1 =	$478C
DEFC _SetXXOP2 =	$478F
DEFC _SetXXXXOP2 =	$4792
DEFC _SFont_Len =	$4786
DEFC _Sin =		$40BD
DEFC _SinCosRad =	$40BA
DEFC _SinH =		$40CF
DEFC _SinHCosH =	$40C6
DEFC _SqRoot =		$409C
DEFC _SrchVLstDn =	$4F12
DEFC _SrchVLstUp =	$4F0F
DEFC _SStringLength =	$4CB4
DEFC _StMatEl =	$4AE9
DEFC _StoAns =		$4ABF
DEFC _StoGDB2 =	$47CE
DEFC _StoN =		$4ACB
DEFC _StoOther =	$4AD4
DEFC _StoR =		$4AC5
DEFC _StoRand =	$4B7C
DEFC _StoSysTok =	$4ABC
DEFC _StoT =		$4ACE
DEFC _StoTheta =	$4AC2
DEFC _StoX =		$4AD1
DEFC _StoY =		$4AC8
DEFC _StrCopy =	$44E3
DEFC _StrLength =	$4C3F   

DEFC _Tan =		$40C3
DEFC _TanH =		$40C9
DEFC _TanLnF =		$48BB
DEFC _TenX =		$40B7
DEFC _ThetaName =	$427C
DEFC _ThreeExec =	$4675
DEFC _Times2 =		$4066
DEFC _TimesPt5 =	$407E
DEFC _TName =		$428E
DEFC _ToFrac =		$4657
DEFC _Trunc =		$4060

DEFC _UCLineS =	$4795
DEFC _UnLineCmd =	$48AF
DEFC _UnOPExec =	$4672

DEFC _VertCmd =	$48A9
DEFC _VPutMap =	$455E
DEFC _VPutS =		$4561
DEFC _VPutSN =		$4564
DEFC _VtoWHLDE =	$47FB


DEFC _XftoI =		$4804
DEFC _Xitof =		$47FE
DEFC _XName =		$4288
DEFC _XRootY =		$479E

DEFC _YftoI =		$4801
DEFC _YName =		$428B
DEFC _YToX =		$47A1

DEFC _Zero16D =	$41B0
DEFC _ZeroOP =		$41CE
DEFC _ZeroOP1 =	$41C5
DEFC _ZeroOP2 =	$41C8
DEFC _ZeroOP3 =	$41CB
DEFC _ZmDecml =	$484F
DEFC _ZmFit =		$485B
DEFC _ZmInt =		$484C
DEFC _ZmPrev =		$4852
DEFC _ZmSquare =	$485E
DEFC _ZmStats =	$47A4
DEFC _ZmTrig =		$4861
DEFC _ZmUsr =		$4855
DEFC _ZooDefault =	$4867
;
;======================================================================
;           System-defined RAM Variable Address Equates
;======================================================================
;

DEFC  ramStart =             $8000
DEFC  appData =              $8000
DEFC  ramCode =              $8100
DEFC  ramCodeEnd =           $822F
DEFC  baseAppBrTab =         $8230
DEFC  bootTemp =             $8251
DEFC  appSearchPage =        $82A3
DEFC  tempSwapArea =         $82A5
DEFC  appID =                $838D
DEFC  ramReturnData =        $83ED
DEFC  arcInfo =              $83EE
DEFC  savedArcInfo =         $8406
DEFC  appInfo =              $8432
DEFC  appBank_jump =         $843C
DEFC  appPage =              $843E
DEFC  kbdScanCode =          $843F
DEFC  kbdKey =               $8444
DEFC  kbdGetKy =             $8445
DEFC  keyExtend =            $8446
DEFC  contrast =             $8447
DEFC  apdSubTimer =          $8448
DEFC  apdTimer =             $8449
DEFC  curTime =              $844A
DEFC  curRow =               $844B
DEFC  curCol =               $844C
DEFC  curOffset =            $844D
DEFC  curUnder =             $844E
DEFC  curY =                 $844F
DEFC  curType =              $8450
DEFC  curXRow =              $8451
DEFC  prevDData =            $8452
DEFC  lFont_record =         $845A
DEFC  sFont_record =         $8462
DEFC  tokVarPtr =            $846A
DEFC  tokLen =               $846C
DEFC  indicMem =             $846E
DEFC  indicCounter =         $8476
DEFC  indicBusy =            $8477
DEFC  OP1 =                  $8478
DEFC  OP1M =                 $847A
DEFC  OP2 =                  $8483
DEFC  OP2M =                 $8485
DEFC  OP2EXT =               $848C
DEFC  OP3 =                  $848E
DEFC  OP3M =                 $8490
DEFC  OP4 =                  $8499
DEFC  OP4M =                 $849B
DEFC  OP5 =                  $84A4
DEFC  OP5M =                 $84A6
DEFC  OP6 =                  $84AF
DEFC  OP6M =                 $84B1
DEFC  OP6EXT =               $84B8
DEFC  progToEdit =           $84BF
DEFC  nameBuff =             $84C7
DEFC  equ_edit_save =        $84D2
DEFC  iMathPtr1 =            $84D3
DEFC  iMathPtr2 =            $84D5
DEFC  iMathPtr3 =            $84D7
DEFC  iMathPtr4 =            $84D9
DEFC  iMathPtr5 =            $84DB
DEFC  chkDelPtr1 =           $84DD
DEFC  chkDelPtr2 =           $84DF
DEFC  insDelPtr =            $84E1
DEFC  upDownPtr =            $84E3
DEFC  fOutDat =              $84E5
DEFC  asm_data_ptr1 =        $84EB
DEFC  asm_data_ptr2 =        $84ED
DEFC  asm_sym_ptr1 =         $84EF
DEFC  asm_sym_ptr2 =         $84F1
DEFC  asm_ram =              $84F3
DEFC  asm_ind_call =         $8507
DEFC  textShadow =           $8508
DEFC  textShadCur =          $8588
DEFC  textShadTop =          $858A
DEFC  textShadAlph =         $858B
DEFC  textShadIns =          $858C
DEFC  cxMain =               $858D
DEFC  cxPPutAway =           $858F
DEFC  cxPutAway =            $8591
DEFC  cxRedisp =             $8593
DEFC  cxErrorEP =            $8595
DEFC  cxSizeWind =           $8597
DEFC  cxPage =               $8599
DEFC  cxCurApp =             $859A
DEFC  cxPrev =               $859B
DEFC  monQH =                $85AA
DEFC  monQT =                $85AB
DEFC  monQueue =             $85AC
DEFC  onSP =                 $85BC
DEFC  promptRow =            $85C0
DEFC  promptCol =            $85C1
DEFC  promptIns =            $85C2
DEFC  promptShift =          $85C3
DEFC  promptRet =            $85C4
DEFC  promptValid =          $85C6
DEFC  promptTop =            $85C8
DEFC  promptCursor =         $85CA
DEFC  promptTail =           $85CC
DEFC  promptBtm =            $85CE
DEFC  varType =              $85D0
DEFC  varCurrent =           $85D1
DEFC  varClass =             $85D9
DEFC  menuActive =           $85DC
DEFC  menuAppDepth =         $85DD
DEFC  MenuCurrent =          $85DE
DEFC  ProgCurrent =          $85E8
DEFC  userMenuSA =           $85FE
DEFC  ioPrompt =             $865F
DEFC  dImageWidth =          $8660
DEFC  ioFlag =               $8670
DEFC  sndRecState =          $8672
DEFC  ioErrState =           $8673
DEFC  header =               $8674
DEFC  ioData =               $867D
DEFC  ioNewData =            $8689
DEFC  bakHeader =            $868B
DEFC  penCol =               $86D7
DEFC  penRow =               $86D8
DEFC  rclQueue =             $86D9
DEFC  rclQueueEnd =          $86DB
DEFC  errNo =                $86DD
DEFC  errSP =                $86DE
DEFC  errOffset =            $86E0
DEFC  saveScreen =           $86EC
DEFC  bstCounter =           $89EE
DEFC  flags =                $89F0
DEFC  statVars =             $8A3A
DEFC  anovaf_vars =          $8C17
DEFC  infVars =              $8C4D
DEFC  curGStyle =            $8D17
DEFC  curGY =                $8D18
DEFC  curGX =                $8D19
DEFC  curGY2 =               $8D1A
DEFC  curGX2 =               $8D1B
DEFC  freeSaveY =            $8D1C
DEFC  freeSaveX =            $8D1D
DEFC  XOffset =              $8DA1
DEFC  YOffset =              $8DA2
DEFC  lcdTallP =             $8DA3
DEFC  pixWideP =             $8DA4
DEFC  pixWide_m_1 =          $8DA5
DEFC  pixWide_m_2 =          $8DA6
DEFC  lastEntryPTR =         $8DA7
DEFC  lastEntryStk =         $8DA9
DEFC  numLastEntries =       $8E29
DEFC  currLastEntry =        $8E2A
DEFC  curInc =               $8E67
DEFC  uXmin =                $8E7E
DEFC  uXmax =                $8E87
DEFC  uXscl =                $8E90
DEFC  uYmin =                $8E99
DEFC  uYmax =                $8EA2
DEFC  uYscl =                $8EAB
DEFC  uThetMin =             $8EB4
DEFC  uThetMax =             $8EBD
DEFC  uThetStep =            $8EC6
DEFC  uTmin =                $8ECF
DEFC  uTmax =                $8ED8
DEFC  uTStep =               $8EE1
DEFC  uPlotStart =           $8EEA
DEFC  unMax =                $8EF3
DEFC  uu0 =                  $8EFC
DEFC  uv0 =                  $8F05
DEFC  unMin =                $8F0E
DEFC  uu02 =                 $8F17
DEFC  uv02 =                 $8F20
DEFC  uw0 =                  $8F29
DEFC  uPlotStep =            $8F32
DEFC  uXres =                $8F3B
DEFC  uw02 =                 $8F44
DEFC  Xmin =                 $8F50
DEFC  Xmax =                 $8F59
DEFC  Xscl =                 $8F62
DEFC  Ymin =                 $8F6B
DEFC  Ymax =                 $8F74
DEFC  Yscl =                 $8F7D
DEFC  ThetaMin =             $8F86
DEFC  ThetaMax =             $8F8F
DEFC  ThetaStep =            $8F98
DEFC  TminPar =              $8FA1
DEFC  TmaxPar =              $8FAA
DEFC  Tstep =                $8FB3
DEFC  PlotStart =            $8FBC
DEFC  nMax =                 $8FC5
DEFC  u0 =                   $8FCE
DEFC  v0 =                   $8FD7
DEFC  nMin =                 $8FE0
DEFC  u02 =                  $8FE9
DEFC  v02 =                  $8FF2
DEFC  w0 =                   $8FFB
DEFC  PlotStep =             $9004
DEFC  XresO =                $900D
DEFC  w02 =                  $9016
DEFC  un1 =                  $901F
DEFC  un2 =                  $9028
DEFC  vn1 =                  $9031
DEFC  vn2 =                  $903A
DEFC  wn1 =                  $9043
DEFC  wn2 =                  $904C
DEFC  fin_N =                $9055
DEFC  fin_I =                $905E
DEFC  fin_PV =               $9067
DEFC  fin_PMT =              $9070
DEFC  fin_FV =               $9079
DEFC  fin_PY =               $9082
DEFC  fin_CY =               $908B
DEFC  cal_N =                $9094
DEFC  cal_I =                $909D
DEFC  cal_PV =               $90A6
DEFC  cal_PMT =              $90AF
DEFC  cal_FV =               $90B8
DEFC  cal_PY =               $90C1
DEFC  smallEditRAM =         $90D3
DEFC  XFact =                $913F
DEFC  YFact =                $9148
DEFC  Xres_int =             $9151
DEFC  deltaX =               $9152
DEFC  deltaY =               $915B
DEFC  shortX =               $9164
DEFC  shortY =               $916D
DEFC  lower =                $9176
DEFC  upper =                $917F
DEFC  XOutSym =              $918C
DEFC  XOutDat =              $918E
DEFC  YOutSym =              $9190
DEFC  YOutDat =              $9192
DEFC  inputSym =             $9194
DEFC  inputDat =             $9196
DEFC  prevData =             $9198
DEFC  TblMin =               $92B3
DEFC  TblStep =              $92BC
DEFC  plotScreen =          $9340
DEFC  seed1 =                $9640
DEFC  seed2 =                $9649
DEFC  cmdShadow =            $966E
DEFC  cmdShadCur =           $96EE
DEFC  cmdShadAlph =          $96F0
DEFC  cmdShadIns =           $96F1
DEFC  cmdCursor =            $96F2
DEFC  editTop =              $96F4
DEFC  editCursor =           $96F6
DEFC  editTail =             $96F8
DEFC  editBtm =              $96FA
DEFC  editSym =              $9706
DEFC  editDat =              $9708
DEFC  winTop =               $97A5
DEFC  winBtm =               $97A6
DEFC  winLeftEdge =          $97A7
DEFC  winLeft =              $97A8
DEFC  winAbove =             $97AA
DEFC  winRow =               $97AC
DEFC  winCol =               $97AE
DEFC  fmtDigits =            $97B0
DEFC  fmtString =            $97B1
DEFC  fmtConv =              $97F2
DEFC  fmtLeft =              $9804
DEFC  fmtIndex =             $9806
DEFC  fmtMatSym =            $9808
DEFC  fmtMatMem =            $980A
DEFC  EQS =                  $980C
DEFC  tSymPtr1 =             $9818
DEFC  tSymPtr2 =             $981A
DEFC  chkDelPtr3 =           $981C
DEFC  chkDelPtr4 =           $981E
DEFC  tempMem =              $9820
DEFC  fpBase =               $9822
DEFC  FPS =                  $9824
DEFC  OPBase =               $9826
DEFC  OPS =                  $9828
DEFC  pTempCnt =             $982A
DEFC  cleanTmp =             $982C
DEFC  pTemp =                $982E
DEFC  progPtr =              $9830
DEFC  newDataPtr =           $9832
DEFC  pagedCount =           $9834
DEFC  pagedPN =              $9835
DEFC  pagedGetPtr =          $9836
DEFC  pagedPutPtr =          $9838
DEFC  pagedBuf =             $983A
DEFC  appErr1 =              $984D
DEFC  appErr2 =              $985A
DEFC  flashByte1 =           $9867
DEFC  flashByte2 =           $9868
DEFC  freeArcBlock =         $9869
DEFC  arcPage =              $986B
DEFC  arcPtr =               $986C
DEFC  appRawKeyHandle =      $9870
DEFC  appBackUpScreen =      $9872
DEFC  customHeight =         $9B72
DEFC  localLanguage =        $9B73
DEFC  cursorHookPtr =        $9B7C
DEFC  rawKeyHookPtr =        $9B84
DEFC  getKeyHookPtr =        $9B88
DEFC  fontHookPtr =          $9B9C
DEFC  restartClr =           $9BD0
DEFC  localTokStr =          $9D65
DEFC  keyForStr =            $9D76
DEFC  keyToStrRam =          $9D77
DEFC  sedMonSp =             $9D88
DEFC  bpSave =               $9D8A
DEFC  userMem =              $9D95
DEFC  symTable =             $FE66

;SYMBOLIC_DEBUG_END
;
;======================================================================
;           Error handler equates/macros 
;======================================================================
;

;#Define		OnError(xxxx)	LD	HL, xxxx	\	CALL	APP_PUSH_ERRORH
;#Define		OffError	CALL	APP_POP_ERRORH
; Syntax Enhancers

DEFC	APP_PUSH_ERRORH = $59
DEFC	APP_POP_ERRORH =	$5C
;

;======================================================================
;           System and State Flags
;======================================================================
;

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

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

DEFC  doneFlags =	0		;display "Done"
DEFC    donePrgm =	5	; 1=display "Done" after prgm

DEFC  ioDelFlag =	0
DEFC    inDelete =	0	;1 = DELETE SCREEN 

;----------------------------------------------------------------------
DEFC  editFlags =	1
DEFC    editOpen =	2	; 1=edit buffer is open

DEFC  monFlags =	1		;monitor flags
DEFC    monAbandon =	4	; 1=don't start any long process
				; in put away (#715)
;----------------------------------------------------------------------
DEFC  plotFlags =	2		;plot generation flags
DEFC    plotLoc = 	1	; 0=bkup & display, 1=display only
DEFC    plotDisp =	2	; 1=plot is in display, 0=text in display


DEFC  grfModeFlags =	2		;graph mode settings
DEFC    grfFuncM =	4	; 1=function graph
DEFC    grfPolarM =	5	; 1=polar graph
DEFC    grfParamM =	6	; 1=parametric graph
DEFC    grfRecurM =       7        ; 1=RECURSION graph

DEFC  graphFlags =	3
DEFC    graphDraw =	0	; 0=graph is valid, 1=redraw graph

DEFC  grfDBFlags =	4
DEFC    grfDot =		0	; 0=line, 1=dot
DEFC    grfSimul =	1	; 0=sequential, 1=simultaneous
DEFC    grfGrid = 	2	; 0=no grid, 1=grid
DEFC    grfPolar =	3	; 0=rectangular, 1=polar coordinates
DEFC    grfNoCoord =	4	; 0=display coordinates, 1=off
DEFC    grfNoAxis =	5	; 0=axis, 1=no axis
DEFC    grfLabel =	6	; 0=off, 1=axis label

DEFC  textFlags =	5		;Text output flags
DEFC    textEraseBelow =	1	; 1=erase line below small char
DEFC    textScrolled =	2	; 1=screen scrolled
DEFC    textInverse =	3	; 1=display inverse bit-map
DEFC    textInsMode =	4	; 0=overstrike, 1=insert mode

DEFC  ParsFlag2 =	7		;PARSER flags
DEFC    numOP1 =		0	; 1=RESULT IN OP1, 0=NO RESULT

DEFC  newDispF =        8		;Derivative mode flags
DEFC    preClrForMode =   0	; 1=HELP BLINK ON MODE SCREEN

DEFC  apdFlags =	8		;Automatic power-down
DEFC    apdAble = 	2	; 1=APD enabled
DEFC    apdRunning =	3	; 1=APD clock running


DEFC  web_err_mask =    $60

DEFC  onFlags = 	9		;on key flags
DEFC    onInterrupt =	4	; 1=on key interrupt request

DEFC  statFlags =	9		;statistics flags
DEFC    statsValid =	6	; 1=stats are valid

DEFC  fmtFlags =	10		;numeric format flags
DEFC    fmtExponent =	0	; 1=show exponent, 0=no exponent
DEFC    fmtEng =		1	; 1=engineering notion, 0=scientific
DEFC    fmtHex =		2	; 1=hexadecimal
DEFC    fmtOct =		3	; 1=octal
DEFC    fmtBin =		4	; 1=binary
;
DEFC  numMode =         10
DEFC    fmtReal =         5
DEFC    fmtRect =         6
DEFC    fmtPolar =        7

DEFC    realMode =        5
DEFC    rectMode =        6
DEFC    polarMode =       7
;					;   if Hex and Oct both = 1
;					;   then Bin=0 means >Frac
;					;	 Bin=1 means >DMS
DEFC  fmtBaseMask =     @00011100		; mask to base flags
DEFC  fmtBaseShift =    2			; offset to base flags
;
;       CHECK IF THESE ARE USED BY NUMFORM,
;
;               EQU  6
;               EQU  7

DEFC  fmtOverride =	11		;copy of fmtFlags with conversion override

DEFC  fmtEditFlags =	12		;numeric editing flags
DEFC    fmtEdit = 	0	; 1=format number for editing

DEFC  curFlags =	12		;Cursor
DEFC    curAble = 	2	; 1=cursor flash is enabled
DEFC    curOn =		3	; 1=cursor is showing
DEFC    curLock = 	4	; 1=cursor is locked off

DEFC  appFlags =	13		;application flags
DEFC    appWantIntrpt =	0		; 1=want ON key interrupts
DEFC    appTextSave =	1		; 1=save characters in textShadow
DEFC    appAutoScroll =	2		; 1=auto-scroll text on last line
DEFC    appMenus =	3		; 1=process keys that bring up menus
					; 0=check Lock menu flag
DEFC    appLockMenus =	4		; 1=ignore menu keys
					; 0=switch to home screen and bring up menu
DEFC    appCurGraphic =	5		; 1=graphic cursor
DEFC    appCurWord =	6		; 1=text cursor covers entire word
DEFC    appExit = 	7		; 1=application handles [EXIT] key itself

;DEFC	appWantIntrptF =	1<<appWantIntrpt
;DEFC	appTextSaveF =	1<<appTextSave
;DEFC	appAutoScrollF =	1<<appAutoScroll
;DEFC	appMenusF =	1<<appMenus
;DEFC	appLockMenusF =	1<<appLockMenus
;DEFC	appCurGraphicF =	1<<appCurGraphic
;DEFC	appCurWordF =	1<<appCurWord
;DEFC	appExitF =	1<<appExit


DEFC  seqFlags =        15              ; Sequential Graph flags
DEFC    webMode =         0             ; 0 = NORMAL SEQ MODE, 1 = WEB MODE
DEFC    webVert =         1             ;
DEFC    sequv =           2             ; U vs V
DEFC    seqvw =           3             ; V vs W
DEFC    sequw =           4             ; U vs W


DEFC  promptFlags =	17		;prompt line flags
DEFC    promptEdit =	0	; 1=editing in prompt buffer

DEFC  indicFlags =	18		;Indicator flags
DEFC    indicRun =	0	; 1=run indicator ON
DEFC    indicInUse =	1	; indicator save area in use=1, free=0
DEFC    indicOnly =	2	; interrupt handler only checks run indicator

DEFC  shiftFlags =	18		;[2nd] and [ALPHA] flags
DEFC    shift2nd =	3	; 1=[2nd] has been pressed
DEFC    shiftAlpha =	4	; 1=[ALPHA] has been pressed
DEFC    shiftLwrAlph =	5	; 1=lower case, 0=upper case
DEFC    shiftALock =	6	; 1=alpha lock has been pressed
DEFC    shiftKeepAlph =	7	; 1=cannot cancel alpha shift


DEFC  tblFlags =        19		;table flags.
DEFC    autoFill =        4	; 1=prompt, 0=fillAuto
DEFC    autoCalc =        5	; 1=prompt, 0=CalcAuto
DEFC    reTable =         6	; 0=table is ok, 1=must recompute table.

DEFC  sGrFlags =	20
DEFC    grfSplit =        0	; 1=Split Graph, 0=Normal
DEFC    vertSplit =       1	; 1=Vertical (left-right) Split
DEFC    grfSChanged =     2	; 1=Graph just changed Split <-> normal
DEFC   grfSplitOverride = 3	; 1 = ignore graph split flag if set
DEFC    write_on_graph =  4	; 1 = TEXT OR EQU WRITING TO GRAPH SCREEN
DEFC    g_style_active =  5	; 1 = GRAPH STYLES ARE ENABLED, USE THEM
DEFC    cmp_mod_box =     6	; 1 = DOING MOD BOX PLOT COMPUTATION
DEFC    textWrite =       7
;

DEFC  newIndicFlags =   21
DEFC    extraIndic =      0
DEFC    saIndic =         1

DEFC  smartFlags =      23
;
;----------------------------------------------------------------------
; Note: Fix these Equates if smartFlags are moved                            
;----------------------------------------------------------------------
;
DEFC  smarter_mask =    3
DEFC  smarter_test =    1
DEFC  smartGraph =      0
DEFC  smartGraph_inv =  1                                                 

;----------------------------------------------------------------------
;           Available for ASM programming
;----------------------------------------------------------------------

DEFC  asm_Flag1 =       33          ; ASM CODING
DEFC  asm_Flag2 =       34          ; ASM CODING
DEFC  asm_Flag3 =       35          ; ASM CODING

;----------------------------------------------------------------------
;
DEFC  getSendFlg =	36
DEFC  comFailed =	1	      ; 1 = Get/Send Communication Failed
;
DEFC  appLwrCaseFlag =  36
DEFC  lwrCaseActive =   3
;
DEFC  apiFlg3 =		42 
;
DEFC  apiFlg4 =		43
DEFC    fullScrnDraw =	2	; DRAW INTO LAST ROW/COL OF SCREEN

DEFC  groupFlags =	38
DEFC  inGroup =		1		;1 = IN GROUP CONTEXT


DEFC  xapFlag0 =        46      ; external app flags
DEFC  xapFlag1 =        47
DEFC  xapFlag2 =        48
DEFC  xapFlag3 =        49

DEFC  fontFlags =	50
DEFC    fracDrawLFont =	2
DEFC    fracTallLFont =	3
DEFC    customFont =	7  

DEFC  plotFlag3 =	60  
DEFC    bufferOnly =	0
DEFC    useFastCirc =	4

;
DEFC  varTypeMask =	$1F
DEFC    varGraphRef =	6

;
;======================================================================
;           Character Font equates  
;======================================================================
;
DEFC     LrecurN =         $01
DEFC	LrecurU = 	$02
DEFC	LrecurV = 	$03
DEFC	LrecurW =		$04
DEFC	Lconvert =	$05
DEFC	LsqUp =		$06
DEFC	LsqDown =		$07
DEFC	Lintegral =	$08
DEFC	Lcross =		$09
DEFC     LboxIcon = 	$0A
DEFC     LcrossIcon = 	$0B
DEFC     LdotIcon = 	$0C
DEFC     LsubT =   	$0D		;small capital T for parametric mode.
DEFC     LcubeR =  	$0E		;slightly different 3 for cubed root.
DEFC	LhexF =		$0F
DEFC	Lroot =		$10
DEFC	Linverse =	$11
DEFC	Lsquare =		$12
DEFC	Langle =		$13
DEFC	Ldegree =		$14
DEFC	Lradian =		$15
DEFC	Ltranspose =	$16
DEFC	LLE =		$17
DEFC	LNE =		$18
DEFC	LGE =		$19
DEFC	Lneg =		$1A
DEFC	Lexponent =	$1B
DEFC	Lstore =		$1C
DEFC	Lten =		$1D
DEFC	LupArrow =	$1E
DEFC	LdownArrow =	$1F
DEFC	Lspace =		$20
DEFC	Lexclam =		$21
DEFC	Lquote =		$22
DEFC	Lpound =		$23
DEFC     Lfourth =		$24
DEFC	Lpercent =	$25
DEFC	Lampersand =	$26
DEFC	Lapostrophe =	$27
DEFC	LlParen =		$28
DEFC	LrParen =		$29
DEFC	Lasterisk =	$2A
DEFC	LplusSign =	$2B
DEFC	Lcomma =		$2C
DEFC	Ldash =		$2D
DEFC	Lperiod =		$2E
DEFC	Lslash =		$2F
DEFC	L0 =		$30
DEFC	L1 =		$31
DEFC	L2 =		$32
DEFC	L3 =		$33
DEFC	L4 =		$34
DEFC	L5 =		$35
DEFC	L6 =		$36
DEFC	L7 =		$37
DEFC	L8 =		$38
DEFC	L9 =		$39
DEFC	Lcolon =		$3A
DEFC	Lsemicolon =	$3B
DEFC	LLT =		$3C
DEFC	LEQ =		$3D
DEFC	LGT =		$3E
DEFC	Lquestion =	$3F
DEFC	LatSign =		$40
DEFC	LcapA =	$41
DEFC	LcapB =	$42
DEFC	LcapC =	$43
DEFC	LcapD =	$44
DEFC	LcapE =	$45
DEFC	LcapF =	$46
DEFC	LcapG =	$47
DEFC	LcapH =	$48
DEFC	LcapI =	$49
DEFC	LcapJ =	$4A
DEFC	LcapK =	$4B
DEFC	LcapL =	$4C
DEFC	LcapM =	$4D
DEFC	LcapN =	$4E
DEFC	LcapO =	$4F
DEFC	LcapP =	$50
DEFC	LcapQ =	$51
DEFC	LcapR =	$52
DEFC	LcapS =	$53
DEFC	LcapT =	$54
DEFC	LcapU =	$55
DEFC	LcapV =	$56
DEFC	LcapW =	$57
DEFC	LcapX =	$58
DEFC	LcapY =	$59
DEFC	LcapZ =	$5A
DEFC     Ltheta =  $5B
DEFC	Lbackslash =	$5C
DEFC	LrBrack =		$5D
DEFC	Lcaret =		$5E
DEFC	Lunderscore =	$5F
DEFC	Lbackquote =	$60
DEFC	La =	$61
DEFC	Lb =	$62
DEFC	Lc =	$63
DEFC	Ld =	$64
DEFC	Le =	$65
DEFC	Lf =	$66
DEFC	Lg =	$67
DEFC	Lh =	$68
DEFC	Li =	$69
DEFC	Lj =	$6A
DEFC	Lk =	$6B
DEFC	Ll =	$6C
DEFC	Lm =	$6D
DEFC	Ln =	$6E
DEFC	Lo =	$6F
DEFC	Lp =	$70
DEFC	Lq =	$71
DEFC	Lr =	$72
DEFC	Ls =	$73
DEFC	Lt =	$74
DEFC	Lu =	$75
DEFC	Lv =	$76
DEFC	Lw =	$77
DEFC	Lx =	$78
DEFC	Ly =	$79
DEFC	Lz =	$7A
DEFC	LlBrace =	$7B
DEFC	Lbar =	$7C
DEFC	LrBrace =	$7D
DEFC	Ltilde =	$7E
DEFC	LinvEQ =	$7F
DEFC	Lsub0 =	$80
DEFC	Lsub1 =	$81
DEFC	Lsub2 =	$82
DEFC	Lsub3 =	$83
DEFC	Lsub4 =	$84
DEFC	Lsub5 =	$85
DEFC	Lsub6 =	$86
DEFC	Lsub7 =	$87
DEFC	Lsub8 =	$88
DEFC	Lsub9 =	$89
DEFC	LcapAAcute =	$8A
DEFC	LcapAGrave =	$8B
DEFC	LcapACaret =	$8C
DEFC	LcapADier =	$8D
DEFC	LaAcute =		$8E
DEFC	LaGrave =		$8F
DEFC	LaCaret =		$90
DEFC	LaDier =		$91
DEFC	LcapEAcute =	$92
DEFC	LcapEGrave =	$93
DEFC	LcapECaret =	$94
DEFC	LcapEDier =	$95
DEFC	LeAcute =		$96
DEFC	LeGrave =		$97
DEFC	LeCaret =		$98
DEFC	LeDier =		$99
DEFC	LcapIAcute =	$9A
DEFC	LcapIGrave =	$9B
DEFC	LcapICaret =	$9C
DEFC	LcapIDier =	$9D
DEFC	LiAcute =		$9E
DEFC	LiGrave =		$9F
DEFC	LiCaret =		$A0
DEFC	LiDier =		$A1
DEFC	LcapOAcute =	$A2
DEFC	LcapOGrave =	$A3
DEFC	LcapOCaret =	$A4
DEFC	LcapODier =	$A5
DEFC	LoAcute =		$A6
DEFC	LoGrave =		$A7
DEFC	LoCaret =		$A8
DEFC	LoDier =		$A9
DEFC	LcapUAcute =	$AA
DEFC	LcapUGrave =	$AB
DEFC	LcapUCaret =	$AC
DEFC	LcapUDier =	$AD
DEFC	LuAcute =		$AE
DEFC	LuGrave =		$AF
DEFC	LuCaret =		$B0
DEFC	LuDier =		$B1
DEFC	LcapCCed =	$B2
DEFC	LcCed =		$B3
DEFC	LcapNTilde =	$B4
DEFC	LnTilde =		$B5
DEFC	Laccent =		$B6
DEFC	Lgrave =		$B7
DEFC	Ldieresis =	$B8
DEFC	LquesDown =	$B9
DEFC	LexclamDown =	$BA
DEFC	Lalpha =		$BB
DEFC	Lbeta =		$BC
DEFC	Lgamma =		$BD
DEFC	LcapDelta =	$BE
DEFC	Ldelta =		$BF
DEFC	Lepsilon =	$C0
DEFC     LlBrack = 	$C1
DEFC	Llambda =		$C2
DEFC	Lmu =		$C3
DEFC	Lpi =		$C4
DEFC	Lrho =		$C5
DEFC	LcapSigma =	$C6
DEFC	Lsigma =		$C7
DEFC	Ltau =		$C8
DEFC	Lphi =		$C9
DEFC	LcapOmega =	$CA
DEFC	LxMean =		$CB
DEFC	LyMean =		$CC
DEFC	LsupX =		$CD
DEFC	Lellipsis =	$CE
DEFC	Lleft =		$CF
DEFC	Lblock =		$D0
DEFC	Lper =		$D1
DEFC	Lhyphen =		$D2
DEFC	Larea =		$D3
DEFC	Ltemp =		$D4
DEFC	Lcube =		$D5
DEFC	Lenter =		$D6
DEFC	LimagI =		$D7
DEFC	Lphat =		$D8
DEFC	Lchi =		$D9
DEFC     LstatF =		$DA
DEFC	Llne =		$DB
DEFC	LlistL =		$DC
DEFC	LfinanN = 	$DD
DEFC	L2_r_paren = 	$DE
DEFC     LblockArrow =     $DF
DEFC     LcurO =   	$E0
DEFC     LcurO2 =  	$E1
DEFC     LcurOcapA =       $E2
DEFC     LcurOa =  	$E3
DEFC     LcurI =   	$E4
DEFC     LcurI2 =  	$E5
DEFC     LcurIcapA =       $E6
DEFC     LcurIa =  	$E7
DEFC     LGline =          $E8    ; = 0
DEFC     LGthick =         $E9    ; = 1
DEFC     LGabove =         $EA    ; = 2
DEFC     LGbelow =         $EB    ; = 3
DEFC     LGpath =          $EC    ; = 4
DEFC     LGanimate =       $ED    ; = 5
DEFC     LGdot =           $EE    ; = 6
DEFC     LUpBlk =          $EF    ;Up arrow and Block in solver
DEFC     LDnBlk =          $F0    ;Down arrow and Block in solver
DEFC     LcurFull =        $F1    ;note: must be last char (PutMap checks)
;
;======================================================================
;           Keypress Equates
;======================================================================
;           Keyboard key names
;
;
;kRight          EQU       $01
;kLeft           EQU       $02
;kUp             EQU       $03
;kDown           EQU       $04
DEFC       kEnter =          $05
DEFC       kAlphaEnter =     $06
DEFC       kAlphaUp =        $07
DEFC       kAlphaDown =      $08
DEFC       kClear =          $09
DEFC       kDel =            $0A
DEFC       kIns =            $0B
DEFC       kRecall =         $0C
DEFC       kLastEnt =        $0D
DEFC       kBOL =            $0E
DEFC       kEOL =            $0F
;
DEFC       kSelAll =         $10
DEFC       kUnselAll =       $11
DEFC       kLtoTI82 =        $12
DEFC       kBackup =         $13
DEFC       kRecieve =        $14
DEFC       kLnkQuit =        $15
DEFC       kTrans =          $16
DEFC       kRename =         $17
DEFC       kOverw =          $18
DEFC       kOmit =           $19
DEFC       kCont =           $1A
DEFC       kSendID =         $1B
DEFC       kSendSW =         $1C
DEFC       kYes =            $1D
DEFC       kNoWay =          $1E
DEFC       kvSendType =      $1F
DEFC       kOverWAll =       $20
;
DEFC       kNo =             $25
DEFC       kKReset =         $26
DEFC       kApp =            $27
;
DEFC       kDoug =           $28
DEFC       kListflag =       $29
DEFC       menuStart =       $2B
;
DEFC       kAreYouSure =     $2B
DEFC       kAppsMenu =       $2C
DEFC       kPrgm =           $2D
DEFC       kZoom =           $2E
DEFC       kDraw =           $2F
DEFC       kSPlot =          $30
DEFC       kStat =           $31
DEFC       kMath =           $32
DEFC       kTest =           $33
DEFC       kChar =           $34
DEFC       kVars =           $35
DEFC       kMem =            $36
DEFC       kMatrix =         $37
DEFC       kDist =           $38
DEFC       kAngle =          $39
DEFC       kList =           $3A
DEFC       kCalc =           $3B
DEFC       kFin =            $3C
;
DEFC       menuEnd =         kFin
;
DEFC       kCatalog =        $3E
DEFC       kInputDone =      $3F
DEFC       kOff =            kInputDone
;
DEFC       kQuit =           $40
DEFC       appStart =        kQuit

;
DEFC       kLinkIO =         $41
DEFC       kMatrixEd =       $42
DEFC       kStatEd =         $43
DEFC       kGraph =          $44
DEFC       kMode =           $45
DEFC       kPrgmEd =         $46        ; PROGRAM EDIT
DEFC       kPrgmCr =         $47        ; PROGRAM CREATE
DEFC       kWindow =         $48        ; RANGE EDITOR
DEFC       kYequ =           $49        ; EQUATION EDITOR
DEFC       kTable =          $4A        ; TABLE EDITOR
DEFC       kTblSet =         $4B        ; TABLE SET
DEFC       kChkRAM =         $4C        ; CHECK RAM
DEFC       kDelMem =         $4D        ; DELETE MEM
DEFC       kResetMem =       $4E        ; RESET MEM
DEFC	  kResetDef =	$4F        ; RESET DEFAULT
DEFC       kPrgmInput =      $50        ; PROGRAM INPUT
DEFC       kZFactEd =        $51        ; ZOOM FACTOR EDITOR
DEFC       kError =          $52        ; ERROR
DEFC       kSolveTVM =       $53        ; TVM SOLVER
DEFC	  kSolveRoot =	$54        ; SOLVE EDITOR
DEFC       kStatP =          $55        ; stat plot
DEFC	  kInfStat = 	$56	      ; Inferential Statistic
DEFC       kFormat =         $57        ; FORMAT
DEFC       kExtApps =        $58        ; External Applications.     NEW
DEFC       kNewApps =        $59        ; New Apps for Cerberus.
;
DEFC       append =          kNewApps
;
DEFC       echoStart1 =      $5A
;
DEFC       kTrace =          $5A
DEFC       kZFit =           $5B
DEFC       kZIn =            $5C
DEFC       kZOut =           $5D
DEFC       kZPrev =          $5E
DEFC       kBox =            $5F
DEFC       kDecml =          $60
DEFC       kSetZm =          $61
DEFC       kSquar =          $62
DEFC       kStd =            $63
DEFC       kTrig =           $64
DEFC       kUsrZm =          $65
DEFC       kZSto =           $66
DEFC       kZInt =           $67
DEFC       kZStat =          $68
;
DEFC       echoStart2 =      $69
;
;kSelect         EQU       $69
DEFC       kCircl =          $6A
DEFC       kClDrw =          $6B
DEFC       kLine =           $6C
DEFC       kPen =            $6D
DEFC       kPtChg =          $6E
DEFC       kPtOff =          $6F
DEFC       kPtOn =           $70
DEFC       kVert =           $71
DEFC       kHoriz =          $72
DEFC       kText =           $73
DEFC       kTanLn =          $74
;
DEFC       kEval =           $75
DEFC       kInters =         $76
DEFC       kDYDX =           $77
DEFC       kFnIntg =         $78
DEFC       kRootG =          $79
DEFC       kDYDT =           $7A
DEFC       kDXDT =           $7B
DEFC       kDRDo =           $7C
DEFC       KGFMin =          $7D
DEFC       KGFMax =          $7E
;
;
DEFC       EchoStart =       $7F
;
DEFC       kListName =       $7F
DEFC       kAdd =            $80
DEFC       kSub =            $81
DEFC       kMul =            $82
DEFC       kDiv =            $83
DEFC       kExpon =          $84
DEFC       kLParen =         $85
DEFC       kRParen =         $86
DEFC       kLBrack =         $87
DEFC       kRBrack =         $88
DEFC       kShade =          $89
DEFC       kStore =          $8A
DEFC       kComma =          $8B
DEFC       kChs =            $8C
DEFC       kDecPnt =         $8D
DEFC       k0 =              $8E
DEFC       k1 =              $8F
DEFC       k2 =              $90
DEFC       k3 =              $91
DEFC       k4 =              $92
DEFC       k5 =              $93
DEFC       k6 =              $94
DEFC       k7 =              $95
DEFC       k8 =              $96
DEFC       k9 =              $97
DEFC       kEE =             $98
DEFC       kSpace =          $99
DEFC       kCapA =           $9A
DEFC       kCapB =           $9B
DEFC       kCapC =           $9C
DEFC       kCapD =           $9D
DEFC       kCapE =           $9E
DEFC       kCapF =           $9F
DEFC       kCapG =           $A0
DEFC       kCapH =           $A1
DEFC       kCapI =           $A2
DEFC       kCapJ =           $A3
DEFC       kCapK =           $A4
DEFC       kCapL =           $A5
DEFC       kCapM =           $A6
DEFC       kCapN =           $A7
DEFC       kCapO =           $A8
DEFC       kCapP =           $A9
DEFC       kCapQ =           $AA
DEFC       kCapR =           $AB
DEFC       kCapS =           $AC
DEFC       kCapT =           $AD
DEFC       kCapU =           $AE
DEFC       kCapV =           $AF
DEFC       kCapW =           $B0
DEFC       kCapX =           $B1
DEFC       kCapY =           $B2
DEFC       kCapZ =           $B3
DEFC       kVarx =           $B4
DEFC       kPi =             $B5
DEFC       kInv =            $B6
DEFC       kSin =            $B7
DEFC       kASin =           $B8
DEFC       kCos =            $B9
DEFC       kACos =           $BA
DEFC       kTan =            $BB
DEFC       kATan =           $BC
DEFC       kSquare =         $BD
DEFC       kSqrt =           $BE
DEFC       kLn =             $BF
DEFC       kExp =            $C0
DEFC       kLog =            $C1
DEFC       kALog =           $C2
DEFC       kToABC =          $C3
;
DEFC       kClrTbl =         $C4
;
DEFC       kAns =            $C5
DEFC       kColon =          $C6
;
DEFC       kNDeriv =         $C7
DEFC       kFnInt =          $C8
DEFC       kRoot =           $C9
;
DEFC       kQuest =          $CA
DEFC       kQuote =          $CB
DEFC       kTheta =          $CC
DEFC       kIf =             $CD
DEFC       kThen =           $CE
DEFC       kElse =           $CF
DEFC       kFor =            $D0
DEFC       kWhile =          $D1
DEFC       kRepeat =         $D2
DEFC       kEnd =            $D3
DEFC       kPause =          $D4
DEFC       kLbl =            $D5
DEFC       kGoto =           $D6
DEFC       kISG =            $D7
DEFC       kDSL =            $D8
DEFC       kMenu =           $D9
DEFC       kExec =           $DA
DEFC       kReturn =         $DB
DEFC       kStop =           $DC
DEFC       kInput =          $DD
DEFC       kPrompt =         $DE
DEFC       kDisp =           $DF
DEFC       kDispG =          $E0
DEFC       kDispT =          $E1
DEFC       kOutput =         $E2
DEFC       kGetKey =         $E3
DEFC       kClrHome =        $E4
DEFC       kPrtScr =         $E5
DEFC       kSinH =           $E6
DEFC       kCosH =           $E7
DEFC       kTanH =           $E8
DEFC       kASinH =          $E9
DEFC       kACosH =          $EA
DEFC       kATanH =          $EB
DEFC       kLBrace =         $EC
DEFC       kRBrace =         $ED
DEFC       kI =              $EE
DEFC       kCONSTeA =        $EF
DEFC       kPlot3 =          $F0
DEFC       kFMin =           $F1
DEFC       kFMax =           $F2
DEFC       kL1A =            $F3
DEFC       kL2A =            $F4
DEFC       kL3A =            $F5
DEFC       kL4A =            $F6
DEFC       kL5A =            $F7
DEFC       kL6A =            $F8
DEFC       kunA =            $F9
DEFC       kvnA =            $FA
DEFC       kwnA =            $FB
;
;======================================================================
;       THIS KEY MEANS THAT IT IS A 2 BYTE KEYCODE
;       THERE ARE 2 OF THESE KEYS; BE CAREFUL WITH USAGE
;======================================================================
;
DEFC       kExtendEcho2 =    $FC
;
;======================================================================;
;       THIS KEY MEANS THAT THE KEY PRESS IS ONE THAT $ECOS
;       INTO A BUFFER, AND IT IS A 2 BYTE KEY CODE, GO LOOK AT
;       (EXTECHO) FOR THE KEY VALUE 
;======================================================================
;
DEFC       kExtendEcho =     $FE
;

DEFC       kE1BT =           0

DEFC       kDrawInv =        kE1BT
DEFC       kDrawF =          kE1BT+1
DEFC       kPixelOn =        kE1BT+2
DEFC       kPixelOff =       kE1BT+3
DEFC       kPxlTest =        kE1BT+4
DEFC       kRCGDB =          kE1BT+5
DEFC       kRCPic =          kE1BT+6
DEFC       kSTGDB =          kE1BT+7
DEFC       kSTPic =          kE1BT+8
DEFC       kAbs =            kE1BT+9
DEFC       kTEqu =           kE1BT+10    ; ==
DEFC       kTNoteQ =         kE1BT+11    ; <>
DEFC       kTGT =            kE1BT+12    ; >
DEFC       kTGTE =           kE1BT+13    ; > =
DEFC       kTLT =            kE1BT+14    ; <
DEFC       kTLTE =           kE1BT+15    ; < =

DEFC       kAnd =            kE1BT+16
DEFC       kOr =             kE1BT+17
DEFC       kXor =            kE1BT+18
DEFC       kNot =            kE1BT+19

DEFC       kLR1 =            kE1BT+20

DEFC       kXRoot =          kE1BT+21
DEFC       kCube =           kE1BT+22
DEFC       kCbRt =           kE1BT+23    ; Cube ROOT
DEFC       kToDec =          kE1BT+24
;
DEFC       kCubicR =         kE1BT+25
DEFC       kQuartR =         kE1BT+26
;
DEFC       kPlot1 =          kE1BT+27
DEFC       kPlot2 =          kE1BT+28
;

DEFC       kRound =          kE1BT+29
DEFC       kIPart =          kE1BT+30
DEFC       kFPart =          kE1BT+31
DEFC       kInt =            kE1BT+32

DEFC       kRand =           kE1BT+33
DEFC       kNPR =            kE1BT+34
DEFC       kNCR =            kE1BT+35
DEFC       kXFactorial =     kE1BT+36

DEFC       kRad =            kE1BT+37
DEFC       kDegr =           kE1BT+38    ; DEGREES CONV
DEFC       kAPost =          kE1BT+39
DEFC       kToDMS =          kE1BT+40
DEFC       kRToPo =          kE1BT+41    ; R
DEFC       kRToPr =          kE1BT+42
DEFC       kPToRx =          kE1BT+43
DEFC       kPToRy =          kE1BT+44

DEFC       kRowSwap =        kE1BT+45
DEFC       kRowPlus =        kE1BT+46
DEFC       kTimRow =         kE1BT+47
DEFC       kTRowP =          kE1BT+48

DEFC       kSortA =          kE1BT+49
DEFC       kSortD =          kE1BT+50
DEFC       kSeq =            kE1BT+51

DEFC       kMin =            kE1BT+52
DEFC       kMax =            kE1BT+53
DEFC       kMean =           kE1BT+54
DEFC       kMedian =         kE1BT+55
DEFC       kSum =            kE1BT+56
DEFC       kProd =           kE1BT+57

DEFC       kDet =            kE1BT+58
DEFC       kTransp =         kE1BT+59
DEFC       kDim =            kE1BT+60
DEFC       kFill =           kE1BT+61
DEFC       kIdent =          kE1BT+62
DEFC       kRandm =          kE1BT+63
DEFC       kAug =            kE1BT+64

DEFC       kOneVar =         kE1BT+65
DEFC       kTwoVar =         kE1BT+66
DEFC       kLR =             kE1BT+67
DEFC       kLRExp =          kE1BT+68
DEFC       kLRLn =           kE1BT+69
DEFC       kLRPwr =          kE1BT+70
DEFC       kMedMed =         kE1BT+71
DEFC       kQuad =           kE1BT+72
DEFC       kClrLst =         kE1BT+73
DEFC       kHist =           kE1BT+74
DEFC       kxyLine =         kE1BT+75
DEFC       kScatter =        kE1BT+76

DEFC       kmRad =           kE1BT+77
DEFC       kmDeg =           kE1BT+78
DEFC       kmNormF =         kE1BT+79
DEFC       kmSci =           kE1BT+80
DEFC       kmEng =           kE1BT+81
DEFC       kmFloat =         kE1BT+82

DEFC       kFix =            kE1BT+83
DEFC       kSplitOn =        kE1BT+84
DEFC       kFullScreen =     kE1BT+85
DEFC       kStndrd =         kE1BT+86
DEFC       kParam =          kE1BT+87
DEFC       kPolar =          kE1BT+88
DEFC       kSeqG =           kE1BT+89
DEFC       kAFillOn =        kE1BT+90
DEFC       kAFillOff =       kE1BT+91
DEFC       kACalcOn =        kE1BT+92
DEFC       kACalcOff =       kE1BT+93
DEFC       kFNOn =           kE1BT+94
DEFC       kFNOff =          kE1BT+95

DEFC       kPlotsOn =        kE1BT+96
DEFC       kPlotsOff =       kE1BT+97

DEFC       kPixelChg =       kE1BT+98

DEFC       kSendMBL =        kE1BT+99
DEFC       kRecvMBL =        kE1BT+100

DEFC       kBoxPlot =        kE1BT+101
DEFC       kBoxIcon =        kE1BT+102
DEFC       kCrossIcon =      kE1BT+103
DEFC       kDotIcon =        kE1BT+104

DEFC       kE2BT =           kE1BT+105

DEFC       kSeqential =      kE2BT
DEFC       kSimulG =         kE2BT+1
DEFC       kPolarG =         kE2BT+2
DEFC       kRectG =          kE2BT+3
DEFC       kCoordOn =        kE2BT+4
DEFC       kCoordOff =       kE2BT+5
DEFC       kDrawLine =       kE2BT+6
DEFC       kDrawDot =        kE2BT+7
DEFC       kAxisOn =         kE2BT+8
DEFC       kAxisOff =        kE2BT+9
DEFC       kGridOn =         kE2BT+10
DEFC       kGridOff =        kE2BT+11
DEFC       kLblOn =          kE2BT+12
DEFC       kLblOff =         kE2BT+13

DEFC       kL1 =             kE2BT+14
DEFC       kL2 =             kE2BT+15
DEFC       kL3 =             kE2BT+16
DEFC       kL4 =             kE2BT+17
DEFC       kL5 =             kE2BT+18
DEFC       kL6 =             kE2BT+19

;
;======================================================================
;           These keys are layed on top of existing keys to
;           enable localization in the inferential stats editor
;======================================================================
;
DEFC       kinfData =        kL1
DEFC       kinfStats =       kL1+1
DEFC       kinfYes =         kL1+2
DEFC       kinfNo =          kL1+3
DEFC       kinfCalc =        kL1+4
DEFC       kinfDraw =        kL1+5
DEFC       kinfAlt1ne =      kL1+6
DEFC       kinfAlt1lt =      kL1+7
DEFC       kinfAlt1gt =      kL1+8
DEFC       kinfAlt2ne =      kL1+9
DEFC       kinfAlt2lt =      kL1+10
DEFC       kinfAlt2gt =      kL1+11
DEFC       kinfAlt3ne =      kL1+12
DEFC       kinfAlt3lt =      kL1+13
DEFC       kinfAlt3gt =      kL1+14
DEFC       kinfAlt4ne =      kL1+15
DEFC       kinfAlt4lt =      kL1+16
DEFC       kinfAlt4gt =      kL1+17
DEFC       kinfAlt5ne =      kL1+18
DEFC       kinfAlt5lt =      kL1+19
DEFC       kinfAlt5gt =      kL1+20
DEFC       kinfAlt6ne =      kL1+21
DEFC       kinfAlt6lt =      kL1+22
DEFC       kinfAlt6gt =      kL1+23
;
;
DEFC       kMatA =           kE2BT+20
DEFC       kMatB =           kE2BT+21
DEFC       kMatC =           kE2BT+22
DEFC       kMatD =           kE2BT+23
DEFC       kMatE =           kE2BT+24

DEFC       kXmin =           kE2BT+25
DEFC       kXmax =           kE2BT+26
DEFC       kXscl =           kE2BT+27
DEFC       kYmin =           kE2BT+28
DEFC       kYmax =           kE2BT+29
DEFC       kYscl =           kE2BT+30
DEFC       kTmin =           kE2BT+31
DEFC       kTmax =           kE2BT+32
DEFC       kTStep =          kE2BT+33
DEFC       kOmin =           kE2BT+34
DEFC       kOmax =           kE2BT+35
DEFC       kOStep =          kE2BT+36
DEFC       ku0 =             kE2BT+37
DEFC       kv0 =             kE2BT+38
DEFC       knMin =           kE2BT+39
DEFC       knMax =           kE2BT+40
DEFC       kDeltaY =         kE2BT+41
DEFC       kDeltaX =         kE2BT+42

DEFC       kZXmin =          kE2BT+43
DEFC       kZXmax =          kE2BT+44
DEFC       kZXscl =          kE2BT+45
DEFC       kZYmin =          kE2BT+46
DEFC       kZYmax =          kE2BT+47
DEFC       kZYscl =          kE2BT+48
DEFC       kZTmin =          kE2BT+49
DEFC       kZTmax =          kE2BT+50
DEFC       kZTStep =         kE2BT+51
DEFC       kZOmin =          kE2BT+52
DEFC       kZOmax =          kE2BT+53
DEFC       kZOStep =         kE2BT+54
DEFC       kZu0 =            kE2BT+55
DEFC       kZv0 =            kE2BT+56
DEFC       kZnMin =          kE2BT+57
DEFC       kZnMax =          kE2BT+58

DEFC       kDelLast =        kE2BT+59
DEFC       kSinReg =         kE2BT+60
DEFC       kConstE =         kE2BT+61

DEFC       kPic1 =           kE2BT+62
DEFC       kPic2 =           kE2BT+63
DEFC       kPic3 =           kE2BT+64

DEFC       kDelVar =         kE2BT+65
DEFC       kGetCalc =        kE2BT+66
DEFC       kRealM =          kE2BT+67
DEFC       kPolarM =         kE2BT+68
DEFC       kRectM =          kE2BT+69
DEFC       kuv =             kE2BT+70    ; U vs V
DEFC       kvw =             kE2BT+71    ; V vs W
DEFC       kuw =             kE2BT+72    ; U vs W
DEFC       kFinPMTend =      kE2BT+73
DEFC       kFinPMTbeg =      kE2BT+74
;
DEFC       kGraphStyle =     kE2BT+75
;
DEFC       kExprOn =         kE2BT+76
DEFC       kExprOff =        kE2BT+77
DEFC       kStatA =          kE2BT+78
DEFC       kStatB =          kE2BT+79
DEFC       kStatC =          kE2BT+80
DEFC       kCorr =           kE2BT+81
DEFC       kStatD =          kE2BT+82
DEFC       kStatE =          kE2BT+83
DEFC       kRegEq =          kE2BT+84
DEFC       kMinX =           kE2BT+85
DEFC       kQ1 =             kE2BT+86
DEFC       kMD =             kE2BT+87
DEFC       kQ3 =             kE2BT+88
DEFC       kMaxX =           kE2BT+89
DEFC       kStatX1 =         kE2BT+90
DEFC       kStatY1 =         kE2BT+91
DEFC       kStatX2 =         kE2BT+92
DEFC       kStatY2 =         kE2BT+93
DEFC       kStatX3 =         kE2BT+94
DEFC       kStatY3 =         kE2BT+95
DEFC       kTblMin =         kE2BT+96
DEFC       kTblStep =        kE2BT+97
DEFC       kSetupLst =       kE2BT+98
DEFC       kClrAllLst =      kE2BT+99
DEFC       kLogistic =       kE2BT+100
DEFC       kZTest =          kE2BT+101
DEFC       kTTest =          kE2BT+102
DEFC       k2SampZTest =     kE2BT+103
DEFC       k2SampTTest =     kE2BT+104
DEFC       k1PropZTest =     kE2BT+105
DEFC       k2PropZTest =     kE2BT+106
DEFC       kChiTest =        kE2BT+107
DEFC       k2SampFTest =     kE2BT+108
DEFC       kZIntVal =        kE2BT+109
DEFC       kTIntVal =        kE2BT+110
DEFC       k2SampTInt =      kE2BT+111
DEFC       k2SampZInt =      kE2BT+112
DEFC       k1PropZInt =      kE2BT+113
DEFC       k2PropZInt =      kE2BT+114
DEFC       kDNormal =        kE2BT+115
DEFC       kInvNorm =        kE2BT+116
DEFC       kDT =             kE2BT+117
DEFC       kChi =            kE2BT+118
DEFC       kDF =             kE2BT+119
DEFC       kBinPDF =         kE2BT+120
DEFC       kBinCDF =         kE2BT+121
DEFC       kPoiPDF =         kE2BT+122
DEFC       kPoiCDF =         kE2BT+123
DEFC       kun =             kE2BT+124
DEFC       kvn =             kE2BT+125
DEFC       kwn =             kE2BT+126
DEFC       kRecn =           kE2BT+127
DEFC       kPlotStart =      kE2BT+128
DEFC       kZPlotStart =     kE2BT+129   ; recursion n
DEFC       kXFact =          kE2BT+130   ; PlotStart
DEFC       kYFact =          kE2BT+131   ; ZPlotStart
DEFC       kANOVA =          kE2BT+132   ; XFact
DEFC       kMaxY =           kE2BT+133   ; YFact
DEFC       kWebOn =          kE2BT+134   ; MinY
DEFC       kWebOff =         kE2BT+135   ; MaxY
DEFC       kTblInput =       kE2BT+136   ; WEB ON
DEFC       kGeoPDF =         kE2BT+137   ; WEB OFF
DEFC       kGeoCDF =         kE2BT+138   ; WEB OFF
DEFC       kShadeNorm =      kE2BT+139
DEFC       kShadeT =         kE2BT+140
DEFC       kShadeChi =       kE2BT+141
DEFC       kShadeF =         kE2BT+142
DEFC       kPlotStep =       kE2BT+143
DEFC       kZPlotStep =      kE2BT+144
DEFC       kLinRegtTest =    kE2BT+145
DEFC	  KMGT =		kE2BT+146   ; VERT SPLIT
DEFC       kSelectA =        kE2BT+147
DEFC       kZFitA =          kE2BT+148
DEFC       kE2BT_End =       kZFitA
;
;
;======================================================================
;           More 2 Byte Keys 
;======================================================================

DEFC       kE2BT2 =		0

DEFC       kGDB1 =		kE2BT2
DEFC       kGDB2 =		kE2BT2+1
DEFC       kGDB3 =		kE2BT2+2
DEFC       kY1 =		kE2BT2+3
DEFC       kY2 =		kE2BT2+4
DEFC       kY3 =		kE2BT2+5
DEFC       kY4 =		kE2BT2+6
DEFC       kY5 =		kE2BT2+7
DEFC       kY6 =		kE2BT2+8
DEFC       kY7 =		kE2BT2+9
DEFC       kY8 =		kE2BT2+10
DEFC       kY9 =		kE2BT2+11
DEFC       kY0 =		kE2BT2+12
DEFC       kX1T =		kE2BT2+13
DEFC       kY1T =		kE2BT2+14
DEFC       kX2T =		kE2BT2+15
DEFC       kY2T =		kE2BT2+16
DEFC       kX3T =		kE2BT2+17
DEFC       kY3T =		kE2BT2+18
DEFC       kX4T =		kE2BT2+19
DEFC       kY4T =		kE2BT2+20
DEFC       kX5T =		kE2BT2+21
DEFC       kY5T =		kE2BT2+22
DEFC       kX6T =		kE2BT2+23
DEFC       kY6T =		kE2BT2+24
DEFC       kR1 =		kE2BT2+25
DEFC       kR2 =		kE2BT2+26
DEFC       kR3 =		kE2BT2+27
DEFC       kR4 =		kE2BT2+28
DEFC       kR5 =		kE2BT2+29
DEFC       kR6 =		kE2BT2+30
DEFC       kGDB4 =		kE2BT2+31
DEFC       kGDB5 =		kE2BT2+32
DEFC       kGDB6 =		kE2BT2+33
DEFC       kPic4 =		kE2BT2+34
DEFC       kPic5 =		kE2BT2+35
DEFC       kPic6 =		kE2BT2+36
DEFC       kGDB7 =		kE2BT2+37
DEFC       kGDB8 =		kE2BT2+38
DEFC       kGDB9 =		kE2BT2+39
DEFC       kGDB0 =		kE2BT2+40
DEFC       kPic7 =		kE2BT2+41
DEFC       kPic8 =		kE2BT2+42
DEFC       kPic9 =		kE2BT2+43
DEFC       kPic0 =		kE2BT2+44
DEFC       kStatN =		kE2BT2+45
DEFC       kXMean =		kE2BT2+46
DEFC       kConj =		kE2BT2+47
DEFC       kReal =		kE2BT2+48
DEFC       kFAngle =		kE2BT2+49
DEFC       kLCM =		kE2BT2+50
DEFC       kGCD =		kE2BT2+51
DEFC       kRandInt =	kE2BT2+52
DEFC       kRandNorm =	kE2BT2+53
DEFC       kToPolar =	kE2BT2+54
DEFC       kToRect =		kE2BT2+55
DEFC       kYMean =		kE2BT2+56
DEFC       kStdX =		kE2BT2+57
DEFC       kStdX1 =		kE2BT2+58
DEFC       kw0 =		kE2BT2+59
DEFC       kMatF =		kE2BT2+60
DEFC       kMatG =		kE2BT2+61
DEFC       kMatRH =		kE2BT2+62
DEFC       kMatI =		kE2BT2+63
DEFC       kMatJ =		kE2BT2+64
DEFC       kYMean1 =		kE2BT2+65
DEFC       kStdY =		kE2BT2+66
DEFC       kStdY1 =		kE2BT2+67
DEFC       kMatToLst =	kE2BT2+68
DEFC       kLstToMat =	kE2BT2+69
DEFC       kCumSum =		kE2BT2+70
DEFC       kDeltaLst =	kE2BT2+71
DEFC       kStdDev =		kE2BT2+72
DEFC       kVariance =	kE2BT2+73
DEFC       kLength =		kE2BT2+74
DEFC       kEquToStrng =	kE2BT2+75
DEFC       kStrngToEqu =	kE2BT2+76
DEFC       kExpr =		kE2BT2+77
DEFC       kSubStrng =	kE2BT2+78
DEFC       kInStrng =	kE2BT2+79
DEFC       kStr1 =		kE2BT2+80
DEFC       kStr2 =		kE2BT2+81
DEFC       kStr3 =		kE2BT2+82
DEFC       kStr4 =           kE2BT2+83
DEFC       kStr5 =           kE2BT2+84
DEFC       kStr6 =           kE2BT2+85
DEFC       kStr7 =           kE2BT2+86
DEFC       kStr8 =           kE2BT2+87
DEFC       kStr9 =           kE2BT2+88
DEFC       kStr0 =           kE2BT2+89
DEFC       kFinN =           kE2BT2+90
DEFC       kFinI =           kE2BT2+91
DEFC       kFinPV =          kE2BT2+92
DEFC       kFinPMT =         kE2BT2+93
DEFC       kFinFV =          kE2BT2+94
DEFC       kFinPY =          kE2BT2+95
DEFC       kFinCY =          kE2BT2+96
DEFC       kFinFPMT =        kE2BT2+97
DEFC       kFinFI =          kE2BT2+98
DEFC       kFinFPV =         kE2BT2+99
DEFC       kFinFN =          kE2BT2+100
DEFC       kFinFFV =         kE2BT2+101
DEFC       kFinNPV =         kE2BT2+102
DEFC       kFinIRR =         kE2BT2+103
DEFC       kFinBAL =         kE2BT2+104
DEFC       kFinPRN =         kE2BT2+105
DEFC       kFinINT =         kE2BT2+106
DEFC       kSumX =           kE2BT2+107
DEFC       kSumX2 =          kE2BT2+108
DEFC       kFinToNom =       kE2BT2+109
DEFC       kFinToEff =       kE2BT2+110
DEFC       kFinDBD =         kE2BT2+111
DEFC       kStatVP =         kE2BT2+112
DEFC       kStatZ =          kE2BT2+113
DEFC       kStatT =          kE2BT2+114
DEFC       kStatChi =        kE2BT2+115
DEFC       kStatF =          kE2BT2+116
DEFC       kStatDF =         kE2BT2+117
DEFC       kStatPhat =       kE2BT2+118
DEFC       kStatPhat1 =      kE2BT2+119
DEFC       kStatPhat2 =      kE2BT2+120
DEFC       kStatMeanX1 =     kE2BT2+121
DEFC       kStatMeanX2 =     kE2BT2+122
DEFC       kStatStdX1 =      kE2BT2+123
DEFC       kStatStdX2 =      kE2BT2+124
DEFC       kStatStdXP =      kE2BT2+125
DEFC       kStatN1 =         kE2BT2+126
DEFC       kStatN2 =         kE2BT2+127
DEFC       kStatLower =      kE2BT2+128
DEFC       kStatUpper =      kE2BT2+129
DEFC       kuw0 =            kE2BT2+130
DEFC       kImag =           kE2BT2+131
DEFC       kSumY =           kE2BT2+132
DEFC       kXres =           kE2BT2+133
DEFC       kStat_s =         kE2BT2+134
DEFC       kSumY2 =          kE2BT2+135
DEFC       kSumXY =          kE2BT2+136
DEFC       kuXres =          kE2BT2+137
DEFC       kModBox =		kE2BT2+138
DEFC       kNormProb =	kE2BT2+139
DEFC       kNormalPDF =      kE2BT2+140
DEFC       kTPDF =           kE2BT2+141
DEFC       kChiPDF =         kE2BT2+142
DEFC       kFPDF =           kE2BT2+143
DEFC       kMinY =           kE2BT2+144   ; MinY
DEFC       kRandBin =        kE2BT2+145
DEFC       kRef =            kE2BT2+146
DEFC       kRRef =           kE2BT2+147
DEFC       kLRSqr =          kE2BT2+148
DEFC       kBRSqr =          kE2BT2+149
DEFC       kDiagOn =         kE2BT2+150
DEFC       kDiagOff =        kE2BT2+151
DEFC       kun1 =            kE2BT2+152   ; FOR RCL USE WHEN GOTTEN FROM 82
DEFC       kvn1 =            kE2BT2+153   ; FOR RCL USE WHEN GOTTEN FROM 82
;
DEFC	k83_00End =       kvn1            ;end of original keys...
DEFC     kArchive =        k83_00End + 1
DEFC     kUnarchive =      k83_00End + 2
DEFC     kAsm =            k83_00End + 3   ; Asm(
DEFC     kAsmPrgm =        k83_00End + 4   ; AsmPrgm
DEFC     kAsmComp =        k83_00End + 5   ; AsmComp(
;
DEFC       kcapAAcute =	k83_00End + 6
DEFC       kcapAGrave =	k83_00End + 7
DEFC       kcapACaret =	k83_00End + 8
DEFC       kcapADier =	k83_00End + 9
DEFC       kaAcute =		k83_00End + 10
DEFC       kaGrave =		k83_00End + 11
DEFC       kaCaret =		k83_00End + 12
DEFC       kaDier =		k83_00End + 13
DEFC       kcapEAcute =	k83_00End + 14
DEFC       kcapEGrave =	k83_00End + 15
DEFC       kcapECaret =	k83_00End + 16
DEFC       kcapEDier =	k83_00End + 17
DEFC       keAcute =		k83_00End + 18
DEFC       keGrave =		k83_00End + 19
DEFC       keCaret =		k83_00End + 20
DEFC       keDier =		k83_00End + 21
DEFC       kcapIAcute =	k83_00End + 22
DEFC       kcapIGrave =	k83_00End + 23
DEFC       kcapICaret =	k83_00End + 24
DEFC       kcapIDier =	k83_00End + 25
DEFC       kiAcute =		k83_00End + 26
DEFC       kiGrave =		k83_00End + 27
DEFC       kiCaret =		k83_00End + 28
DEFC       kiDier =		k83_00End + 29
DEFC       kcapOAcute =	k83_00End + 30
DEFC       kcapOGrave =	k83_00End + 31
DEFC       kcapOCaret =	k83_00End + 32
DEFC       kcapODier =	k83_00End + 33
DEFC       koAcute =		k83_00End + 34
DEFC       koGrave =		k83_00End + 35
DEFC       koCaret =		k83_00End + 36
DEFC       koDier =		k83_00End + 37
DEFC       kcapUAcute =	k83_00End + 38
DEFC       kcapUGrave =	k83_00End + 39
DEFC       kcapUCaret =	k83_00End + 40
DEFC       kcapUDier =	k83_00End + 41
DEFC       kuAcute =		k83_00End + 42
DEFC       kuGrave =		k83_00End + 43
DEFC       kuCaret =		k83_00End + 44
DEFC       kuDier =		k83_00End + 45
DEFC       kcapCCed =	k83_00End + 46
DEFC       kcCed =		k83_00End + 47
DEFC       kcapNTilde =	k83_00End + 48
DEFC       knTilde =		k83_00End + 49
DEFC       kaccent =		k83_00End + 50
DEFC       kgrave =		k83_00End + 51
DEFC       kdieresis =	k83_00End + 52
DEFC       kquesDown =	k83_00End + 53
DEFC       kexclamDown =     k83_00End + 54
DEFC       kalpha =          k83_00End + 55
DEFC      kbeta =           k83_00End +  56
DEFC      kgamma =          k83_00End +  57
DEFC      kcapDelta =       k83_00End +  58
DEFC      kdelta =          k83_00End +  59
DEFC      kepsilon =        k83_00End +  60
DEFC      klambda =         k83_00End +  61
DEFC      kmu =             k83_00End +  62
DEFC      kpi2 =            k83_00End +  63
DEFC      krho =            k83_00End +  64
DEFC      kcapSigma =       k83_00End +  65
DEFC      ksigma =          k83_00End +  66
DEFC      ktau =            k83_00End +  67
DEFC      kphi =            k83_00End +  68
DEFC      kcapOmega =       k83_00End +  69
DEFC      kphat =           k83_00End +  70
DEFC      kchi2 =           k83_00End +  71
DEFC      kstatF2 =         k83_00End +  72
DEFC     kLa =		k83_00End + 73
DEFC     kLb =		k83_00End + 74
DEFC     kLc =		k83_00End + 75
DEFC     kLd =		k83_00End + 76
DEFC     kLe =		k83_00End + 77
DEFC     kLf =		k83_00End + 78
DEFC     kLg =		k83_00End + 79
DEFC     kLh =		k83_00End + 80
DEFC     kLi =		k83_00End + 81
DEFC     kLj =		k83_00End + 82
DEFC     kLk =		k83_00End + 83
DEFC     kLl =		k83_00End + 84
DEFC     kLm =		k83_00End + 85
DEFC    kLsmalln =	k83_00End +  86
DEFC    kLo =		k83_00End +  87
DEFC    kLp =		k83_00End +  88
DEFC    kLq =		k83_00End +  89
DEFC    kLsmallr =	k83_00End +  90
DEFC    kLs =		k83_00End +  91
DEFC    kLt =		k83_00End +  92
DEFC    kLu =		k83_00End +  93
DEFC    kLv =		k83_00End +  94
DEFC    kLw =		k83_00End +  95
DEFC    kLx =		k83_00End +  96
DEFC    kLy =		k83_00End +  97
DEFC    kLz =		k83_00End +  98
DEFC  kGarbageC =	k83_00End +  99 ; GarbageCollect
;
DEFC     kE2BT2_End =	kGarbageC
;
;======================================================================
;           TI-83 Plus Context Equates
;======================================================================
;
DEFC     cxCmd =           kQuit                   ;home screen
DEFC     cxMatEdit =       kMatrixEd               ;matrix editor
DEFC     cxPrgmEdit =      kPrgmEd                 ;program editor
DEFC     cxEquEdit =       kYequ                   ;equation editor
DEFC     cxGrRange =       kWindow                 ;graph range editor
DEFC     cxGrZfact =       kZFactEd                ;graph zoom factors editor
DEFC     cxGraph =         kGraph                  ;graph mode
DEFC     cxStatEdit =      kStatEd                 ;statistics list editor
DEFC     cxPrgmInput =     kPrgmInput              ;programmed input
DEFC     cxError =         kError                  ;error handler
DEFC     cxLinkIO =        kLinkIO                 ;LINK I/O interface
DEFC     cxMem =           kResetMem               ;reset memory
DEFC     cxDefMem =        kResetDef               ;reset default
DEFC     cxRAMApp =        kChkRAM                 ;RAM usage screen
DEFC     cxMode =          kMode                   ;mode settings screen
DEFC     cxErase =         kDelMem                 ;memory erase
DEFC     cxPrgmCreate =    kPrgmCr                 ;PROGRAM CREATE
DEFC     cxTableEditor =   kTable                  ;TABLE EDITOR
DEFC     cxTableSet =      kTblSet                 ;TABLE SET UP
DEFC     cxStatPlot =      kStatP                  ;STAT PLOTS
DEFC	cxInfStat =	kInfStat		;Inferential Statistic
DEFC     cxFormat =        kFormat                 ;FORMAT CONTEXT
DEFC     cxSolveTVM =      kSolveTVM               ;Solve TVM
DEFC     cxSolveRoot =     kSolveRoot              ;Solve Root
DEFC     lastOldApp =      kExtApps                ;external applications
DEFC     cxextapps =       kExtApps
DEFC     cxNewApps =       kNewApps                ;new cerberus applications
DEFC     cxGroup =         cxNewApps+0             ;1st new app.
DEFC     cxUnGroup =       cxNewApps+1             ;2nd new app.
DEFC     lastNewApp =      cxUnGroup               ;last new app for this ver

;
;======================================================================
;           Scan Code Equates
;======================================================================;
DEFC	skDown =          $01
DEFC	skLeft =          $02
DEFC	skRight =         $03
DEFC	skUp =            $04
DEFC	skEnter =         $09
DEFC	skAdd =           $0A
DEFC	skSub =           $0B
DEFC	skMul =           $0C
DEFC	skDiv =           $0D
DEFC	skPower =         $0E
DEFC	skClear =         $0F
DEFC	skChs =           $11
DEFC	sk3 =             $12
DEFC	sk6 =             $13
DEFC	sk9 =             $14
DEFC	skRParen =        $15
DEFC	skTan =           $16
DEFC	skVars =          $17
DEFC	skDecPnt =        $19
DEFC	sk2 =             $1A
DEFC	sk5 =             $1B
DEFC	sk8 =             $1C
DEFC	skLParen =        $1D
DEFC	skCos =           $1E
DEFC	skPrgm =          $1F
DEFC	skStat =          $20
DEFC	sk0 =             $21
DEFC	sk1 =             $22
DEFC	sk4 =             $23
DEFC	sk7 =             $24
DEFC	skComma =         $25
DEFC	skSin =           $26
DEFC	skMatrix =        $27
DEFC	skGraphvar =      $28
DEFC	skStore =         $2A
DEFC	skLn =            $2B
DEFC	skLog =           $2C
DEFC	skSquare =        $2D
DEFC	skRecip =         $2E
DEFC	skMath =          $2F
DEFC	skAlpha =         $30
DEFC	skGraph =         $31
DEFC	skTrace =         $32
DEFC	skZoom =          $33
DEFC	skWindow =        $34
DEFC	skYEqu =          $35
DEFC	sk2nd =           $36
DEFC	skMode =          $37
DEFC	skDel =           $38
;
;======================================================================
;           Tokens
;======================================================================
;
DEFC       EOSSTART =        0
;
;
;   DISPLAY CONVERSIONS COME IMMEDIATELY BEFORE 'TSTORE'
;
DEFC     DCONV =   $01
;
DEFC       tToDMS =          DCONV       ; $01
DEFC       tToDEC =          DCONV+1     ; $02
DEFC       tToAbc =          DCONV+2     ; $03    > A b/c
;
DEFC       tStore =          DCONV+3     ; $04 Lstore                01
;
DEFC       tBoxPlot =        $05
;
DEFC       BRACKS =          $06
;
DEFC       tLBrack =         BRACKS      ; $06 '['
DEFC       tRBrack =         BRACKS+1    ; $07 ']'
DEFC       tLBrace =         BRACKS+2    ; $08 '{'
DEFC       tRBrace =         BRACKS+3    ; $09 '}'
;
DEFC       tPOST1 =          BRACKS+4
;
DEFC       tFromRad =        tPOST1       ; $0A Lradian
DEFC       tFromDeg =        tPOST1+1     ; $0B Ldegree
DEFC       tRecip =          tPOST1+2     ; $0C Linverse
DEFC       tSqr =            tPOST1+3     ; $0D Lsquare
DEFC       tTrnspos =        tPOST1+4     ; $0E Ltranspose
DEFC       tCube =           tPOST1+5     ; $0F '^3'
;
DEFC       tLParen =         $10         ; 10h '('
DEFC       tRParen =         $11         ; 11h ')'
;
;
DEFC       IMUN =            $12
;
DEFC       tRound =          IMUN        ; $12 'round'
DEFC       tPxTst =          IMUN+1      ; $13 'PXL-TEST'
DEFC       tAug =            IMUN+2      ; $14 'aug'
DEFC       tRowSwap =        IMUN+3      ; $15 'rSwap'
DEFC       tRowPlus =        IMUN+4      ; $16 'rAdd'
DEFC       tmRow =           IMUN+5      ; $17 'multR'
DEFC       tmRowPlus =       IMUN+6      ; $18 'mRAdd'
DEFC       tMax =            IMUN+7      ; $19 'max'
DEFC       tMin =            IMUN+8      ; $1A 'min'
DEFC       tRToPr =          IMUN+9      ; $1B 'R>Pr
DEFC       tRToPo =          IMUN+10     ; $1C 'R>Po
DEFC       tPToRx =          IMUN+11     ; $1D 'P>Rx
DEFC       tPToRy =          IMUN+12     ; $1E 'P>Ry
DEFC       tMedian =         IMUN+13     ; $1F 'MEDIAN
DEFC       tRandM =          IMUN+14     ; $20 'randM'
DEFC       tMean =           IMUN+15     ; $21
DEFC       tRoot =           IMUN+16     ; $22 'ROOT'
DEFC       tSeries =         IMUN+17     ; $23 'seq'
DEFC       tFnInt =          IMUN+18     ; $24 'fnInt'
DEFC       tNDeriv =         IMUN+19     ; $25 'fnIr'
DEFC       tEvalF =          IMUN+20     ; $26
DEFC       tFmin =           IMUN+21     ; $27
DEFC       tFmax =           IMUN+22     ; $28
;
DEFC       tEOSEL =          IMUN+23
;
DEFC       tSpace =          tEOSEL       ; $29   ' '
DEFC       tString =         tEOSEL+1     ; $2A  '"'
DEFC       tComma =          tEOSEL+2     ; $2B  ','
;
;
DEFC       tii =             $2C         ; i
;
;======================================================================
;           Postfix Functions
;======================================================================
;
DEFC       tPost =           $2D
;
DEFC       tFact =           tPost       ; $2D '!'
;
DEFC       tCubicR =         $2E
DEFC       tQuartR =         $2F

;======================================================================
;           Number Tokens 
;======================================================================
;
DEFC       NUMS =            $30
;
DEFC       t0 =              NUMS        ; $30
DEFC       t1 =              NUMS+1      ; $31
DEFC       t2 =              NUMS+2      ; $32
DEFC       t3 =              NUMS+3      ; $33
DEFC       t4 =              NUMS+4      ; $34
DEFC       t5 =              NUMS+5      ; $35
DEFC       t6 =              NUMS+6      ; $36
DEFC       t7 =              NUMS+7      ; $37
DEFC       t8 =              NUMS+8      ; $38
DEFC       t9 =              NUMS+9      ; $39
DEFC       tDecPt =          NUMS+10     ; $3A
DEFC       tee =             NUMS+11     ; $3B
;
;======================================================================
;            BINARY OP
;======================================================================
;
DEFC       tOr =             $3C         ; 3Ch  '_or_'
DEFC       tXor =            $3D         ; 3Dh
;
DEFC       tColon =          $3E         ; 3Eh ':'
DEFC       tEnter =          $3F         ; 3Fh  Lenter
;
DEFC       tAnd =            $40         ; 40h  '_and_'       
;
;======================================================================
;            LETTER TOKENS   
;======================================================================

;
DEFC       LET =             $41
;
DEFC       tA =              LET         ; $41
DEFC       tB =              LET+1       ; $42
DEFC       tC =              LET+2       ; $43
DEFC       tD =              LET+3       ; $44
DEFC       tE =              LET+4       ; $45
DEFC       tF =              LET+5       ; $46
DEFC       tG =              LET+6       ; $47
DEFC       tH =              LET+7       ; $48
DEFC       tI =              LET+8       ; $49
DEFC       tJ =              LET+9       ; $4A
DEFC       tK =              LET+10      ; $4B
DEFC       tL =              LET+11      ; $4C
DEFC       tM =              LET+12      ; $4D
DEFC       tN =              LET+13      ; $4E
DEFC       tO =              LET+14      ; $4F
DEFC       tP =              LET+15      ; $50
DEFC       tQ =              LET+16      ; $51
DEFC       tR =              LET+17      ; $52
DEFC       tS =              LET+18      ; $53
DEFC       tT =              LET+19      ; $54
DEFC       tU =              LET+20      ; $55
DEFC       tV =              LET+21      ; $56
DEFC       tW =              LET+22      ; $57
DEFC       tX =              LET+23      ; $58
DEFC       tY =              LET+24      ; $59
DEFC       tZ =              LET+25      ; $5A
DEFC       tTheta =          LET+26      ; $5B
;
;======================================================================
;   THESE VAR TOKENS ARE 1ST OF A DOUBLE TOKEN 
;======================================================================

;
DEFC     vToks =   LET+27    ;
;
;       USER MATRIX TOKEN, 2ND TOKEN NEEDED FOR NAME
;
DEFC       tVarMat =         vToks       ; $5C
;
;       USER LIST TOKEN, 2ND TOKEN NEEDED FOR NAME
;
DEFC       tVarLst =         vToks+1     ; $5D
;
;       USER EQUATION TOKEN, 2ND TOKEN NEEDED FOR NAME
;
DEFC       tVarEqu =         vToks+2     ; $5E
DEFC       tProg =           vToks+3     ; $5F
;
;       USER PICT TOKEN, 2ND TOKEN NEEDED FOR NAME
;
DEFC       tVarPict =        vToks+4     ; $60
;
;       USER GDB TOKEN, 2ND TOKEN NEEDED FOR NAME
;
DEFC       tVarGDB =         vToks+5     ; $61
DEFC       tVarOut =         vToks+6     ; $62
DEFC       tVarSys =         vToks+7     ; $63
;
;
;======================================================================
;            Mode Setting Commands
;======================================================================

;
DEFC       MODESA =          vToks+8     ; $64
;
DEFC       tRad =            MODESA      ; $64 'Radian'
DEFC       tDeg =            MODESA+1    ; $65 'Degree'
DEFC       tNormF =          MODESA+2    ; $66 'Normal'
DEFC       tSci =            MODESA+3    ; $67 'Sci'
DEFC       tEng =            MODESA+4    ; $68 'Eng'
DEFC       tFloat =          MODESA+5    ; $69 'Float'
;
DEFC       CMPS =            $6A
;
DEFC       tEQ =             CMPS        ; $6A '=='
DEFC       tLT =             CMPS+1      ; $6B '<'
DEFC       tGT =             CMPS+2      ; $6C '>'
DEFC       tLE =             CMPS+3      ; $6D LLE
DEFC       tGE =             CMPS+4      ; $6E LGE
DEFC       tNE =             CMPS+5      ; $6F LNE
;
;======================================================================
;            BINARY OP
;======================================================================
;
DEFC       tAdd =            $70         ; 70h '+'
DEFC       tSub =            $71         ; 71h '-'
DEFC       tAns =            $72         ; 72h
;
;======================================================================
;            Mode Setting Commands
;======================================================================
;
DEFC       MODES =           $73
;
DEFC       tFix =            MODES       ; $73 'Fix_'
DEFC       tSplitOn =        MODES+1     ; $74
DEFC       tFullScreen =     MODES+2     ; $75
DEFC       tStndrd =         MODES+3     ; $76 'Func'
DEFC       tParam =          MODES+4     ; $77 'Param'
DEFC       tPolar =          MODES+5     ; $78 'Pol'
DEFC       tSeqG =           MODES+6     ; $79
DEFC       tAFillOn =        MODES+7     ; $7A 'AUTO FILL ON
DEFC       tAFillOff =       MODES+8     ; $7B
DEFC       tACalcOn =        MODES+9     ; $7C
DEFC       tACalcOff =       MODES+10    ; $7D 'AutoFill OFF
;
;       GRAPH FORMAT TOKENS ARE 2 BYTE TOKENS
;
DEFC       tGFormat =        MODES+11    ; $7E
;
DEFC       tBoxIcon =        $7F
DEFC       tCrossIcon =      $80
DEFC       tDotIcon =        $81
;
;======================================================================
;            (More) BINARY OP
;======================================================================
;
DEFC       tMul =            $82         ; 82h  '*'
DEFC       tDiv =            $83         ; 83h  '/'
;
;======================================================================
;            SOME GRAPH COMMANDS
;======================================================================
;
DEFC       GRCMDS =          $84
;
DEFC       tTrace =          GRCMDS      ; $84 'Trace'
DEFC       tClDrw =          GRCMDS+1    ; $85 'ClDrw'
DEFC       tZoomStd =        GRCMDS+2    ; $86 'ZStd'
DEFC       tZoomtrg =        GRCMDS+3    ; $87 'Ztrg'
DEFC       tZoomBox =        GRCMDS+4    ; $88 'ZBOX'
DEFC       tZoomIn =         GRCMDS+5    ; $89 'ZIn'
DEFC       tZoomOut =        GRCMDS+6    ; $8A 'ZOut'
DEFC       tZoomSqr =        GRCMDS+7    ; $8B 'ZSqr'
DEFC       tZoomInt =        GRCMDS+8    ; $8C 'ZInt'
DEFC       tZoomPrev =       GRCMDS+9    ; $8D 'ZPrev'
DEFC       tZoomDec =        GRCMDS+10   ; $8E 'ZDecm'
DEFC       tZoomStat =       GRCMDS+11   ; $8F 'ZStat
DEFC       tUsrZm =          GRCMDS+12   ; $90 'ZRcl'
DEFC       tPrtScrn =        GRCMDS+13   ; $91 'PrtScrn'
DEFC       tZoomSto =        GRCMDS+14   ; $92  ZOOM STORE
DEFC       tText =           GRCMDS+15   ; $93
;
;======================================================================
;           BINARY OP  (Combination & Permutation)
;======================================================================
;
DEFC       tnPr =            GRCMDS+16   ; $94 '_nPr_'
DEFC       tnCr =            GRCMDS+17   ; $95 '_nCr_'
;
;======================================================================
;           MORE GRAPH COMMANDS
;======================================================================
;
DEFC       tYOn =            GRCMDS+18   ; $96 'FnOn_'
DEFC       tYOff =           GRCMDS+19   ; $97 'FnOff_'
DEFC       tStPic =          GRCMDS+20   ; $98 'StPic_'
DEFC       tRcPic =          GRCMDS+21   ; $99 'RcPic_'
DEFC       tStoDB =          GRCMDS+22   ; $9A 'StGDB_'
DEFC       tRclDB =          GRCMDS+23   ; $9B 'RcGDB_'
DEFC       tLine =           GRCMDS+24   ; $9C 'Line'
DEFC       tVert =           GRCMDS+25   ; $9D 'Vert_'
DEFC       tPtOn =           GRCMDS+26   ; $9E 'PtOn'
DEFC       tPtOff =          GRCMDS+27   ; $9F 'PtOff'
;
;======================================================================
;           TOKEN A0 CANNOT BE AN EOS FUNCTION
;           SINCE LOW MULT=A0 ALREADY
;======================================================================
;
DEFC       tPtChg =          GRCMDS+28   ; $A0 'PtChg'
DEFC       tPXOn =           GRCMDS+29   ; $A1
DEFC       tPXOff =          GRCMDS+30   ; $A2
DEFC       tPXChg =          GRCMDS+31   ; $A3
DEFC       tShade =          GRCMDS+32   ; $A4 'Shade'
DEFC       tCircl =          GRCMDS+33   ; $A5 'Circl'
DEFC       tHorz =           GRCMDS+34   ; $A6 'HORIZONTAL'
DEFC       tTanLn =          GRCMDS+35   ; $A7 'TanLn'
DEFC       tDrInv =          GRCMDS+36   ; $A8 'DrInv_'
DEFC       tDrawF =          GRCMDS+37   ; $A9 'DrawF_'
;
DEFC       tVarStrng =       $AA
;
;======================================================================
;           Functions with No Arguments                                    
;======================================================================
;
DEFC     NOARG =   $AB
;
DEFC       tRand =           NOARG       ; $AB 'rand'
DEFC       tPi =             NOARG+1     ; $AC  Lpi
DEFC       tGetKey =         NOARG+2     ; $AD 'getKy'
;
;
DEFC       tAPost =          tGetKey+1   ; APOSTROPHY
DEFC       tQuest =          tAPost+1    ; QUESTION MARK
;
;
DEFC     UNARY =   tQuest+1              ; $B0
;
DEFC       tChs =            UNARY       ; $B0
DEFC       tInt =            UNARY+1     ; $B1
DEFC       tAbs =            UNARY+2     ; $B2
DEFC       tDet =            UNARY+3     ; $B3
DEFC       tIdent =          UNARY+4     ; $B4
DEFC       tDim =            UNARY+5     ; $B5
DEFC       tSum =            UNARY+6     ; $B6
DEFC       tProd =           UNARY+7     ; $B7
DEFC       tNot =            UNARY+8     ; $B8
DEFC       tIPart =          UNARY+9     ; $B9
DEFC       tFPart =          UNARY+10    ; $BA
;
;
;======================================================================
;           NEW 2 BYTE TOKENS
;======================================================================
;
DEFC       t2ByteTok =       $BB         ;
;
;
DEFC     UNARYLR = UNARY+12
;
DEFC       tSqrt =           UNARYLR     ; $BC
DEFC       tCubRt =          UNARYLR+1   ; $BD
DEFC       tLn =             UNARYLR+2   ; $BE
DEFC       tExp =            UNARYLR+3   ; $BF
DEFC       tLog =            UNARYLR+4   ; $C0
DEFC       tALog =           UNARYLR+5   ; $C1
DEFC       tSin =            UNARYLR+6   ; $C2
DEFC       tASin =           UNARYLR+7   ; $C3
DEFC       tCos =            UNARYLR+8   ; $C4
DEFC       tACos =           UNARYLR+9   ; $C5
DEFC       tTan =            UNARYLR+10  ; $C6
DEFC       tATan =           UNARYLR+11  ; $C7
DEFC       tSinH =           UNARYLR+12  ; $C8
DEFC       tASinH =          UNARYLR+13  ; $C9
DEFC       tCoshH =          UNARYLR+14  ; $CA
DEFC       tACosH =          UNARYLR+15  ; $CB
DEFC       tTanH =           UNARYLR+16  ; $CC
DEFC       tATanH =          UNARYLR+17  ; $CD
; 
;======================================================================
;           SOME PROGRAMMING COMMANDS                                      
;======================================================================
;
DEFC     PROGTOK = UNARYLR+18
;
DEFC       tIf =             PROGTOK     ; $CE
DEFC       tThen =           PROGTOK+1   ; $CF
DEFC       tElse =           PROGTOK+2   ; $D0
DEFC       tWhile =          PROGTOK+3   ; $D1
DEFC       tRepeat =         PROGTOK+4   ; $D2
DEFC       tFor =            PROGTOK+5   ; $D3
DEFC       tEnd =            PROGTOK+6   ; $D4
DEFC       tReturn =         PROGTOK+7   ; $D5
DEFC       tLbl =            PROGTOK+8   ; $D6   'Lbl_'
DEFC       tGoto =           PROGTOK+9   ; $D7   'Goto_'
DEFC       tPause =          PROGTOK+10  ; $D8   'Pause_'
DEFC       tStop =           PROGTOK+11  ; $D9   'Stop'
DEFC       tISG =            PROGTOK+12  ; $DA   'IS>'
DEFC       tDSL =            PROGTOK+13  ; $DB   'DS<'
DEFC       tInput =          PROGTOK+14  ; $DC   'Input_'
DEFC       tPrompt =         PROGTOK+15  ; $DD   'Prompt_'
DEFC       tDisp =           PROGTOK+16  ; $DE   'Disp_'
DEFC       tDispG =          PROGTOK+17  ; $DF   'DispG'
;
DEFC       tOutput =         PROGTOK+18  ; $E0    'Outpt'
DEFC       tClLCD =          PROGTOK+19  ; $E1    'ClLCD'
DEFC       tConst =          PROGTOK+20  ; $E2    'Fill'
DEFC       tSortA =          PROGTOK+21  ; $E3    'sortA_'
DEFC       tSortD =          PROGTOK+22  ; $E4    'sortD_'
DEFC       tDispTab =        PROGTOK+23  ; $E5    'Disp Table
DEFC       tMenu =           PROGTOK+24  ; $E6    'Menu'
DEFC       tSendMBL =        PROGTOK+25  ; $E7    'SEND'
DEFC       tGetMBL =         PROGTOK+26  ; $E8    'GET'
;
;======================================================================
;           STAT PLOT COMMANDS                                             
;======================================================================
;
DEFC       statPCmd =        PROGTOK+27
;
DEFC       tPlotOn =         statPCmd    ; $E9     ' PLOTSON'
DEFC       tPlotOff =        statPCmd+1   ; $EA     ' PLOTSOFF
;
DEFC       tListName =       $EB        ; LIST DESIGNATOR
;
DEFC       tPlot1 =          $EC
DEFC       tPlot2 =          $ED
DEFC       tPlot3 =          $EE
;
DEFC       tUnused01 =       $EF        ;        available?
;
DEFC       tPower =          $F0        ;        '^'
DEFC       tXRoot =          $F1        ;        LsupX,Lroot

DEFC       STATCMD =         $F2
;
DEFC       tOneVar =         STATCMD     ; $F2    'OneVar_'
DEFC       tTwoVar =         STATCMD+1   ; $F3
DEFC       tLR =             STATCMD+2   ; $F4    'LinR(A+BX
DEFC       tLRExp =          STATCMD+3   ; $F5    'ExpR_'
DEFC       tLRLn =           STATCMD+4   ; $F6    'LnR_'
DEFC       tLRPwr =          STATCMD+5   ; $F7    'PwrR_'
DEFC       tMedMed =         STATCMD+6   ; $F8
DEFC       tQuad =           STATCMD+7   ; $F9
DEFC       tClrLst =         STATCMD+8   ; $FA    'CLEAR LIST
DEFC       tClrTbl =         STATCMD+9   ; $FB    CLEAR TABLE
DEFC       tHist =           STATCMD+10  ; $FC    'Hist_'
DEFC       txyLine =         STATCMD+11  ; $FD    'xyline_'
DEFC       tScatter =        STATCMD+12  ; $FE    'Scatter_'
DEFC       tLR1 =            STATCMD+13  ; $FF    'LINR(AX+B

;       
;======================================================================
;           2ND HALF OF GRAPH FORMAT TOKENS
;======================================================================
;           Format settings commands
;
DEFC       GFMT =            0
;
DEFC       tSeq =            GFMT        ; 'SeqG'
DEFC       tSimulG =         GFMT+1      ; 'SimulG'
DEFC       tPolarG =         GFMT+2      ; 'PolarGC'
DEFC       tRectG =          GFMT+3      ; 'RectGC'
DEFC       tCoordOn =        GFMT+4      ; 'CoordOn'
DEFC       tCoordOff =       GFMT+5      ; 'CoordOff'
DEFC       tDrawLine =       GFMT+6      ; 'DrawLine'
DEFC       tDrawDot =        GFMT+7      ; 'DrawDot'
DEFC       tAxisOn =         GFMT+8      ; 'AxesOn'
DEFC       tAxisOff =        GFMT+9      ; 'AxesOff'
DEFC       tGridOn =         GFMT+10     ; 'GridOn'
DEFC       tGridOff =        GFMT+11     ; 'GridOff'
DEFC       tLblOn =          GFMT+12     ; 'LabelOn'
DEFC       tLblOff =         GFMT+13     ; 'LabelOff'
DEFC       tWebOn =          GFMT+14     ; 'WebOn'
DEFC       tWebOff =         GFMT+15     ; 'WebOFF'
DEFC       tuv =             GFMT+16     ; U vs V
DEFC       tvw =             GFMT+17     ; V vs W
DEFC       tuw =             GFMT+18     ; U vs W
;
;======================================================================
;           2ND HALF OF USER MATRIX TOKENS                                 
;======================================================================
;
DEFC       tMatA =           $00         ; MAT A
DEFC       tMatB =           $01         ; MAT B
DEFC       tMatC =           $02         ; MAT C
DEFC       tMatD =           $03         ; MAT D
DEFC       tMatE =           $04         ; MAT E
DEFC       tMatF =           $05         ; MAT F
DEFC       tMatG =           $06         ; MAT G
DEFC       tMatH =           $07         ; MAT H
DEFC       tMatI =           $08         ; MAT I
DEFC       tMatJ =           $09         ; MAT J
;      
;======================================================================
;           2ND HALF OF USER LIST TOKENS
;======================================================================
;
DEFC       tL1 =             $00         ; LIST 1
DEFC       tL2 =             $01         ; LIST 2
DEFC       tL3 =             $02         ; LIST 3
DEFC       tL4 =             $03         ; LIST 4
DEFC       tL5 =             $04         ; LIST 5
DEFC       tL6 =             $05         ; LIST 6

;
;======================================================================
;           2ND HALF OF USER EQUATION TOKENS
;======================================================================
;
;       "Y" EQUATIONS HAVE BIT 4 SET
;
DEFC       tY1 =             $10         ; Y1
DEFC       tY2 =             $11         ; Y2
DEFC       tY3 =             $12         ; Y3
DEFC       tY4 =             $13         ; Y4
DEFC       tY5 =             $14         ; Y5
DEFC       tY6 =             $15         ; Y6
DEFC       tY7 =             $16         ; Y7
DEFC       tY8 =             $17         ; Y8
DEFC       tY9 =             $18         ; Y9
DEFC       tY0 =             $19         ; Y0
;
;       PARAM EQUATIONS HAVE BIT 5 SET
;
DEFC       tX1T =            $20         ; X1t
DEFC       tY1T =            $21         ; Y1t
DEFC       tX2T =            $22         ; X2t
DEFC       tY2T =            $23         ; Y2t
DEFC       tX3T =            $24         ; X3t
DEFC       tY3T =            $25         ; Y3t
DEFC       tX4T =            $26         ; X4t
DEFC       tY4T =            $27         ; Y4t
DEFC       tX5T =            $28         ; X5t
DEFC       tY5T =            $29         ; Y5t
DEFC       tX6T =            $2A         ; X6t
DEFC       tY6T =            $2B         ; Y6t
;
;       POLAR EQUATIONS HAVE BIT 6 SET
;
DEFC       tR1 =             $40         ; R1
DEFC       tR2 =             $41         ; R2
DEFC       tR3 =             $42         ; R3
DEFC       tR4 =             $43         ; R4
DEFC       tR5 =             $44         ; R5
DEFC       tR6 =             $45         ; R6
;
;       RECURSION EQUATIONS HAVE BIT 7 SET
;
DEFC       tun =             $80         ; Un
DEFC       tvn =             $81         ; Vn
DEFC       twn =             $82         ; Wn
;
;======================================================================
;           2ND HALF OF USER PICTURE TOKENS                                
;======================================================================
;
DEFC       tPic1 =           $00         ; PIC1
DEFC       tPic2 =           $01         ; PIC2
DEFC       tPic3 =           $02         ; PIC3
DEFC       tPic4 =           $03         ; PIC4
DEFC       tPic5 =           $04         ; PIC5
DEFC       tPic6 =           $05         ; PIC6
DEFC       tPic7 =           $06         ; PIC7
DEFC       tPic8 =           $07         ; PIC8
DEFC       tPic9 =           $08         ; PIC9
DEFC       tPic0 =           $09         ; PIC0
; 
;======================================================================
;           2ND HALF OF USER GRAPH DATABASE TOKENS                         
;======================================================================
;
DEFC       tGDB1 =           $00         ; GDB1
DEFC       tGDB2 =           $01         ; GDB2
DEFC       tGDB3 =           $02         ; GDB3
DEFC       tGDB4 =           $03         ; GDB4
DEFC       tGDB5 =           $04         ; GDB5
DEFC       tGDB6 =           $05         ; GDB6
DEFC       tGDB7 =           $06         ; GDB7
DEFC       tGDB8 =           $07         ; GDB8
DEFC       tGDB9 =           $08         ; GDB9
DEFC       tGDB0 =           $09         ; GDB0
;  
;======================================================================
;           2ND HALF OF STRING VARS                                        
;======================================================================
;
DEFC       tStr1 =           $00
DEFC       tStr2 =           $01
DEFC       tStr3 =           $02
DEFC       tStr4 =           $03
DEFC       tStr5 =           $04
DEFC       tStr6 =           $05
DEFC       tStr7 =           $06
DEFC       tStr8 =           $07
DEFC       tStr9 =           $08
DEFC       tStr0 =           $09

; 
;======================================================================
;           2ND HALF OF SYSTEM OUTPUT ONLY VARIABLES                       
;======================================================================
;
;
;   OPEN        EQU       $00
;
DEFC       tRegEq =          $01         ; REGRESSION EQUATION
;
DEFC       tStatN =          $02         ; STATISTICS N
;
DEFC       tXMean =          $03         ; X MEAN
DEFC       tSumX =           $04         ; SUM(X)
DEFC       tSumXSqr =        $05         ; SUM(X^2)
DEFC       tStdX =           $06         ; STANDARD DEV X
DEFC       tStdPX =          $07         ; STANDARD DEV POP X
DEFC       tMinX =           $08         ; Min X VALUE
DEFC       tMaxX =           $09         ; Max X VALUE
;
DEFC       tMinY =           $0A         ; Min Y VALUE
DEFC       tMaxY =           $0B         ; Max Y VALUE
DEFC       tYmean =          $0C         ; Y MEAN
DEFC       tSumY =           $0D         ; SUM(Y)
DEFC       tSumYSqr =        $0E         ; SUM(Y^2)
DEFC       tStdY =           $0F         ; STANDARD DEV Y
DEFC       tStdPY =          $10         ; STANDARD DEV POP Y
;
DEFC       tSumXY =          $11         ; SUM(XY)
DEFC       tCorr =           $12         ; CORRELATION
DEFC       tMedX =           $13         ; MED(X)
DEFC       tQ1 =             $14         ; 1ST QUADRANT OF X
DEFC       tQ3 =             $15         ; 3RD QUADRANT OF X
DEFC       tQuadA =          $16         ; 1ST TERM OF QUAD POLY REG/ Y-INT
DEFC       tQuadB =          $17         ; 2ND TERM OF QUAD POLY REG/ SLOPE
DEFC       tQuadC =          $18         ; 3RD TERM OF QUAD POLY REG
DEFC       tCubeD =          $19         ; 4TH TERM OF CUBIC POLY REG
DEFC       tQuartE =         $1A         ; 5TH TERM OF QUART POLY REG
DEFC       tMedX1 =          $1B         ; x1 FOR MED-MED
DEFC       tMedX2 =          $1C         ; x2 FOR MED-MED
DEFC       tMedX3 =          $1D         ; x3 FOR MED-MED
DEFC       tMedY1 =          $1E         ; y1 FOR MED-MED
DEFC       tMedY2 =          $1F         ; y2 FOR MED-MED
DEFC       tMedY3 =          $20         ; y3 FOR MED-MED
;
DEFC       tRecurn =		$21		; RECURSION N
DEFC       tStatP =          $22
DEFC       tStatZ =          $23
DEFC       tStatT =          $24
DEFC       tStatChi =        $25
DEFC       tStatF =          $26
DEFC       tStatDF =         $27
DEFC       tStatPhat =       $28
DEFC       tStatPhat1 =      $29
DEFC       tStatPhat2 =      $2A
DEFC       tStatMeanX1 =     $2B
DEFC       tStatStdX1 =      $2C
DEFC       tStatN1 =         $2D
DEFC       tStatMeanX2 =     $2E
DEFC       tStatStdX2 =      $2F
DEFC       tStatN2 =         $30
DEFC       tStatStdXP =      $31
DEFC       tStatLower =      $32
DEFC       tStatUpper =      $33
DEFC       tStat_s =         $34
DEFC       tLRSqr =          $35         ; r^2
DEFC       tBRSqr =          $36         ; R^2
;
;======================================================================
;       These next tokens are only used to access the data
;       they are display only and the user cannot access them at all
;======================================================================
;
DEFC     tF_DF =    $37       ; ANOFAV FACTOR DF
DEFC     tF_SS =    $38       ; ANOFAV FACTOR SS
DEFC     tF_MS =    $39       ; ANOFAV FACTOR MS
DEFC     tE_DF =    $3A       ; ANOFAV ERROR DF
DEFC     tE_SS =    $3B       ; ANOFAV ERROR SS
DEFC     tE_MS =    $3C       ; ANOFAV ERROR MS
;
;
;======================================================================
;           2ND HALF OF SYSTEM INPUT/OUTPUT VARIABLES
;======================================================================
;      SYSTEM VARIABLE EQUATES
;
DEFC  tuXscl =       0
DEFC  tuYscl =       1
DEFC  tXscl =        2
DEFC  tYscl =        3
DEFC  tRecuru0 =     4        ; U 1ST INITIAL COND
DEFC  tRecurv0 =     5        ; V 1ST INITIAL COND
DEFC  tun1 =         6        ; U(N-1)    ; NOT USED
DEFC  tvn1 =         7        ; V(N-1)    ; NOT USED
DEFC  tuRecuru0 =    8        ;
DEFC  tuRecurv0 =    9        ;
;
DEFC  tXmin =        $0A
DEFC  tXmax =        $0B
DEFC  tYmin =        $0C
DEFC  tYmax =        $0D
DEFC  tTmin =        $0E
DEFC  tTmax =        $0F
DEFC  tThetaMin =    $10
DEFC  tThetaMax =    $11
DEFC  tuXmin =       $12
DEFC  tuXmax =       $13
DEFC  tuYmin =       $14
DEFC  tuYmax =       $15
DEFC  tuThetMin =    $16
DEFC  tuThetMax =    $17
DEFC  tuTmin =       $18
DEFC  tuTmax =       $19
DEFC  tTblMin =      $1A
DEFC  tPlotStart =   $1B
DEFC  tuPlotStart =  $1C
DEFC  tnMax =        $1D
DEFC  tunMax =       $1E
DEFC  tnMin =        $1F
DEFC  tunMin =       $20
;
DEFC  tTblStep =	$21
DEFC  tTStep =		$22
DEFC  tThetaStep =	$23
DEFC  tuTStep =		$24
DEFC  tuThetStep =	$25
;
DEFC  tDeltaX =		$26
DEFC  tDeltaY =		$27
;
DEFC  tXFact =		$28
DEFC  tYFact =		$29
;
DEFC       tTblInput =       $2A
;
DEFC       tFinN =           $2B
DEFC       tFinI =           $2C
DEFC       tFinPV =          $2D
DEFC       tFinPMT =         $2E
DEFC       tFinFV =          $2F
DEFC       tFinPY =          $30
DEFC       tFinCY =          $31
;
DEFC       tRecurw0 =        $32         ; w0(1)
DEFC       tuRecurw0 =       $33
;
DEFC       tPlotStep =       $34
DEFC       tuPlotStep =      $35
;
DEFC       tXres =           $36
DEFC       tuXres =          $37
;
DEFC       tRecuru02 =       $38         ; u0(2)
DEFC       tuRecuru02 =      $39
DEFC       tRecurv02 =       $3C         ; v0(2)
DEFC       tuRecurv02 =      $3D
DEFC       tRecurw02 =       $3E         ; w0(2)
DEFC       tuRecurw02 =      $3F
;
;======================================================================
;           2nd byte of t2ByteTok tokens
;======================================================================
;
DEFC       tFinNPV =         $00         ;
DEFC       tFinIRR =         $01         ;
DEFC       tFinBAL =         $02         ;
DEFC       tFinPRN =         $03         ;
DEFC       tFinINT =         $04         ;
DEFC       tFinToNom =       $05         ;
DEFC       tFinToEff =       $06         ;
DEFC       tFinDBD =         $07         ;
DEFC       tLCM =            $08         ;
DEFC       tGCD =            $09         ;
DEFC       tRandInt =        $0A         ;
DEFC       tRandBin =        $0B         ;
DEFC       tSubStrng =       $0C         ;
DEFC       tStdDev =         $0D         ;
DEFC       tVariance =       $0E         ;
DEFC       tInStrng =        $0F         ;
DEFC       tDNormal =        $10         ;
DEFC       tInvNorm =        $11         ;
DEFC       tDT =             $12         ;
DEFC       tChI =            $13         ;
DEFC       tDF =             $14         ;
DEFC       tBINPDF =         $15         ;
DEFC       tBINCDF =         $16         ;
DEFC       tPOIPDF =         $17         ;
DEFC       tPOICDF =         $18         ;
DEFC       tGEOPDF =         $19         ;
DEFC       tGEOCDF =         $1A         ;
DEFC       tNormalPDF =      $1B         ;
DEFC       tTPDF =           $1C         ;
DEFC       tChiPDF =         $1D         ;
DEFC       tFPDF =           $1E         ;
DEFC       tRandNorm =       $1F         ;
DEFC       tFinFPMT =        $20         ;
DEFC       tFinFI =          $21         ;
DEFC       tFinFPV =         $22         ;
DEFC       tFinFN =          $23         ;
DEFC       tFinFFV =         $24         ;
DEFC       tConj =           $25         ;
DEFC       tReal =           $26         ;
DEFC       tImag =           $27         ;
DEFC       tAngle =          $28         ;
DEFC       tCumSum =         $29         ;
DEFC       tExpr =           $2A         ;
DEFC       tLength =         $2B         ;
DEFC       tDeltaLst =       $2C         ;
DEFC       tRef =            $2D         ;
DEFC       tRRef =           $2E         ;
DEFC       tToRect =         $2F         ;
DEFC       tToPolar =        $30         ;
DEFC       tConste =         $31         ;
DEFC       tSinReg =         $32         ;
DEFC       tLogistic =       $33         ;
DEFC       tLinRegTTest =    $34         ;
DEFC       tShadeNorm =      $35         ;
DEFC       tShadeT =         $36         ;
DEFC       tShadeChi =       $37         ;
DEFC       tShadeF =         $38         ;
DEFC       tMatToLst =       $39         ;
DEFC       tLstToMat =       $3A         ;
DEFC       tZTest =          $3B         ;
DEFC       tTTest =          $3C         ;
DEFC       t2SampZTest =     $3D         ;
DEFC       t1PropZTest =     $3E         ;
DEFC       t2PropZTest =     $3F         ;
DEFC       tChiTest =        $40         ;
DEFC       tZIntVal =        $41         ;
DEFC       t2SampZInt =      $42         ;
DEFC       t1PropZInt =      $43         ;
DEFC       t2PropZInt =      $44         ;
DEFC       tGraphStyle =     $45         ;
DEFC       t2SampTTest =     $46         ;
DEFC       t2SampFTest =     $47         ;
DEFC       tTIntVal =        $48         ;
DEFC       t2SampTInt =      $49         ;
DEFC       tSetupLst =       $4A         ;
DEFC       tFinPMTend =      $4B         ;
DEFC       tFinPMTbeg =      $4C         ;
DEFC       tRealM =          $4D         ;
DEFC       tPolarM =         $4E         ;
DEFC       tRectM =          $4F         ;
DEFC       tExprOn =         $50         ;
DEFC       tExprOff =        $51         ;
DEFC       tClrAllLst =      $52         ;
DEFC       tGetCalc =        $53         ;
DEFC       tDelVar =         $54         ;
DEFC       tEquToStrng =     $55         ;
DEFC       tStrngToEqu =     $56         ;
DEFC       tDelLast =        $57         ;
DEFC       tSelect =         $58         ;
DEFC       tANOVA =          $59         ;
DEFC       tModBox =         $5A         ;
DEFC       tNormProb =       $5B         ;
;
;
DEFC       tMGT =            $64         ; VERTICAL SPLIT
DEFC       tZFit =           $65         ; ZOOM FIT
DEFC       tDiag_on =        $66         ; DIANOSTIC DISPLAY ON
DEFC       tDiag_off =       $67         ; DIANOSTIC DISPLAY OFF
DEFC       tOkEnd2v0 =       $67         ;end of 2byte tokens for version 0.
DEFC       tArchive =        $68         ;archive
DEFC       tUnarchive =      $69         ;unarchive
DEFC	  tasm =		$6A
DEFC	  tasmComp =	$6B	      ; asm compile
DEFC	  tasmPrgm =	$6C	      ; signifies a program is asm
DEFC	  tasmCmp = 	$6D	      ; asm program is compiled
;
DEFC       tLcapAAcute =     $6E
DEFC       tLcapAGrave =     $6F
DEFC       tLcapACaret =     $70
DEFC       tLcapADier =      $71
DEFC       tLaAcute =        $72
DEFC       tLaGrave =        $73
DEFC       tLaCaret =        $74
DEFC       tLaDier =         $75
DEFC       tLcapEAcute =     $76
DEFC       tLcapEGrave =     $77
DEFC       tLcapECaret =     $78
DEFC       tLcapEDier =      $79
DEFC       tLeAcute =        $7A
DEFC       tLeGrave =        $7B
DEFC       tLeCaret =        $7C
DEFC       tLeDier =         $7D
;
DEFC       tLcapIGrave =     $7F
DEFC       tLcapICaret =     $80
DEFC       tLcapIDier =      $81
DEFC       tLiAcute =        $82
DEFC       tLiGrave =        $83
DEFC       tLiCaret =        $84
DEFC       tLiDier =         $85
DEFC       tLcapOAcute =     $86
DEFC       tLcapOGrave =     $87
DEFC       tLcapOCaret =     $88
DEFC       tLcapODier =      $89
DEFC       tLoAcute =        $8A
DEFC       tLoGrave =        $8B
DEFC       tLoCaret =        $8C
DEFC       tLoDier =         $8D
DEFC       tLcapUAcute =     $8E
DEFC       tLcapUGrave =     $8F
DEFC       tLcapUCaret =     $90
DEFC       tLcapUDier =      $91
DEFC       tLuAcute =        $92
DEFC       tLuGrave =        $93
DEFC       tLuCaret =        $94
DEFC       tLuDier =         $95
DEFC       tLcapCCed =       $96
DEFC       tLcCed =          $97
DEFC       tLcapNTilde =     $98
DEFC       tLnTilde =        $99
DEFC       tLaccent =        $9A
DEFC       tLgrave =         $9B
DEFC       tLdieresis =      $9C
DEFC       tLquesDown =      $9D
DEFC       tLexclamDown =    $9E
DEFC       tLalpha =         $9F
DEFC      tLbeta =          $a0
DEFC      tLgamma =         $a1
DEFC      tLcapDelta =      $a2
DEFC      tLdelta =         $a3
DEFC      tLepsilon =       $a4
DEFC      tLlambda =        $a5
DEFC      tLmu =            $a6
DEFC      tLpi =            $a7
DEFC      tLrho =           $a8
DEFC      tLcapSigma =      $a9
;
;
DEFC      tLphi =           $aB
DEFC      tLcapOmega =      $aC
DEFC      tLphat =          $aD
DEFC      tLchi =           $aE
DEFC      tLstatF =         $aF
;

DEFC     tLa =      $b0
DEFC     tLb =      $b1
DEFC     tLc =      $b2
DEFC     tLd =      $b3
DEFC     tLsmalle = $b4
DEFC     tLf =      $b5
DEFC     tLsmallg = $b6
DEFC     tLh =      $b7
DEFC     tLi =      $b8
DEFC     tLj =      $b9
DEFC     tLk =      $bA
;

DEFC     tLl =      $bC
DEFC     tLm =      $bD
;tLn      EQU     $bE
DEFC     tLo =      $bF
DEFC     tLp =      $c0
DEFC     tLq =      $c1
DEFC     tLsmallr = $c2
DEFC     tLs =      $c3
DEFC     tLsmallt = $c4
DEFC     tLu =      $c5
DEFC     tLv =      $c6
DEFC     tLw =      $c7
DEFC     tLx =      $c8
DEFC     tLy =      $c9
DEFC     tLz =      $cA
DEFC      tLsigma =         $cb
DEFC      tLtau =           $cc
DEFC      tLcapIAcute =     $cd
;
;
DEFC    tGarbagec = $Ce
DEFC      LastToken =       $Ce         ;tLAST TOKEN IN THIS VERSION...
;
;======================================================================
;           Data Type Equates                                                    
;======================================================================
;
DEFC       RealObj =         0
DEFC       ListObj =         1
DEFC       MatObj =          2
DEFC       EquObj =          3
DEFC       StrngObj =        4
DEFC       ProgObj =         5
DEFC       ProtProgObj =     6
DEFC       PictObj =         7
DEFC       GDBObj =          8
DEFC       UnknownObj =      9
DEFC       UnknownEquObj =   $0A
DEFC       NewEquObj =       $0B
DEFC       CplxObj =         $0C
DEFC       CListObj =        $0D
DEFC       UndefObj =        $0E
DEFC       WindowObj =       $0F
DEFC       ZStoObj =         $10
DEFC       TblRngObj =       $11
DEFC       LCDObj =          $12
DEFC       BackupObj =       $13
DEFC	  AppObj =		$14		;application, only used in menus/link
DEFC	  AppVarObj =	$15		;application variable
DEFC       TempProgObj =     $16           ;program, home deletes when finished
DEFC       GroupObj =        $17           ;group.
; 
;======================================================================
;           I/O equates                                                          
;======================================================================
;
DEFC  D0D1_bits =	$03
DEFC  D0LD1L =		$03
DEFC  D0LD1H =		$01
DEFC  D0HD1L =		$02
DEFC  D0HD1H =		$00
DEFC  bport =		0			; 4-BIT LINK PORT (I/O) 
;
;======================================================================
;           DEVICE CODES                                                       
;======================================================================
;
;
DEFC  TI82DEV =		$82
DEFC  PC82DEV =		$02
DEFC  MAC82DEV =	$12
;
DEFC  TI83FDEV =	$73
DEFC  LINK83FDEV =	$23
;
DEFC  TI83DEV =		$83
DEFC  PC83DEV =		$03
DEFC  MAC83DEV =	$13
;
DEFC  TI85DEV =		$95      ; DIFF THEN REAL 85 SO ME TALK
DEFC  PC85DEV =		$05
DEFC  MAC85DEV =	$15
;
DEFC  TI73DEV =		$74      ; Device x3 is always an 83
DEFC  PC73DEV =		$07
DEFC  MAC73DEV =	$17
;
;TI83FDEV	EQU  $73
DEFC  LINK73FDEV =	$23
DEFC  PC83FDEV =	$23

;======================================================================
;           EQUATES TO RAM LOCATIONS FOR STAT VARS 
;======================================================================
;
;
DEFC	FPLEN =	9		;Length of a floating-point number.
DEFC     StatN =   statVars
DEFC     XMean =   StatN      + FPLEN
DEFC     SumX =    XMean      + FPLEN
DEFC     SumXSqr = SumX       + FPLEN
DEFC     StdX =    SumXSqr    + FPLEN
DEFC     StdPX =   StdX       + FPLEN
DEFC     MinX =    StdPX      + FPLEN
DEFC     MaxX =    MinX       + FPLEN
DEFC     MinY =    MaxX       + FPLEN
DEFC     MaxY =    MinY       + FPLEN
DEFC     YMean =   MaxY       + FPLEN
DEFC     SumY =    YMean      + FPLEN
DEFC     SumYSqr = SumY       + FPLEN
DEFC     StdY =    SumYSqr    + FPLEN
DEFC     StdPY =   StdY       + FPLEN
DEFC     SumXY =   StdPY      + FPLEN
DEFC     Corr =    SumXY      + FPLEN
DEFC     MedX =    Corr       + FPLEN
DEFC     Q1 =      MedX       + FPLEN
DEFC     Q3 =      Q1         + FPLEN
DEFC     QuadA =   Q3         + FPLEN
DEFC     QuadB =   QuadA      + FPLEN
DEFC     QuadC =   QuadB      + FPLEN
DEFC     CubeD =   QuadC      + FPLEN
DEFC     QuartE =  CubeD      + FPLEN
DEFC     MedX1 =   QuartE     + FPLEN
DEFC     MedX2 =   MedX1      + FPLEN
DEFC     MedX3 =   MedX2      + FPLEN
DEFC     MedY1 =   MedX3      + FPLEN
DEFC     MedY2 =   MedY1      + FPLEN
DEFC     MedY3 =   MedY2      + FPLEN
DEFC     PStat =   MedY3      + 2*FPLEN
DEFC     ZStat =   PStat      + FPLEN
DEFC     TStat =   ZStat      + FPLEN
DEFC     ChiStat = TStat      + FPLEN
DEFC     FStat =   ChiStat    + FPLEN
DEFC     DF =      FStat      + FPLEN
DEFC     Phat =    DF         + FPLEN
DEFC     Phat1 =   Phat       + FPLEN
DEFC     Phat2 =   Phat1      + FPLEN
DEFC     MeanX1 =  Phat2      + FPLEN
DEFC     StdX1 =   MeanX1     + FPLEN
DEFC     StatN1 =  StdX1      + FPLEN
DEFC     MeanX2 =  StatN1     + FPLEN
DEFC     StdX2 =   MeanX2     + FPLEN
DEFC     StatN2 =  StdX2      + FPLEN
DEFC     StdXP2 =  StatN2     + FPLEN
DEFC     SLower =  StdXP2     + FPLEN
DEFC     SUpper =  SLower     + FPLEN
DEFC     SStat =   SUpper     + FPLEN

DEFC     F_DF =	anovaf_vars
DEFC     F_SS =	F_DF + FPLEN
DEFC     F_MS =	F_SS + FPLEN
DEFC     E_DF =	F_MS + FPLEN
DEFC     E_SS =	E_DF + FPLEN
DEFC     E_MS =	E_SS + FPLEN


;======================================================================