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 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543
|
2023-10-26 Roy Rankin <rrankin@ihug.com.au>
* configure.ac
: Set Revision to 0.32.0 as release candidate
* doc/gpsim.html.LyXconv/elyxer_p3.py
: Fix for python3
* regression/usart_test/Makefile
: compile tests using default linker files
2023-03-26 Errol van de l'Isle <errolv@users.sourceforge.net>
* modules/gpsim_modules.cc extras/module_manager.cc src/dspic/gpsim_modules.cc
: Fix ODR violation.
2022-12-28 Rob Pearce <rob@fairview.ukfsn.org>
* src/cod.cc
: Improved error reporting on COD file memory range blocks, to distinguish
GPSim limitations from corrupted data.
2022-12-26 Rob Pearce <rob@fairview.ukfsn.org>
* src/16bit-registers.cc src/16bit-registers.h src/pic-registers.cc
src/registers.h
: Out-of-bounds PC messages now report the correct address values on 18F
2022-12-12 Schelte Bron <sbron@otgw.tclcode.com>
* src/p16f8x.cc src/p16x6x.cc
: Corrections to EECON1 for p16f630, p16f676, and all p16f8x devices
2022-12-11 Schelte Bron <sbron@otgw.tclcode.com>
* src/breakpoints.cc
src/cod.cc
cli/cmd_break.cc
: Invert the logic for the execution breakpoint condition because it was
working backwards: The breakpoint would halt execution if the condition
was false.
2022-11-05 Schelte Bron <sbron@otgw.tclcode.com>
* modules/usart.cc
modules/usart.h
: Fix: The USART GUI window shows crlf as two newlines instead of one.
2022-10-06 Rob Pearce <rob@fairview.ukfsn.org>
* src/14bit-registers.cc src/14bit-registers.h src/p18x.cc src/p18x.h
src/p12f6xx.h src/p16f88x.h src/p16f8x.h src/p16f91x.h src/p18fk.cc
src/p18fk.h src/p1xf1xxx.cc src/p1xf1xxx.h
: Enabled the PLL with INTOSC on PIC18F2321 family. Masked out the OSCTUNE
bits on devices that don't support them. Fixed some wrong frequencies
and bugs with RC modes. Removed unused OSCTUNE from 12F1503 class
* regression/intosc/p18f1220.asm regression/intosc/p18f2321.asm
regression/intosc/p18f14k22.asm regression/intosc/p18f26k22.asm
regression/run_regression.sh
: Added some regression tests of the internal oscillator options. Only for
PIC18F family as yet - must add some more! Especially given how many
bugs I discovered on the four devices I have tests for.
2022-09-13 Roy Rankin <rrankin@ihug.com.au>
* plat/win32/configure_win32.awk plat/win32/makefile.mingw
: fix parsing of configure.ac
* src/14bit-tmrs.cc src/14bit-tmrs.h
: fix mingw compile error
* src/makefile.mingw
: add wdt.o for mingw build
2022-09-12 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-instructions.cc src/14bit-processors.cc
src/16bit-instructions.cc src/16bit-processors.cc
src/intcon.cc src/intcon.h
: bug #285 GIE not changed during interrupts
2022-09-11 Roy Rankin <rrankin@ihug.com.au>
* configure.ac
: update
* gpsim/Makefile.am
: fix linking
* regression/p16f6xx regression/p16f6xx/Makefile
regression/p16f6xx/p16f610.asm regression/p16f6xx/p16f616.asm
src/p16x6x.cc src/p16x6x.h regression/run_regression.sh
src/pic-processor.cc src/pic-processor.h
: Feature request #68 Add PIC16F616 - Anders Sonmark initial patch
* regression/p16f88x/epwm.asm -> regression/p16f88x/p16f887_epwm.asm
regression/p16f88x/Makefile
: rename file
* regression/p16f88x/p16f886.asm regression/p16f88x/p16f887.asm
regression/p16f88x/comparator.asm regression/comparator/compar_882.asm
: improve fail messages
* regression/p18f26k22/Makefile regression/comparator/Makefile
regression/p16f676/16f676.lkr regression/p16f676/Makefile
: do not report link warning message
* src/14bit-registers.cc src/14bit-registers.h src/p18fk.cc
src/p1xf1xxx.cc
: generalize SR latch, OSCTUNE version without OSCCON - for p16f610
* src/comparator.cc src/comparator.h src/p16f88x.cc src/p16f88x.h
: comparator can output through SR Latch
* src/ioports.cc src/14bit-tmrs.cc
: improve debuging
2022-08-31 Rob Pearce <rob@fairview.ukfsn.org>
* src/16bit-instructions.cc src/16bit-registers.cc src/16bit-registers.h
src/registers.h regression/instructions_16bit/instructions_16bit.asm
: Corrected the "fix" of bug #228 (r2437 on 2018-07-12) so that it doesn't
break lots of other stuff and actually works for all cases.
2022-08-06 Roy Rankin <rrankin@ihug.com.au>
* regression/comparator/compar_26k22.asm regression/comparator/compar_882.asm
regression/p16f690/p16f690.asm regression/p16f88x/comparator.asm
regression/p1xf18xx/p16f1705_comp.asm regression/p1xf18xx/p16f1788_comp.asm
src/comparator.cc
: Invert changes output even when comparator is off
* src/comparator.h
: add set_vrcon for VRCON_2
* src/p18fk.cc
: 18f26k22 port a4 not open collector
* src/a2dconverter.cc
: add assert(adcon1) for ANSEL::put
2022-07-02 Roy Rankin <rrankin@ihug.com.au>
* regression/eeprom_wide/16f873.lkr regression/eeprom_wide/Makefile
: clean up make
* regression/eeprom_wide/eeprom_wide.asm
: Fix eeprom wide regression for last code change (and documentation) and clean-up
2022-06-28 Schelte Bron <sbron@otgw.tclcode.com>
* modules/gpsim_modules.cc
modules/led.cc
modules/led.h
: Make the led module work when compiled with --disable-gui
2022-06-27 Schelte Bron <sbron@otgw.tclcode.com>
* Makefile.am
configure.ac
gpsim.pc.in
: Add a pkg-config file for custom module projects to easily find
the gpsim public headers.
2022-06-24 Schelte Bron <sbron@otgw.tclcode.com>
* src/14bit-registers.h
src/a2dconverter.cc
src/comparator.cc
src/comparator.h
src/p1xf1xxx.cc
src/p1xf1xxx.h
src/pic-processor.cc
src/pic-processor.h
: Add p16f1847 and p16lf1847 processors
* src/breakpoints.h
: Auto-generated config.h should never be included in public headers
2022-06-22 Schelte Bron <sbron@otgw.tclcode.com>
* src/clock_phase.cc
src/clock_phase.h
src/eeprom.cc
src/pic-ioports.cc
src/pic-processor.cc
src/pic-processor.h
src/processor.h
: Remove trace warnings when reading data EEPROM
: Fix EEADRH and TRIS registers that may have read-only bits that read
back as '1'.
: When reading flash memory, 2 instructions become forced NOPs.
* src/14bit-registers.cc
: Fix incorrect calculation of negative oscillator tuning values.
2022-06-21 Schelte Bron <sbron@otgw.tclcode.com>
* src/p1xf1xxx.cc
regression/p1xf18xx/p16f1823.asm
regression/p1xf18xx/p16f1825.asm
: Register names are normally written in lowercase. Fix the exceptions.
* src/p1xf1xxx.cc
: Update the P16F1825 memory layout according to the latest data sheet
2022-03-26 Roy Rankin <rrankin@ihug.com.au>
* src/intcon.cc src/intcon.h src/ioports.cc src/p18fk.cc
regression/wdt/wdt_18f14k22.asm
: Fix bug 281 INTCON2,NOT_RABPU does not pullup porta lines on p18f14k22
* regression/p1xf18xx/p16f1705_comp.asm
: test T1GTM
* regression/p1xf18xx/p16f1823_comp.asm
: test TMR1GIF set
2022-02-21 Rob Pearce <rob@fairview.ukfsn.org>
* src/cwg.cc src/cwg.h
: Bug #279 (partial) - corrected quite a few errors in the COG module
* regression/p1xf18xx/p16f1705_cog.asm regression/p1xf18xx/Makefile
regression/run_regression.sh
: Added a regression test (validated on real hardware) for the above
2022-02-16 Rob Pearce <rob@fairview.ukfsn.org>
* src/14bit-tmrs.cc src/14bit-tmrs.h regression/p1xf18xx/p16f1705_comp.asm
: Corrected behaviour of TMR1 gate, based on testing of real device.
Added regression tests from Roy
* src/uart.cc
: Minor tweak to get correct GUI names with register naming of 16F1705
2022-01-30 Roy Rankin <rrankin@ihug.com.au>
* regression/comparator/compar_26k22.asm
: turn on WDT
* regression/comparator/compar_882.asm
: clean up FAILED messages
* regression/epwm/p16f887.asm regression/epwm/p18f26k22.asm
: improve tests
* regression/p1xf18xx/p16f1705.asm
: test T2 postscaler
* regression/p1xf18xx/p16f1709_cog.asm
: refine CCP1 duty cycle test
* regression/p1xf18xx/zcd_f1705.asm
: add some comments
* regression/p1xf18xx/p16f1825.asm
: add tmr4 testing
* regression/ccp/Makefile regression/ccp/ccp_12f683.asm
regression/ccp/pwm_12f683.asm regression/run_regression.sh
src/p12f6xx.cc
: Fix bug #278 p12f683 CCP Error
2022-01-28 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc src/14bit-tmrs.h src/clc.cc src/clc.h
: add inter module signaling
* src/pps.cc
: remove some debugging
* src/zcd.cc src/zcd.h
: add output pin
2022-01-27 Roy Rankin <rrankin@ihug.com.au>
* regression/p1xf18xx/p16f1503_nco.asm
: fix CLC2 output port
* src/14bit-processors.cc src/14bit-registers.cc src/14bit-registers.h
src/16bit-processors.cc src/16bit-processors.h src/16bit-registers.cc
src/16bit-registers.h src/breakpoints.cc src/gpsim_classes.h
src/p12f6xx.cc src/p12x.cc src/p16f88x.cc src/p16f8x.cc src/p16x6x.cc
src/p18fk.cc src/p1xf1xxx.cc src/pic-instructions.cc
src/pic-processor.cc src/pic-processor.h src/pic-registers.cc
src/processor.cc src/stimuli.cc src/stimuli.h src/tmr0.cc src/tmr0.h
src/trace.cc src/wdt.cc src/wdt.h
: Prepare for windowed Wait Dog Timer
* src/Makefile.am
: add wdt, at and pid modules to build
* src/at.cc src/at.h
: add Angular Timer (AT) module
* src/pid.cc src/pid.h
: add Math Accelerator with Proportional-Integral- Derivative (PID)
2022-01-24 Rob Pearce <rob@fairview.ukfsn.org>
* gui/gui_scope.cc gui/gui_scope.h
: Bug #218 handle window resizing properly, by resizing the plot
2022-01-23 Rob Pearce <rob@fairview.ukfsn.org>
* src/p1xf1xxx.cc src/p1xf1xxx.h
: Fixed typo in the name of the vregcon register on 12F1840
* src/p1xf1xxx.cc src/p1xf1xxx.h src/clc.cc src/clc.h
: Fix bug 277 - incorrect simulation of CLC, especially on 16F170x
* regression/p1xf18xx/Makefile regression/p1xf18xx/p16f1705_clc.asm
regression/run_regression.sh
: Added a regression test for the above bug fix
* src/cwg.cc src/cwg.h
: The CWG module was already inheriting from apfpin but didn't provide
the functionality required. Added in preparation for 12F157x
2022-01-23 Roy Rankin <rrankin@ihug.com.au>
* src/p16f8x.cc
: remove uart special case for 16f87/16f88
2022-01-23 Roy Rankin <rrankin@ihug.com.au>
* doc/gpsim.lyx examples/14bit/Makefile.am examples/14bit/usart_14.asm
modules/usart.cc
: Patch #49 Add string input support to usart module
* regression/p16f91x/usart_917.asm regression/run_regression.sh
regression/usart_test/Makefile regression/usart_test/usart_16f88.asm
src/p16f8x.cc src/stimuli.h src/uart.cc src/uart.h
: Bug #272 pic16fxxx USART simulation fails when TX TRIS bit set
2022-01-20 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_x.cc cli/cmd_x.h src/expr.cc src/expr.h src/operator.cc
: bug 276 SRC expression of the reg command doesn't work as described
* extras/ds1820/ds1820.cc extras/ds1820/examples/ds1820.asm
extras/ds1820/examples/ds18b20.asm extras/ds1820/rom1w.cc
extras/ds1820/rom1w.h
: Patch #48 Fix for extras ds18b20 module
2022-01-17 Roy Rankin <rrankin@ihug.com.au>
* cli/socket.cc examples/scripts/README examples/scripts/client.cc
examples/scripts/client2.cc examples/scripts/client3.cc
examples/scripts/client_interface.cc
examples/scripts/client_interface.h examples/scripts/makefile
: get client scripts to work
2022-01-13 Roy Rankin <rrankin@ihug.com.au>
* src/p16f8x.cc
: patch #47 typo in pic16f8x comparator definition
2022-01-09 Roy Rankin <rrankin@ihug.com.au>
* gpsim/Makefile.am
: Fix regression bug #274 Loading private module library is broken
* src/14bit-registers.h src/16bit-instructions.cc src/pic-instructions.cc
: Fix bug 273 Incorrect simulation of STATUS register updates
2021-11-19 Roy Rankin <rrankin@ihug.com.au>
* regression/ccp/pwm_26k22.asm regression/ccp/pwm_6520.asm
regression/ccp/pwm_877a.asm regression/epwm/p16f882.asm
: tune for new 14bit-tmrs code
* regression/p1xf18xx/p12f1822.asm src/14bit-tmrs.cc
src/14bit-tmrs.h src/at.h src/stimuli.h
: fix TMR2 out of range loop for CCP PWM duty cycle > 0 < 4
* src/zcd.cc
: Remove debugging
2021-10-11 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc
: Remove debugging, add register name to verbose output
2021-10-10 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc
: Fix error when setting TMR[246] when running
* src/14bit-tmrs.h
: remove unused function "start"
2021-10-09 Roy Rankin <rrankin@ihug.com.au>
* regression/p1xf18xx/p16f1825.asm
: add T2, T4 and T6 simple test
* regression/run_regression.sh
: add p1xf18xx/p16f1825 to tests
* src/14bit-tmrs.cc
: Fix bug #271 and T[246] fixes
* src/p1xf1xxx.cc
: Fix bugs 269 and 270
2021-09-22 Roy Rankin <rrankin@ihug.com.au>
* regression/wdt/10f200.lkr regression/wdt/16c64.lkr
regression/wdt/16f1823.lkr regression/wdt/16f628.lkr
regression/wdt/16f648a.lkr regression/wdt/16f88.lkr
regression/wdt/18f452.lkr regression/wdt/18f4620.lkr
: Remove lkr files and use gplink default lkr files
* regression/run_regression.sh regression/wdt/Makefile
regression/wdt/nwdt_18f26k22.asm regression/wdt/wdt_18f14k22.asm
regression/wdt/wdt_18f26k22.asm
: Add regression tests
* src/14bit-processors.cc src/16bit-processors.cc
src/16bit-processors.h src/p18fk.cc src/pic-processor.cc
src/pic-processor.h
: Fixes for p18f26k22
2021-09-10 Roy Rankin <rrankin@ihug.com.au>
* cli/Makefile.am
: scan.lo depends on parse.h
* doc/gpsim.html.LyXconv/Makefile
: fix spelling for distclean
* autogen.sh regression/comparator/compar_882.asm regression/epwm/p16f882.asm
regression/epwm/p16f887.asm regression/epwm/p18f1220.asm
regression/epwm/p18f2321.asm regression/epwm/p18f26k22.asm
regression/epwm/p18f4321.asm regression/p16f684/epwm.asm
regression/p16f690/epwm.asm regression/p16f690/p16f690.asm
regression/p16f690/wdt_16f685.asm
: fix executable permission on files
2021-09-07 Roy Rankin <rrankin@ihug.com.au>
* Makefile.am doc/gpsim.html.LyXconv/Makefile
: Fix clean build and make distclean
2021-09-06 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_breadboard.cc
: Fix bug #265 SIGSEGV, Segmentation fault. Package::pin_existance
* modules/ttl.cc
: Turn off debugging
* src/16bit-instructions.cc
: Add comment
2021-03-26 Roy Rankin <rrankin@ihug.com.au>
* cli/input.cc plat/win32/gpsim.nsi plat/win32/makefile.mingw
* Fix regression and update windows build
2021-03-20 Roy Rankin <rrankin@ihug.com.au>
* doc/gpsim.html.LyXconv doc/gpsim.html.LyXconv/Makefile
doc/gpsim.html.LyXconv/elyxer.py doc/gpsim.html.LyXconv/elyxer_p3.py
: Add better of gpsim.html
* src/breakpoints.h src/gpsim_time.h src/trace.h
: Fix regressions stopping windows build
* src/p12f6xx.h
: Fix issue with some compilers.
2021-03-15 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_x.cc cli/cmd_x.h cli/command.cc cli/parse.yy doc/gpsim.lyx
: document and enhance reg cli command
* src/p18x.cc src/p18x.h
: fix bug #264 SIGSEGV when scanning symbol table for USB processors
2020-12-23 Rob Pearce <rob@fairview.ukfsn.org>
* src/p16f62x.cc
: Set the clock to 4MHz when config word selects INTOSC
* regression/p16f91x/i2c_low.inc regression/p1xf18xx/p16f1823_i2c_v2.asm
: Add colons on labels (caused problems on some specific gputils)
2020-11-19 Roy Rankin <rrankin@ihug.com.au>
* gpsim/Makefile.am
: gpsim/gpsim loads module and extra libs from build area (for
regression tests)
* autogen.sh
: Set as executable
2020-10-01 Roy Rankin <rrankin@ihug.com.au>
* examples/14bit/Makefile.am examples/14bit/encoder_test.asm
examples/14bit/encoder_test.stc
: add test for encoder module
* modules/encoder.cc
: update encoder module
2020-09-20 Roy Rankin <rrankin@ihug.com.au>
* configure.ac src/trace.cc
: Fix bug 262 comile fail GCC 4.9
* doc/gpsim.lyx
: add documentation for PortStimulus, pulsegen, FileStimulus,
FileRecorder
* modules/m_stimuli.cc
: Fix bug 263 infinite loop on bad FileStimulus input file,
add comments
* modules/gpsim_modules.cc
: Remove 16, 32pin PortStimulus modules which cannot work
2020-09-17 Roy Rankin <rrankin@ihug.com.au>
* examples/14bit/p16c64_pwm.asm examples/14bit/p16c64_pwm.stc
examples/14bit/p16c65_pwm.asm examples/14bit/p16c74_pwm.stc
: error fixes by Lakis
* modules/m_stimuli.cc modules/m_stimuli.h
: Fix bug #261 FileRecord module truncates output
2020-09-05 Roy Rankin <rrankin@ihug.com.au>
* modules/ttl.cc regression/ttl/ttl595.asm doc/gpsim.lyx
: Fix #260 In TTL595 QS does not go to low when RESET goes low
2020-09-03 Roy Rankin <rrankin@ihug.com.au>
* src/i2c-ee.cc src/i2c-ee.h src/ssp.cc
: Fix bug 258 - I2C RSTART command
* src/p16f88x.cc src/p16f88x.h
: Fix bug 259 - Fix INT pin for p16f88x
2020-08-31 Roy Rankin <rrankin@ihug.com.au>
* extras/ds1307/examples/ds1307.asm
: ds1307 now in libgpsim_extras
* regression/p16f88x/comparator.asm
: Test for Tmr1 interrupt
* src/comparator.cc src/pps.cc
: Fixes for PPS
* src/p16f88x.cc
: Fix bug 257 - no tmr1 interrupt
* src/ssp.cc
: improve I2C proto debug
2020-07-25 Roy Rankin <rrankin@ihug.com.au>
* src/value.cc
: fix display of number > 256
* src/stimuli.cc src/stimuli.h src/clc.h src/clc.cc src/nco.h
src/nco.cc src/zcd.h src/zcd.cc src/p12f6xx.cc src/p1xf1xxx.cc
src/comparator.cc src/comparator.h
: DATA_SERVER, DATA_RECEIVER created to transfer data between modules
* src/p12f6xx.cc src/p12f6xx.h
: add lfintosc
* src/cwg.h
: Add apfpin class to CWG
* regression/epwm/p16f882.asm regression/epwm/p18f26k22.asm
regression/p16f684/Makefile regression/p16f684/wdt_16f684.asm
regression/p18f/instructions.asm regression/p18f26k22/Makefile
regression/p1xf18xx/p12f1822.asm regression/p1xf18xx/p16f1503_nco.asm
regression/tmr1_16bit/Makefile
: Refine regression tests
* src/p16f88x.cc
: add eccpas to comparator
* src/ssp.cc
: don't crash if SDI pin not defined
2020-07-02 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gtkextra/gtkextra.c gui/gtkextra/gtksheet.c
: Remove unreachable code and replace calls to deprecated API calls.
2020-06-18 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gtkextra/gtkitementry.c gui/gtkextra/gtkitementry.h
: Remove code not needed by GtkSheet.
2020-06-13 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gtkextra/gtkextra-marshal.c gui/gtkextra/gtkextra-marshal.h
gui/gtkextra/gtkextra.c gui/gtkextra/gtkextrafeatures.h
gui/gtkextra/gtkitementry.c gui/gtkextra/gtkitementry.h
gui/gtkextra/gtksheet.c gui/gtkextra/gtksheet.h
: Replace deprecations.
2020-04-20 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gui_breadboard.cc gui/gui_breadboard.h
: Fix a use after free error, refactor code.
2020-05-29 Roy Rankin <rrankin@ihug.com.au>
2020-05-29 Roy Rankin <rrankin@ihug.com.au>
* regression/p18f/Makefile regression/p18f/extended_instructions.asm
src/16bit-registers.cc src/p18x.cc
: Fix bug #256 TBLRD and TBLWT spend one cycle instead of two
2020-04-20 Errol van de l'Isle <errolv@users.sourceforge.net>
* modules/logic.cc src/bit.cc src/bit.h src/breakpoints.cc
src/breakpoints.h src/bytelog.cc src/bytelog.h
: Fix some warnings, replace manual memory mangement with containers.
2020-04-15 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/gpsim_interface.h src/modules.cc src/modules.h src/os_dependent.cc
src/pps.cc src/sim_context.cc
: Make some reference arguments const, use the now more portable __func__
instead of __FUNCTION__, fix a possible null pointer dereference, add
a virtual destructor to ModuleInterface.
2020-03-25 Errol van de l'Isle <errolv@users.sourceforge.net>
* cli/cmd_processor.cc src/processor.cc src/processor.h
src/sim_context.cc src/sim_context.h
: Prefer composition over inheritance when using C++ containers.
2020-03-22 Roy Rankin <rrankin@ihug.com.au>
* modules/m_stimuli.cc
: Fix regression from SVN r2533
* src/p16f88x.cc
: Fix Bug #255 WDTCON issue with p16f88x processors
2020-03-21 Errol van de l'Isle <errolv@users.sourceforge.net>
* cli/input.cc src/cmd_manager.h src/gpsim_interface.h src/modules.cc
src/modules.h src/os_dependent.cc
: Code refactor, remove un-reachable code, replace raw object allocations.
* src/pic-processor.h src/trace.cc
: Fix possible undefined behaviour.
2020-03-19 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/ValueCollections.cc src/bitlog.cc src/bitlog.h src/dsm_module.cc
src/dsm_module.h src/gpsim_time.cc src/value.cc
: Code refactor, dead code removal, mark overriding methods as override.
* src/sim_context.cc src/sim_context.h
: Prefer composition over inheritance for c++ containers.
2020-03-13 Errol van de l'Isle <errolv@users.sourceforge.net>
* modules/encoder.cc modules/encoder.h modules/logic.cc modules/logic.h
modules/m_stimuli.cc modules/m_stimuli.h modules/module_attribute.h
modules/push_button.cc modules/push_button.h modules/resistor.cc
modules/resistor.h modules/switch.cc modules/switch.h modules/ttl.h
modules/video.cc modules/video.h
: Code refactor, dead code removal, mark overriding methods as override.
2020-03-08 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/ValueCollections.cc src/ValueCollections.h src/rcon.h
: Renamed identifiers so they should not conflict with compiler implimentations.
Fix warnings given when building with Clang.
* src/symbol.cc src/symbol.h
: Pass arguments by const reference rather than value and prefer
composition over inheritance for c++ containers. Removed the need
for a number of globals.
2020-03-02 Errol van de l'Isle <errolv@users.sourceforge.net>
* modules/usart.cc modules/usart.h src/12bit-processors.cc
src/16bit-registers.cc src/16bit-registers.h src/a2d_v2.cc
src/a2d_v2.h src/a2dconverter.cc src/a2dconverter.h
src/pic-processor.cc src/pic-processor.h src/uart.cc src/uart.h
: Move usage of iostream out of headers, faster build time and smaller
executable. Mark overriding methods as override.
2020-03-01 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/12bit-hexdecode.cc src/14bit-hexdecode.cc src/16bit-hexdecode.cc
src/dspic/dspic-instructions.cc src/os_dependent.cc
: Code refactor.
* src/processor.cc src/processor.h
: Prefer composition over inheritance when using C++ containers,
constness to some methods, fix dependencies on c++ library internals.
2020-02-24 Errol van de l'Isle <errolv@users.sourceforge.net>
* cli/cmd_module.cc
: Fix build fail with Clang and remove dead code.
* src/a2dconverter.cc src/a2dconverter.h src/intcon.cc src/incon.h
: Correct types to printf, replace a raw loop, fix undefined call to a
null object.
2020-02-22 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/comparator.cc
: Replace some raw loops, correct types to printfs.
* src/modules.h src/value.cc src/value.h
: Constness to some methods.
2020-02-13 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/14bit-registers.h src/ValueCollections.cc src/ValueCollections.h
src/a2dconverter.h
: Dead code removal, make single argument constructors explicit,
minor performance in constructors, make overriding methods as override.
2020-02-07 Roy Rankin <rrankin@ihug.com.au>
* regression/comparator/compar_877a.asm
regression/epwm/p16f882.asm regression/p1xf18xx/p16f1503.asm
: cosmetic changes
* regression/p1xf18xx/p16f1705.asm
: fix processor name in asserts
* regression/p1xf18xx/p16f1823.asm
: allow +-2 counts in tmr1 for CPS test
* src/14bit-registers.cc src/14bit-registers.h src/a2d_v2.cc
src/a2d_v2.h src/a2dconverter.cc src/a2dconverter.h
src/comparator.cc src/comparator.h src/p12f6xx.cc src/p18fk.cc
src/p1xf1xxx.cc
: Connect FVR and DAC output to other modules via stimuli.
2020-02-06 Roy Rankin <rrankin@ihug.com.au>
: src/processor.cc
* Fix compile error when following flags used
./configure CFLAGS="-g -Os" CXXFLAGS="-g -Os -std=gnu++11"
2020-02-01 Roy Rankin <rrankin@ihug.com.au>
: src/p1xf1xxx.cc
* Fix bug 254 - wrong pir bits being set for ccp1 and ccp2
2020-01-27 Roy Rankin <rrankin@ihug.com.au>
: src/p1xf1xxx.cc
* Fix bug 254 - wrong pir1 bit being set for T1 gate interrupt
2020-01-23 Roy Rankin <rrankin@ihug.com.au>
: regression/ccp/ccp.asm regression/ccp/ccp.stc
* remove outdated regression tests
: src/14bit-tmrs.cc
* CCP does not affect T2 when not in PWM mode
: src/cod.cc
* Register type variables outside of register range (such as stack top)
added to symbol table with their address as the value. (ref bug 248)
2020-01-14 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc
: Add function name into debug print
* src/a2d_v2.cc src/a2d_v2.h src/a2dconverter.cc src/a2dconverter.h
: support multiple DACs in comparator
* src/clc.cc
: fix bug #250 Crashes in clc code due to late setup of pps
* src/cod.cc
: fix bug #248 gpsim segfaults when loading a .cod with stack in linmem
* src/comparator.cc src/comparator.h src/p1xf1xxx.cc
: generalize CMxCON1, make comparator work with PPS.
* regression/p1xf18xx/Makefile regression/p1xf18xx/p16f1705.asm
regression/p1xf18xx/p16f1705_comp.asm
regression/p1xf18xx/p16f1788_comp.asm
regression/run_regression.sh
: add PPS tests for comparator
2019-09-24 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/gpsim_interface.h src/interface.cc
: Switch from using GSList to std::list<Interface *>
2019-10-25 Rob Pearce <rob@fairview.ukfsn.org>
* modules/usart.cc
: Fix bug #246 - Removed cache of bit time so that CPU clock changes are
accounted for (patch from Roy Rankin). Also avoid zero bit times (use
1 cycle instead) for case where the STC sends a byte before CPU clock
is set.
* gui/gui_src_asm.cc
: Fix for bug #240 - need to call simulation_has_stopped after run
2019-09-24 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gui.h gui/gui_breadboard.cc gui/gui_breadboard.h gui/gui_break.cc
gui/gui_interface.h gui/gui_main.cc gui/gui_menu.cc gui/gui_object.cc
gui/gui_object.h gui/gui_processor.cc gui/gui_processor.h
gui/gui_profile.cc gui/gui_profile.h gui/gui_register.h
gui/gui_regwin.cc gui/gui_regwin.h gui/gui_scope.cc gui/gui_scope.h
gui/gui_src.cc gui/gui_src.h gui/gui_src_asm.cc gui/gui_src_opcode.cc
gui/gui_stack.cc gui/gui_stack.h gui/gui_statusbar.cc
gui/gui_stopwatch.cc gui/gui_stopwatch.h gui/gui_symbols.cc
gui/gui_symbols.h gui/gui_trace.cc gui/gui_trace.h gui/gui_watch.cc
gui/gui_watch.h gui/preferences.cc gui/preferences.h gui/settings.h
gui/settings_exdbm.cc gui/settings_exdbm.h
: Code refactor, delete unnessary default copy constructors, mark
overriding functions as override, fix some includes,
stricter use of namespaces.
2019-09-14 Errol van de l'Isle <errolv@users.sourceforge.net>
* cli/cmd_attach.cc cli/cmd_attach.h cli/cmd_break.cc cli/cmd_break.h
cli/cmd_clear.cc cli/cmd_clear.h cli/cmd_disasm.cc cli/cmd_disasm.h
cli/cmd_dump.cc cli/cmd_echo.cc cli/cmd_echo.h cli/cmd_frequency.cc
cli/cmd_frequency.h cli/cmd_help.cc cli/cmd_help.h cli/cmd_icd.cc
cli/cmd_icd.h cli/cmd_list.cc cli/cmd_list.h cli/cmd_load.cc
cli/cmd_load.h cli/cmd_log.cc cli/cmd_log.h cli/cmd_macro.cc
cli/cmd_macro.h cli/cmd_module.cc cli/cmd_module.h cli/cmd_node.cc
cli/cmd_node.h cli/cmd_processor.cc cli/cmd_processor.h
cli/cmd_reset.cc cli/cmd_reset.h cli/cmd_run.cc cli/cmd_run.h
cli/cmd_set.cc cli/cmd_set.h cli/cmd_shell.cc cli/cmd_shell.h
cli/cmd_step.cc cli/cmd_step.h cli/cmd_stimulus.cc cli/cmd_stimulus.h
cli/cmd_stopwatch.cc cli/cmd_stopwatch.h cli/cmd_symbol.cc
cli/cmd_symbol.h cli/cmd_trace.cc cli/cmd_trace.h cli/cmd_version.cc
cli/cmd_version.h cli/cmd_x.cc cli/cmd_x.h cli/command.cc
cli/command.h cli/input.cc cli/misc.h cli/parse.yy cli/scan.ll
cli/socket.cc cli/symbol_t.h cli/ui_gpsim.h
: Code refactor, delete unnessary default copy constructors, mark
overriding functions as override, fix some includes,
stricter use of namespaces. Correct the output of the command
"processor pins".
2019-09-04 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/14bit-instructions.cc src/14bit-instructions.h
src/16bit-instructions.cc src/16bit-instructions.h src/a2d_v2.cc
src/a2d_v2.h src/a2dconverter.cc src/a2dconverter.h src/breakpoints.h
src/comparator.cc src/comparator.h src/dspic/dspic-instructions.cc
src/dspic/dspic-instructions.h src/gpsim_interface.h src/icd.cc
src/icd.h src/interface.cc src/p16f8x.cc src/p16f91x.cc src/p16f91x.h
src/pic-instructions.cc src/pic-instructions.h src/value.h src/xref.cc
: Code refactor, delete unnessary default copy constructors, mark
overriding functions as override, fix some includes, stricter use of namespaces.
2019-09-02 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/14bit-processors.cc src/14bit-processors.h src/16bit-processors.cc
src/16bit-processors.h src/dspic/dspic-processors.cc
src/dspic/dspic-processors.h src/hexutils.cc src/hexutils.h
src/i2c-ee.cc src/i2c-ee.h src/intcon.cc src/intcon.h src/p12x.cc
src/p12x.h src/p16x5x.cc src/p16x5x.h src/p16x6x.cc src/p16x6x.h
src/p16x7x.cc src/p16x7x.h src/p16x8x.cc src/p16x8x.h src/p17c75x.cc
src/p17c75x.h src/p18fk.cc src/p18fk.h src/p18x.cc src/p18x.h
src/p1xf1xxx.cc src/p1xf1xxx.h src/pic-ioports.cc src/pic-ioports.h
src/pic-processor.cc src/pic-processor.h src/processor.cc src/processor.h
: Code refactor, delete unnessary default copy constructors, mark
overriding functions as override, fix some includes, stricter use of namespaces.
2019-08-31 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/cod.cc src/cod.h src/ctmu.cc src/ctmu.h src/cwg.cc src/cwg.h
src/gpsim_object.h src/gpsim_time.cc src/gpsim_time.h src/lcd_module.cc
src/lcd_module.h src/nco.cc src/nco.h src/pie.cc src/pie.h src/pir.cc
src/pir.h src/pm_rd.cc src/pm_rd.h src/pps.cc src/pps.h src/psp.cc
src/psp.h src/spp.cc src/spp.h src/ssp.cc src/ssp.h src/trace.cc
src/trace.h src/trigger.cc src/trigger.h src/ttoken.cc src/ttoken.h
src/uart.cc src/uart.h
: Code refactor, delete unnessary default copy constructors, mark
overriding functions as override, fix some includes, stricter use of namespaces.
2019-08-24 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/14bit-registers.cc src/14bit-registers.h src/16bit-registers.cc
src/16bit-registers.h src/clc.cc src/clc.h src/clock_phase.cc
src/clock_phase.h src/cmd_manager.h src/dspic/dspic-registers.cc
src/dspic/dspic-registers.h src/eeprom.cc src/eeprom.h src/op_amp.cc
src/op_amp.h src/operator.cc src/operator.h src/pic-registers.cc
src/pic-registers.h src/registers.cc src/registers.h src/zcd.cc src/zcd.h
: Code refactor, delete unnessary default copy constructors, mark
overriding functions as override, fix some includes, stricter use of namespaces.
2019-08-24 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/ValueCollections.cc src/ValueCollections.h src/attributes.cc
src/attributes.h src/expr.cc src/expr.h src/fopen-path.cc
src/fopen-path.h src/stimuli.cc src/stimuli.h src/ui.cc src/value.cc
src/value.h
: Code refactor, mark overriding functions as override, fix some includes.
2019-08-22 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/14bit-tmrs.cc src/14bit-tmrs.h src/16bit-tmrs.cc src/16bit-tmrs.h
src/ioports.cc src/ioports.h src/tmr0.cc src/tmr0.h
: Code refactor, delete unnessary default copy constructors, mark
overriding functions as override, fix some includes.
2019-08-15 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/12bit-instructions.h src/12bit-processors.cc src/12bit-processors.h
src/modules.h src/p12f6xx.cc src/p12f6xx.h src/p12x.cc
src/p12x.h
: Code refactor, delete unnessary default copy constructors, mark
overriding functions as override.
* src/modules.cc
: Fix incorrect include header. Fix to ticket #245
2019-07-29 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/cwg.cc
: Correct number of arguments to printf
* src/14bit-processors.h src/psp.cc
:Correct argument names in header to be the same as the function definition
* src/zcd.cc src/14bit-tmrs.cc src/p18fk.cc src/pps.cc src/cwg.cc src/ioports.cc
src/p1xf1xxx.cc cli/cmd_stimulus.cc cli/cmd_stimulus.h cli/command.h cli/command.cc
cli/ui_gpsim.cc modules/i2c-eeprom.cc modules/i2c2par.cc modules/i2c.cc
modules/m_stimuli.cc
modules/paraface.cc modules/paraface.h
extras/dht11/dht11.cc extras/dht11/dht11.h
extras/ds1307/ds1307.cc
extras/ds1820/rom1w.cc
: Ensure all member variables are initialised in constructors
* cli/cmd_stimulus.cc cli/cmd_stimulus.h cli/command.h cli/command.cc
modules/paraface.cc modules/paraface.h
extras/dht11/dht11.cc extras/dht11/dht11.h extras/ds1820/rom1w.cc
: Stricter use of namespaces
2019-06-26 Roy Rankin <rrankin@ihug.com.au>
* configure.ac
: Set release to 0.31.1 for development in SVN
* src/p12f6xx.cc src/p1xf1xxx.cc
: Fix bug #243 Vdd=5v is outside of LF processors voltage range
2019-06-19 Roy Rankin <rrankin@ihug.com.au>
* configure.ac
: Set release 0.31.0
2019-06-13 Rob Pearce <rob@fairview.ukfsn.org>
* regression/*/*.asm regression/*/i2c_low.inc
: Changed the quoting style of .assert and .sim directives as the
escape gave trouble on my Gentoo box
2019-06-12 Rob Pearce <rob@fairview.ukfsn.org>
* src/eeprom.cc
: Fix behaviour when EEPGD and CFGS bits are both set. Allow zero-size
EEPROM for flash-only devices like 12F1572
* src/p18fk.cc
: Correct pin-out of P18F14K22 and POR value of CMxCON0 registers
2019-06-09 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_symbol.cc
: Fix compiler warning
* regression/p1xf18xx/Makefile regression/p1xf18xx/zcd_f1705.asm regression/run_regression.sh
: add left out regression test
* src/p1xf1xxx.cc src/p1xf1xxx.h src/pic-processor.cc
: Add p16lf1709 processor
2019-06-08 Roy Rankin <rrankin@ihug.com.au>
* configure.ac
: change to version 0.30.2
* plat/win32/gpsim.nsi plat/win32/settings_reg.cpp src/breakpoints.h src/trace.h
src/gpsim_time.h
: fixes for win32 build
* src/clc.cc src/cwg.cc src/nco.cc
: Replace %ld occurrences
2019-06-07 Roy Rankin <rrankin@ihug.com.au>
* cli/parse.yy
: Fix compiler warning messages
* regression/p12f675/p12f629.asm regression/p16f84/reset.asm
regression/p1xf18xx/p16f1825.asm regression/a2d/p18f1220.asm
: test for int pin interrupt
* regression/p1xf18xx/p16f1823_i2c.asm
regression/p1xf18xx/p16f1823_i2c_v2.asm
: indicate type (slave/master) of I2C tested
* src/14bit-processors.cc src/14bit-processors.h
* src/14bit-registers.cc src/14bit-registers.h
: add INLVL (input level register), ODCON (Open Drain register)
* src/14bit-tmrs.cc src/14bit-tmrs.h
: Fix Bug #241 pwm does not work if tmr2 started last
add COG (Complimentary output generator) and pps support
* src/a2dconverter.cc src/a2dconverter.h
: support more than 2 ANSEL registers
* src/clc.cc src/clc.h src/cwg.cc src/cwg.h src/ssp.cc src/ssp.h
src/tmr0.cc src/tmr0.h src/uart.cc src/uart.h src/nco.cc src/nco.h
src/ioports.cc src/ioports.h src/comparator.cc src/comparator.h
: add support for pps
* src/intcon.cc src/intcon.h src/pic-ioports.cc
: add INTCON_16::general_interrupt function
* src/op_amp.cc src/op_amp.h src/pps.cc src/pps.h src/zcd.cc src/zcd.h
src/Makefile.am src/makefile.mingw
: New modules
* src/p12x.cc src/p12x.h
: Modify I2C link to ee prom
* src/p12f6xx.cc src/p12f6xx.h src/p16f88x.cc src/p16f88x.h
src/p16x6x.cc src/p16x6x.h src/p16x7x.cc src/p16x7x.h
src/p16x8x.cc src/p16x8x.h
: new int pin model
* src/p18fk.cc src/p16f62x.h
: cleanup
* src/p18x.cc
: P18F1220 change porta2 to open collector
* src/p1xf1xxx.cc src/p1xf1xxx.h
src/pic-processor.cc src/pic-processor.h
regression/p1xf18xx/p16f1705.asm regression/p1xf18xx/p16f1709.asm
regression/p1xf18xx/p16f1709_cog.asm
regression/p1xf18xx/p16f1709_i2c.asm
regression/p1xf18xx/zcd_f1705.asm regression/run_regression.sh
regression/p1xf18xx/Makefile
: add p16f1709, p16f1705
* src/pic-registers.h src/processor.h
: Add INTEDG enum for option register
* src/stimuli.cc src/stimuli.h
: Add schmitt level control
2019-05-06 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_register.h gui/gui_src_asm.cc gui/gui_watch.cc
: Fix core dump when trying to select W reg for watch window
and fix issue selecting registers for watch window from source
browser
2019-03-04 Roy Rankin <rrankin@ihug.com.au>
* doc/gpsim.lyx
: Simplifiy character set to lytex
* extras/lcd/Makefile.am
: remove examples/Makefile from EXTRA_DIST
* regression/a2d/p18f1220.asm regression/a2d/p18f4321.asm
regression/epwm/p18f1220.asm regression/epwm/p18f2321.asm
regression/epwm/p18f26k22.asm regression/epwm/p18f4321.asm
regression/p18f/reset.asm regression/usart_test/eusart_2455.asm
regression/wdt/nwdt_18f452.asm regression/wdt/nwdt_18f4620.asm
: Fix depreciated CONFIG usage
* regression/ccp/pwm_26k22.asm
: Swap CCP3 and CCP4 duty cycle
* regression/comparator/Makefile
: fix sim_compar_873a rule
* regression/comparator/compar_873a.asm
: Add replace "FAILED" with "*** FAILED"
* regression/interrupts_14bit/int_sleep.asm
: add nop after sleep
* regression/p16f88x/p16f886.asm
: new program read value
* regression/p18f/Makefile
: Add p18f14k22.cod test and remove $(SCRIPT) from link step
* regression/p18f452_ports/p18f452_ports.asm
: Replace label FAILED with BAD
* regression/p1xf18xx/Makefile
: Add p16f1823_i2c_v2.cod to all:
* regression/rt.sh
: Look for FAILED in output log file
* src/p16f88x.cc src/p12f6xx.cc src/p16x6x.cc src/p16x8x.cc src/p18x.cc
src/p18x.h src/p1xf1xxx.cc src/p1xf1xxx.h src/p16x7x.cc
src/pic-ioports.cc src/pic-ioports.h
: Clean up intf (feature request #61) new set_intf_bit()
* src/p18fk.h src/p18fk.cc
: Fix WDT for P19F14K22 processor
* src/16bit-processors.cc src/16bit-processors.h
: support WDTPS3 for postscale
* src/comparator.cc
: Give register name in debug printout
2019-01-01 Errol van de l'Isle <errolv@users.sourceforge.net>
* cli/cmd_break.cc cli/cmd_break.h cli/cmd_bus.cc cli/cmd_bus.h
cli/cmd_dump.cc cli/cmd_dump.h cli/cmd_macro.cc cli/cmd_macro.h
cli/cmd_quit.cc cli/cmd_quit.h cli/cmd_x.cc cli/cmd_x.h cli/input.cc
cli/input.h cli/misc.h cli/ui_gpsim.cc cli/ui_gpsim.h
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-30 Errol van de l'Isle <errolv@users.sourceforge.net>
* extras/graphic_lcd/src/glcd.cc extras/graphic_lcd/src/glcd.h
extras/graphic_lcd/src/glcd_100X32_sed1520.cc
extras/graphic_lcd/src/glcd_100X32_sed1520.h
extras/graphic_lcd/src/sed1520.cc extras/graphic_lcd/src/sed1520.h
extras/graphic_lcd/src/ssd0323.cc extras/graphic_lcd/src/ssd0323.h
extras/lcd/lcd.h extras/lcd/lcdgui.cc extras/lcd/raw_lcd.cc
extras/lcd/raw_lcd.h
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-30 Errol van de l'Isle <errolv@users.sourceforge.net>
* gpsim/main.cc modules/encoder.cc modules/encoder.h
modules/push_button.cc modules/push_button.h modules/ttl.cc
modules/video.cc modules/video.h
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-23 Errol van de l'Isle <errolv@users.sourceforge.net>
* extras/ds1307/ds1307.cc extras/ds1307/ds1307.h
extras/graphic_lcd/src/osram.cc extras/graphic_lcd/src/osram.h
extras/lcd/hd44780.cc extras/lcd/hd44780.h extras/lcd/lcd.cc
extras/lcd/lcd.h extras/solar/solar.cc extras/solar/solar.h
src/breakpoints.h
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-23 Errol van de l'Isle <errolv@users.sourceforge.net>
* modules/i2c.cc modules/i2c.h modules/i2c2par.cc modules/i2c2par.h
modules/logic.cc modules/logic.h modules/m_stimuli.cc
modules/m_stimuli.h modules/resistor.cc modules/resistor.h
modules/switch.cc modules/switch.h modules/ttl.cc modules/ttl.h
modules/usart.cc modules/usart.h
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-22 Errol van de l'Isle <errolv@users.sourceforge.net>
* cli/socket.cc gui/gui_breadboard.cc gui/gui_breadboard.h
gui/gui_scope.cc gui/gui_scope.h gui/gui_statusbar.cc
gui/gui_statusbar.h gui/gui_symbols.cc gui/gui_symbols.h
modules/gpsim_modules.cc modules/i2c-eeprom.cc modules/i2c-eeprom.h
modules/led.cc modules/led.h
2018-12-20 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/12bit-processors.cc src/dspic/dspic-processors.cc
src/dspic/dspic-processors.h src/eeprom.cc src/eeprom.h
src/fopen-path.cc src/fopen-path.h src/p12f6xx.cc src/p12f6xx.h
src/p16x8x.cc src/p16x8x.h src/p1xf1xxx.cc src/p1xf1xxx.h
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-20 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/icd.cc src/icd.h src/pic-processor.cc src/processor.cc
src/processor.h src/psp.cc src/psp.h src/spp.cc src/spp.h src/ssp.cc
src/ssp.h
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-17 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/p16f91x.cc src/p16f91x.h src/p16x5x.cc src/p16x5x.h src/p16x6x.cc
src/p16x6x.h src/p16x7x.cc src/p16x7x.h src/p17c75x.cc src/p17c75x.h
src/p18fk.cc src/p18x.cc
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-16 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/bitlog.cc src/bitlog.h src/gpsim_time.cc src/gpsim_time.h
src/hexutils.cc src/hexutils.h src/p12x.cc src/p12x.h src/p16f87x.cc
src/p16f87x.h src/p16f88x.cc src/p16f88x.h src/p16f8x.cc src/p16f8x.h
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-13 Errol van de l'Isle <errolv@users.sourceforge.net>
*src/16bit-instructions.cc src/16bit-instructions.h
src/16bit-processors.cc src/16bit-processors.h src/16bit-registers.cc
src/16bit-registers.h src/a2d_v2.cc src/a2d_v2.h src/a2dconverter.cc
src/a2dconverter.h src/breakpoints.cc
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-10 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/clc.cc src/clc.h src/cwg.cc src/cwg.h src/i2c-ee.cc src/i2c-ee.h
src/nco.cc src/nco.h src/p16f62x.cc src/p16f62x.h src/pic-registers.cc
src/pic-registers.h
: Fix warnings when built with -Wextra, stricter use of namespaces,
correct includes, general code review.
2018-12-10 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/comparator.cc src/comparator.h src/intcon.cc src/intcon.h
src/p18fk.cc src/p18fk.h src/p18x.cc src/p18x.h src/pic-processor.cc
src/pic-processor.h
: Fix warnings when built with -Wextra, strict use of namespaces,
correct includes, general code review.
2018-12-06 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/14bit-tmrs.cc src/14bit-tmrs.h src/16bit-tmrs.cc src/16bit-tmrs.h
src/tmr0.cc src/tmr0.h
: Fix warnings when built with -Wextra, strict use of namespaces,
correct includes, general code review.
2018-12-06 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/14bit-processors.cc src/14bit-processors.h
: Fix warnings when built with -Wextra, strict use of namespaces,
correct includes, general code review.
2018-12-01 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/14bit-registers.cc src/14bit-registers.h src/breakpoints.cc
src/breakpoints.h src/expr.h src/processor.h src/program_files.cc
src/program_files.h src/ui.cc src/ui.h
: Fix warnings when built with -Wextra, strict use of namespaces,
correct includes, general code review.
2018-12-01 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/ValueCollections.cc src/ValueCollections.h src/expr.cc src/expr.h
src/operator.cc src/operator.h src/sim_context.cc src/sim_context.h
: Fix warnings when built with -Wextra, strict use of namespaces,
correct includes, general code review.
2018-11-29 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/pm_rd.cc src/pm_rd.h src/registers.cc src/registers.h
src/trace.cc src/trace.h
: Fix warnings when built with -Wextra, strict use of namespaces,
correct includes, general code review.
2018-11-25 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/packages.cc src/packages.h
: Fix warnings when built with -Wextra, strict use of namespaces,
correct includes, general code review.
2018-11-23 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gui_src.h src/gpsim_object.h src/symbol.cc
: Strict use of namespaces
2018-11-23 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/gpsim_object.cc src/pic-instructions.cc src/pic-instructions.h
src/value.h
: Fix warnings when built with -Wextra, strict use of namespaces,
correct includes
2018-11-22 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/dspic/gpsim_modules.cc
: strict use of namespaces, correct includes
2018-11-22 Errol van de l'Isle <errolv@users.sourceforge.net>
* extras/lcd/lcd.cc src/dspic/dspic-instructions.cc
src/modules.cc src/modules.h src/os_dependent.cc
:
2018-11-20 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/lxt_write.c src/lxt_write.h src/xref.cc src/xref.h
: Refactor, be explicit with namespaces
2018-11-05 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/attributes.cc src/attributes.h src/gpsim_object.cc
src/gpsim_object.h src/protocol.cc src/protocol.h src/stimuli.cc
src/stimuli.h
: Fix warnings when built with -Wextra, be explicit with namespace,
correct includes
2018-11-01 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/cmd_manager.cc src/cmd_manager.h src/gpsim_interface.h
src/interface.cc src/interface.h
: Fix warnings when built with -Wextra, be explicit with namespace,
correct includes, remove some dead code.
2018-11-01 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/value.h src/value.cc
: Fix warnings when built with -Wextra, be explicit with namespace,
correct includes
2018-11-01 Errol van de l'Isle <errolv@users.sourceforge.net>
*gui/gui_object.cc gui/gui_profile.cc gui/gui_regwin.cc
gui/gui_scope.cc gui/gui_src.cc gui/gui_symbols.cc gui/gui_trace.cc
: Fix warnings when built with -Wextra
2018-10-25 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/uart.h src/uart.cc
: Fix warnings when built with -Wextra, be explicit with namespace
2018-10-25 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/ui.h src/cc
: Fix warnings when built with -Wextra, be explicit with namespace
2018-10-24 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gui_breadboard.cc gui/gui_break.cc gui/gui_interface.h
gui/gui_main.cc gui/gui_menu.cc gui/gui_object.h
gui/gui_profile.cc gui/gui_regwin.cc gui/gui_scope.cc
gui/gui_src.h gui/gui_src_asm.cc gui/gui_src_opcode.cc
gui/gui_stack.cc gui/gui_statusbar.cc gui/gui_stopwatch.cc
gui/gui_watch.cc gui/settings.h gui/settings_exdbm.cc
: Fix warnings when built with -Wallextra
2018-10-22 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/ioports.cc src/ioports.h src/pic-ioports.cc src/pic-ioports.h
: Tidy code correct includes, and other minor updates
2018-10-20 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/trigger.h src/trigger.cc
: Be explicit with namespace, correct includes
2018-10-20 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/symbol.h src/symbol.cc
: Be explicit with namespace, correct includes
2018-10-20 Errol van de l'Isle <errolv@users.sourceforge.net>
* cli/cmd_clear.cc cli/cmd_disasm.cc cli/cmd_module.cc cli/cmd_set.cc
cli/cmd_stimulus.cc cli/cmd_symbol.cc cli/command.cc cli/parse.yy
cli/scan.ll gpsim/main.cc gui/gui_breadboard.cc modules/led.cc
modules/switch.cc src/ValueCollections.cc src/errors.cc
src/errors.h src/expr.cc src/icd.cc src/modules.cc src/operator.cc
src/stimuli.cc src/trigger.cc src/value.cc
: Catch all exceptions by reference, exceptions Error and TypeMismatch
now inherit from the standard c++ libraries exceptions
2018-10-18 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/processor.h src/processor.cc
: Be explicit with namespace, correct includes, remove deprecated cache,
and other minor code clean up.
2018-10-15 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/pie.cc src/pie.h
: Correct includes and forward references
2018-10-15 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc
: remove debug prints
* src/p1xf1xxx.cc src/p1xf1xxx.h
: Add missing p16f1825 registers
2018-10-13 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/12bit-processors.cc src/12bit-processors.h
: Be explicit with namespace, correct includes, reduce variable scope
2018-10-13 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/ValueCollections.cc src/ValueCollections.h
: Catch the exception by reference, be explicit about namespaces
2018-10-13 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc src/14bit-tmrs.h src/clc.cc src/clc.h
src/ioports.cc src/ioports.h src/nco.cc src/nco.h src/ssp.cc src/ssp.h
src/uart.cc src/uart.h src/p1xf1xxx.cc src/p1xf1xxx.h
: Generalize apfcon, add missing ccp modules to p16f1825
2018-10-09 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/uart.cc src/uart.h
: Fix possible memory leak
2018-10-08 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/dsm_module.cc
: Fix variable type
2018-10-06 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/12bit-processors.cc src/14bit-processors.cc src/14bit-registers.cc
src/14bit-tmrs.cc src/16bit-instructions.cc src/16bit-processors.cc
src/16bit-registers.cc src/16bit-registers.h src/a2d_v2.cc
src/a2d_v2.h src/a2dconverter.cc src/breakpoints.cc
src/clc.cc src/comparator.cc src/ctmu.cc src/ctmu.h src/cwg.cc
src/cwg.h src/dspic/dspic-instructions.cc
src/dspic/dspic-processors.cc src/eeprom.cc src/gpsim_time.cc
src/i2c-ee.cc src/interface.cc src/ioports.cc
src/lcd_module.cc src/lcd_module.h src/p12x.cc src/p16x8x.cc
src/p18x.cc src/p1xf1xxx.cc src/pic-instructions.cc
src/pic-instructions.h src/pic-processor.cc src/pic-processor.h
src/pic-registers.cc src/pm_rd.cc src/processor.cc
src/processor.h src/spp.h src/ssp.cc src/stimuli.cc
: Ensure member variables are initialised in the constructor
2018-09-29 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/16bit-instructions.h src/a2dconverter.h src/pm_rd.h src/psp.h
src/spp.cc src/spp.h src/ui.h
: Ensure member variables are initialised in the constructor
2018-09-29 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/trace.cc src/trigger.cc src/uart.cc
: Ensure member variables are initialised in the constructor
2018-09-27 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/14bit-tmrs.cc src/14bit-tmrs.h src/16bit-tmrs.cc src/tmr0.c
: Ensure member variables are initialised in the constructor
2018-09-24 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gui_breadboard.cc
: Replace C style memory allocation with c++ versions
2018-09-24 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gui_breadboard.cc gui/gui_breadboard.h gui/gui_object.cc
gui/gui_object.h gui/gui_profile.cc gui/gui_profile.h
gui/gui_regwin.cc gui/gui_regwin.h gui/gui_scope.cc gui/gui_scope.h
gui/gui_src.cc gui/gui_src.h gui/gui_src_asm.cc gui/gui_src_opcode.cc
gui/gui_stack.cc gui/gui_stack.h gui/gui_stopwatch.cc
gui/gui_stopwatch.h gui/gui_symbols.cc gui/gui_symbols.h
gui/gui_trace.cc gui/gui_trace.h gui/gui_watch.cc gui/gui_watch.h
: Move reading and applying the window size and position configuration
into their base class.
2018-09-23 Errol van de l'Isle <errolv@users.sourceforge.net>
* gpsim/main.cc modules/usart.cc src/16bit-instructions.cc
src/ValueCollections.h src/a2d_v2.cc src/comparator.cc src/icd.cc
src/lcd_module.cc src/operator.cc src/pic-instructions.cc src/value.cc
: Use the safer snprintf instead of sprintf
2018-09-17 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/16bit-hexdecode.cc src/Makefile.am src/hexutils.cc
src/pic-processor.cc src/picdis.h
: Remove src/picdis.h
2018-09-17 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gui.h gui/gui_breadboard.cc gui/gui_breadboard.h gui/gui_object.cc
gui/gui_object.h gui/gui_profile.cc gui/gui_regwin.cc
gui/gui_scope.cc gui/gui_src.cc gui/gui_src_asm.cc
gui/gui_src_opcode.cc gui/gui_stack.cc gui/gui_stack.h
gui/gui_statusbar.h gui/gui_stopwatch.cc gui/gui_stopwatch.h
gui/gui_symbols.cc gui/gui_symbols.h gui/gui_trace.cc
gui/gui_trace.h gui/gui_watch.cc gui/gui_watch.h
: Move creating of the window and connecting of signals to the parent
class GUI_Object
2018-09-17 Errol van de l'Isle <errolv@users.sourceforge.net>
* extras/graphic_lcd/src/glcd_100X32_sed1520.cc
extras/graphic_lcd/src/osram.cc extras/lcd/lcdgui.cc
gui/gui_breadboard.cc gui/gui_profile.cc gui/gui_regwin.cc
gui/gui_src.cc gui/gui_src_asm.cc gui/gui_stack.cc
gui/gui_stopwatch.cc gui/gui_symbols.cc gui/gui_trace.cc
gui/gui_watch.cc
: Remove calls to the now usless gtk_window_set_wmclass(). GTK
documentation says not to use it.
2018-09-08 Errol van de l'Isle <errolv@users.sourceforge.net>
* gui/gui_breadboard.h gui/gui_breadboard.cc
: Code refactor, removed dead code, simplified memory management
2018-09-08 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/fopen_path.h src/fopen_path.cc
: Refactor code, remove memory leak mentioned in the comments
2018-09-08 Errol van de l'Isle <errolv@users.sourceforge.net>
* src/cod.h src/cod.cc
: Fix possible memory leak, fix undefined behaviour of writing beyond
allocated memory, comment out unused private member functions,
remove dead code, set the correct include files, modernise the code
2018-09-05 Errol van de l'Isle <errolv@users.sourceforge.net>
* cli/cmd_shell.h cli/cmd_shell.cc
: Fix undefined behaviour when using std::string
2018-09-03 Errol van de l'Isle <errolv@users.sourceforge.net>
* examples/scripts/client2.cc src/14bit-registers.cc src/a2dconverter.cc
src/clc.cc src/cwg.cc src/lcd_module.cc src/nco.cc src/pic-registers.cc
: Code review - correct printf usage
2018-09-03 Errol van de l'Isle <errolv@users.sourceforge.net>
* Deleted gui/gui_callbacks.cc gui/gui_callbacks.h gui/gui_dialog.cc
gui/gui_init.cc gui/Makefile.am gui/Makefile.mingw gui/gui_main.cc
: Remove dead GUI code
2018-08-03 Roy Rankin <rrankin@ihug.com.au>
* regression/ccp_628/ccp_628.asm
: T1 requires PEIE to be set to wakeup proc from sleep
* regression/p1xf18xx/p16f1503_nco.asm
: NCO does not run during sleep when FOSC clock used
* regression/p1xf18xx/p16f1788.asm
: fix assert for correct register names
* src/nco.cc src/nco.h
: stop NCO clock during sleep if clock is FOSC
* src/14bit-processors.cc src/p12f6xx.cc src/p12f6xx.h src/p1xf1xxx.cc
src/p1xf1xxx.h
: Flag registers which reinitialize on non POR resets
* src/intcon.cc src/intcon.h src/14bit-registers.cc
: Allow PIR, OSCCON reinitialization on all types of reset if wdt_value
defined
* src/pic-processor.cc src/pic-processor.h
: Add add_sfr_registerR() which copies por_value to wdtr_value
* src/pir.cc
: add comment
* src/registers.cc
: reinitialize sfr registers on non POR resets is wdt_value defined
2018-07-12 Roy Rankin <rrankin@ihug.com.au>
* src/ssp.cc src/ssp.h regression/spi/p16c62.asm
regression/spi/p16f88.asm
: Add SPI proto trace
* src/16bit-processors.cc
: delete osccon when processor closes
* src/stimuli.cc src/stimuli.h src/processor.cc
src/registers.cc src/registers.h
: fix address/value column in symbol GUI
* src/pic-processor.cc
: mclr pin name in processor symbol space
* regression/p16f873/p16f873.asm
: Fine tune interrupt handling
2018-07-12 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-registers.cc src/16bit-instructions.cc
src/16bit-registers.cc
: Fix bug 228 Reading of PCL doesn't update PCLATH/PCLATU
2018-03-03 Errol van de l'Isle <errol@mail.uk>
* gui/gui_menu.cc
: Grey out the open file option on succesful open with the GUI
2018-01-27 Roy Rankin <rrankin@ihug.com.au>
* src/makefile.mingw
: Add new files for windows build
* src/tmr0.cc src/uart.cc
: Fix bug 235 Core dump when specifying processor
2018-01-24 Roy Rankin <rrankin@ihug.com.au>
* src/clc.cc src/clc.h src/nco.cc src/nco.h src/p12f6xx.cc
src/p12f6xx.h src/p1xf1xxx.cc src/p1xf1xxx.h
: CLC operational for p16f1503 and p10f320
* regression/i2c/Makefile regression/p10f32x/Makefile
regression/p1xf18xx/Makefile regression/p1xf18xx/p16f1503.asm
regression/p1xf18xx/p16f1503_nco.asm
regression/p1xf18xx/p16f1788_comp.asm regression/run_regression.sh
: New regression tests
2017-12-24 Roy Rankin <rrankin@ihug.com.au>
* src/nco.cc src/nco.h
: Fix sinks with same name causing core dump
2017-12-24 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc src/14bit-tmrs.h src/Makefile.am src/a2dconverter.cc
src/a2dconverter.h src/clc.cc src/clc.h src/comparator.cc
src/comparator.h src/cwg.cc src/cwg.h src/nco.cc src/nco.h
src/tmr0.cc src/tmr0.h
: Developing Configurable Logic Cell(CLC)
* src/p1xf1xxx.cc src/p1xf1xxx.h src/pic-processor.cc
src/pic-processor.h
: Add p16f1503 and p16lf1503 processors
* src/eeprom.cc src/eeprom.h
: Allow read only a one bits
2017-12-12 Roy Rankin <rrankin@ihug.com.au>
* src/p18fk.cc src/p18fk.h
: Fix 234 Seg fault with pic18f14k22 cod
2017-11-05 Roy Rankin <rrankin@ihug.com.au>
* regression/p16f91x/i2c_slave.asm
: SCL scope chan 0, SDA scope chan 1
* regression/p1xf18xx/p16f1823_i2c.asm
: Improve failed assert messages
* src/p1xf1xxx.cc src/p1xf1xxx.h src/pic-processor.cc
src/pic-processor.h
: Add processors p12lf1822, p12lf1840, p16lf1788, p16lf1823, p16lf1825
* src/processor.cc
: Fix uninitialized variables
* modules/i2c2par.cc modules/i2c2par.h src/i2c-ee.cc src/i2c-ee.h
src/ssp.cc src/ssp.h
: I2C - move data transitions off clock edge
2017-10-28 Roy Rankin <rrankin@ihug.com.au>
* regression/ccp/pwm_26k22.asm regression/ccp/pwm_6520.asm
regression/ccp/pwm_877a.asm
: improve messages for failed asserts
* src/14bit-tmrs.cc src/14bit-tmrs.h src/p1xf1xxx.h
: bug #233 T2 on p12f1822 can have prescale of 64
2017-10-15 Roy Rankin <rrankin@ihug.com.au>
* src/ssp.cc src/ssp.h
: bug #232 pic12f1822: I2C reads not working
2017-10-02 Roy Rankin <rrankin@ihug.com.au>
* gpsim/main.cc
: Fix core dump
* regression/p10f32x/Makefile regression/p10f32x/p10f320.asm
regression/p10f32x/p10f320_cwg.asm regression/p10f32x/p10f320_nco.asm
regression/run_regression.sh src/14bit-tmrs.cc src/14bit-tmrs.h
src/Makefile.am src/ctmu.cc src/cwg.cc src/cwg.h src/nco.cc src/nco.h
src/p12f6xx.cc src/p12f6xx.h src/pir.h
: Add Complementary Waveform Generator (CWG) and
Numerically Controlled Oscillator (NCOx) to p10f32x
2017-09-22 Roy Rankin <rrankin@ihug.com.au>
* gui/gtkextra/gtkitementry.c
: Fix write to invalid address
* src/pm_rd.cc src/pm_rd.h
: Fix uninitialized variable
2017-09-20 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc src/14bit-tmrs.h
: update tmr2 when required for GUI
2017-09-18 Roy Rankin <rrankin@ihug.com.au>
* modules/i2c2par.cc
: Fix Bug #231 i2c2par: Non-default slave addresses not honoured
2017-09-16 Roy Rankin <rrankin@ihug.com.au>
* src/uart.cc
: Fix Bug #230 PIC12F1822: RS232 Tx doesn't work unless Rx also enabled
* src/a2dconverter.cc
: Turn off debug output
2017-09-08 Roy Rankin <rrankin@ihug.com.au>
* regression/p10f32x regression/p10f32x/Makefile
regression/p10f32x/p10f320.asm src/14bit-processors.cc
src/14bit-processors.h src/14bit-registers.cc src/14bit-registers.h
src/14bit-tmrs.cc src/14bit-tmrs.h src/a2dconverter.cc
src/a2dconverter.h src/p12f6xx.cc src/p12f6xx.h src/pic-processor.cc
src/pic-processor.h src/pm_rd.cc src/pm_rd.h
: Add P10[L]F32x processors - partial functionality
* src/ssp.cc
: Correct syntax
2017-07-09 Roy Rankin <rrankin@ihug.com.au>
* configure.ac
: Change to development release 0.30.1
* src/trace.cc
: bug 225 Program counter traces always decoded as single cycles due
to regression in r601
2017-06-12 Roy Rankin <rrankin@ihug.com.au>
* configure.ac
: Change to release 0.30.0
* extras/i2c2par extras/i2c2par/Makefile.am extras/i2c2par/examples
extras/i2c2par/examples/Makefile.am extras/i2c2par/examples/i2c2par.asm
extras/i2c2par/i2c2par.cc extras/i2c2par/i2c2par.h
extras/i2c2par/makefile.mingw extras/i2c2par/module_manager.cc
: Delete i2c2par source in extras as it is already included
* extras/lcd/raw_lcd.cc extras/lcd/raw_lcd.h
: Catch changes on cc pin
* plat/win32/gpsim.nsi
: Fix windows cleanup
* extras/lcd/examples/lcd_916.asm extras/lcd/examples/lcd_917.asm
extras/lcd/examples/lcd_mod.asm regression/a2d/p16c71.asm
regression/a2d/p16f819.asm regression/a2d/p16f871.asm
regression/a2d/p16f873a.asm regression/a2d/p16f874a.asm
regression/a2d/p16f88.asm regression/ccp/pwm_877a.asm
regression/comparator/compar_882.asm regression/epwm/p16f882.asm
regression/epwm/p16f887.asm regression/epwm/p18f1220.asm
regression/epwm/p18f2321.asm regression/epwm/p18f26k22.asm
regression/epwm/p18f4321.asm regression/i2c/p16f819.asm
regression/i2c/p16f88.asm
regression/instructions_14bit/instructions_14bit.asm
regression/logic_test/logic_test.asm regression/node_test/node_test.asm
regression/p16f684/a2d_684.asm regression/p16f684/epwm.asm
regression/p16f690/epwm.asm regression/p16f84/p16f84.asm
regression/p16f88x/a2d.asm regression/p16f88x/comparator.asm
regression/p16f88x/epwm.asm regression/p16f88x/i2c_slave.asm
regression/p16f88x/p16f882.asm regression/p16f88x/p16f883.asm
regression/p16f88x/p16f886.asm regression/p16f88x/p16f887.asm
regression/p16f91x/i2c_slave.asm regression/p16f91x/p16f913.asm
regression/p16f91x/p16f914.asm regression/p16f91x/p16f916.asm
regression/p16f91x/p16f917.asm regression/p16f91x/pwm_914.asm
regression/p1xf18xx/p16f1823_spi.asm regression/psp/p16f871.asm
regression/psp/p18f452.asm regression/psp/p18f6520.asm
regression/register_stim/register_stim.asm
regression/resistor/resistor.asm regression/switch_test/switch_test.asm
: Align interrupt code
2017-06-10 Roy Rankin <rrankin@ihug.com.au>
* PROCESSORS doc/gpsim.html src/p18x.cc src/p18x.h src/pic-processor.cc
src/pic-processor.h
: patch #46 Support for 18F258/18F458
* src/16bit-registers.h src/pic-registers.cc src/registers.h
: bug #229 PCL of 16-bit devices isn't shown properly in RAM view
* src/comparator.h
: bug #227 Compile error
* doc/gpsim.lyx
: Update extras module section
* src/lcd_module.cc
: Fix debug print formats for 32 bit systems
2017-06-05 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_breadboard.cc
: fix default filename for "Save Configuration"
* modules/ttl.cc modules/usart.cc src/14bit-processors.cc
src/14bit-registers.cc src/dsm_module.cc src/p16f88x.cc
src/p16f8x.cc src/p18fk.cc src/p18x.cc src/stimuli.cc
: Remove debug printf statements
2017-06-04 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_stimulus.cc gui/gui_breadboard.cc
: give full name for stimulus
* cli/scan.ll
: allow \"text\" as well as "text"
* extras/lcd/Makefile.am plat/win32/gpsim.nsi
: fixes for win32 build
2017-06-01 Roy Rankin <rrankin@ihug.com.au>
* src/makefile.mingw plat/win32/gpsim.nsi extras/makefile.mingw
gpsim/makefile.mingw gui/makefile.mingw plat/win32/make.mingw
extras/ds1307/examples/Makefile extras/Makefile.am
src/uart.cc src/uart.h
: Fix windows build
* extras/lcd/Makefile.am extras/lcd/examples/lcd_916.asm
extras/lcd/examples/lcd_917.asm extras/lcd/examples/p16c64.inc
extras/lcd/examples/p16c84.inc extras/lcd/raw_lcd.cc
extras/lcd/raw_lcd.h extras/module_manager.cc
: Add 7 segment LCD display
* src/a2d_v2.cc src/a2dconverter.cc
: Improve debugging
* src/interface.cc
: remove blank line
* src/lcd_module.cc src/lcd_module.h src/p16f91x.cc src/p16f91x.h
src/14bit-tmrs.cc src/14bit-tmrs.h regression/p16f91x/Makefile
regression/p16f91x/p16f913.asm
: Implement LCD module
* src/p16f88x.cc
: fix 16f685 program memory r/w
* src/p16f8x.cc src/p16f8x.h src/14bit-registers.cc
src/14bit-registers.h src/p1xf1xxx.cc
regression/p18f26k22/osccon_26k22.asm
: Fix osccon wake issue
2017-05-08 Roy Rankin <rrankin@ihug.com.au>
* regression/p16f91x/Makefile regression/p16f91x/ccp_917.asm
regression/p16f91x/compar_917.asm regression/p16f91x/i2c_low.inc
regression/p16f91x/i2c_slave.asm regression/p16f91x/p16f913.asm
regression/p16f91x/p16f914.asm regression/p16f91x/p16f916.asm
regression/p16f91x/p16f917.asm regression/p16f91x/pwm_914.asm
regression/p16f91x/usart_917.asm regression/p18f26k22/osccon_26k22.asm
regression/run_regression.sh src/14bit-processors.cc
src/14bit-registers.cc src/14bit-registers.h src/Makefile.am
src/a2dconverter.cc src/a2dconverter.h src/comparator.cc src/comparator.h
src/eeprom.cc src/lcd_module.cc src/lcd_module.h src/p16f91x.cc
src/p16f91x.h src/pic-processor.cc src/pic-processor.h src/pir.cc
src/pir.h
: Add P16f91x processors (LCD functionality pending)
2017-04-27 Roy Rankin <rrankin@ihug.com.au>
* regression/p16f690/Makefile regression/p16f690/eusart.asm
regression/run_regression.sh regression/p16f690/eusart_690.asm
: Add 690 eusart test
* regression/p16f690/p16f690.asm regression/p18f26k22/Makefile
regression/p18f26k22/osccon_26k22.asm regression/p1xf18xx/p16f1823.asm
regression/p1xf18xx/p16f1823_i2c.asm regression/p1xf18xx/p16f1825.asm
regression/wdt/nwdt_16f1823.asm regression/wdt/nwdt_16f88.asm
regression/wdt/wdt_16f88.asm regression/p1xf18xx/Makefile
regression/p16f88x/eusart.asm
: Add OSCCON test, fix assert messages
* src/14bit-processors.cc src/14bit-processors.h src/14bit-registers.h
src/16bit-processors.h src/16bit-registers.cc src/16bit-registers.h
src/p16f88x.cc src/p16f8x.cc src/p16f8x.h src/p18fk.cc src/p18fk.h
src/p18x.cc src/p18x.h src/processor.cc src/processor.h
src/14bit-registers.cc
: Bug #226 OSCCON not setting LTS bit for p16f685, 2 clock startup
* src/p1xf1xxx.cc src/p1xf1xxx.h
: Add DSM functionality
* extras/solar/solar.cc extras/solar/solar.h src/a2dconverter.cc
src/cod.cc src/trace.cc
: fix debug format
2017-04-19 Roy Rankin <rrankin@ihug.com.au>
* src/p18x.cc src/p18x.h src/pic-processor.cc src/pic-processor.h
: Feature request #55 Add P18f2525 processor
2017-03-23 Errol van de l'Isle <evandel@cix.co.uk>
* cli/cmd_module.cc cli/input.cc extras/rs232-gen/rs232-gen.c
extras/solar/solar.cc modules/paraface.cc modules/resistor.cc
modules/ttl.cc src/fopen-path.cc src/pic-processor.cc
src/registers.cc src/trace.cc
: Remove unused variables
2017-03-23 Errol van de l'Isle <evandel@cix.co.uk>
* src/processor.cc
: Removed unused variables
2017-03-23 Errol van de l'Isle <evandel@cix.co.uk>
* src/os_dependent.cc
: Removed unused variable and redundent expression
2017-03-16 Errol van de l'Isle <evandel@cix.co.uk>
* cli/socket.cc examples/scripts/client3.cc src/cod.cc src/lxt_write.c
: Correct some undefined behaviour
* gui/gui_breadboard.cc
: Fix memory reallocation error
2017-03-13 Errol van de l'Isle <evandel@cix.co.uk>
* src/trace.h
: Fix integer to bool logic
2017-03-13 Errol van de l'Isle <evandel@cix.co.uk>
* src/14bit-registers.h src/bitlog.h src/breakpoints.h
src/clock_phase.h src/errors.h src/expr.h src/gpsim_interface.h
src/gpsim_object.h src/ioports.h src/modules.h src/operator.h
src/packages.h src/pic-instructions.h src/processor.h
src/program_files.h src/stimuli.h src/trace.h
src/trigger.h src/value.h src/xref.h
: code review, make signle argument constrctors explicit.
2017-03-11 Errol van de l'Isle <evandel@cix.co.uk>
* src/value.h src/value.cc
: Change internals of class String to use std::string instead of char *
2017-02-23 Errol van de l'Isle <evandel@cix.co.uk>
* src/icd.cc
: Fix build error.
2017-02-23 Errol van de l'Isle <evandel@cix.co.uk>
* cli/input.cc cli/socket.cc plat/win32/fd2raw.cpp plat/win32/fd2raw.h
plat/win32/icd.cc plat/win32/unistd.h src/icd.h src/interface.cc
autoconf.ac
: Set the minimum GLib version to version 2.26 and remove checks for
versions lower than this.
2017-02-18 Roy Rankin <rrankin@ihug.com.au>
* gui/settings_exdbm.cc
: fix error detected by gcc-7
2017-02-12 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-instructions.h src/pic-instructions.cc
: Bug #224 14bits Enhanced Instruction BRW not working
2017-01-26 Errol van de l'Isle <evandel@cix.co.uk>
* configure.ac
: Add extra gcc and clang run time sanitization build options
2017-01-26 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_regwin.cc
: Correct error in svn r2392
2017-01-22 Errol van de l'Isle <evandel@cix.co.uk>
* src/14bit-processors.cc src/14bit-registers.h src/16bit-processors.cc
src/bit.cc src/dspic/dspic-instructions.cc src/p12x.cc
src/pic-ioports.cc src/registers.h src/uart.cc gui/gui_processor.h
: Clarify calculation precedence for '&' and '?'.
2017-01-22 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_breadboard.cc gui/gui_breadboard.h gui/gui_main.cc
gui/gui_menu.cc gui/gui_processor.h gui/gui_profile.h
gui/gui_register.h gui/gui_regwin.cc gui/gui_regwin.h
gui/gui_scope.cc gui/gui_scope.h gui/gui_src.h
gui/gui_stack.h gui/gui_statusbar.h gui/gui_stopwatch.h
gui/gui_symbols.h gui/gui_trace.h gui/gui_watch.h
gui/settings_exdbm.h
: Some code tidy
2016-12-25 Errol van de l'Isle <evandel@cix.co.uk>
* cli/cmd_macro.cc cli/cmd_module.cc cli/input.cc modules/i2c.cc
src/a2dconverter.cc src/errors.cc src/errors.h src/modules.cc
src/modules.h src/operator.cc src/operator.h src/registers.cc
src/ssp.cc
: Minor optimisations
2016-12-24 Errol van de l'Isle <evandel@cix.co.uk>
* cli/cmd_break.cc cli/socket.cc extras/lcd/hd44780.cc
extras/rs232-gen/rs232-gen.c modules/i2c.cc src/14bit-instructions.cc
src/14bit-registers.cc src/14bit-tmrs.cc src/16bit-instructions.cc
src/ValueCollections.h src/a2d_v2.cc src/a2dconverter.cc
src/breakpoints.cc src/comparator.cc src/dsm_module.cc
src/dspic/dspic-processors.cc src/expr.cc src/i2c-ee.cc src/icd.cc
src/ioports.cc src/p1xf1xxx.cc src/pic-instructions.cc
src/pic-ioports.cc src/processor.cc src/ssp.cc src/tmr0.cc src/trace.cc
src/trigger.cc src/uart.cc src/value.cc
: Correct the usage of printf and scanf type functions, enforceing
the correct signed and data widths.
2016-11-24 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gtkextra/gtkitementry.c gui/gtkextra/gtksheet.c gui/gui_regwin.cc
: Fix some minor issues with gtk extra
2016-11-19 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_profile.h gui/gui_profile.cc
: Removed unreachable code leaving stubs so that profiling information
can be added at a later date. Current and previous code is unable
to extract profiling information.
2016-11-10 Errol van de l'Isle <evandel@cix.co.uk>
* src/ioports.h gui/gtkextra/gtksheets.c
: Remove possible buffer over flows
* cli/cmd_dump.cc src/program_files.cc src/sim_context.cc
: Minor loop optimization
2016-10-31 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_breadboard.cc gui/gui_breadboard.h
: bug #223 sigsegv in gui_breadboard.cc:646
* src/dsm_module.cc src/dsm_module.h
: Data Signal Modulator (in developement)
2016-07-15 Roy Rankin <rrankin@ihug.com.au>
* extras/dht11/examples/Makefile extras/ds1820/examples/Makefile
src/Makefile.am
: Fix missing files for "make dist"
* gui/gui_menu.cc
: patch #45 Simulation time cycles in decimal by default
2016-07-10 Errol van de l'Isle <evandel@cix.co.uk>
* gui/Makefile.am gui/gtkextra gui/gtkextra/COPYING
gui/gtkextra/README.gpsim
gui/gtkextra/gtkextra-marshal.c
gui/gtkextra/gtkextra-marshal.h
gui/gtkextra/gtkextra.c
gui/gtkextra/gtkextrafeatures.h
gui/gtkextra/gtkitementry.c
gui/gtkextra/gtkitementry.h
gui/gtkextra/gtksheet.c
gui/gtkextra/gtksheet.h
gui/gui_regwin.h
gui/gui_symbols.cc
modules/logic.cc
: Include GtkSheet from GtkExtra to remove external dependedncy on it.
2016-07-07 Roy Rankin <rrankin@ihug.com.au>
* regression/instructions_16bit/instructions_16bit.asm
: Fix assemble error with gputils < 1.4.0
2016-07-01 Roy Rankin <rrankin@ihug.com.au>
* cli/input.cc cli/socket.cc extras/dht11/dht11.cc
extras/ds1820/bit1w.cc extras/lcd/hd44780.cc extras/lcd/hd44780.h
extras/lcd/lcd.cc extras/lcd/lcd.h extras/lcd/lcdgui.cc
gui/gui_menu.cc modules/usart.cc src/14bit-registers.cc
src/14bit-tmrs.cc src/a2d_v2.cc src/a2dconverter.cc src/icd.cc
src/p16f88x.cc src/p17c75x.cc src/p18x.cc src/pic-ioports.cc
src/pic-registers.cc src/stimuli.cc src/tmr0.cc src/uart.cc
: Fix GCC 6.1.1 warning messages
* regression/instructions_16bit/instructions_16bit.asm
: Fix assemble error with gputils 1.4.2
2016-06-30 Roy Rankin <rrankin@ihug.com.au>
* src/16bit-processors.h src/p18fk.cc
: Bug #222 breadboard issue with 18f26k22 clock pin labels
2016-06-28 Roy Rankin <rrankin@ihug.com.au>
* src/ssp.h src/ssp.cc
: Bug #221 When selecting I2C, SSx pin may change name in breadboard
2016-03-22 Roy Rankin <rrankin@ihug.com.au>
* regression/p18f26k22/Makefile regression/p18f26k22/sync_26k22.asm
src/16bit-processors.cc src/p18fk.cc src/pir.cc src/pir.h
src/uart.cc src/uart.h
: Add synchronous functionallity to euart.
Uart sets name pin name when active
2016-03-15 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_load.cc doc/gpsim.lyx
: Bug #220 Make documentation more clear for processor loading
2016-02-15 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc src/14bit-tmrs.h
: Bug #219 TMR2 can exceed 255 after changing prescale bits of T2CON
* src/p18x.cc src/pic-processor.cc
: regression causing add_sfr_register to be called twice for osccon
2016-02-06 Roy Rankin <rrankin@ihug.com.au>
* regression/p1xf18xx/Makefile regression/p1xf18xx/p12f1840.asm
regression/p1xf18xx/p16f1825.asm src/p1xf1xxx.cc src/p1xf1xxx.h
src/pic-processor.cc src/pic-processor.h
: Feature 52 Add p16f1825, fix devID for p12f1840
2016-02-04 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_src_asm.cc
: Fix bug 217 issue with right click, fix memory leak
2016-02-04 Roy Rankin <rrankin@ihug.com.au>
* regression/p1xf18xx/12f1822_g.lkr
regression/p1xf18xx/16f1788_g.lkr
regression/p1xf18xx/16f1823_g.lkr
regression/p1xf18xx/Makefile
regression/p1xf18xx/p12f1840.asm
: Add basic p12f1840 test, cleanup Makefile
* src/p1xf1xxx.cc src/p1xf1xxx.h src/pic-processor.cc
src/pic-processor.h
: Feature 51 - Add p12f1840 processor
2016-02-02 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_regwin.cc
: Bug fixes + patch from Rob Pearce.
Added some input sanitization (feature 49)
2016-02-01 Roy Rankin <rrankin@ihug.com.au>
* src/ssp.cc src/ssp.h regression/spi/p16c62.asm
regression/spi/p16f88.asm
: Add SPI proto trace
* src/16bit-processors.cc
: delete osccon when processor closes
* src/stimuli.cc src/stimuli.h src/processor.cc
src/registers.cc src/registers.h
: fix address/value column in symbol GUI
* src/pic-processor.cc
: mclr pin name in processor symbol space
* regression/p16f873/p16f873.asm
: Fine tune interrupt handling
2016-01-31 Roy Rankin <rrankin@ihug.com.au>
* src/i2c-ee.cc src/ioports.cc src/ioports.h
: support for separate symbol space
2016-01-31 Roy Rankin <rrankin@ihug.com.au>
* modules/Makefile.am modules/makefile.mingw modules/m_stimuli.cc
modules/m_stimuli.h modules/stimuli.cc modules/stimuli.h
: rename stimuli file for gdb as same file name used in src
* modules/encoder.cc modules/gpsim_modules.cc modules/i2c-eeprom.cc
modules/i2c.cc modules/i2c2par.cc modules/i2c2par.h modules/led.cc
modules/led.h modules/logic.cc modules/logic.h modules/push_button.cc
modules/resistor.cc modules/switch.cc modules/ttl.cc modules/ttl.h
modules/usart.cc modules/usart.h modules/video.cc
: Fix memory issues on module removal (bug 214),
separate module symbol space
* extras/ds1307/ds1307.cc extras/ds1307/ds1307.h
: Bug 213 ds1307 not at i2c address 0xd0
2016-01-30 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc src/14bit-tmrs.h src/16bit-tmrs.cc
src/16bit-tmrs.h src/p18fk.cc
: bug 215 Issues with tmr1_freq
* src/symbol.cc
: Print message when adding same name symbol with different value
2016-01-29 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_src_opcode.cc
: Fix build with gtk extra 2
* gui/gui_regwin.cc
: Bug 216 - Fix numerical inputs
2016-01-19 Rob Pearce <rob@fairview.ukfsn.org>
* src/16bit-processors.cc src/16bit-processors.h src/16bit-registers.cc
src/p12f6xx.cc src/p12f6xx.h src/p16f88x.cc src/p16f88x.h
src/p16f8x.cc src/p16f8x.h src/p1xf1xxx.cc src/p1xf1xxx.h
src/pic-ioports.cc src/pic-processor.cc src/pic-processor.h
: Changed "osccon" member of processor classes to a pointer so that it
can be properly virtual
* src/Makefile.am src/p18fk.h src/p18fk.cc src/p18x.cc src/p18x.h
src/a2d_v2.cc src/a2d_v2.h src/pir.h
: Reduce excessive file size (18FxxKyy family separate from other 18x)
: Implement PIC18F14K22 processor
* src/14bit-registers.cc
: Fixed bug in setting IOFS (HFIOFS) bit of OSCCON
2016-01-05 Roy Rankin <rrankin@ihug.com.au>
* cli/input.cc src/hexutils.cc src/icd.cc src/sim_context.cc
: Fix unused results warnings
* src/comparator.cc
: Fix free cm_an in CMCON destructor
2015-12-23 Roy Rankin <rrankin@ihug.com.au>
* src/pic-ioports.cc src/pic-ioports.h
: PicPortGRegister generalize intf bit
* src/14bit-tmrs.cc src/14bit-tmrs.h
: add dummy registers triscpp, dataccp
* src/pic-processor.cc src/pic-processor.h src/p16x7x.cc src/p16x7x.h
: Bug 212 - add 16f716, fix package 16c712, 16c716
2015-11-28 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_main.cc gui/gui_menu.cc gui/gui_regwin.cc gui/gui_regwin.h
gui/gui_stopwatch.cc gui/gui_stopwatch.h
: Reduce the number of global variables
2015-11-28 Errol van de l'Isle <evandel@cix.co.uk>
* extras/lcd/hd44780.cc extras/lcd/lcd.cc gui/gui_symbols.cc
modules/encoder.cc modules/logic.cc modules/stimuli.cc
modules/ttl.cc src/ValueCollections.cc src/ValueCollections.h
src/attributes.cc src/bitlog.cc src/breakpoints.h
src/comparator.h src/ctmu.h src/eeprom.h src/intcon.cc
src/intcon.h src/interface.cc src/pic-processor.h
src/processor.cc src/processor.h src/registers.cc
src/registers.h src/stimuli.cc src/stimuli.h src/ui.cc
: Removed unnecessary use of #include <iostream> from headers.
This leads to some code bloat with GCC for units that do not need
iostream.
2015-11-28 Errol van de l'Isle <evandel@cix.co.uk>
* doc/gpsim.lyx
: Update documentation
2015-11-28 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_src.h gui/gui_src_opcode.cc
: Major re-write of the opcode window. Simplefied the font handling,
removed broken options. Improved redraw speed and gave it a similar
look to the RAM & EPROM windows.
2015-11-19 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_break.cc cli/cmd_break.h
: undo fix for for bug 206
* cli/parse.yy src/expr.cc
: improve error processing and undo fix for bug 206
* cli/scan.ll
: Allow [dD]'nn' decimal values
* doc/gpsim.lyx
: Correct documentation errors
* src/breakpoints.cc
: new fix for bug 206
2015-11-17 Errol van de l'Isle <evandel@cix.co.uk>
* src/ValueCollections.cc src/cmd_manager.cc src/errors.cc
src/os_dependent.cc src/processor.cc src/value.cc
: Minor optimisations, found during static analysis of code
* gui/gui_breadboard.cc gui/gui_breadboard.h
: Removed trace buttons, added status line to show if the trace failed
2015-11-15 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_menu.cc gui/gui_src.h gui/gui_src_asm.cc
: Fix memory leaks. Refactor source browser
2015-11-11 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui.h gui/gui_scope.cc gui/gui_scope.h gui/gui_src.cc
gui/gui_src.h gui/gui_src_asm.cc gui/gui_src_opcode.cc
: Simplified keyboard handling
2015-11-07 Roy Rankin <rrankin@ihug.com.au>
* regression/p16f88x regression/p16f88x/Makefile
regression/p16f88x/comparator.asm regression/p16f88x/epwm.asm
regression/p16f88x/eusart.asm regression/p16f88x/i2c.asm
regression/p16f88x/i2c_low.inc regression/p16f88x/i2c_slave.asm
regression/p16f88x/p16f882.asm regression/p16f88x/p16f883.asm
regression/p16f88x/p16f886.asm regression/p16f88x/p16f887.asm
regression/run_regression.sh regression/p16f88x/a2d.asm
: Add p16f88x regressions test
* regression/p1xf18xx/p12f1822.asm regression/p1xf18xx/p16f1823.asm
src/p16f87x.cc src/p16f88x.cc
* regression/tmr0_16bit/tmr0_16bit.asm
: add nops after assert's
* src/eeprom.cc
: turn off debug
* src/p18x.cc src/p1xf1xxx.cc src/pic-processor.cc src/pic-processor.h
src/ssp.cc src/ssp.h src/p16f88x.cc
: Add SSP registers to 16f88x and consolidate sspmsk code
2015-11-02 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui.h gui/gui_src.h gui/gui_src_asm.cc
: Remove limit on number of source files. Removed unused and deprecated code.
2015-10-27 Errol van de l'Isle <evandel@cix.co.uk>
* cli/socket.cc eXdbm/eXdbm.c
: Fix resource & memory leaks found with static analysis.
2015-10-27 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui.h gui/gui_menu.cc gui/gui_regwin.cc gui/gui_regwin.h
gui/gui_src_asm.cc gui/gui_statusbar.cc gui/gui_statusbar.h
: Improve register status bar code & remove it from the RAM window
preparing to change the source window to be the main one
2015-10-25 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui.h gui/gui_break.cc gui/gui_main.cc gui/gui_processor.cc
gui/gui_profile.cc gui/gui_profile.h gui/gui_register.h
gui/gui_regwin.cc gui/gui_regwin.h gui/gui_src_opcode.cc
gui/gui_statusbar.cc gui/gui_symbols.cc gui/gui_symbols.h
src/ValueCollections.h src/operator.h src/packages.h src/ui.h
: Fix minor errors and remove dead code found with static analysis.
2015-10-24 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_menu.cc
: Modified file selector to enable the selction of the processor for
.hex files
2015-10-22 Roy Rankin <rrankin@ihug.com.au>
* src/16bit-registers.cc src/clock_phase.cc src/clock_phase.h
src/pic-processor.cc src/pic-registers.cc src/processor.h
: Move clock phase variables into Processor class
2015-10-21 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_clear.cc
: fix sigsegv on improper input
* gpsim/main.cc gui/gui.h gui/gui_breadboard.cc gui/gui_break.cc
gui/gui_main.cc gui/gui_menu.cc gui/gui_regwin.cc gui/gui_src.h
gui/gui_src_asm.cc gui/gui_src_opcode.cc gui/gui_statusbar.cc
gui/gui_watch.cc src/14bit-tmrs.cc src/14bit-tmrs.h src/16bit-processors.cc
src/comparator.cc src/expr.cc src/p18x.cc src/pic-instructions.cc
src/pic-registers.cc src/processor.cc src/processor.h src/value.cc
src/xref.cc src/xref.h
: Fix memory leaks
2015-10-11 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_break.cc
: improve error message
* cli/input.cc
: add verbose output
* gui/gui_breadboard.cc
: trace nodes
: gui/gui_src_asm.cc
* cntl-F in src window when no code loaded causes sigsegv
* src/cod.cc src/cod.h
: improve error handling when opening code files
* src/processor.cc src/processor.h
: move m_ProgramMemoryAllocationSize into Processor class
* src/breakpoints.cc src/expr.cc src/operator.cc
: better handle error conditions
* src/fopen-path.cc
: handle invalid file names
2015-08-07 Errol van de l'Isle <evandel@cix.co.uk>
* gui_menu.cc gui_profile.cc gui_src_asm.cc
: Fixed error in gui_message(), resource not destroyed.
Re: patch from andi
2015-09-07 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_break.cc cli/cmd_break.h cli/parse.yy src/breakpoints.cc
: bug 206 Break command problems
2015-09-07 Roy Rankin <rrankin@ihug.com.au>
* doc/gpsim.html doc/gpsim.lyx
: Update documentation
2015-09-04 Roy Rankin <rrankin@ihug.com.au>
* configure.ac
: Change release to 0.29.1
* src/eeprom.cc src/p16f87x.cc src/p16f87x.h
: bug 207 Wrong EEPROM size (16f876/876a/877/877a)
* src/tmr0.cc
: bug 205 TMR0: bug TMR0 is larger than 255
2015-08-17 Roy Rankin <rrankin@ihug.com.au>
* configure.ac
: Change release to 0.29.0
* gui/gui_src.cc
: Fix compiler warning
* src/p18x.cc src/pic-ioports.cc src/ssp.cc
: Remove debug output
2015-08-13 Roy Rankin <rrankin@ihug.com.au>
* modules/ttl.cc src/14bit-registers.cc src/14bit-registers.h
src/14bit-tmrs.cc src/16bit-registers.cc src/16bit-tmrs.h
src/comparator.cc src/comparator.h src/ctmu.h src/i2c-ee.cc
src/ioports.cc src/p12x.cc src/p18x.cc src/pic-processor.cc
src/pic-processor.h src/ssp.cc src/uart.cc
: Fix memory error reported by Valgrind
2015-08-07 Errol van de l'Isle <evandel@cix.co.uk>
* modules/led.cc modules/led.h
: bug 203 - led module looping
2015-08-03 Roy Rankin <rrankin@ihug.com.au>
* modules/ttl.cc modules/ttl.h
: bug 204 - tt595 Qs output lags by one SCK clock
2015-08-03 Roy Rankin <rrankin@ihug.com.au>
* src/gpsim_time.cc src/gpsim_time.h
: bug 202 - too many breaks
2015-07-29 Roy Rankin <rrankin@ihug.com.au>
* extras/i2c2par/Makefile extras/i2c2par/examples/Makefile
: remove from svn control
* src/14bit-registers.cc
: bug 201 - Nested CALL causes loop in p10f202
2015-07-26 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_src.cc gui/gui_src.h gui/gui_src_asm.cc
: Feature 41
In the source browser the find dialog now has a keyboard shortcut
with improvments to the dialog. Improved keyboard keypress detection
as keyboard modifiers not correctly detected.
2015-07-27 Roy Rankin <rrankin@ihug.com.au>
* configure.ac makefile.mingw extras/Makefile.am extras/i2c2par
extras/i2c2par/Makefile extras/i2c2par/Makefile.am
extras/i2c2par/examples extras/i2c2par/examples/Makefile
extras/i2c2par/examples/Makefile.am extras/i2c2par/examples/i2c2par.asm
extras/i2c2par/i2c2par.cc extras/i2c2par/i2c2par.h
extras/i2c2par/makefile.mingw extras/i2c2par/module_manager.cc
: Feature 40 - Add support for 20x4 lcd module with I2C interface
* extras/lcd/makefile.mingw extras/dht11/makefile.mingw
extras/ds1307/makefile.mingw extras/ds1820/makefile.mingw
extras/graphic_lcd/src/makefile.mingw
: More Fixes for windows build
2015-07-27 Roy Rankin <rrankin@ihug.com.au>
* gpsim/makefile.mingw modules/led.h modules/makefile.mingw
src/gpsim_interface.h src/makefile.mingw src/modules.h
: Fixes for windows build
2015-07-26 Roy Rankin <rrankin@ihug.com.au>
* doc/screenshots/breadboard_register.png
doc/screenshots/control_source.png
: new screendump files
* regression/a2d/10f222.lkr regression/ccp/16f819.lkr
regression/ccp/16f877a.lkr regression/ccp/18f6520.lkr
regression/comparator/10f204.lkr regression/comparator/16f628.lkr
regression/comparator/16f873a.lkr regression/comparator/16f877a.lkr
regression/comparator/16f882.lkr regression/tmr1_16bit/18f452.lkr
regression/ttl/18f452.lkr
: Remove gputil link files
* regression/run_regression.sh regression/tmr1_16bit/tmr1_18f2620.asm
regression/ttl/Makefile regression/ttl/ttl595.asm
: add new regression tests
2015-07-26 Errol van de l'Isle <evandel@cix.co.uk>
* configure.ac
: Add option for leak testing (X86-64 gcc or clang only)
* extras/graphic_lcd/src/glcd.cc
extras/graphic_lcd/src/glcd.h
extras/graphic_lcd/src/glcd_100X32_sed1520.cc
extras/graphic_lcd/src/glcd_100X32_sed1520.h
extras/graphic_lcd/src/gpsim_modules.cc
extras/graphic_lcd/src/osram.cc
extras/graphic_lcd/src/osram.h
extras/graphic_lcd/src/sed1520.cc
extras/graphic_lcd/src/ssd0323.cc
extras/graphic_lcd/src/ssd0323.h
: Do all drawing with Cairo instead of deprecated GDK.
2015-07-26 Roy Rankin <rrankin@ihug.com.au>
* src/pic-processor.cc src/p18x.h src/p18x.cc
regression/a2d/Makefile regression/a2d/p18f26k22.asm
regression/ccp/Makefile regression/ccp/pwm_26k22.asm
regression/comparator/Makefile regression/comparator/compar_26k22.asm
regression/tmr1_16bit/Makefile regression/tmr1_16bit/tmr1_18f26k22.asm
regression/epwm/p18f26k22.asm regression/p18f26k22/Makefile
regression/p18f26k22/ctmu_26k22.asm regression/p18f26k22/tbl_26k22.asm
regression/p18f26k22/hlvd_26k22.asm
: feature 46 - Add p18f26k22 Processor
* gpsim/main.cc gui/gui_scope.cc gui/gui.h
: fix scope error messages
* cli/Makefile.am
: fix continual rebuild of parse.cc
* src/14bit-registers.cc src/14bit-registers.h
: add CPSCON0::callback_print() function
* src/16bit-processors.cc src/16bit-processors.h
src/16bit-registers.h src/16bit-registers.cc
: Bug 200 - tblptrx registers miss named
Feature 45 - P18 processors do not return devid
Add HLVDCON class
* src/bit.cc : fix compiler warning
* src/comparator.cc src/comparator.h src/ctmu.cc src/ctmu.h
src/Makefile.am src/a2d_v2.h src/a2d_v2.cc src/p16f88x.cc
: Add ctmu class for p18f26k22
* src/eeprom.h src/eeprom.cc
: changes to integrate eeprom with TBL
2015-07-09 Roy Rankin <rrankin@ihug.com.au>
* regression/a2d/16c71.lkr regression/a2d/16f819.lkr
regression/a2d/16f871.lkr regression/a2d/16f873a.lkr
regression/a2d/16f874a.lkr regression/a2d/16f88.lkr
regression/a2d/18f1220.lkr regression/a2d/18f4321.lkr
regression/a2d/18f452.lkr regression/a2d/Makefile
: Remove outdated gputil link files
2015-07-09 Roy Rankin <rrankin@ihug.com.au>
* stimuli.h simuli.cc
: Feature 44 Entering node name into cli should show attached stimului
Refine node RC voltage vs time calculation
* stimuli.h simuli.cc src/processor.h src/processor.cc
src/modules.h src/modules.cc
: Feature 43 Allow setting of Vdd on processors
* src/ioports.cc
: feature 42 Analog inputs should have about 5pF capacitance
* src/p1xf1xxx.cc
: Fix cpscon0 register name (was cpscon)
* regression/a2d/p16c71.asm regression/p1xf18xx/p16f1823.asm
regression/switch_test/switch_test.asm regression/spi/p18f242.asm
: adjust regression tests for above changes
2015-07-08 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui.h gui/gui_scope.h gui/gui_scope.cc
: Replace all deprecated GDK drawing with Cairo drawing and some code
clean up.
2015-06-25 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_watch.cc: initialize variable watch_list
* regression/comparator/Makefile
regression/comparator/compar_2321.asm
regression/comparator/compar_628.asm
regression/comparator/compar_6520.asm
regression/comparator/compar_873a.asm
regression/comparator/compar_877a.asm
regression/comparator/compar_882.asm
regression/p16f684/Makefile
regression/p16f684/compar_684.asm
regression/p16f690/p16f690.asm
regression/p1xf18xx/Makefile
regression/p1xf18xx/p16f1823_comp.asm
regression/run_regression.sh
: Improve comparator regression tests
* regression/p1xf18xx/p16f1823_i2c.asm
regression/p1xf18xx/p16f1823_i2c_v2.asm
regression/p1xf18xx/p16f1823_spi.asm
: fix variable names in asserts
* src/14bit-registers.h
: define aditional OSCCON and OSCTUNE bits
* src/14bit-tmrs.cc src/14bit-tmrs.h
: Allow timer classes to be used more than once
* src/16bit-processors.cc src/16bit-processors.h
: change t1con and t3con to pointers so they can be redefine if required
* src/16bit-registers.cc src/16bit-registers.h
: add OSCCON2 and OSCCON_HS classes
* src/16bit-tmrs.cc src/16bit-tmrs.h
: Timers 1,3,5
* src/a2d_v2.cc src/a2d_v2.h src/a2dconverter.cc src/a2dconverter.h
src/p1xf1xxx.cc
: improve inheratance structure
* src/comparator.cc src/comparator.h src/p16f88x.cc src/p16f88x.h
: restructure for up to 4 comparators
* src/p16f62x.cc
: Fix Bug 199 p16f627,8 comparator error mode 3
* src/p16x6x.cc
: Allow multiple SSP modules to connect to tmr2
* src/p18x.cc
: Fix bug 198 - p18f6620 comparator pins wrong
Fix bug 197 Bad comparator output pin on p18f2x21 based processors
* src/p18x.h : fix 2620 register size
* src/pic-ioports.cc src/pic-ioports.h
: make IOCxF optional in PicPortIOCRegister
* src/pic-processor.cc src/pic-processor.h
: allow for secondary oscillator
* src/pir.cc src/pir.h
: add support for PIR4, PIR5 registers
* src/registers.cc
: Fix register naming
* src/ssp.cc src/ssp.h
: Allow multiple SSP modules using flexable pir registers
* src/stimuli.h
: Increase input impedance
* src/tmr0.h
: make m_t1gcon useable by derrived classes
2015-05-31 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_scope.cc gui/gui_scope.h
: Draw signal names using Cairo
* gui/gui_menu.cc gui/gui_processor.cc gui/gui_profile.cc
gui/gui_profile.h gui/gui_regwin.cc gui/gui_regwin.h gui/gui_src.cc
gui/gui_src.h gui/gui_src_asm.cc gui/gui_src_opcode.cc
gui/gui_stack.cc gui/gui_statusbar.cc gui/gui_statusbar.h
gui/gui_stopwatch.cc gui/gui_stopwatch.h gui/gui_symbols.cc
gui/gui_symbols.h gui/gui_trace.cc gui/gui_trace.h
gui/preferences.cc gui/settings_exdbm.cc
modules/encoder.cc modules/encoder.h modules/gpsim_modules.cc
modules/i2c-eeprom.cc modules/i2c-eeprom.h modules/i2c.cc
modules/i2c2par.cc modules/i2c2par.h modules/led.cc modules/led.h
modules/logic.cc modules/logic.h modules/push_button.cc
modules/push_button.h modules/resistor.cc modules/stimuli.cc
modules/stimuli.h modules/switch.cc modules/switch.h
modules/ttl.cc modules/ttl.h modules/usart.cc modules/video.cc
modules/video.h
: Used clang tool "iwyu" to help tidy up which headers are included
2015-05-27 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_main.cc
: Fix display update from error introduced in svn 2323
* gui/gui_scope.cc gui/gui_scope.cc
: Cleaned up code to prepare for removing GDK deprecated calls
* gui/gui.h gui_break.cc gui_regwin.cc
: Change CrossReferenceToGUI class to a pure calls
2015-05-23 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_init.cc
: Removed header dependencies and marked as should be removed
* gui/gui_main.cc
: Removed threading code, this style of threading is deprecated in
GTK+ v3.6 and does not work under MS Windows.
* gui/gui.h gui/gui_breadboard.cc gui/gui_object.cc gui/gui_object.h
gui/gui_profile.cc gui/gui_regwin.cc gui/gui_regwin.h
gui/gui_scope.cc gui/gui_src.cc gui/gui_src_asm.cc
gui/gui_src_opcode.cc gui/gui_stack.cc gui/gui_stopwatch.cc
gui/gui_symbols.cc gui/gui_trace.cc gui/gui_watch.cc
: Change GUI_Object to an abstract type, error checking now at
compile time not just run time. Removed un-used variable "wt"
and partially used variable "wc" from GUI_Object.
2015-05-13 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_breadboard.cc
: Fixed regression. Now correcly shows the alternative pin name
2015-05-07 Errol van de l'Isle <evandel@cix.co.uk>
* extras/lcd/Makefile.am extras/lcd/hd44780.cc extras/lcd/hd44780.h
extras/lcd/lcd.cc extras/lcd/lcd.h extras/lcd/lcdgui.cc
extras/lcd/module_manager.cc gui/gui_breadboard.cc
: Do drawing in the LCD module with Cairo. Clean up resource mangement
2015-04-26 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_beradboard.cc
: Correct crash introduced in svn 2319
2015-04-25 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_breadboard.h gui/gui_breadboard.cc
: All drawing now done with Cairo. Fix memory leak, some code tidy up
2015-04-13 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc
: Fix bug # 196 - PWM glitch when writing to CCPCON
2015-04-11 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_breadboard.cc gui/gui_breadboard.h
: Traces are now drawn using Cairo instead of deprecated GDK calls
2015-04-10 Roy Rankin <rrankin@ihug.com.au>
* doc/gpsim.lyx modules/Makefile.am modules/gpsim_modules.cc
modules/i2c2par.cc modules/i2c2par.h
: add I2C to 8 bit bus modules for feature request # 40
* src/i2c-ee.cc src/i2c-ee.h
: rewrite to make I2C slave code sharable via class i2c_slave
2015-04-04 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_breadboard.cc gui/gui_breadboard.h
: Replace deprecated GDK calls for displaying module name
2015-03-29 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_breadboard.c
: Fix core dump when "Trace all" button used in Breadboard,
regression from svn 2309
2015-03-27 Errol van de l'Isle <evandel@cix.co.uk>
* modules/led.cc modules/led.h modules/logic.cc modules/logic.h
modules/video.cc modules/video.h
: Replace deprecated GDK calls and code clean up
2015-03-27 Roy Rankin <rrankin@ihug.com.au>
* regression/p16f676/reset.asm regression/p16f684/reset.asm
regression/p16f84/reset.asm src/14bit-registers.cc src/intcon.cc
src/intcon.h src/pic-ioports.cc src/pic-ioports.h
: Bug 195 - Writing to an IOC IO port should not clear interrupt flag
2015-03-23 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_watch.cc: fix gtk_tree_model_foreach assert
* src/14bit-tmrs.cc: fix debug print format warning
2015-03-21 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui.h gui/gui_breadboard.cc gui/gui_breadboard.h
gui/gui_main.cc gui/gui_profile.cc gui/gui_regwin.cc
gui/gui_regwin.h gui/gui_src_asm.cc
: Replace some deprecated GDK calls and code clean up
2015-03-14 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_watch.cc gui/watch.h
: Replace the GtkCList with GtkListStore/GtkTreeView
* extras/graphic_lcd/src/glcd_100x32_sed1520.cc
extras/graphic_lcd/src/osram.cc extras/lcd/lcdgui.cc
gui/gui.h gui/gui_breadboard.cc gui/gui_regwin.cc
gui/gui_scope.cc gui/gui_src_asm.cc gui/gui_src_opcode.cc
gui/gui_statusbar.cc gui/gui_stopwatch.cc gui/gui_trace.cc
modules/led.cc modules/logic.cc
: Replaced various small deprecated GTK calls.
2015-03-08 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_profile.cc gui/gui_profile.h
: Remove unused global style, replaced all GtkCList with
GtkListStore/GtkTreeView and removed the need for some GLists
* gui/gui_src.h gui/gui_src_asm.cc
: Removed classes BreakPointInfo, BreakPointList,
SourceBrowserAsm_Window which are not used and replaced other
deprecated code.
* gui/gui.h gui/gui_break.cc gui/gui_regwin.cc gui/gui_src.cc
gui/gui_stack.cc gui_symbols.cc
: Replaced deprecated GTK+ calls
2015-02-28 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_src.h gui_src_asm.cc
: Correct usage of signal "switch-page"
* gui/gui_watch.cc gui/gui_watch.h
: Replaced GList with std::vector<>
* modules/usart.cc modules/usart.h
: Removed definition of GTK_ENABLE_BROKEN
* gui/gui_statusbar.cc gui/gui_statusbar.h gui/gui.h
: Removed commented out dead code and code tidy up
* gui/gui_processor.cc gui_processor.h gui_menu.cc
: Remove conditional on NEW_SOURCE_BROWSER and code tidy.
* gui/breadboard.cc
: Made two globals variables local and used C++ style allocations not C
Convert two GList to a std::vector<>
2015-02-23 Roy Rankin <rrankin@ihug.com.au>
* src/tmr0.cc src/16bit-registers.cc
: Bug 194 - P18 processor TMR0 may ignore TMR0H
* src/p18x.cc src/p18x.h src/pic-processor.cc src/pic-processor.h
: Feature 39 - Add p18f2620 processor (work in progress)
* extras/lcd/examples/icons.inc
extras/lcd/examples/lcd.inc
extras/lcd/examples/lcd_mod.asm
extras/lcd/examples/lcd_mod.stc
extras/lcd/examples/lcd_mod20x4.stc
extras/lcd/examples/screen.asm
extras/lcd/hd44780.cc
extras/lcd/hd44780.h
extras/lcd/lcd.cc
extras/lcd/lcd.h
extras/lcd/lcdfont.h
extras/lcd/lcdgui.cc
extras/lcd/module_manager.cc
: Add 20x4 lCD display and CGRam support as 1st step for feature
request 40 - 20x4 LCD with I2C interface
2015-02-21 Errol van de l'Isle <evandel@cix.co.uk>
* extras/graphic_lcd/src/glcd.cc
extras/graphic_lcd/src/glcd_100x32_sed1520.cc
extras/graphic_lcd_src/osram.cc
extras/lcd/lcdgui.cc
gui/gui_main.cc gui/gui_profile.cc gui/gui_regwin.cc gui/gui_scope.cc
gui/gui_src.cc gui/gui_src_asm.cc gui/gui_watch.cc
modules/led.cc modules/logic.cc modules/video.cc
: Number of minor changes to use GTK accessor functions to avoid direct
access to GTK internals. Gpsim now compiles with -DGSEAL_ENABLE
2015-02-13 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-registers.cc
: Bug 192 - Linear Address Calculation Bug on Enhanced Midrange
* src/gpsim_time.cc
: Bug 193 - Crash when simulation mode set to "update gui every cycle"
* src/14bit-tmrs.cc src/14bit-tmrs.h src/gpsim_interface.h
src/interface.cc src/tmr0.cc src/tmr0.h
: Feature 38 - Update timer register values in GUI
2015-02-10 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_src.h gui/gui_src_opcode.cc
: Replace usage of GtkCList. Due to styles being done differently on a
GtkTreeView I have now used icons instead of colours to indicate
break points and the current program counter. This should help those
with colour blindness. Replaced various deprecated API calls and
other code tidy ups. Now compiles with -DGSEAL.
2015-02-05 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-registers.cc src/14bit-processors.cc src/14bit-processors.h
src/pic-processor.h
: Bug 190 - Enhanced processors not setting HFIOFS bit of OSCSTAT
Bug 191 - Enhanced midrange chips reset from software enabled watchdog
while sleeping
* regression/p1xf18xx/p16f1823.asm
: test setting HFIOFS bit of OSCSTAT
* src/14bit-registers.cc
* regression/run_regression.sh regression/wdt/16f1823.lkr
regression/wdt/Makefile regression/wdt/nwdt_16f1823.asm
regression/wdt/pwdt_16f1823.asm
: Add 16f1823 WDT regression tests
* src/p1xf1xxx.cc: Delete option_reg in destructor
2015-01-17 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_src_asm.cc gui/gui_src.h
: Remove usage of GtkPixmap. Modified to compile with -DGSEAL_ENABLE.
Various code tidy ups, removed some dead code. Modified the find and
font dialogs.
2015-01-17 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_symbols.cc, gui/gui_symbols.h
: Replace GtkCList with tree view
2015-01-06 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_breadboard.cc, gui/gui_breadboard.h
: Removed unused GtkCList, removed some dead code, modified to
compile with -DGSEAL_ENABLE. Some code tidy up using checks from
cppcheck.
2014-12-28 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_stopwatch.cc, gui/gui_stopwatch.h
: Replaced GtkOptionMenu with GTK 2 equivalent. Various code clean up.
Required GTK version now 2.24
2014-12-27 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_breadboard.cc, gui/gui_breadboard.h, gui/gui_src_asm.cc
: Clean up last usage of GtkSignalFunc
* gui/gui_trace.cc, gui/gui_trace.h
: Replace GtkClist with tree view
2014-12-25 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui_dialog.cc, gui/gui_scope.cc : Dead code removal
2014-12-25 Errol van de l'Isle <evandel@cix.co.uk>
* gui/gui.h, gui/gui_breadboard.cc, gui/gui_breadboard.h,
gui/gui_menu.cc, gui/gui_object.cc, gui/gui_object.h,
gui/gui_profile.cc, gui/gui_profile.h, gui/gui_regwin.cc,
gui/gui_regwin.h, gui/gui_scope.cc, gui/gui_scope.h,
gui/gui_src.h, gui/gui_src_asm.cc, gui/gui_src_opcode.cc,
gui/gui_stack.cc, gui/gui_stack.h, gui/gui_stopwatch.cc,
gui/gui_stopwatch.h, gui/gui_symbols.cc, gui/gui_symbols.h,
gui/gui_trace.cc, gui/gui_trace.h, gui/gui_watch.cc,
gui/gui_watch.h
: Replaced menus with GtkUIManager, replaced about dialog and done
code tidy up to gui/gui_menu.cc and gui/gui_object.cc. Required
GTK version now 2.18
2014-12-15 Errol van de l'Isle <evandel@cix.co.uk>
* modules/logic.cc, gui/gui_dialog.cc, gui/gui_regwin.h,
gui/gui_menu.cc, gui/gui_breadboard.h, gui/gui_src.h,
gui/gui_breadboard.cc, gui/gui_trace.cc, gui/gui_main.cc,
gui/gui_statusbar.cc, gui/gui_regwin.cc, gui/gui_src_asm.cc,
gui/gui.h, gui/gui_profile.cc,
gui/gui_src_opcode.cc: Remove conditional GTK 1 code
* gui/gui_menu.cc, gui/breadboard.cc, gui/gui_regwin.cc, configure.ac:
- Replace GtkFileSelector with GtkFileChooserDialog and add checks
for GTK v2.8 or above
2014-12-10 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_stack.cc gui/gui_stack.h: Replace GtkCList with GtkTreeView
patch #44
2014-12-02 Roy Rankin <rrankin@ihug.com.au>
* extras/graphic_lcd/src/glcd_100X32_sed1520.cc
extras/graphic_lcd/src/osram.cc extras/lcd/lcdgui.cc
gui/gui_breadboard.cc gui/gui_dialog.cc gui/gui_menu.cc
gui/gui_profile.cc gui/gui_regwin.cc gui/gui_scope.cc gui/gui_src.cc
gui/gui_src_asm.cc gui/gui_src_opcode.cc gui/gui_stack.cc
gui/gui_statusbar.cc gui/gui_stopwatch.cc gui/gui_symbols.cc
gui/gui_trace.cc gui/gui_watch.cc modules/encoder.cc modules/led.cc
modules/logic.cc modules/push_button.cc modules/resistor.cc
modules/switch.cc modules/usart.cc modules/video.cc:
- Replace gtk_signal() functions with g_signal() equivalents - patch #43
2014-11-22 Roy Rankin <rrankin@ihug.com.au>
* INSTALL.gpsim doc/gpsim_svn.html: Revise install documentation
* src/14bit-processors.cc src/14bit-processors.h src/p1xf1xxx.cc
src/pic-registers.cc src/pic-registers.h: Watchdog fixes for the
14bit enhanced cores - patch 41
* src/trace.cc src/trace.h: Trace dump for a large cycle counter -
patch 42
2014-11-19 Roy Rankin <rrankin@ihug.com.au>
* autogen.sh doc/gpsim_svn.html: add script to build configure command
* doc/metadata/gpsim.png: Use icon from website
* regression/analog_stim/p12f1822.asm: terminate if .sig files missing
* src/sim_context.cc: fix ^c sigsegv if no file loaded - patches #39
2014-11-16 Roy Rankin <rrankin@ihug.com.au>
* doc/Makefile.am doc/metadata/gpsim.appdata.xml:
- Add metadata - Feature Request # 36
* extras/graphic_lcd/examples/sed1520/glcd_test.asm
extras/graphic_lcd/examples/ssd0323/glcd_test.asm:
- Replace __CONFIG to assemble with current gputils
* modules/stimuli.cc regression/Makefile.am:
- fix infinite loop bug # 188
2014-11-13 Roy Rankin <rrankin@ihug.com.au>
* configure.ac: Set version to 0.28.90 for development
* doc/Makefile.am doc/metadata/gpsim.appdata.xml
doc/metadata/gpsim.desktop doc/metadata/gpsim.png
doc/screenshots/control.png:
- Add metadata files for distributions such a fedora
2014-11-06 Roy Rankin <rrankin@ihug.com.au>
* configure.ac: Set version to 0.28.0
2014-11-05 Roy Rankin <rrankin@ihug.com.au>
* doc/gpsim.lyx: Add missing documentation for modules in extras
* modules/usart.cc: Adjust bit timing to Tch on each bit - Patch #40
* src/14bit-registers.cc: Fix OSCCAL::put use of base_frequency -
Patch #40
* src/clock_phase.h src/pic-processor.cc src/pic-registers.cc:
- Remove unused phaseExecuteInterrupt class - Patch #40
2014-11-03 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_quit.cc: q short command for quit - Feature Request 35
* gui/gui_breadboard.cc: fix coredump bug #187
* regression/interrupts_14bit/Makefile
regression/interrupts_14bit/int_sleep.asm
regression/p16f676/reset.asm regression/p16f684/reset.asm
src/pic-processor.cc: fix sleep interrupt, revisit patch #19
* src/14bit-processors.cc: Remove dead code
* src/pic-ioports.cc: Fix i/o pin wakeup for 16f84A bug #186
* src/stimuli.cc: fix start of asynchronous_stimulus bug #185
2014-10-30 Roy Rankin <rrankin@ihug.com.au>
* Makefile.am configure.ac doc/Makefile.am examples/12bit/Makefile.am
examples/16bit/Makefile.am examples/Makefile.am
examples/modules/Makefile.am examples/modules/usart_test/Makefile
extras/graphic_lcd/Makefile.am extras/lcd/Makefile.am
extras/lcd/examples/Makefile.am: add files to dist tarball required
for mingw compile
* plat/win32/gpsim.nsi plat/win32/makefile.mingw:
- mingw compile for windows and linux
* cli/makefile.mingw: cmd_stopwatch.o not used in distributon
2014-10-26 Roy Rankin <rrankin@ihug.com.au>
* extras/dht11/makefile.mingw: cleanup windows build
* plat/win32/make.mingw: set compiler for fedora 21 mingw
* gui/gui_regwin.cc: remove disabled code, do not delete invalid
register instances on class destructor
* gui/gui_src.h gui/gui_src_asm.cc: rename SourcePage array from pages
to Srcpages to avoid confusuion with NSourcePage pointer called pages
* src/modules.cc src/pic-processor.cc src/trace.cc:
- better cleanup on class removal
* src/value.cc src/value.h src/xref.cc src/registers.cc
src/pic-registers.cc:
- make _xref found in class value a pointer
2014-10-05 Roy Rankin <rrankin@ihug.com.au>
* extras/dht11/Makefile.am extras/dht11/examples/Makefile.am:
- include files in distribution tar ball
* extras/dht11/makefile.mingw extras/ds1307/makefile.mingw
extras/ds1820/makefile.mingw extras/graphic_lcd/src/makefile.mingw
extras/lcd/makefile.mingw:
- compiler determined from plat/win32/make.mingw
* makefile.mingw plat/win32/gpsim.nsi:
- Add new extra devices
* modules/Makefile.am: add missing attribute file
* plat/win32/uxtime.h: fix struct class in linux X compile
* src/makefile.mingw: fix file name change
2014-10-03 Roy Rankin <rrankin@ihug.com.au>
* examples/modules/usart_test/usart_test.asm
regression/usart_test/Makefile regression/usart_test/eusart.asm
regression/usart_test/eusart_2455.asm
regression/usart_test/usart_pir1v1.asm
regression/usart_test/usart_pir1v2.asm: Fix uart regression tests
* src/uart.cc src/uart.h: Fix timing of UART TXIF bit - bug #178
2014-10-01 Roy Rankin <rrankin@ihug.com.au>
* cli/input.cc: give error message if opening .asm file - bug #183
* regression/p18f/extended_instructions.asm
src/16bit-instructions.cc: P18F: Fix interaction of
POSTINC/POSTDEC and SUBFSR/ADDFSR - patch 37
2014-09-26 Roy Rankin <rrankin@ihug.com.au>
* modules/module_attribute.h: fix regression from svn 2273
2014-09-26 Roy Rankin <rrankin@ihug.com.au>
* src/p18x.h: fix last_actual_register - patch 36
2014-09-23 Roy Rankin <rrankin@ihug.com.au>
* modules/gpsim_modules.cc modules/stimuli.cc modules/stimuli.h:
- add the file recorder and file stimulus modules
* modules/ttl.cc src/stimuli.cc src/stimuli.h: In analogue stimulus
module drive pin as voltage
* regression/analog_stim/12f1822.lkr regression/analog_stim/Makefile
regression/analog_stim/p12f1822.asm
regression/analog_stim/stim_an.sig
regression/analog_stim/stim_clk.sig:
- Regression tests for for the analogue stimulus.
2014-09-22 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_menu.cc gui/gui_regwin.cc: Remove debugging printf
* gui/gui_src_asm.cc src/cod.cc src/cod.h src/processor.cc:
- Handle missing source file BUG # 135
* src/os_dependent.cc: Terminate path string for current folder
2014-09-17 Roy Rankin <rrankin@ihug.com.au>
* configure.ac extras/Makefile.am extras/dht11/AUTHORS
extras/dht11/Makefile.am extras/dht11/README extras/dht11/dht11.cc
extras/dht11/dht11.h extras/dht11/examples
extras/dht11/examples/16f627_g.lkr
extras/dht11/examples/Makefile.am extras/dht11/examples/README
extras/dht11/examples/dht11_example.asm
extras/dht11/module_manager.cc: Add dht11 module - feature # 34
2014-09-16 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-instructions.cc src/16bit-instructions.cc
src/14bit-processors.cc src/16bit-processors.cc:
- Allow clearing INTCON:GIE in interrupt - bug #179
* src/14bit-registers.cc src/14bit-registers.h
src/intcon.cc src/intcon.h src/p1xf1xxx.cc
src/p1xf1xxx.h src/pic-ioports.h:
- Fix INTCON:IOCIF IOCxF interaction - bug #180
* regression/instructions_14bit/branching.asm
regression/p1xf18xx/Makefile
regression/p1xf18xx/p12f1822.asm
regression/p1xf18xx/p16f1788.asm
regression/p1xf18xx/p16f1823.asm:
- Fix tests for bug #180
2014-08-23 Roy Rankin <rrankin@ihug.com.au>
* regression/run_regression.sh regression/tmr3_16bit
regression/tmr3_16bit/18f452.lkr regression/tmr3_16bit/18f4550_g.lkr
regression/tmr3_16bit/Makefile regression/tmr3_16bit/tmr3_16bit.asm
regression/tmr3_16bit/tmr3_18f4550.asm: TMR3 regression test
* src/14bit-tmrs.cc src/16bit-processors.cc
src/16bit-processors.h src/16bit-registers.cc src/16bit-registers.h
src/p18x.cc src/p18x.h src/pir.h: fix TMR3 bug #176
2014-08-07 Roy Rankin <rrankin@ihug.com.au>
* regression/p1xf18xx/Makefile: add rule for p12f1822_usart.cod
* regression/p1xf18xx/p16f1788.asm: tests for p16f1788 DAC and A/D
* src/a2d_v2.cc: Fix comment
* src/a2dconverter.cc src/a2dconverter.h: DAC and differential A/D
* src/p1xf1xxx.cc src/p1xf1xxx.h: add DAC and A/D registers
* src/ssp.cc: Remove debug printf statement
2014-07-31 Roy Rankin <rrankin@ihug.com.au>
* regression/p1xf18xx/p12f1822.asm src/14bit-instructions.cc:
- p12f182x: MOVIW must update Z bit - bug #175
* src/pic-ioports.cc: IOC only works on gpio0 of p12f675 - bug #174
* src/a2dconverter.cc src/p1xf1xxx.cc src/p1xf1xxx.h:
- further work on p16f1788
2014-07-28 Roy Rankin <rrankin@ihug.com.au>
* regression/p1xf18xx/Makefile: generate p16f1788.cod file
* regression/p1xf18xx/p16f1823.asm: test writable PIR and PIE bits
* src/p12f6xx.cc src/pir.h: revisit bug 171 patch
* src/p1xf1xxx.cc: Set PIR2 C2IF bit writable for 16f1823 bug #172
* src/pie.cc: use associated PIR register valid_bits mask for PIE
- bug # 173
2014-07-27 Roy Rankin <rrankin@ihug.com.au>
* regression/p12f675/p12f683.asm src/p12f6xx.cc src/pir.h:
- Fix tmr2 interrupt on 12F683 - bug #171
2014-07-21 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_stopwatch.cc: replace obsolete gtk_object_get_data function
* regression/p1xf18xx/Makefile regression/p1xf18xx/p12f1822_usart.asm
regression/run_regressionj.sh: Add 12f1822 usart regression test
* src/p1xf1xxx.cc src/p1xf1xxx.h src/Makefile.am:
- rename of files src/p12f182x.cc and src/p12f182x.h
- Fix PIR1 part of bug #170
- Fix weak pull-up on 12f1822 RA3 bug #169
* src/14bit-processors.cc src/14bit-processors.h:
- fix mcrl pin on extended processors
* src/a2dconverter.cc: allow for no adcon1 register
* src/p16f87x.cc: Delete all 16f877 registers
* src/p16x6x.cc: remove unneeded output of class close
* src/pic-processor.cc: add 16f1788 processor (not complete)
* src/uart.cc: Fix apfcon pin switching part of bug #170
2014-07-10 Roy Rankin <rrankin@ihug.com.au>
* modules/stimuli.cc: Fix compile error on FreeBSD - bug #160
* regression/p1xf18xx/Makefile: Fix regression test issue - patch #35
* gui/gui_menu.cc gui/gui_regwin.cc gui/gui_regwin.h gui/gui_scope.cc
gui/gui_scope.h gui/gui_src.h gui/gui_src_asm.cc src/breakpoints.cc
src/breakpoints.h src/cod.cc src/pic-processor.h:
- Fix useless tests on unsigned int variables (FreeBSD warnings)
2014-07-01 Roy Rankin <rrankin@ihug.com.au>
* regression/p1xf18xx/16f1788_g.lkr: add to svn
2014-05-17 Roy Rankin <rrankin@ihug.com.au>
* regression/p1xf18xx/p12f1822.asm src/14bit-hexdecode.cc
src/14bit-instructions.cc src/14bit-instructions.h:
- fix ADDFSR instruction bug 161 from Tim Burke
2014-05-17 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_breadboard.cc gui/gui_breadboard.h:
- Replace CList with GtkTreeView (patch 30 with rework)
* src/ValueCollections.h: fix throw - bug 159
* src/p18x.cc src/p18x.h src/pic-processor.cc src/pic-processor.h:
- add p18f2550, p18f4550 without USB support, remove PSP from p18f2520
* src/Makefile.am src/makefile.mingw src/pir.cc src/pir.h
src/spp.cc src/spp.h: add streaming parallel port to p18f4455
p18f4550 (without USB functionality)
2014-05-09 Roy Rankin <rrankin@ihug.com.au>
* modules/usart.cc: Correct baud rate after CPU frequency change
Bug 167
* src/14bit-registers.cc: change OSCCON base frequency from
31.25 to 31 KHz
* src/p16f88x.cc src/16bit-processors.cc src/p18x.cc src/p18x.h:
- Fix default value of OSCCON - Bug 166
* src/p12x.cc src/p12x.h src/pic-processor.cc src/pic-processor.h:
- Add 16F505 - patch 31
* regression/usart_test/Makefile: Fix make all
* regression/usart_test/eusart_2455.asm: Test intrc frequency
* regression/a2d/p18f1220.asm: Fix initial CPU frequency test
* regression/p16f690/p16f690.asm: change for 8MHz INTRC
2014-04-14 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_processor.cc: print unfound processor name
* gpsim/main.cc: Fix issues with command line arguments - bug 165
2014-01-10 Roy Rankin <rrankin@ihug.com.au>
* extras/ds1820/examples/Makefile.am: remove gpasm dependency from
build
* extras/ds1820/examples/README: modify instructions for above change
2014-01-06 Roy Rankin <rrankin@ihug.com.au>
* src/p16f87x.cc: Added missing GP registers for p16f877 (bug #164)
* gpsim/main.cc: Fix regression causing core dump from 13-10-28 change
2013-10-28 Borut Razem <borutr@users.sourceforge.net>
* gpsim/main.cc: display --version and --usage text before other texts
2013-10-27 Borut Razem <borutr@users.sourceforge.net>
* gpsim/main.cc, gpsim/makefile.mingw: fixed mingw ompilation
2013-10-26 Borut Razem <borutr@users.sourceforge.net>
* gpsim/main.h.in: added to source control
2013-10-22 Borut Razem <borutr@users.sourceforge.net>
* gpsim/main.cc, gpsim/Makefile.am, set_cl_revision.sh:
fixed mess with --help and --version commnd line options,
show svn revision number in --version
2013-10-16 Borut Razem <borutr@users.sourceforge.net>
* ChangeLog: added svn Revision stamp at the end of file
2013-10-15 Borut Razem <borutr@users.sourceforge.net>
* modules/stimuli.cc, modules/stimuli.h, modules/switch.h,
modules/switch.cc, gui/gui_stopwatch.cc: applied patch
#32 Make gpsim compile with clang,
thanks to Ralf Horstmann
2013-09-20 Borut Razem <borutr@users.sourceforge.net>
* regression/rt.sh: applied patch
#34 Allow overwriting make in regression tests,
thanks to Ralf Horstmann
* extras/ds1820/examples/Makefile.am: applied patch
#33 Make gpsim buildable with BSD make,
thanks to Ralf Horstmann
2013-09-07 Roy Rankin <rrankin@ihug.com.au>
* regression/spi/p16f88.asm: Test SS operation
* src/ssp.cc: Fix SS bug #158, Display pin function labels
2013-09-03 Roy Rankin <rrankin@ihug.com.au>
* configure.ac: Development version 0.27.90
2013-09-02 Roy Rankin <rrankin@ihug.com.au>
* configure.ac: Version 0.27.0
* ANNOUNCE: 0.27.0 release highlights
2013-08-18 Roy Rankin <rrankin@ihug.com.au>
* COPYING: Current GPL license file
* configure.ac: Version 0.27.rc1
* gui/gui_regwin.cc: Fix sigsegv when using gtkextra-3
2013-08-16 Borut Razem <borutr@users.sourceforge.net>
* doc/doc/gpsimWin32.html: updated libraries, links, ...
* Makefile.am: removed plat/win32/Install.vcproj from EXTRA_DIST
* plat/win32/gpsim.nsi: added missing DLLs
* gpsim/gpsim.vcxproj, src/src.vcxproj: fixed pthreads library path
2013-08-14 Borut Razem <borutr@users.sourceforge.net>
* cli/cli.vcxproj, eXdbm/eXdbm.vcxproj, gpsim/gpsim.vcxproj,
gui/gui.vcxproj, modules/modules.vcxproj, plat/win32/Install.vcxproj,
src/src.vcxproj, gpsim.sln: Visual Studio upgraded to Visual Studio 2010,
libraries upgraded (MSVC build)
2013-08-13 Borut Razem <borutr@users.sourceforge.net>
* cli/makefile.mingw, extras/ds1307/makefile.mingw,
extras/graphic_lcd/src/makefile.mingw, extras/lcd/makefile.mingw,
gpsim/makefile.mingw, gui/makefile.mingw, makefile.mingw,
modules/makefile.mingw, plat/win32/make.mingw, plat/win32/gpsim.nsi:
libraries upgraded (mingw build)
2013-08-10 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_breadboard.cc gui/gui_profile.cc gui/gui_src_opcode.cc
gui/gui_stack.cc gui/gui_symbols.cc gui/gui_trace.cc
gui/gui_watch.cc:
- Fix CList GTK assert in Fedora 19 when using Adwaita theme
2013-08-07 Roy Rankin <rrankin@ihug.com.au>
* regression/p1xf18xx/p12f1822.asm:
- Add test to detect bad pcon, and fix trisa test
* src/14bit-processors.cc:
- set pcon to correct inital value on 14bit_e_processors
* src/16bit-processors.cc: remove debug printout
* src/processor.cc src/registers.cc: delete replaced registers
2013-08-06 Borut Razem <borutr@users.sourceforge.net>
* gpsim/main.cc: don't free returned popt values on _WIN32 since they
reside in dll heap which is different from the main heap.
* plat/win32/libgpsim.def: MSVC sync
* extras/ds1307/makefile.mingw, extras/ds1820/makefile.mingw,
extras/graphic_lcd/src/makefile.mingw, extras/lcd/makefile.mingw,
plat/win32/make.mingw:
adapted for Mingw GCC 4.7.3
2013-08-03 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_main.cc src/interface.cc:
- Ifdef out unused depreciated thread code
* src/breakpoints.cc: remove debug printout
2013-08-02 Roy Rankin <rrankin@ihug.com.au>
* cli/Makefile.am: Generate missing parse.h even if parse.cc exists,
remove scan.cc, parse.cc, parse.h on maintainer-clean, replace
INCLUDES
* extras/ds1820/examples/Makefile.am: Add an 'all' rule, replace GNU
make syntax
* eXdbm/Makefile.am extras/Makefile.am extras/ds1307/Makefile.am
extras/ds1820/Makefile.am extras/graphic_lcd/src/Makefile.am
extras/lcd/Makefile.am gpsim/Makefile.am gui/Makefile.am
modules/Makefile.am src/Makefile.am src/dspic/Makefile.am:
- Replace depreciated INCLUDES with AM_CPPFLAGS
2013-08-02 Roy Rankin <rrankin@ihug.com.au>
* cli/Makefile.am : fix SVN parse.h issue with automake >= 1.12
* gui/gui_src_asm.cc : fix possible array overflow
* src/pic-processor.cc : Fix MCLR handeling with erroneous WDT message
2013-07-29 Roy Rankin <rrankin@ihug.com.au>
* regression/p16f676/reset.asm regression/p16f684/reset.asm
regression/p16f690/p16f690.asm regression/p1xf18xx/p12f1822.asm
regression/p1xf18xx/p16f1823.asm regression/run_regression.sh :
- Fixes for regression tests
* cli/input.cc gpsim/main.cc gui/gui_menu.cc gui/gui_regwin.cc
modules/ttl.cc src/14bit-processors.cc src/14bit-processors.h
src/14bit-registers.cc src/14bit-registers.h src/14bit-tmrs.cc
src/14bit-tmrs.h src/16bit-processors.cc src/16bit-processors.h
src/16bit-registers.cc src/16bit-registers.h src/a2d_v2.cc
src/a2d_v2.h src/a2dconverter.cc src/a2dconverter.h
src/comparator.cc src/comparator.h src/eeprom.cc src/i2c-ee.cc
src/ioports.cc src/ioports.h src/operator.cc src/os_dependent.cc
src/p12f182x.cc src/p12f6xx.cc src/p12f6xx.h src/p12x.cc src/p12x.h
src/p16f62x.cc src/p16f62x.h src/p16f87x.cc src/p16f87x.h
src/p16f88x.cc src/p16f88x.h src/p16f8x.cc src/p16f8x.h src/p16x5x.cc
src/p16x6x.cc src/p16x6x.h src/p16x7x.cc src/p16x7x.h src/p16x8x.cc
src/p16x8x.h src/p18x.cc src/p18x.h src/pic-processor.cc
src/pic-processor.h src/processor.cc src/psp.cc src/psp.h
src/ssp.cc src/ssp.h src/stimuli.cc src/trace.cc src/trigger.cc
src/uart.cc src/uart.h :
- Fix uninitialized variables, access of freed variables,
proper delete types, processor classes cleanup on exit
* src/pic-ioports.cc src/pic-ioports.h :
- Allow always 1 bits in TRIS, don't trace internal reads of TRIS
2013-07-29 Roy Rankin <rrankin@ihug.com.au>
* src/pic-instructions.cc :
- Give proper register name in trace for banked 14bit processor
registers
* configure.ac extras/ds1820/Makefile.am
extras/ds1820/examples/Makefile.am :
- Fixes for make dist
* src/registers.cc src/registers.h :
- Make AN_INVALID_ADDRESS globally available
2013-06-30 Borut Razem <borutr@users.sourceforge.net>
* plat/win32/gpsim.nsi, plat/win32/make.mingw:
Mingw compilatin with i686-pc-mingw32-gcc GCC 4.5.2
2013-06-30 Roy Rankin <rrankin@ihug.com.au>
* cli/socket.cc eXdbm/eXdbm.c eXdbm/misc.c eXdbm/parse.c
extras/graphic_lcd/src/glcd.cc gui/gui_regwin.cc
gui/gui_scope.cc gui/gui_src.cc gui/gui_src_asm.cc
gui/gui_src_opcode.cc gui/gui_trace.cc gui/gui_watch.cc
src/attributes.cc src/bitlog.cc src/hexutils.cc src/i2c-ee.cc:
- Fix compiler warnnings
* src/16bit-registers.cc: Too many reads of WREG traced
* src/14bit-processors.h src/14bit-processors.cc src/p12f182x.cc:
- Try to fix windows regression issues
2013-06-29 Borut Razem <borutr@users.sourceforge.net>
* gpsim/main.cc: fixed invalid escape
* plat/win32/libgpsim.def: MSVC sync
* src/clock_phase.cc: GetTraceLog() for WIN32 compilation
2013-06-29 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-instructions.cc src/16bit-instructions.cc
src/14bit-processors.cc src/14bit-registers.cc src/14bit-registers.h
src/16bit-processors.cc src/pic-instructions.cc:
- remove redundant field added in last patch to WREG, BSR and PCLATH
registers
* src/processor.cc:
- Speed-up start by skipping resets on alias register memory locations
2013-06-29 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_dump.cc src/icd.cc src/p16f88x.cc src/p16x6x.cc
src/12bit-processors.cc src/p12f182x.cc src/p12f6xx.cc src/p12x.cc:
- rename W Wreg
* src/14bit-processors.cc src/14bit-processors.h src/pic-processor.cc
src/pic-processor.h src/14bit-registers.cc src/14bit-registers.h
src/14bit-instructions.cc src/16bit-instructions.cc
src/pic-instructions.cc src/16bit-processors.cc src/16bit-registers.cc
src/p16x5x.cc:
- Allow break, logging on Wreg(if register in memory), rename W Wreg
* src/ioports.cc: remove port trace messages
* src/breakpoints.cc: remove debugging message
* src/breakpoints.h src/clock_phase.cc src/trace.cc src/trace.h
- Change logging to be same as break or single step as per doco
2013-06-25 Roy Rankin <rrankin@ihug.com.au>
* regression/ccp/pwm_6520.asm regression/ccp_628/ccp_628.asm
regression/p16f84/reset.asm regression/p18f/reset.asm
regression/wdt/wdt_18f452.asm regression/wdt/wdt_18f4620.asm:
- Adjust tmr0 counts in sleep tests
* regression/p1xf18xx regression/p1xf18xx/12f1822_g.lkr
regression/p1xf18xx/16f1823_g.lkr regression/p1xf18xx/Makefile
regression/p1xf18xx/i2c_low.inc regression/p1xf18xx/p12f1822.asm
regression/p1xf18xx/p16f1823.asm regression/p1xf18xx/p16f1823_comp.asm
regression/p1xf18xx/p16f1823_i2c.asm regression/p1xf18xx/p16f1823_spi.asm
regression/p1xf18xx/p16f1823_i2c_v2.asm regression/run_regression.sh
- Add regression tests for p12f1822 and p16f1823
* regression/rt.sh: Print fail message
* src/14bit-registers.cc src/14bit-registers.h
src/comparator.cc src/comparator.h src/p12f182x.cc src/p12f182x.h:
- Add SR latch
* src/eeprom.cc src/eeprom.h: Modify insturction skip and wait
* src/gpsim_time.cc src/gpsim_time.h:
- Modify cycle increment and advance functions
* src/16bit-registers.cc src/tmr0.cc src/tmr0.h:
- Fix tmr0 overflow bug and remove empty function
2013-06-21 Roy Rankin <rrankin@ihug.com.au>
* modules/resistor.cc: Update stimulus node on all property changes
* src/14bit-instructions.h: Update copyright
* src/14bit-registers.cc src/14bit-registers.h:
- Add CPSCON classes for capacitor sensor module
* src/14bit-tmrs.cc src/14bit-tmrs.h: Add support for capacitor sensor
* src/a2dconverter.cc src/a2dconverter.h: FVR connect to capacitor sensor
* src/p12f182x.cc src/p12f182x.h: Add compacitor sensor
* src/tmr0.cc src/tmr0.h: Support t0xcs flag, remove magic number
2013-06-17 Roy Rankin <rrankin@ihug.com.au>
* regression/i2c/p16f819.asm: Don't overwrite registers
* regression/instructions_16bit/instructions_16bit.asm:
- test subwfb and movlb instructions
* cli/cmd_load.cc: error message on missing file
* gui/gui_stopwatch.cc: use units for frequency
* src/14bit-instructions.cc: fix register restore on retfie
* src/14bit-processors.cc src/14bit-processors.h: Add CPU Temp
* src/a2d_v2.h: add comment
* src/14bit-registers.cc src/14bit-registers.h src/tmr0.cc src/tmr0.h
src/14bit-tmrs.cc src/14bit-tmrs.h
src/a2dconverter.cc src/a2dconverter.h src/stimuli.h
src/comparator.cc src/comparator.h src/ssp.cc src/ssp.h
src/p12f182x.cc src/p12f182x.h:
- add or fix DAC, A2D, Comparator, T0, Tmr1, APFCON, SSP, USART, OSCCON
* src/p12x.cc src/i2c-ee.cc: compile clean-up
* src/pic-processor.h: Phase lock * 4 oscilator
* src/pir.h: add set_c3if, set_c4if, set_tmr1gif
* src/uart.cc src/uart.h: allow port select
2013-05-21 Borut Razem <borut.razem@gmail.com>
* plat/win32/gpsim.nsi: added RequestExecutionLevel admin
2013-05-21 Roy Rankin <rrankin@ihug.com.au>
* extras/ds1820/rom1w.cc extras/ds1820/bit1w.cc:
- Fixes for windows compile
* gui/gui_stack.cc: Fix issue for 14bit enhanced stack
* src/14bit-hexdecode.cc src/14bit-instructions.cc
src/14bit-instructions.h src/14bit-registers.cc
src/pic-instructions.cc src/14bit-registers.h:
- 14bit enhanced commands and register fixup
* src/a2dconverter.cc src/a2dconverter.h src/eeprom.cc
src/pic-processor.cc src/pic-processor.h src/p12f182x.cc
src/p12f182x.h: Add incomplete p16f1823 processor
2013-05-17 Roy Rankin <rrankin@ihug.com.au>
* configure.ac extras/Makefile.am extras/ds1820/Makefile.am
extras/ds1820/bit1w.cc extras/ds1820/bit1w.h
extras/ds1820/ds1820.cc extras/ds1820/ds1820.h
extras/ds1820/makefile.mingw extras/ds1820/module_manager.cc
extras/ds1820/rom1w.cc extras/ds1820/rom1w.h
extras/ds1820/examples/16f1823_g.lkr extras/ds1820/examples/Makefile
extras/ds1820/examples/README extras/ds1820/examples/ds1820.asm
extras/ds1820/examples/ds18b20.asm: Add module for ds1820, ds18s20
and ds18b20 temperature sensors
* extras/ds1307/examples/README: fix typo
2013-05-04 Borut Razem <borut.razem@gmail.com>
* src/makefile.mingw: added p12f182x.o
2013-05-04 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_profile.cc: compiler warning cleanup
* regression/p18f/extended_instructions.asm src/16bit-hexdecode.cc
src/16bit-instructions.cc src/16bit-instructions.h
src/16bit-processors.cc src/16bit-processors.h
src/p18x.cc:
- fix "Data addressing wrong (PIC18 w/ extended instruction mode)" - #139
* src/16bit-registers.cc src/16bit-registers.h regression/p18f/reset.asm
src/14bit-registers.cc src/14bit-registers.h src/pic-processor.cc:
- 18F stack reset on over/under flow - bug #154
2013-04-23 Roy Rankin <rrankin@ihug.com.au>
* 14bit-hexdecode.cc 14bit-instructions.cc 14bit-instructions.h
14bit-processors.cc 14bit-processors.h 14bit-registers.cc
14bit-registers.h 16bit-hexdecode.cc 16bit-instructions.cc
16bit-instructions.h 16bit-processors.cc 16bit-registers.cc
16bit-registers.h pic-instructions.cc pic-ioports.cc
pic-ioports.h pic-processor.cc pic-processor.h:
- Add 14bit enhanced base class _14bit_e_processor
* intcon.cc breakpoints.cc interface.cc: Fix compiler warnings
* p12f182x.cc p12f182x.h Makefile.am:
- add p12f1822 processor(incomplete)
* gpsim_classes.h 12bit-processors.cc trace.cc: New stack with reset
* processor.cc processor.h eeprom.cc eeprom.h: New eeprom class
2013-04-05 Roy Rankin <rrankin@ihug.com.au>
* src/comparator.cc: fix pir1 setting with 2 comparators
2013-04-05 Roy Rankin <rrankin@ihug.com.au>
* regression/Makefile.am: use regexp for regression EXTRA_DIST files
* regression/run_regression.sh
regression/p16f684/16f684.lkr regression/p16f684/Makefile
regression/p16f684/a2d_684.asm regression/p16f684/compar_684.asm
regression/p16f684/compar_684.stc regression/p16f684/epwm.asm
regression/p16f684/nwdt_16f684.asm regression/p16f684/reset.asm
regression/p16f684/wdt_16f684.asm
regression/wdt/18f4620.lkr regression/wdt/Makefile
regression/wdt/nwdt_18f4620.asm regression/wdt/wdt_18f4620.asm:
- New regression tests
* src/p12f6xx.cc src/p16f88x.cc src/p16f88x.h src/pic-processor.cc
src/pic-processor.h src/pir.cc src/pir.h: Add 16f684 processor
2013-04-02 Borut Razem <borut.razem@gmail.com>
* doc/gpsim.html, doc/gpsim_svn.html:
update links after project update to Allura
2013-03-25 Roy Rankin <rrankin@ihug.com.au>
* eXdbm/parse.c: fix variable type mismatch, bug 3570700
* src/16bit-registers.cc src/pic-registers.cc: commands with
PCL modification should take 2 cycles, bug 3509904
2013-03-23 Roy Rankin <rrankin@ihug.com.au>
* extras/Makefile.am extras/ds1307/Makefile.am
extras/graphic_lcd/INSTALL extras/lcd/INSTALL extras/lcd/Makefile.am
- extras/graphic_lcd/configure.ac extras/lcd/autogen.sh
extras/lcd/configure.in : Integrate extras further into linux build
bug - 3560435
2013-03-20 Roy Rankin <rrankin@ihug.com.au>
* regression/run_regression.sh regression/usart_test/18f2455.lkr
regression/usart_test/Makefile regression/usart_test/eusart_2455.asm
src/p18x.cc: Fix portc tris control and thus eusart operation
for 18f[24]455 processors, bug 3171842
2013-03-18 Roy Rankin <rrankin@ihug.com.au>
* modules/usart.cc: Debug message improved
* regression/usart_test/usart_pir1v2.asm: test improved
* src/uart.cc: fix SPBRG callback stall, bug 3602243
2013-03-16 Roy Rankin <rrankin@ihug.com.au>
* regression/ccp_628/ccp_628.asm:
- fix for gpasm change
* regression/p18f/18f4321.lkr regression/p18f/Makefile
regression/p18f/extended_instructions.asm
regression/p18f/instructions.asm regression/p18f/reset.asm:
- Switch to 18f4321 from 18f453 for true extended instruction set
as now required by gpasm
* regression/psp/18f6520.lkr regression/psp/Makefile
regression/psp/p18f6520.asm regression/run_regression.sh
src/psp.cc src/psp.h src/p18x.cc src/p18x.h:
- Add psp functionality to 18f6520 - bug 3607516
Fix TRISD TRISE values after WDT reset - bug 3607517
* src/comparator.cc: Fix for compiler warning
2013-03-03 Roy Rankin <rrankin@ihug.com.au>
* src/cod.cc:
fix regressions caused by 2012-06-19 changes
* cli/parse.yy:
fix compile error with gcc 4.7.2
2013-03-02 Roy Rankin <rrankin@ihug.com.au>
* configure.ac, Makefile.am:
On OpenBSD, dlopen() and friends are provided within libc and there
is no libdl.- patch 3601674
2012-06-19 Borut Razem <borut.razem@gmail.com>
* src/cod.cc:
fixed loading cod file for program memory > 64k
* gui/gui_menu.cc:
modified mail address
2012-06-17 Rob Pearce <rob@bdt-home.demon.co.uk>
* configure.ac
Applied patch 3531562 to allow build against gtkextra-3
2012-03-19 Roy Rankin <rrankin@ihug.com.au>
* regression/ccp/ccp_877a.asm src/14bit-tmrs.cc
Fix CCP compare zero of TMR1 - bug 3508318
2012-02-28 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/p16f88x.cc
Fix port C for 16f631 family - support request 3495121
2012-01-05 Roy Rankin <rrankin@ihug.com.au>
* src/breakpoints.h src/breakpoints.cc src/trace.cc cli/cmd_break.cc
Get logging working - bug 3432821
2012-01-03 Roy Rankin <rrankin@ihug.com.au>
* gpsim/Makefile.am extras/graphic_lcd/configure.ac
Changes for clantg++ compatibility as per bug 3426932
2012-01-03 Roy Rankin <rrankin@ihug.com.au>
* src/p18x.h src/pir.cc src/pir.h src/p18x.cc
Add USB registers (but not functionality) to 18F2455, 18F4455
after patch 3308765.
* src/bitlog.h : fix to compile with latest glib
* gui/gui_regwin.cc : fix reg=0 defense
2011-10-22 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/processor.cc
Applied patch from Rupert Swarbrick in bug 3426928 - don't rely on
static ProcessorConstructor instances being constructed before
ProcessorConstructorList::findByType is called (avoids a segfault
with some compilers)
* src/14bit-tmrs.h src/p18x.cc
Trivial: renamed a method for consistency with similar classes.
* gui/gui_watch.cc
Show all printable ASCII characters in watch window, not just those
between '0' and 'z'
2011-10-19 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/registers.h src/14bit-registers.cc src/14bit-tmrs.cc
src/ioports.cc src/registers.cc src/14bit-tmrs.h
src/14bit-registers.h src/16bit-processors.cc
gui/gui_watch.cc
Cleaned up Register class "bit_mask" member and fixed bug 3425453
* regression/instructions_16bit/instructions_16bit.asm
regression/instructions_14bit/branching.asm
Regression tests for PCLATH register width
2011-06-02 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/16bit-registers.cc
Attempt to fix bug 3311944 - reported as a POSTDEC bug but actually was
that lfsr didn't work as the very first instruction at the reset vector
* src/registers.h src/pic-registers.cc
Fix ability to set PC from the command line, but not using the nasty
hack in patch #3318235 - instead it's done properly
2011-06-02 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.h
Fixed SFR size for 18Fx455 CPUs (with USB)
* src/16bit-registers.cc src/16bit-registers.h src/16bit-instructions.cc
regression/p18f/extended_instructions.asm :
Fix for bug #3309120 and related indirect addressing problems on 18F
in extended mode. Also a regression test for such issues.
2011-05-15 Roy Rankin <rrankin@ihug.com.au>
* configure.ac : increase release number for development cycle
2011-04-27 Rob Pearce<rob@bdt-home.demon.co.uk>
* doc/gpsim.html : Minor corrections to CPU list.
2011-04-27 Roy Rankin <rrankin@ihug.com.au>
* regression/p16f690/Makefile : use local lkr file
* regression/Makefile.am : tarball fix
* configure.ac : increase release number
* doc/gpsim.html ANNOUNCE : update documentation for release
2011-04-20 Roy Rankin <rrankin@ihug.com.au>
* configure.ac ANNOUNCE : New release
* regression/wdt/nwdt_16f648a.asm regression/wdt/16f648a.lkr
regression/wdt/Makefile regression/Makefile.am
regression/run_regression.sh : new regression test
2011-04-17 Rob Pearce<rob@bdt-home.demon.co.uk>
* doc/gpsim.lyx : Minor corrections and a note on PIC18 program memory
addressing.
2011-04-17 Roy Rankin <rrankin@ihug.com.au>
* regression/usart_test/18f2221.lkr : replaces 18f2321.lkr
* regression/Makefile.am : update regression file list
* doc/gpsim.lyx modules/led.cc modules/led.h : Led module active high
or low. Original patch from Tom Crane.
2011-04-09 Borut Razem <borut.razem@gmail.com>
* plat/win32/gpsim.nsi: removed extras/lcd/examples/lcdmemtest.hex
2011-04-07 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p12f6xx.cc src/p16f88x.cc src/pic-ioports.h src/pic-ioports.cc
regression/p12f675/12f629.lkr regression/p12f675/p12f629.asm
regression/p12f675/Makefile
regression/interrupts_14bit/interrupts_14bit.asm
regression/run_regression.sh :
Implemented patch for bug 3277143 (INT pin mis-handled on 12F629)
and fixed the similar error on 16F88x. Also fixed the interrupt
regression test to check INTEDG works (as had previously been done
for 18F devices) and added a 12F629 test that checks interrupts
2011-03-30 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_src_asm.cc : fix <main>/Windows/Source not ticked on
startup.
2011-03-23 Roy Rankin <rrankin@ihug.com.au>
* src/pic-processor.cc src/pic-processor.h src/p12x.h
regression/wdt/10f200.lkr regression/wdt/wdt_10f200.asm
regression/wdt/Makefile regression/a2d/p10f222.asm
regression/run_regression.sh : Fix 10f2xx WDT bug 3059498
* regression/Makefile.am :
- Add missing regression files into dist tarball
* extras/lcd/examples/lcdmemtest.hex :
- delete file from svn make clean removes
* gui/gui_symbols.cc gui/gui_trace.cc gui/gui_menu.cc gui/gui_stack.cc
gui/gui_watch.cc : Fix compiler warnings
2011-03-12 Roy Rankin <rrankin@ihug.com.au>
* regression/p16f690/nwdt_16f631.asm regression/p16f690/eusart.asm
regression/p16f690/epwm.asm regression/p16f690/p16f690.asm
regression/p16f690/wdt_16f685.asm regression/p16f690/wdt_16f677.asm
regression/p16f690/16f631.lkr regression/p16f690/Makefile
regression/Makefile.am regression/run_regression.sh
src/comparator.h src/14bit-registers.h src/processor.h
src/pic-processor.cc src/a2dconverter.h src/p16f88x.h
src/comparator.cc src/p16f88x.cc src/pic-processor.h
src/14bit-registers.cc src/a2dconverter.cc :
+ Feature request 3110405 add 16f690/631/677/685/687/689
* gui/gui_src_asm.cc gui/gui_src.h :
+ Fix Source browser crash on font change (3190800)
* src/p16x6x.h regression/interrupts_16bit/Makefile
regression/usart_test/eusart.asm : Cosmetic fixes
2011-03-05 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_src_opcode.cc : set style for all p18 in program memory window
2011-03-01 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_src_opcode.cc : Further font fixes in program memory window
* gui/gui_src.cc : memory program window updated during running
2011-02-21 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_src.h gui/gui_src_opcode.cc gui/gui_main.cc :
+ Fix issues with program memory window with P18 processors (3174547)
and font issues.
* gui/gui_src_asm.cc : minor display change for readability
2011-02-17 Roy Rankin <rrankin@ihug.com.au>
* regression/tmr0_16bit/tmr0_16bit.stc regression/tmr0_16bit/Makefile
regression/Makefile.am : remove trivial STC file
* src/16bit-processors.cc src/14bit-registers.h src/uart.cc
src/gpsim_time.cc src/psp.h src/bitlog.cc src/16bit-registers.cc
modules/usart.cc gui/gui_symbols.cc gui/gui_profile.cc
gui/gui_src_asm.cc : Fix uninitialized variables detected by
valgrind
2011-02-17 Borut Razem <borut.razem@gmail.com>
* plat/win32/gpsim.nsi: fixed bug #3151323: problem on start gpsim
2011-02-13 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.h src/p18x.cc
Fixes to 18F6520 implementation: correct EEPROM size, remove spurious
wrong clock pin allocation, adjust structure to match style of 4x21 types
2011-02-12 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.h src/p18x.cc src/pic-processor.cc src/pic-processor.h
Implemented the remaining devices from DS39689E (18F2221 & 4221) and
all devices from DS39631D (18F2420,2520,4420,4520)
2011-02-10 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.h src/p18x.cc
Re-factored 18F2455 and 18F4455 to be derived from 2x21 and 4x21 so
they get the right Config3H and the right ADC, plus RE3/MCLRE pin
2011-02-03 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.h src/16bit-processors.cc src/p18x.cc src/eeprom.h
Small re-organisation of how the EEPROM gets added to 18f2x21 and 4x21
derivatives. Some of the decisions pushed into the core classes so that
new CPU derivatives need fewer unique methods.
2011-02-03 Roy Rankin <rrankin@ihug.com.au>
* src/intcon.cc regression/tmr0_16bit/tmr0_16bit.asm
regression/ccp_628/ccp_628.asm :
+ tmr0 not waking after sleep (bug 3162315)
* src/ssp.cc : SPI and I2C may not start (bug 3169541)
* extras/rs232-gen/rs232-gen.c extras/rs232-gen/example/Makefile
extras/rs232-gen/Makefile : Update syntax (patch 3125817),
fix baud rate
2011-02-03 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.cc src/p18x.h src/pic-processor.cc src/pic-processor.h
src/eeprom.cc src/eeprom.h
Initial implementation of PIC18F4620 for feature request #3159000
EEPROM_PIR class modified to support >256 byte EEPROM
Some re-factoring of 18F2x21 derivatives for less duplication
Config3H_2x21 class now implements PBADEN bit. Attempts to implement
CCP2MX bit too, but the CCPCON class doesn't allow the pin re-allocation
Note: This would break the 18F2455 so its Config3H has been commented
until it is re-factored to be derived from the right base class!
2011-02-02 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/cod.cc
Fixed addressing of memory on 16-bit cores while allocating HLL code
references. This was responsible for a crash with large programs / long
addresses found in 18F4620 development and bug #3154828, although it's
not necessarily the only cause of that.
2011-01-03 Roy Rankin <rrankin@ihug.com.au>
* src/comparator.cc regression/comparator/compar_882.asm
regression/comparator/16f882.lkr regression/comparator/Makefile
regression/run_regression.sh : Fix for bug # 3150231
Polarity should not change when ON bit is off. Fix comparator
output pins cannot be driven from port when comparator is off.
Add regression tests.
2010-12-10 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/14bit-tmrs.cc regression/ccp/pwm_6520.asm regression/ccp/pwm_877a.asm
Fix for bug #3132914 : The clocking of TMR2 should not be affected by
whether any of the CCPs are in PWM mode, and now it isn't. Duty cycle
value is now handled correctly instead.
2010-11-28 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/pic-ioports.cc src/intcon.h
regression/interrupts_16bit/interrupts_16bit.asm :
Fix for bug #3120903 : INT0 edge selection moved to the correct
register on 16-bit devices. Also fixed the regression test so that it
actually bothers to check which edge caused the interrupt.
Code for INT3 implemented but not tested yet.
2010-10-31 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/16bit-instructions.cc src/pic-processor.h src/p18x.h
Partial implementation of "bugs" list (errata per CPU type) so that
the 18F6520 has a buggy DAW instruction while the 18F4321 has a
correct one. This matches the real hardware for those two - others
need checking.
* src/16bit-processors.h src/16bit-instructions.cc src/p18x.h
A different approach to fixing the compiler warning Roy spotted (I'd
already corrected my earlier error locally).
2010-10-31 Roy Rankin <rrankin@ihug.com.au>
* src/16bit-processors.cc src/intcon.h src/intcon.cc
src/pic-ioports.h src/pic-ioports.cc
regression/interrupts_16bit/priority.asm
regression/interrupts_16bit/interrupts_16bit.asm :
- implement intcon3 for int1, int2 operation bug #3071596
* src/16bit-instructions.cc : fix complier warning
2010-10-25 Rob Pearce<rob@bdt-home.demon.co.uk>
* modules/ttl.cc modules/ttl.h modules/gpsim_modules.cc
regression/ttl/ttl165.asm regression/ttl/Makefile
regression/run_regression.sh
Added a module to simulate a 74x165 parallel-to-serial shift register
2010-10-22 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/14bit-tmrs.cc src/14bit-tmrs.h src/16bit-processors.cc
src/p12f6xx.cc src/p16f88x.cc src/p16x6x.cc src/p18x.cc
Fixed TMR2 to support multiple PWMs, bug #2823242
Implemented all five PWMs on the 18F6520
Fixed TMR2 wrap bug, #3092906
* regression/ccp/pwm_6520.asm regression/ccp/18f6520.lkr
regression/ccp/Makefile regression/run_regression.sh
Added regression test for the above
2010-10-08 Rob Pearce<rob@bdt-home.demon.co.uk>
* modules/resistor.cc modules/resistor.h
Minor fix to pulldown so that its resistance attribute is correctly
initialised to 0 (it was confused and showed as 5V)
2010-09-29 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.h src/p18x.cc src/16bit-processors.cc src/16bit-processors.h
Fixed GPR memory size and SFR peripheral set of 18F1220 (the 16 bit
base class assumptions of portC and CCP2 are now optional)
* src/14bit-tmrs.h src/14bit-tmrs.cc src/uart.cc
Partial rework for >2 PWMs as on 18F6520, and multiple UARTs naming
2010-08-25 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.h src/p18x.cc src/p16x6x.cc src/p12f6xx.cc src/p16f88x.cc
src/16bit-processors.cc src/16bit-processors.h src/pir.cc src/pir.h
src/pic-instructions.cc src/pic-processor.h src/16bit-instructions.cc
src/14bit-tmrs.h src/14bit-tmrs.cc
Implemented PIR3 for 18F6520, including the presence of multiple
CCPxIF flags in one PIR (needed some re-design)
Fixed implementation of 18F "access bank", as some devices have more
than 128 bytes mapped to SFR space
2010-08-21 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.h src/p18x.cc src/p16x6x.cc src/p16f87x.cc src/p16f62x.cc
src/p16f88x.cc src/p16f8x.cc src/16bit-processors.cc
src/pic-processor.cc src/pic-processor.h src/uart.cc src/uart.h
Partial implementation of 18F6520, including change to UART-PIR
linkage for multiple UART support.
2010-07-12 Roy Rankin <rrankin@ihug.com.au>
* configure.ac : release changed to 0.25.1 post release SVN
2010-06-28 Roy Rankin <rrankin@ihug.com.au>
* configure.ac : release changed to 0.25.0
* ANNOUNCE : 0.25.0 highlights
2010-06-28 Roy Rankin <rrankin@ihug.com.au>
* src/16bit-processors.h src/16bit-processors.cc
src/pic-processor.cc src/pic-processor.h src/p18x.cc :
- fix porta7 for P18 processors, bug 3021904
* src/pic-ioports.h src/pic-ioports.cc regression/p16f676/reset.asm :
- mask bits on write to tris regeister
2010-06-26 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/ssp.cc regression/spi/p18f242.asm
Fix for bug #3021514 :
- MSbit is now correctly sent in CKE=1 mode
- Clock not disturbed if second byte sent within half bit of SSPIF
Extended one of the SPI regression tests to include CKE=1 mode
2010-06-25 Rob Pearce<rob@bdt-home.demon.co.uk>
* modules/ttl.cc modules/ttl.h modules/gpsim_modules.cc
Fix to TTL377 so that all eight latches update "simultaneously"
Added TTL595 serial-in-parallel-out shift register
2010-06-23 Roy Rankin <rrankin@ihug.com.au>
- missed CLOCK_EXPERIMENTS changes
2010-06-22 Roy Rankin <rrankin@ihug.com.au>
- remove dead code from CLOCK_EXPERIMENTS
2010-06-20 Roy Rankin <rrankin@ihug.com.au>
* src/pic-processor.cc src/clock_phase.cc
- fix cycle counter bug 3018510
2010-06-12 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/14bit-tmrs.cc
Fix uninitialised ssp_module pointer (potential segfault)
2010-06-09 Ralf Forsberg <rfg@users.sourceforge.net>
* src/pic-processor.cc : Fix integer overflow in realtime mode.
2010-06-07 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_src_asm.cc : fix bug 3012488 finish key SIGSEGV for hex file
2010-06-07 Roy Rankin <rrankin@ihug.com.au>
* src/pic-processor.cc : patches for realtime with GUI mode
* doc/gpsim.html doc/gpsim.lyx gpsim.spec.in : Documentation of new
license
2010-06-06 Borut Razem <borut.razem@siol.net>
* modules/modules.vcproj, plat/win32/libgpsim.def,
modules/gpsim_modules.cc: MSVC sync
2010-06-06 Ralf Forsberg <rfg@users.sourceforge.net>
- Don't add files from cod if the actual file is missing.
2010-06-06 Ralf Forsberg <rfg@users.sourceforge.net>
- Switching to realtime mode could hang up.
2010-06-06 Ralf Forsberg <rfg@users.sourceforge.net>
- Fixed step_over in HLL_MODE.
- Update gui after finish command.
2010-06-06 Roy Rankin <rrankin@ihug.com.au>
* gpsim/Makefile.am src/dspic/Makefile.am src/Makefile.am doc/Makefile.am
extras/graphic_lcd/src/Makefile.am extras/ds1307/Makefile.am modules/Makefile.am
gui/Makefile.am cli/Makefile.am Makefile.am : include windows build
files in distribution tarball
2010-06-06 Ralf Forsberg <rfg@users.sourceforge.net>
- Remove MCLR pin monitor in pic destructor to avoid segfault in IOPIN desctructor.
2010-06-06 Roy Rankin <rrankin@ihug.com.au>
* regression/p18f/extended_instructions.asm: add nops after asserts
* INSTALL.gpsim : rename as INSTALL gets overwritten
* doc/gpsim.html doc/gpsim_svn.html README Makefile.am : document
LGPLv2+ change
2010-06-05 Borut Razem <borut.razem@siol.net>
* modules/makefile.mingw: included video.* module
* plat/win32/gpsim.nsi: updated dependency packages
2010-06-05 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_menu.cc gui/gui_statusbar.cc : fix bug 3009843
Simulation Time HH:MM:SS.CC displays incorrectly
2010-06-05 Roy Rankin <rrankin@ihug.com.au>
* src/ modules/ COPPYING.LESSER README : to LGPLv2+
2010-06-04 Ralf Forsberg <rfg@users.sourceforge.net>
- Added back HLL source browser support for sdcc and jal.
- Fixed bug in FileContext where the vector pointers could become
dangling after stl magic because of missing copy constrctor.
Made them objects instead of pointers.
2010-05-?? Ralf Forsberg <rfg@users.sourceforge.net>
- Optimized video module using pixmap shadow buffer.
2010-06-01 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.h src/14bit-tmrs.cc src/comparator.h src/comparator.cc
src/p16f88x.cc src/p18x.h src/p18x.cc : Enhanced PWM Auto-Shutdown
2010-05-27 Roy Rankin <rrankin@ihug.com.au>
* modules/video.cc modules/gpsim_modules.cc modules/video.h modules/Makefile.am
+ resurrect video module patch 3007214 by Paul S
2010-05-22 Roy Rankin <rrankin@ihug.com.au>
* src/comparator.h src/14bit-tmrs.cc src/comparator.cc src/p16f88x.cc
- Add comparator 2 gate control of timer 1 for 16f88x
* src/uart.cc : fix bug 2827439 USART pin direction
* modules/logic.cc : fixed compilation warnings
2010-05-18 Borut Razem <borut.razem@siol.net>
* src/makefile.mingw: added p16f88x.o
* extras/graphic_lcd/src/makefile.mingw, extras/lcd/makefile.mingw:
include project root directory for config.h
* extras/graphic_lcd/src/ssd0323.cc: fixed compilation warnings
* extras/ds1307/makefile.mingw: added
* makefile.mingw: adedd extras/ds1307 build
* plat/win32/gpsim.nsi: added extras/ds1307/* to the package
2010-05-17 Roy Rankin <rrankin@ihug.com.au>
- Extras built, installed as part of Gpsim
2010-05-17 Roy Rankin <rrankin@ihug.com.au>
- Add ds1307 Realtime Clock module
2010-05-11 Roy Rankin <rrankin@ihug.com.au>
* src/dspic/dspic-processors.cc src/dspic/dspic-registers.cc
src/pic-processor.cc src/icd.cc src/16bit-registers.cc
src/registers.h src/pic-registers.cc: Remove use of memory_size_mask
which assumed memory size 2^n (bug 2979021)
* src/pic-ioports.cc: B0 edge wakes processor from sleep (bug 2999264)
2010-05-01 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/16bit-registers.cc src/pic-instructions.cc
Fixed bug #2983660 - BSF and BCF now work right on PLUSW registers
Also PLUSW registers now work if destination is address 0
* regression/psp/p16f871.asm regression/psp/p18f452.asm
Fixed the PSP regression test code to de-select the ADC channels,
because the above fix shows up that they should (probably) have
failed before.
2010-04-10 Roy Rankin <rrankin@ihug.com.au>
* src/p16f8x.cc: correct usart pins for p16f87/8 (patch 2116354)
* src/14bit-processors.cc: Correctly wake up from sleep
(patch 2348392)
* cli/cmd_load.cc doc/gpsim.lyx : Documentation updates
(patch 2108073)
2010-04-08 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_breadboard.cc: fix trace bug 2983580
* src/pic-processor.cc: fix realtime mode lockup (bug 2973978)
* src/p18x.h src/p18x.cc: add extended PWM
* src/14bit-tmrs.cc src/14bit-tmrs.h: initialize some variables, fix
to have extended PWM work with processors without prtrcon register
2010-04-07 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_breadboard.cc: lighten low pin color for those with
red-green color blindness
2010-04-06 Roy Rankin <rrankin@ihug.com.au>
* src/p16f88x.h src/p16f88x.cc src/Makefile.am src/pic-processor.h
src/pic-processor.cc : Add 16f882/883/884/886/887 processors
* src/comparator.h src/comparator.cc: add class used in 16f88x
* src/14bit-tmrs.h src/14bit-tmrs.cc: add PWM(enhanced mode) support
* src/pir.h src/pir.cc: add interupts for 16f88x
* src/uart.cc: fix send_break code
* src/uart.h: define 16f88x SCKP bit in _BAUDCON
* src/a2dconverter.h src/a2dconverter.cc: ADC for 16f88x
* src/ssp.cc: warning message line numbers in decimal
* src/pic-registers.cc : fix debug statement
* regression/usart_test/eusart.asm: refine test
2010-03-29 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/16bit-processors.cc src/16bit-processors.h src/p18x.cc src/p18x.h
regression/instructions_16bit/18f452.lkr
regression/instructions_16bit/instructions_16bit.asm
Moved loading/reading of EEPROM and ID locations for 18F out of
the 18fxx20 class into the base class, as it's common to all the
family
* src/intcon.cc
Commented out an annoying debug print that isn't needed any more
2010-03-29 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_scope.cc
use previous size and position of window (bug 2973982)
2010-03-28 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p16f62x.cc
Fixed missing aliases of INDF, PCLATH and INTCON (bug 2977843)
2010-03-12 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.cc src/processor.cc
Fixed loading of EEPROM data from COD/HEX on 18F (bug 2968268)
2010-03-10 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/16bit-instructions.cc
regression/instructions_16bit/instructions_16bit.asm :
Fix issue 2968248; carry flag is "sticky" to DAW instruction
* src/pic-ioports.cc
regression/p18f452_ports/p18f452_ports.asm :
Fix issue 2902082; writing the PORT register now updates the LAT
register too.
2010-02-07 Roy Rankin <rrankin@ihug.com.au>
* src/pic-processor.cc: Fix real-time mode regression
(bug 2930175)
2010-01-12 Roy Rankin <rrankin@ihug.com.au>
* src/p18x.h src/p18x.cc src/16bit-registers.cc: Add
eeprom, usart for 18f1220/1320
* src/uart.cc src/uart.h: Eusart fixes and debug print fixes
* modules/usart.cc: scroll patch and debug print fixes
* regression/usart_test/eusart.asm: Pin direction per docs
- Most of above changes supplied by Geoffrey Hausheer
2010-01-07 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_menu.cc: Fix sigsegv when changing simulation time
units when no processor is defined (bug 2926629)
2006-11-07 Scott Dattalo <scott@dattalo.com>
* src/p18x.hh: wrong register memory size (bug 2921532)
2009-11-22 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/p18x.cc
Fixed the creation of ports D and E on 18F4x21 devices
2009-10-25 Roy Rankin <rrankin@ihug.com.au>
* src/p16f62x.h : wrong program memory size (bug 2885817)
2009-10-11 Roy Rankin <rrankin@ihug.com.au>
* configure.ac : Missing readline lib now a terminating error
for configure. (bug 2868402) Set version to 0.24.1
2009-09-28 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/16bit-hexdecode.cc, src/pic-processor.cc, src/16bit-tmrs.cc
src/14bit-tmrs.cc, src/14bit-registers.cc, src/pic-ioports.cc
Trivial changes only:
- re-ordered processor type creation so the list reported is nearer
numeric order
- removed all #includes of processor type headers from "core" code
(i.e. not processor type definition files) except pic-processor.cc
The idea is to head towards being able to define processors outside of
the core GPSim library, by making GPSim follow that sort of structure.
2009-09-13 Rob Pearce<rob@bdt-home.demon.co.uk>
* extras/graphic_lcd/src/gpsim_modules.cc, extras/lcd/module_manager.cc,
modules/gpsim_modules.cc, modules/encoder.cc
Trivial changes only - removed some very obsolete commented out code
and erroneous statements about module libraries.
2009-08-24 Borut Razem <borut.razem@siol.net>
* src/14bit-registers.h, src/makefile.mingw, plat/win32/libgpsim.def:
src/src.vcproj: mingw and MSVC sync
2009-08-24 Roy Rankin <rrankin@ihug.com.au>
* gpsim/main.cc doc/gpsim.lyx : document optional -c -s
* configure.ac ANNOUNCE : update for release 0.24.0
* doc/gpsim.html PROCESSORS : update with new processors
2009-08-23 Roy Rankin <rrankin@ihug.com.au>
* src/os_dependent.cc : For linux fix loading modlib bug #2837446
2009-08-23 Roy Rankin <rrankin@ihug.com.au>
* regression/p12f675/12f683.lkr regression/p12f675/p12f683.asm
regression/p12f675/Makefile regression/run_regression.sh
* add p12f683 regression test
* regression/p12f675/p12f675.asm : fix bug in test
* src/14bit-tmrs.h src/14bit-tmrs.cc src/comparator.h
src/comparator.cc : support cmp T1 gate
* src/p12f6xx.h src/p12f6xx.cc src/pic-processor.cc
src/pic-processor.h : add P12f683
* src/eeprom.cc : print message if both RD and WR set in EECON1::put
* src/gpsim_time.cc : add more debug output
* src/trace.h : delete commented out code
* src/eeprom.h : add callback_print() for debugging
* gui/gui_regwin.cc : remove unneeded include
2009-07-17 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/14bit_tmrs.cc src/14bit_tmrs.h
Turned the ccpcon/compare_value member pair in TMRL into a
linked list of CCP references, built on demand and deleted
when compare mode cancelled, thus fixing bug 2819395
* src/16bit-processors.cc p16x6x.cc
Removed setting of tmrl->ccpcon as it no longer exists. The
operation was pointless anyway, as it would always be set
again before it became meaningful
* regression/ccp/ccp877a.asm
Added regression test for dual compare mode. This is a very
slightly enhanced version of Roy's attachment in bug 2819395
2009-07-15 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/14bit_tmrs.cc src/14bit_tmrs.h
Changed around the structure of who does what when a CCP is in
compare mode. At the moment this should not have changed any
functionality, but is in preparation for fixing bug 2819395
2009-07-15 Roy Rankin <rrankin@ihug.com.au>
* regression/i2c/p16f88.asm : position modules
* modules/stimuli.cc : fix error causing warning message
* src/ioports.h src/stimuli.cc src/stimuli.h
src/pic-processor.cc src/pic-processor.h
gui/gui_breadboard.h gui/gui_breadboard.cc
regression/p16f676/reset.asm regression/p16f676/Makefile
regression/run_regression.sh :
- Fix MCLR when it can be an IO pin
2009-07-11 Roy Rankin <rrankin@ihug.com.au>
* regression/comparator/compar_877a.stc : position modules
* regression/interrupts_14bit/interrupts_14bit.asm : use WDT
* regression/usart_test/usart_pir1v1.asm
* regression/usart_test/usart_pir1v2.asm
regression/usart_test/eusart.asm
regression/i2c/p16f876a.asm : Stop run-away tests
2009-07-07 Roy Rankin <rrankin@ihug.com.au>
+ src/pic-processor.cc src/pic-processor.h src/p18x.cc src/p18x.h :
- Fix 18f2455 sigsegv, package size (2814946), ram and program size
add 18f4455 40 pin version but still no USB support
* src/processor.cc : Remove 2^N restriction on program memory size
* src/packages.h src/packages.cc : Make warning in assign_pin optional
2009-07-05 Roy Rankin <rrankin@ihug.com.au>
* src/16bit-processors.cc : fix Config1H::toString
* src/eeprom.cc : fix delete issue
* src/pic-processor.cc src/pic-processor.h src/p16x6x.cc src/p16x6x.h
regression/p16f676/16f676.lkr regression/p16f676/Makefile
regression/p16f676/p16f676.asm regression/Makefile.am
regression/run_regression.sh :
- Add p16f630, p16f676
* src/pir.cc src/pir.h : New PIR1 register type
* src/p16f62x.cc : fix MCLR calls
* src/stimuli.cc src/stimuli.h : input pull-up off for analog pins
bug 2814950
* src/comparator.cc : new analog mode call, fix sigsegv
* src/ioports.cc src/ioports.h src/a2d_v2.cc : new analog mode call
* src/a2dconverter.cc src/a2dconverter.h : new analog pin mode call,
16f676 mode
2009-07-04 Roy Rankin <rrankin@ihug.com.au>
* regression/interrupts_14bit/interrupts_14bit.stc
regression/interrupts_16bit/interrupts_16bit.stc :
+ terminate test when interrupts fail
* regression/a2d/p16f819.asm : fix comment
* regression/a2d/p16f88.asm : set vref as analog pin
* regression/a2d/Makefile : fix "make sim"
2009-06-15 Roy Rankin <rrankin@ihug.com.au>
* src/p18x.h src/p18x.cc src/16bit-processors.h src/16bit-processors.cc
src/pic-processor.h src/pic-processor.cc src/p16f62x.cc src/ioports.cc
src/p18x.cc src/14bit-registers.cc src/p16f8x.cc : Config word set
- clock mode and pins, add OSCTUNE where appropriate for p18 processors
* regression/Makefile.am regression/run_regression.sh
regression/p18f/reset.asm regression/p18f/Makefile : Add regression
- test for p18 resets
* regression/a2d/p18f1220.asm : add intrc frequency tests
* regression/a2d/p18f4321.asm : MCLR turned off with Configword
* regression/a2d/p16f88.asm : position test resistors
2009-06-10 Rob Pearce<rob@bdt-home.demon.co.uk>
* src/os_dependent.cc
Fixed IsFileExtension so that the extension must match the end of
the file name and be preceeded by a dot. This is for bug 2803756
but not using the patch supplied as it wasn't quite semantically
correct.
2009-06-07 Roy Rankin <rrankin@ihug.com.au>
* src/16bit-processors.cc src/pic-processor.h src/pic-processor.cc
src/p18x.cc src/14bit-processors.h src/14bit-processors.cc :
- Add MCLR pin support to P18 processors
* src/p16f8x.cc : Fix MCLR support
* src/a2d_v2.cc : Remove unused variable to stop compiler warning
2009-06-01 Roy Rankin <rrankin@ihug.com.au>
* regression/p12f675/p12f675.asm
regression/a2d/p18f1220.asm regression/a2d/p18f4321.asm :
- Test that analog pins read as 0
* regression/resistor/resistor.asm
* regression/p18f452_ports/p18f452_ports.asm :
- Set Analog pins to digital before tests
* regression/a2d/p18f452.asm : set position in breadboard
* src/ioports.h src/ioports.cc src/16bit-processors.cc
src/a2d_v2.h src/a2d_v2.cc src/a2dconverter.h src/a2dconverter.cc
src/comparator.cc src/14bit-registers.cc src/pic-ioports.cc :
- analog pins are labeled and read as 0 (bug 1832222)
* src/p18x.cc : remove ssp registers on p18f1220
2009-05-30 Roy Rankin <rrankin@ihug.com.au>
* regression/comparator/compar_10f204.asm : reset vector wrong address
* regression/p12f675/p12f675.asm : fix typos, clear analog ports at
- end of ADC test
* regression/Makefile.am : fix make dist
* src/intcon.h src/intcon.cc src/pic-instructions.cc src/p12x.cc :
- remove extraneous trace messages
2009-05-24 Roy Rankin <rrankin@ihug.com.au>
* regression/p12f675/12f675.lkr regression/p12f675/p12f675.asm
regression/p12f675/Makefile regression/Makefile.am src/Makefile.am
regression/run_regression.sh src/p12f6xx.cc src/p12f6xx.h
src/pic-processor.h src/pic-processor.cc :
- Add 12f675 and 12f629 processors and regression tests
* src/14bit-tmrs.cc src/14bit-tmrs.h : hooks to handle stop/start of
- TMR1 for sleep, support for TMR1 Gate Enable
* src/comparator.cc : fixes to allow single comparator
* src/14bit-registers.cc src/14bit-registers.h : Add OSCCAL class
- (OSCillator CALibration) , IOC class (Interrupt On Change) and WPU
- class (Weak Pull Up) used in P12f629/675
* src/a2dconverter.cc src/a2dconverter.h : Add ADCON0_12F and
- ANSEL_12F classes to support ADC for p12f675
* src/pic-ioports.cc src/pic-ioports.h : Add PicPortGRegister port
- class which support IOC (Interrupt On Change) register
* src/14bit-processors.cc src/14bit-processors.h : handle MCLR pin
- action, remove dead code
* src/p16f8x.cc : fix POR value for register ANSEL
2009-05-05 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_processor.cc: revert as fix not in this file
* gpsim/main.cc: fix "gpsim -p processor file.hex" bug # 1629719
load .stc or .cod file from command line without -c or -s
2009-05-05 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_processor.cc: fix "gpsim -p processor file.hex" bug #
1629719
* regression/Makefile.am: remove */*.o files on make clean
2009-05-04 Roy Rankin <rrankin@ihug.com.au>
* src/16bit-registers.h src/16bit-registers.cc
src/16bit-processors.cc src/tmr0.cc src/tmr0.h
src/p12x.cc src/pic-registers.cc src/12bit-processors.cc
src/12bit-processors.h src/14bit-processors.cc
src/14bit-processors.h src/16bit-processors.h
regression/tmr0_16bit/tmr0_16bit.asm regression/wdt/wdt_18f452.asm
regression/p16f84/reset.asm regression/a2d/p10f222.asm:
- TMR0 stops during sleep - bug #502665
* regression/a2d/p16f871.asm regression/a2d/p16f873a.asm
regression/a2d/p16f874a.asm:
- bad register name in assert
2009-04-28 Roy Rankin <rrankin@ihug.com.au>
* src/pic-registers.cc : backout part of last change which causes
sigsegv
2009-04-28 Roy Rankin <rrankin@ihug.com.au>
* src/pic-registers.h src/pic-registers.cc src/pic-ioports.cc
regression/digital_stim/digital_stim.asm:
- OPTION_REG values not properly processed on initial reset
causing wrong edge detect for interrupt
2009-04-27 Roy Rankin <rrankin@ihug.com.au>
* src/p12x.cc src/p12x.h src/pic-registers.cc:
- For p12x processors support osccal function for internal RC
frequency tuning and FOSC4. Add Configuration word support
for IOSCFS and NOT_MCPU. Pin driving and label for
FOSC4/COUT/T0SC/gpio2 and MCLR/gpio3
2009-04-21 Roy Rankin <rrankin@ihug.com.au>
* regression/instructions_12bit/instructions_12bit.asm
regression/a2d/p10f222.asm src/p12x.cc src/p12x.h:
- Fix pullup on gpio3 on all p12x processors
2009-04-20 Roy Rankin <rrankin@ihug.com.au>
* src/a2dconverter.h: Fix sigsegv introduced in last patch
2009-04-20 Roy Rankin <rrankin@ihug.com.au>
* src/pic-processor.cc src/pic-processor.h src/p12x.cc src/p12x.h
src/a2dconverter.cc src/a2dconverter.h regression/a2d/10f222.lkr
regression/a2d/p10f222.asm regression/a2d/Makefile
regression/run_regression.sh:
- Add P10F220 and P10F222 processors
2009-03-23 Roy Rankin <rrankin@ihug.com.au>
* configure.ac: set release 0.23.9
* ANNOUNCE: fix typo
2009-03-18 Roy Rankin <rrankin@ihug.com.au>
* extras/lcd/configure.in: bump release number
2009-03-02 Roy Rankin <rrankin@ihug.com.au>
* gpsim/main.cc: expand extent of try
* gpsim.spec.in: improve utf8 conversion of AUTHORS file
* ANNOUNCE: update for 0.23.0
2009-03-01 Borut Razem <borut.razem@siol.net>
* gpsim/main.cc, src/errors.h, src/errors.cc, src/uart.cc, src/icd.cc,
src/a2d_v2.cc, src/pic-processor.h, src/processor.cc,
gui/gui_menu.cc, cli/scan.ll, cli/socket.cc, cli/input.cc,
cli/input.h, doc/gpsim.lyx: undone changes I made yesterday: libgpsim
functions now throw FataError exception, which is catched by main()
2009-02-28 Borut Razem <borut.razem@siol.net>
* gpsim/main.cc, src/icd.cc, src/processor.cc, gui/gui_menu.cc,
cli/scan.ll, cli/socket.cc, cli/input.cc, cli/input.h:
use atexit() to execute exit_gpsim() when exiting to solve
Win32 libgpsim.dll problem.
2009-02-28 Roy Rankin <rrankin@ihug.com.au>
* gpsim.spec.in: update
* src/trace.cc: fix segfualt (bug 1490171)
* src/registers.cc src/pic-processor.h: fix pcl setting and segfault
(bug 1642109)
* src/eeprom.cc: fix segfault (bug 1823171)
2009-02-19 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_main.cc: set LC_NUMERIC locale to standardize IO
(bug 1832702)
2009-02-18 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_src_asm.cc: Handle non uft8 characters is Source Browser
window (bugs 1869795, 2579637)
2009-02-17 Roy Rankin <rrankin@ihug.com.au>
* src/os_dependent.cc: Fix loading module libraries
* cli/parse.yy cli/cmd_attach.cc doc/gpsim.lyx:
fix help for attach and segfault (bug 2556045)
* src/p16x6x.cc src/p16f62x.cc src/ioports.cc:
debuging output only if verbose set
2009-02-14 Roy Rankin <rrankin@ihug.com.au>
* cli/parse.yy: fix segfault (bug 2556041)
2009-02-14 Roy Rankin <rrankin@ihug.com.au>
* src/expr.cc src/protocol.cc src/operator.cc src/ValueCollections.h
src/protocol.h src/icd.cc src/comparator.cc src/value.cc
src/processor.cc src/16bit-instructions.cc modules/usart.cc
gui/settings_exdbm.cc gui/gui.h: Changes to compile with GCC 4.4
2009-02-14 Roy Rankin <rrankin@ihug.com.au>
* regression/Makefile.am: correction on file list for make dist
2009-02-14 Roy Rankin <rrankin@ihug.com.au>
* gpsim/main.cc
src/icd.cc src/processor.cc gui/gui_menu.cc
cli/scan.ll cli/socket.cc cli/input.cc cli/input.h:
Do not exit from library routines
* regression/Makefile.am
make clean, cleans files in regression sub-directories
fix list of files so make dist works
2008-12-26 Borut Razem <borut.razem@siol.net>
* extras/lcd/lcdgui.cc, modules/led.cc, gui/gui_profile.cc:
applied patch 2458749: segfault in gdk_color_alloc(),
thanks to Don Wooton
* src/makefile.mingw, src/src.vcproj: added a2d_v2.cc and a2d_v2.h
2008-12-22 Roy Rankin <rrankin@ihug.com.au>
* regression/a2d/18f1220.lkr regression/a2d/18f4321.lkr
regression/a2d/p18f1220.asm regression/a2d/p18f4321.asm
regression/a2d/Makefile regression/run_regression.sh
src/p18x.h src/16bit-processors.cc
src/a2d_v2.h src/Makefile.am src/a2d_v2.cc
src/p18x.cc src/a2dconverter.cc src/16bit-processors.h :
Add new style A2D converter with adcon2 register which
supports up to 16 channels
2008-12-07 Roy Rankin <rrankin@ihug.com.au>
* src/16bit-registers.h src/p16f87x.cc src/p16f87x.h
src/p16x7x.h src/a2dconverter.h src/p16x7x.cc src/p16f8x.h
src/16bit-registers.cc src/p16f8x.cc src/a2dconverter.cc
src/16bit-processors.h :
Consolidate ADCON0_withcpp, ADCON0_16 and ADCON0 classes
to just ADCON0. Fix ADCON1::setNumberOfChannels() to allow
number of channels to be increased.
2008-12-02 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-registers.h src/dspic/dspic-instructions.cc
src/pic-processor.cc src/pir.cc src/16bit-instructions.h
src/comparator.cc src/hexutils.h src/14bit-registers.cc
src/16bit-registers.cc modules/stimuli.cc :
Fix GCC 4.3.0 warnings
2008-09-21 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi, doc/gpsimWin32.html:
updated for libpng-1.2.29, win_iconv_dll-tml-20080320, atk_1.22.0-2_win32,
gtk+_2.14.2-1_win32, cairo-1.6.4-2, pango_1.20.5-2_win32, glib_2.18.1-1_win32
2008-09-20 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/intcon.cc src/intcon.h src/pir.cc src/pir.h
src/p16x7x.cc
Fixed handling of peripheral interrupts during ISR execution on 16-bit with
priority enables, so that the new interrupt will be handled after the RETFIE
This involved changing the PIR::interrupt_status() and dependents to return
a bit-map of priorities rather than a simple boolean.
2008-09-17 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/intcon.cc :
Fixed response to low priority interrupts during high priority ISR (i.e. it
no longer runs the low-pri ISR immediately)
* src/16bit-processors.cc src/intcon.cc src/intcon.h
regression/interrupts_16bit/priority.asm regression/analog_stim/p18f452.asm
regression/a2d/p18f452.asm
Fixed handling of interrupts during ISR execution on 16-bit, at least for the
non-priority case, so that the new interrupt will be handled after the RETFIE
(as already worked on 14-bit). Also added test of priority nesting, which
currently doesn't test this fix (it uses RBIF, which already worked). Also
fixed a couple of ADC regression tests that failed to acknowledge the interrupt
(due to a typo) and thus only passed because this condition was buggy.
2008-09-17 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/ssp.cc :
Corrected SPI transfer complete behaviour so that SSPIF is set on completion
of a master mode transfer regardless of the SSPOV state. (Confirmed this
behaviour on an 18F2321)
* src/14bit-tmrs.cc :
Made some commented out debug code available with higher verbosity, for testing
2008-09-14 Borut Razem <borut.razem@siol.net>
* configure.ac:
fixed bug #1698566: missing libpopt header is unnoticed by configure
2008-08-29 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/14bit-tmrs.cc src/14bit-tmrs.h src/pir.h src/16bit-processors.cc
src/p16x6x.cc src/p18x.cc regression/ccp/ccp_877a.asm :
Changed the CCPCON class to not use pir_set, since this broke its
ability to be duplicated. It now refers to a specific PIR register,
meaning that the second CCP on a 16F87x or similar can actually
generate the right interrupt.
Added tests for this in the CCP_877a regression test
2008-08-26 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/processor.cc src/processor.h src/sim_context.cc src/cod.cc
src/16bit-processors.h gui/gui_profile.cc :
Corrections to use of Processor::program_memory_size() so that all
of them expect it to be instruction words, not byte addresses.
2008-08-23 Rob Pearce <rob@bdt-home.demon.co.uk>
* regression/interrupts_16bit/(interrupts_16bit.asm, priority.asm)
regression/run_regression.sh :
Enhance and enable regression tests for the 16bit core prioritised interrupts
* src/intcon.cc :
Corrected peripheral interrupts to use the right vectors when IPEN is set
2008-08-06 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/intcon.cc :
Corrected low priority non-peripheral interrupts to obey the GIEL bit
* regression/interrupts_16bit/(18f2321.lkr, Makefile, interrupts_16bit.asm,
interrupts_16bit.stc, priority.asm, priority.stc) :
First stab at some regression tests for the 16bit core prioritised interrupts
2008-08-04 Borut Razem <borut.razem@siol.net>
* src/protocol.cc, src/i2c-ee.cc, src/eeprom.cc, src/pic-processor.cc.
src/gpsim_object.cc, src/comparator.cc, src/value.h, src/p12x.cc,
src/value.cc, src/cod.cc, config_win32.h.in, cli/scan.ll,
cli/command.cc, cli/input.cc, plat/win32/libgpsim.def:
MSVC sync, enable compilation on VC 2008
2008-08-02 Borut Razem <borut.razem@siol.net>
* gpsim/main.cc, src/gpsim_interface.h, src/icd.h, src/modules.h,
src/i2c-ee.cc, src/ui.h, src/trace.h, src/ui.cc, src/icd.cc,
src/modules.cc, src/trace.cc, src/cmd_manager.h, modules/usart.cc,
modules/logic.cc, modules/logic.h, gui/gui_src.cc, gui/gui_symbols.cc
gui/gui_src.h, gui/gui_regwin.cc, gui/gui_trace.cc, gui/gui_profile.cc
gui/gui_src_asm.cc, gui/gui_dialog.cc, gui/gui_menu.cc, gui/gui_stack.cc
gui/gui_watch.cc, gui/gui_object.h, gui/settings_exdbm.cc,
gui/gui_src_opcode.cc, gui/gui.h, gui/gui_breadboard.cc, ChangeLog,
xpms/startp.xpm, xpms/pc.xpm, xpms/break.xpm, xpms/stopp.xpm,
xpms/canbreak.xpm, cli/misc.h, cli/socket.cc, cli/ui_gpsim.h, cli/input.cc,
cli/ui_gpsim.cc, plat/win32/icd.cc:
fixed gcc warnings "warning: deprecated conversion from string constant to 'char*'"
2008-08-02 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/14bit-registers.cc, src/16bit-registers.cc :
Fixed behaviour of PCLATH and PCL :
- Setting PC from GUI no longer changes PCLATH on 16-bit cores
- Setting PCLATH from GUI no longer changes PC
* src/p18x.cc :
Annotation - I think porta4 is defined wrong
* src/pir.cc, src/pir.h, src/intcon.cc, src/intcon.h, src/16bit-processors.cc :
Support for interrupt priority on 16-bit core peripherals
* src/16bit-processors.cc :
Fix TMR0 external inputs on 16-bit cores (T0CKI was not being connected)
2008-07-30 Borut Razem <borut.razem@siol.net>
* regression/run_regression.sh:
set GPSIM_MODULE_PATH=$(pwd)/../modules/.libs so that the correct
libgpsim_modules.so is loaded during regression test execution on
*nix platforms
2008-07-28 Borut Razem <borut.razem@siol.net>
* cli/cmd_symbol.cc, gui/gui_breadboard.cc, modules/led.cc:
enabled compilation on Fedora 9, gcc 4.3.0, fixed gcc error:
must #include <typeinfo> before using typeid
2008-06-26 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/uart.cc, regression/usart_test/eusart.asm :
Added regression test for (and fixed) EUSART sync break operation.
2008-06-05 Scott Dattalo <scott@dattalo.com>
* src/os_dependent.cc:
Now the library extension is appended to library names if the raw library
name fails to load
2008-06-05 Scott Dattalo <scott@dattalo.com> for Steffen Joeris <Steffen.Joeris@skolelinux.de>
* src/modules.h, src/operator.cc, src/processor.h, src/gpsim_object.cc
* src/value.h, src/modules.cc, src/value.cc, src/processor.cc, modules/switch.cc
* gui/gui_src.cc, gui/gui_symbols.cc, gui/gui_regwin.cc, gui/gui_stack.cc
* gui/settings_exdbm.cc, cli/cmd_x.cc, cli/cmd_clear.cc
Fixups for gcc-4.3
2008-06-22 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/uart.cc, src/uart.h, regression/usart_test/Makefile, regression/run_regression.sh,
regression/usart_test/eusart.asm, regression/usart_test/18f2321.lkr:
Added regression test for (and fixed) EUSART operation in BRG16 mode.
2008-06-08 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/uart.cc, src/uart.h, p18x.cc:
Initial support for EUSART, as part of the existing usart class. Has been
regression tested in legacy mode only.
2008-06-05 Scott Dattalo <scott@dattalo.com>
* src/value.h, src/value.cc, src/16bit-instructions.cc
C++ cleanup - char * is now const char * in many places
2008-06-01 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/pic-processor.cc, src/pic-processor.h, p18x.cc, p18x.h:
Initial attempt at providing support for the PIC18F4321. The same
issues are present as per the 18F2321.
* src/16bit-registers.cc, gui/gui_src_asm.cc:
Bug fixes - "run to here" now updates the source browser PC indicator,
and "set PC here" now works properly on 16bit processors
* gui/gui_stopwatch.cc:
No actual code change, but some comments regarding a suspicious looking
sequence of operations.
* src/16bit-processors.cc, src/16bit-processors.h, p18x.h:
Fixed RAM sizes of 18F series processors
2008-05-31 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/pic-processor.h, src/16bit-processors.h, p18x.h,
src/16bit-instructions.cc, src/pic-instructions.cc, src/14bit-registers.cc:
Split out the _16BIT_PROCESSOR_ base type into _PIC17_PROCESSOR_ and
_PIC18_PROCESSOR_ because nearly every place that tested it should have
treated them differently. This led to some awkward switch cases where
all PIC18 devices were listed in one block and all PIC17s in another
(and which could easily be overlooked and cause pain when adding new
devices). These are now simple and generic.
* src/pic-processor.cc, src/pic-processor.h, p18x.cc, p18x.h:
Initial attempt at providing support for the PIC18F2321. The USART is
wrong (missing BAUDCON and SPBRGH), as is the ADC (ADCON2 missing, not
enough channels) and the OSCTUNE register is missing. Also the RAM is
too big.
* src/16bit-registers.cc regression/instructions_16bit/instructions_16bit.asm
Fixed a bug in the TBLPTR decrement on 256 byte boundaries, and added
regression test for it.
2008-05-20 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/14bit-tmrs.cc:
Fix TMR1 behaviour around CCP compare events, remove incorrect
adcon interaction, enable CCP output drive
* src/p16f62x.cc:
Enable CCP onto the correct port pin
* regression/ccp_628/* regression/run_regression.sh regression/Makefile.am:
Add regression tests for these fixes, and others
Changes are for bug 1967803 and to repair 679540, plus tests for 1811305, 1652549
2008-04-05 Scott Dattalo <scott@dattalo.com>
* src/gpsim_interface.h, src/interface.cc, cli/cmd_stopwatch.cc,
cli/cmd_frequency.cc, cli/cmd_dump.cc, cli/cmd_list.cc,
cli/command.cc, cli/cmd_step.cc, cli/command.h:
The step and step over commands are now directed through the
gpsim interface instead through the currently active processor.
2008-01-13 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: added StartMenu page
* configure.ac: corrected URL
2008-01-10 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi, plat/win32/makefile.migw: changed NSIS
installation
* doc/gpsimWin32.html: fixed typo
2007-12-23 Borut Razem <borut.razem@siol.net>
* doc/gpsimWin32.html: fixed typo; jpeg and tiff dependencies
* plat/win32/gpsim.nsi: added jpeg62.dll and libtiff3.dll
* doc/gpsim_svn.html: corrected the URL of svn repository,
thanks to Graeme Jury
* doc/*.html: make WEB pages XHTML 1.0 Transitional copliant
2007-12-17 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.h src/14bit-tmrs.cc: Add TMR1 external crystal
simulation
* regression/tmr1_16bit/tmr1_16bit.asm regression/tmr1_16bit/Makefile:
- Add tests for external crystal and Fosc/4,
lower frequency to speed up test time
* regression/Makefile.am regression/run_regression.sh:
- Run tmr1_16bit as part of regression tests
* doc/gpsim.lyx: Add TMR1 external drive documentation
2007-12-09 Borut Razem <borut.razem@siol.net>
* doc/gpsimWin32.html: NSIS v2.33, fontconfig-2.4.2-tml-20071015,
gettext-runtime-0.17, glib-2.14.4, gtk+-2.12.3, pango-1.18.3
* doc/makefile.mingw: ignore errors
* plat/gpsim.nsi: updated for gtk+-2.12.3
* plat/win32/gpsim.def: MSVC sync
2007-12-02 Roy Rankin <rrankin@ihug.com.au>
* regression/wdt/18f452.lkr regression/wdt/16f88.lkr
regression/wdt/16f628.lkr regression/wdt/16c64.lkr
regression/wdt/wdt_16c64.asm regression/wdt/nwdt_18f452.asm
regression/wdt/wdt_18f452.asm regression/wdt/nwdt_16f628.asm
regression/wdt/nwdt_16f88.asm regression/wdt/wdt_16f88.asm
regression/wdt/wdt_16f628.asm regression/wdt/Makefile
regression/wdt/nwdt_16c64.asm regression/Makefile.am
regression/run_regression.sh:
- Add regression tests for Watchdog Time
* regression/p16f84/reset.asm: Sleep continues on WDT expire
* src/Makefile.am src/rcon.h src/16bit-registers.h: RCON moved to rcon.h
* src/pic-processor.cc src/pic-processor.h src/16bit-processors.cc
src/pic-registers.cc src/14bit-registers.h src/p16f8x.h
src/p16f8x.cc: WDT and configuration fixes
* src/processor.cc: Frequency change updates WDT
* src/14bit-registers.cc: WDTCON functions added,
Status register rcon support
* src/16bit-instructions.cc: Implement Sleep instruction
2007-11-25 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc: Fix TMR2 BUG message on reset
2007-11-09 Borut Razem <borut.razem@siol.net>
* modules/usart.cc> fixed bug #1828634: SVN does not build with
--disable-gui
2007-10-21 Roy Rankin <rrankin@ihug.com.au>
* modules/switch.cc: Fix compiler warning
* modules/led.cc: Fix core dump when no GUI
2007-10-21 Roy Rankin <rrankin@ihug.com.au>
* doc/gpsim.lyx: Add LED doc, new switch state values
* modules/switch.cc: State attribute given values open and closed
* modules/led.cc, modules/led.h: Add color for simple LED
* regression/switch_test/switch_test.asm: test new state values
* examples/modules/led_test/led_mod.stc: Add position, simple green LED
2007-10-20 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc: Fixed the 'Step-Over' bug that was
preventing the gui from updating properly.
* regression/rt.sh: Added an echo print that will display which
regression test is currently running. This is commented out for
now...
2007-10-18 Scott Dattalo <scott@dattalo.com>
* src/16bit-processors.cc: Fixed a printf format specifier bug.
2007-10-18 Scott Dattalo <scott@dattalo.com>
* gui/gui_src.h, gui/gui_src_asm.cc: Removed #if 0'd code. Made
the dependency on the "new" source browser permanent.
2007-10-17 Borut Razem <borut.razem@siol.net>
* configure.ac: added -Wall gcc command line option to CFLAGS and
CXXFLAGS
2007-10-16 Borut Razem <borut.razem@siol.net>
* src/value.cc, src/trace.cc, modules/stimuli.cc, gui/gui_trace.cc,
gui/gui_profile.cc, gui/gui_menu.cc, gui/gui_scope.cc, configure.ac,
config_win32.h.in:
introduced PRINTF_GINT64_MODIFIER which defines the printf modifier
for gint64 and guint64 types
2007-10-14 Borut Razem <borut.razem@siol.net>
* src/p16x6x.h, src/p16x6x.cc, src/eeprom.cc, src/pic-processor.cc,
src/p16f62x.cc, src/12bit-processors.cc, src/pic-processor.h,
src/p12x.cc, src/14bit-processors.cc:
fixed duplicatd sfr deletion, code cleaning
* plat/win32/libgpsim.def: MSVC sync
* src/icd.cc, src/bitlog.cc, gui/gui_object.cc, eXdbm/eXdbm.c,
cli/cmd_help.cc: fixed trivial gcc 4.1.2 warnings
2007-10-14 Roy Rankin <rrankin@ihug.com.au>
* src/value.cc: Allow Float::set to take Value type Integer
* src/modules.h src/modules.cc gui/gui_breadboard.cc:
- reinstate operation of breadboard "Add library", "Add module" and
"Save Configuration" buttons and module attributes.
2007-10-13 Borut Razem <borut.razem@siol.net>
* src/gpsim_interface.h, src/ioports.h, src/gpsim_object.h,
src/dspic/dspic-instructions.h, src/ui.h, src/processor.h,
src/pir.h, src/trace.h, src/program_files.h, src/pic-processor.h,
src/registers.h, src/stimuli.h, modules/i2c.h, modules/led.h,
gui/gui_symbols.cc, gui/gui_src.h, gui/gui_regwin.cc,
gui/gui_menu.cc, gui/gui_scope.cc, gui/gui.h, cli/socket.cc:
fixed virtual functions but non-virtual destructor warnings
* src/modules.h, src/p16x6x.cc, src/pic-processor.cc, src/p16f62x.cc,
src/12bit-processors.cc, src/pic-processor.h, src/p12x.cc, src/modules.cc
src/processor.cc, src/14bit-processors.cc, src/pic-instructions.cc,
src/pic-processor.cc:
fixed gcc warning: dereferencing type-punned pointer will break
strict-aliasing rules
2007-10-13 Roy Rankin <rrankin@ihug.com.au>
* src/i2c-ee.h src/i2c-ee.cc modules/i2c-eeprom.h modules/i2c-eeprom.cc
cli/cmd_dump.cc cli/cmd_load.cc: Fix eeprom address symbols
2007-10-10 Scott Dattalo <scott@dattalo.com>
* modules/i2c-eeprom.cc, cli/cmd_dump.cc, src/pic-processor.cc,
src/symbol.cc, src/i2c-ee.cc:
Fixed errors that Borut uncovered during the clean up process.
2007-10-09 Borut Razem <borut.razem@siol.net>
* src/symbol.cc: fixed the fixed warnig ;-)
2007-10-07 Borut Razem <borut.razem@siol.net>
* cli/cmd_attach.cc, cli/cmd_dump.cc, cli/cmd_dump.h,
gui/gui_breadboard.cc, gui/gui_scope.cc, gui/gui_scope.h,
gui/gui_src_asm.cc, gui/gui_stack.cc, gui/gui_watch.cc,
modules/i2c.h, modules/stimuli.cc, modules/stimuli.h,
src/14bit-registers.cc, src/14bit-tmrs.cc, src/16bit-processors.cc,
src/bitlog.cc, src/eeprom.cc, src/hexutils.cc, src/hexutils.h,
src/modules.cc, src/p16f8x.cc, src/packages.cc, src/pic-ioports.cc,
src/pic-processor.cc, src/pic-processor.h, src/processor.cc,
src/processor.h, src/registers.cc, src/stimuli.cc, src/symbol.cc,
src/trace.cc: fixed trivial gcc warnings
* doc/gpsimWin32.html: generic readline
2007-10-6 Scott Dattalo <scott@dattalo.com>
* regression/switch_test/switch_test.asm,
regression/instructions_14bit/branching.asm:
- WDT was timing out.
* src/pic-processor.cc, src/pic-processor.h:
- Added 12f508, 12f509, and 12f510
- Fixed I/O reset bug
- WDT is now placed in the processor's symbol table.
* src/p12x.cc, src/p12x.h:
- Added 12f508, 12f509, and 12f510 (although the '510's
comparator and A2D are not supported.)
* cli/cmd_symbol.cc:
- Module symbol tables can now be displayed independently of the
global symbol table
* cli/parse.yy:
- The parser was quiting gpsim if the dump eeprom command failed.
2007-09-30 Borut Razem <borut.razem@siol.net>
* doc/gpsimWin32.html: glib-2.14.1, atk-1.20.0, pango-1.18.2, cairo-1.4.10,
NSIS v2.31
* plat/win32/gpsim.nsi: updated
* plat/win32/libgpsim.def: MSVC sync
2007-09-17 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_symbol.cc: symbols dumped as module.symbol with better
format, don't dump line number symbols.
* gui/gui_symbols.cc: symbols dumped as module.symbol.
* src/registers.cc: Add module name in response to query array value.
* src/i2c-ee.h, src/i2c-ee.cc, modules/i2c-eeprom.cc: Add
RegisterCollection to allow command line viewing & change
of EEPROM cells.
* doc/gpsim.lyx:Document new EEPROM functionality, improve scope
window documentation.
2007-09-16 Roy Rankin <rrankin@ihug.com.au>
* cli/cmd_break.cc: unless verbose set, do not output assert messages
when loading them to avoid user concusion and masking of error
messages.
* regression/rt.sh: simplified due to above change.
2007-09-13 Roy Rankin <rrankin@ihug.com.au>
* src/hexutils.cc src/hexutils.h: read/write Intel hex files from/to
register arrays. File format not dependant on endian of processor.
* src/i2c-ee.h src/i2c-ee.cc src/eeprom.cc src/eeprom.h: EEPROM given
register size.
* modules/i2c-eeprom.h modules/i2c-eeprom.cc: .eeprom symbol added so
dump/load can converse with module
* cli/cmd_load.h cli/cmd_load.cc cli/cmd_dump.h cli/cmd_dump.cc
cli/parse.yy: add EEPROM dump/load commands.
* doc/gpsim.lyx: spelling corrections, document new load and dump
commands, improve EEPROM documentation.
* regression/i2c/p16f876a.asm: Add tests for EEPROM dump/load.
2007-09-02 Borut Razem <borut.razem@siol.net>
* plat/win32/libgpsim.def: MSVC sync
* src/attributes.cc, src/gpsim_time.cc, src/gpsim_time.h:
create stop_watch object dynamically to overcome the static object
creation sequence dependency on the C++ compiler implementation
* src/16bit-instructions.cc, src/pic-instructions.cc,
src/pic-instructions.h, src/pic-instructions.h,
src/processor.cc, src/processor.h, src/dspic/sdpic-instructions.cc:
each processor owns its own 'bad_instruction' object
* src/symbol.cc, src/symbol.h: code cleaning
* doc/snap_header.html: corrected ChangeLog link
2007-08-28 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_breadboard.cc: module settings fix for new symbol table
* gli/cmd_dump.cc: fix detection of invalid registers in register dump
2007-08-26 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_symbols.cc: fix memory leak, re-enable filtering
* gui/gui_breadboard.h gui/gui_breadboard.cc: breadboard need not be
+ running on start of gpsim to work
* regression/resistor/resistor.asm: position resistors
2007-08-21 Roy Rankin <rrankin@ihug.com.au>
* modules/usart.cc modules/switch.cc modules/paraface.cc
* modules/led.cc modules/i2c-eeprom.h modules/video.cc
* modules/resistor.cc modules/push_button.h modules/stimuli.cc
* modules/logic.cc modules/logic.h modules/i2c-eeprom.cc
* modules/paraface.h modules/led.h modules/video.h
* modules/push_button.cc modules/resistor.h modules/encoder.cc
* modules/encoder.h modules/stimuli.h gui/gui_breadboard.h
* gui/gui_breadboard.cc: fix extra xpos, ypos in symbol table,
+ fix issues in deleting modules including core dumps
2007-08-09 Roy Rankin <rrankin@ihug.com.au>
* src/p12x.cc: Fix eeprom regression introduced by last change
2007-07-29 Scott Dattalo <scott@dattalo.com>
* cli/cmd_break.cc: Fixed bug in expression parsing of assertions.
* cli/parse.yy, src/value.h, src/value.cc: playing with a 'call' command.
* src/symbol.cc: Symbol type is now shown in a symbol dump.
* src/stimuli.cc, src/stimuli.h: Added 'analog sinks'. These are
like digital sinks except they have the added capability of
directing a signal to more than one object.
* src/pic-processor.cc, src/pic-processor.h: Added the 10F202 and 10F204
* src/tmr0.cc: Fixed bug in computing current TMR0 value.
* src/12bit-processors.cc:
- option register wasn't accessible from command line
- Config word wasn't handled properly.
* src/p12x.cc, src/p12x.h
- Added P12bitBase, this made it somewhat easier to add the 10F
series.
- Added the 10F200, 10F202, 10F204 and 10F206 (only '204 was
tested)
- Added comparator support for the 10F204 and 10F206
* regression/comparator/compar_10f204.asm,
regression/comparator/10f204.lkr,
regression/comparator/Makefile, regression/run_regression.sh:
- Added a regression test for the 10F204.
2007-07-22 Rob Pearce <rob@bdt-home.demon.co.uk>
* modules/usart.cc modules/usart.h doc/gpsim.lyx:
Added a "hex" attribute to the usart module to force the display to
show all bytes as hex, for use with pure binary data simulations.
2007-07-15 Roy Rankin <rrankin@ihug.com.au>
* src/pic-processor.cc src/pic-processor.h src/p16f8x.h src/p16f8x.cc
regression/ccp/16f819.lkr regression/ccp/ccp_819.asm
regression/ccp/Makefile regression/a2d/16f819.lkr
regression/a2d/p16f819.asm regression/a2d/Makefile
regression/run_regression.sh regression/Makefile.am
regression/i2c/16f819.lkr regression/i2c/Makefile
regression/i2c/p16f819.asm:
- Add P16f818 and P16f819 processors
2007-07-10 Roy Rankin <rrankin@ihug.com.au>
* src/a2dconverter.cc: add comments for setup functions
2007-04-14 Borut Razem <borut.razem@siol.net>
* plat/win32/libgpsim.def, plat/win32/Install.vcproj: MSVC sync
* cli/cmd_module.cc, gui/gui_stack.c, src/modules.cc, src/modules.h,
src/packages.cc, src/registers.cc, src/sim_context.cc,
src/symbol.cc, src/symbol.h: fixes to make gpsim compile on MSVC, but
it still doesn't run due to object construction / destruction
sequence problems...
2007-03-27 Scott Dattalo <scott@dattalo.com>
* cli/cmd_break.cc, src/gpsim_object.h, src/breakpoints.h,
src/registers.cc, src/registers.h, src/breakpoints.cc,
gui/gui_regwin.cc
- Added break on register change feature. From the command line:
gpsim> break ch myvar
This sets a breakpoint on the register 'myvar' and will halt
execution whenever a write to this register changes the contents
of myvar.
- Added another menu item to the register window menu to support
the break on change breakpoint.
2007-03-25 Martin Habets <errandir_news@mph.eclipse.co.uk>
* src/p18x.cc:
- Added I2C support to pic18f2455.
- Fixed pin 18 on the pic18f2455.
2007-03-20 Martin Habets <errandir_news@mph.eclipse.co.uk>
* src/16bit-instructions.cc, src/p18x.cc, src/p18x.h,
src/pic-instructions.cc, src/pic-processor.cc, pic-processor.h:
Added support for the p18f2455.
2007-03-20 Scott Dattalo <scott@dattalo.com>
* src/16bit-processors.cc, src/intcon.cc, src/pic-ioports.h,
src/intcon.h, src/pic-ioports.cc, src/14bit-processors.cc:
- PortB now writes intcon bits via a ptr to an intcon
register. Previously, PortB obtained the intcon pointer from the
Processor class
2007-03-15 Borut Razem <borut.razem@siol.net>
* src/symbol.h: added #include "exports.h" to make it compile on WIN32
* plat/win32/gpsim.nsi: added extras\graphic_lcd\examples\sed1520\*
and extras\graphic_lcd\examples\ssd0323\* to the package
2007-03-14 Scott Dattalo <scott@dattalo.com>
* src/dspic/dspic-registers.cc: There was no implementation
defined for the Status register constructor.
2007-03-14 Scott Dattalo <scott@dattalo.com>
* src/16bit-processors.cc, src/intcon.cc, src/pic-ioports.h,
src/intcon.h, src/pic-ioports.cc, src/registers.h,
src/16bit-processors.h:
- Added the concept of a 'bit sink' to the SFR registers. This
allows arbitrary clients to associate themselves with arbitrary
bits in an SFR. More work needs to be done, but this is used at
the moment to control port B pull up resistors on the 16-bit core.
2007-03-07 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc, src/trace.cc:
Moved the ResetTraceObject from pic-processor.cc to trace.cc
(yesterday's comment on this was not completely true!)
* src/stimuli.cc: Resolved an ambiguity with pullup resistors on
I/O pins.
2007-03-06 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc, src/trace.cc, src/trace.h:
Moved the ResetTraceObject from pic-processor.cc to trace.cc
* src/value.cc: Value objects now remove themselves from the
symbol table when they're destructed.
* src/symbol.cc, src/stimuli.cc, src/packages.cc, src/modules.cc,
src/cod.cc, src/breakpoints.cc, src/attributes.cc,
modules/stimuli.cc, modules/stimuli.h, gui/gui_breadboard.cc,
cli/cmd_attach.cc:
- printf debug clean up.
2007-03-05 Scott Dattalo <scott@dattalo.com>
* src/ssp.cc: Removed some printf debug code.
2007-02-25 Scott Dattalo <scott@dattalo.com>
* src/modules.h, src/symbol.cc, src/modules.cc, cli/cmd_module.cc:
The 'module' and 'module list' commands work again.
2007-02-25 Scott Dattalo <scott@dattalo.com>
* src/16bit-processor.cc: Bug in config memory construction was
causing segv. Also, added more descriptions to the 16bit processor
config words.
2007-02-22 Scott Dattalo <scott@dattalo.com>
* gpsim/main.cc, regression/instructions_14bit/branching.asm,
src/p16x6x.h, src/pic-instructions.h, src/ioports.h,
src/comparator.h, src/p16x6x.cc, src/p16f87x.cc, src/p16f87x.h,
src/16bit-processors.cc, src/14bit-tmrs.h,
src/pic-instructions.cc, src/dspic/dspic-registers.cc,
src/processor.h, src/stimuli.cc, src/eeprom.cc,
src/pic-processor.cc, src/pir.cc, src/registers.cc, src/uart.cc,
src/p16f62x.cc, src/uart.h, src/p16x7x.h, src/tmr0.cc, src/pir.h,
src/ssp.cc, src/tmr0.h, src/ioports.cc, src/psp.cc,
src/14bit-tmrs.cc, src/comparator.cc, src/p16x7x.cc,
src/12bit-processors.cc, src/p12x.cc, src/pic-processor.h,
src/sim_context.cc, src/p16f8x.h, src/value.cc, src/processor.cc,
src/eeprom.h, src/p16f8x.cc, src/pic-ioports.cc, src/registers.h,
src/pic-registers.cc, src/breakpoints.cc, src/14bit-processors.cc,
src/stimuli.h, gui/gui_scope.cc:
- Memory leak fixes.
- The 12C50x and the 16f62x devices leak no memory.
2007-02-18 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc, src/modules.cc, src/modules.h: The Module
libraries are now implemented as STL maps.
* src/symbol.h, src/symbol.cc: The symbol table now supports a
'deleteSymbol' method. This method removes a symbol from the
symbol table and frees up the memory belonging to it.
* gpsim/main.cc, regression/logic_test/logic_test.asm,
src/16bit-registers.h, src/init.cc, src/trigger.cc, src/expr.cc,
src/p16x6x.cc, src/p16x8x.cc, src/packages.h, src/breakpoints.h,
src/16bit-processors.cc, src/14bit-registers.h, src/gpsim_time.h,
src/pic-instructions.cc, src/dspic/dspic-registers.cc,
src/p16f62x.h, src/processor.h, src/stimuli.cc, src/eeprom.cc,
src/pic-processor.cc, src/registers.cc, src/p16f62x.cc,
src/gpsim_time.cc, src/packages.cc, src/attributes.h,
src/sim_context.h, src/icd.cc, src/12bit-processors.cc,
src/p12x.cc, src/pic-processor.h, src/sim_context.cc,
src/value.cc, src/processor.cc, src/14bit-registers.cc,
src/16bit-registers.cc, src/p16f8x.cc, src/registers.h,
src/pic-registers.cc, src/breakpoints.cc, src/14bit-processors.cc,
src/attributes.cc, src/16bit-processors.h, cli/parse.yy,
cli/cmd_break.cc, cli/cmd_module.cc, cli/input.cc:
- Memory leak fixes.
2007-02-12 Scott Dattalo <scott@dattalo.com>
* src/symbol.cc: Deleted #if 0'd code.(the old symbol
table implementation)
2007-02-11 Scott Dattalo <scott@dattalo.com>
* gpsim/main.cc, gpsim/Makefile.am,
regression/register_stim/register_stim.stc,
regression/logic_test/logic_test.asm,
regression/p18f452_ports/18f452.lkr, src/16bit-registers.h,
src/fopen-path.cc, src/trigger.cc, src/trigger.h,
src/12bit-hexdecode.cc, src/symbol.h, src/14bit-hexdecode.cc,
src/16bit-hexdecode.cc, src/p16x6x.h, src/expr.cc,
src/pic-instructions.h, src/ioports.h, src/i2c-ee.h,
src/gpsim_object.h, src/comparator.h, src/modules.h,
src/p16x6x.cc, src/p17c75x.cc, src/p16x8x.cc, src/pie.h,
src/packages.h, src/p16f87x.cc, src/breakpoints.h, src/p16f87x.h,
src/16bit-processors.cc, src/14bit-instructions.cc, src/intcon.cc,
src/14bit-registers.h, src/operator.cc, src/i2c-ee.cc,
src/symbol.cc, src/ssp.h, src/14bit-tmrs.h, src/pic-ioports.h,
src/ValueCollections.cc, src/pic-instructions.cc,
src/dspic/dspic-processors.cc, src/dspic/dspic-instructions.cc,
src/dspic/dspic-processors.h, src/dspic/dspic-registers.cc,
src/dspic/dspic-registers.h, src/p16f62x.h, src/processor.h,
src/pic-registers.h, src/stimuli.cc, src/eeprom.cc,
src/pic-processor.cc, src/pir.cc, src/intcon.h,
src/gpsim_object.cc, src/xref.h, src/registers.cc, src/uart.cc,
src/p16f62x.cc, src/uart.h, src/pie.cc, src/p16x7x.h, src/tmr0.cc,
src/12bit-instructions.h, src/Makefile.am,
src/16bit-instructions.h, src/pir.h, src/gpsim_time.cc,
src/a2dconverter.h, src/trace.h, src/pm_rd.cc, src/xref.cc,
src/ssp.cc, src/ui.cc, src/packages.cc, src/tmr0.h,
src/sim_context.h, src/icd.cc, src/ioports.cc, src/14bit-tmrs.cc,
src/comparator.cc, src/p16x5x.cc, src/p16x7x.cc, src/value.h,
src/expr.h, src/12bit-processors.cc, src/p12x.cc,
src/pic-processor.h, src/sim_context.cc, src/p16f8x.h,
src/p18x.cc, src/pm_rd.h, src/modules.cc, src/value.cc,
src/processor.cc, src/14bit-registers.cc, src/eeprom.h,
src/16bit-registers.cc, src/p12x.h, src/p16f8x.cc, src/trace.cc,
src/a2dconverter.cc, src/cod.cc, src/pic-ioports.cc,
src/registers.h, src/pic-registers.cc, src/breakpoints.cc,
src/12bit-processors.h, src/14bit-processors.cc,
src/14bit-processors.h, src/attributes.cc, src/16bit-processors.h,
src/14bit-instructions.h, src/16bit-instructions.cc,
src/stimuli.h, configure.ac,
extras/graphic_lcd/src/glcd_100X32_sed1520.cc,
extras/lcd/hd44780.cc, extras/lcd/lcd.cc, modules/usart.cc,
modules/switch.cc, modules/led.cc, modules/resistor.cc,
modules/i2c.cc, modules/stimuli.cc, modules/logic.cc,
modules/i2c-eeprom.cc, modules/ttl.cc, modules/encoder.cc,
gui/gui_src.cc, gui/gui_breadboard.h, gui/gui_symbols.cc,
gui/gui_regwin.cc, gui/gui_watch.h, gui/gui_src_asm.cc,
gui/gui_stack.cc, gui/gui_watch.cc, gui/gui_scope.cc,
gui/gui_breadboard.cc, cli/cmd_load.h, cli/scan.ll,
cli/cmd_symbol.cc, cli/socket.cc, cli/cmd_help.cc, cli/cmd_bus.cc,
cli/cmd_help.h, cli/parse.yy, cli/cmd_attach.cc, cli/cmd_attach.h,
cli/cmd_x.cc, cli/cmd_break.cc, cli/cmd_node.cc, cli/cmd_break.h,
cli/cmd_stimulus.h, cli/cmd_run.cc, cli/input.cc, cli/cmd_load.cc,
cli/cmd_log.cc, cli/cmd_stimulus.cc, cli/cmd_symbol.h:
- Rewrote the symbol table.
* src/stimulus_orb.h, src/symbol_orb.h: Removed
2007-01-27 Borut Razem <borut.razem@siol.net>
* doc/gpsimWin32, plat/win32/libgpsim.def: MSVC sync
* extras/lcd/lcd.h: synced with Scott's changes
2007-01-20 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc, src/trace.h, src/p16x5x.cc,
src/12bit-processors.cc, src/p12x.cc, src/pic-processor.h,
src/processor.cc, src/14bit-registers.cc, src/trace.cc,
src/trigger.cc, src/intcon.cc:
- Added a Trace Type for Resets and Interrupts.
- Removed some deprecated trace types (e.g. TRIS and Option).
- Single stepping uses the clock phase code.
* regression/rt.sh: Removed outdated comment.
* cli/cmd_trace.cc: added an 'info' option to the trace
command. This is for displaying information about allocated trace
types. It is used primarily for debugging.
2007-01-20 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc: Bug [1631921]. Preferences dialog box was
grabbing the gtk focus and preventing child dialog boxes from
having focus.
2007-01-17 Scott Dattalo <scott@dattalo.com>
* src/expr.cc: Bug [1638250]. ramData[] references in expressions
were evaluating to the index of the ramData and not to the ramData
contents.
2007-01-14 Scott Dattalo <scott@dattalo.com>
* cli/cmd_stopwatch.cc, cli/cmd_quit.cc, cli/scan.ll,
cli/cmd_symbol.cc, cli/cmd_shell.cc, cli/cmd_version.cc,
cli/cmd_help.cc, cli/cmd_bus.cc, cli/cmd_set.cc,
cli/cmd_frequency.cc, cli/cmd_attach.cc, cli/cmd_dump.cc,
cli/cmd_x.cc, cli/cmd_list.cc, cli/cmd_echo.cc,
cli/cmd_processor.cc, cli/cmd_disasm.cc, cli/cmd_reset.cc,
cli/cmd_break.cc, cli/cmd_node.cc, cli/cmd_module.cc,
cli/cmd_clear.cc, cli/command.cc, cli/cmd_trace.cc,
cli/cmd_icd.cc, cli/cmd_run.cc, cli/cmd_step.cc, cli/input.cc,
cli/cmd_load.cc, cli/cmd_log.cc, cli/cmd_stimulus.cc,
cli/command.h, cli/cmd_macro.cc:
- gcc-4.2 doesn't like const char * types being assigned to char *
2007-01-14 Scott Dattalo <scott@dattalo.com>
* regression/register_stim/Makefile: Regression test wasn't running.
2007-01-14 Borut Razem <borut.razem@siol.net>
* plat/win32/libgpsim.def: MSVC sync
* doc/gpsimWin32, plat/win32/gpsim.nsi: added svn Author stamp
glib-2.12.7, gtk+-2.10.7, pango-1.14.9, NSIS v2.23
2007-01-13 Scott Dattalo <scott@dattalo.com>
* regression/p16f84/p16f84.stc: removed. The configuration file is
now part of p16f84.asm
* regression/p16f84/reset.asm: added. Tests resets and sleep.
* regression/p16f509/reset.asm: cosmetic changes.
* regression/ccp/ccp_877a.asm: made some local variables global so
that I could more easily debug the clock phase changes.
* regression/txisr_test/txisr_test.asm: Now captures unexpected
resets.
* regression/instructions_14bit/Makefile: Added branching.asm
regression test
* regression/instructions_14bit/branching.asm: Added. tests
branching instructions. This was mainly created to debug the clock
phase code for interrupts interrupting 2-cycle instructions.
* regression/run_regression.sh: Added branching and reset
regression tests.
* src/14bit-instructions.cc: Cosmetic...
* src/intcon.cc: Now interrupts are signified by calling
cpu_pic->BP_set_interrupt() is called instead of
bp.set_interrupt(). The purpose is to (eventually) separate
interrupts from breakpoints.
* src/clock_phase.h, src/clock_phase.cc: Added class
'phaseCaptureInterrupt'. As its name implies, this is part of the
clock phase stuff and it's designed to handle interrupts.
* src/pic-processor.cc:
- Sleep is now handled by the clock phase code.
- Interrupts are now handled by the clock phase code.
- The run() method now only looks at the global break point
flag. (Before, the sleep and interrupt states were handled with
breakpoint flags.)
- Added an 'ActivityState' to reflect what the processor is
currently doing. This is primarily used by the 12-bit core to
determine if the processor is sleeping.
* src/14bit-registers.cc: cosmetic. Added debug code.
* src/pic-ioports.cc: Port B wakeup on change feature was not
working.
* src/pic-registers.cc: Numerous clock phase related changes. Now
interrupts are properly handled. Also, there was a nasty design
error that prevent proper handling of interrupts during the middle
of call or return statements.
2007-01-11 Borut Razem <borut.razem@siol.net>
* plat/win32/make.mingw: added -Wno-format to prevent mingw build
warnings:
warning: unknown conversion type character `I' in format
warning: int format, different type arg (arg X)
warning: `I' flag used with `%x' printf format
* acinclude.m4: check for the presence of the readline library.
This version works also in cross-compilation environment.
* plat/win32/libgpsim.def: MSVC sync
2007-01-10 Scott Dattalo <scott@dattalo.com>
* src/symbol.cc, src/symbol.h, src/stimuli.cc, src/stimuli.h:
- stimulus and node symbols can now be added to the symbol table
with the 'Clearable' flag turned off.
* src/p16x6x.cc, src/p17c75x.cc, src/p16x8x.cc, src/p16f87x.cc,
src/p16f62x.cc, src/p16x5x.cc, src/p12x.cc, src/p18x.cc,
src/modules.cc, src/p16f8x.cc:
- All processors were individually adding a module symbol to the
symbol table. Now this is done in one place down in the Module
class constructor.
- The symbol table is now no longer automatically cleared
whenever a processor is loaded. Previously, if you loaded a
module (e.g. the usart) and then load the processor, the module's
clearable symbols would be removed! There's still some work that
needs to be done here. However, to do things correctly will take
some time...
2007-01-08 Scott Dattalo <scott@dattalo.com>
* regression/make.regression:
- Added a rule to run a regression test interactively. Suppose
you have a file named 'mytest.asm'. Then the rule 'mytest.-' can
be invoke like this:
$ make mytest.-
* regression/p16f84/p16f84.asm, regression/p16f84/Makefile: Placed
the configuration script into the .asm file.
* src/p16x8x.cc, src/p16x8x.h:
- Added the MCLR pin to the '83 and the '84
* src/pic-instructions.cc
- clock phase change - the SLEEP instruction no longer sets a
breakpoint
* src/pic-processor.cc, src/pic-processor.h:
- Added an exit_sleep method.
- Removed the external reset controls added in previous commit
- Removed the WDT 'start_sleep' method. It was not being called.
* src/p12x.cc:
- Use the already existing config_modes structure to record
whether the MCLR pin is enabled or not.
* src/pic-ioports.cc:
- RBIF changes now cause the processor to exit sleep.
* src/14bit-processors.cc, src/14bit-processors.h:
- Added MCLR support for the mid range processors.
- Cleaned up config word management.
2007-01-05 Borut Razem <borut.razem@siol.net>
* plat/win32/libgpsim.def: MSVC sync
2007-01-04 Scott Dattalo <scott@dattalo.com>
* port_stim/Makefile, tmr0_16bit/Makefile, spi/Makefile,
logic_test/Makefile, make.regression, wavegen/Makefile, rt.sh,
p12c509/Makefile, ttl/Makefile, ccp/Makefile, comparator/Makefile,
txisr_test/Makefile, digital_stim/Makefile, resistor/Makefile,
breakpoints/Makefile, interrupts_14bit/Makefile,
node_test/Makefile, p16f84/Makefile, usart_test/Makefile,
analog_stim/Makefile, eeprom_wide/Makefile, switch_test/Makefile,
p18f452_ports/Makefile, macro_test/Makefile, psp/Makefile,
instructions_12bit/Makefile, a2d/Makefile,
instructions_14bit/Makefile, p12ce518/Makefile,
instructions_16bit/Makefile, run_regression.sh, i2c/Makefile,
p18f/Makefile:
- Added make clean option to 'run_regression.sh'
- Cleaned up the make rules
* p18f/startup.stc: removed
* regression/startup.stc: added
2007-01-02 Scott Dattalo <scott@dattalo.com>
* src/16bit-processors.cc, src/16bit-processors.h,
src/dspic/dspic-processors.cc, src/dspic/dspic-processors.h,
src/12bit-processors.cc, src/12bit-processors.h,
src/14bit-processors.cc, src/14bit-processors.h:
- removed 'por()' method from Processor class
* src/processor.h, src/processor.cc
- removed 'por()' method from Processor class.
- removed unused set() and get() methods
- RegisterMemoryAccess now has a reset() method.
* src/14bit-registers.h, src/14bit-registers.cc
- The Status_register now has a 'reset()' method.
* src/pic-processor.h, src/pic-processor.cc:
- Added a 'phaseIdle' to handle idle processor states. (like when
reset is being held low).
- added support for MCLRE
- ::reset() now handles MCLR resets
- WDT handles MCLR resets
* src/p12x.h, src/p12x.cc:
- Added support for MCLRE. Now, when GPIO3 is held low on the
12c50x processors, the CPU is held in reset.
* src/clock_phase.cc, src/clock_phase.h:
- Added phaseIdle class.
* src/pic-registers.cc:
- The program counter class now handles resets.
* src/16bit-instructions.cc: removed a comment.
* src/gpsim_classes.h:
- Added an 'EXIT_RESET' type to the RESET_TYPE enumeration.
- Removed 'PROCESSOR_STATES' enumeration.
* regression/p12c509/tmr0.asm:
MCLR resets are now working.
2006-12-31 Scott Dattalo <scott@dattalo.com>
* src/os_dependent.cc: Applied patch [1625380] from Jean-Etienne
Lamiaud that fixes dynamic module loading on OS X.
2006-12-27 Scott Dattalo <scott@dattalo.com>
* src/Makefile.am, modules/Makefile.am, eXdbm/Makefile.am,
cli/Makefile.am, Makefile.am:
Applied patch from Vitaly Lipatov that fixes the linking
order. patch [1621792]
2006-12-27 Scott Dattalo <scott@dattalo.com>
* src/uart.cc: applied patch from Jean-Etienne Lamiaud that
supports uart framing and overflow errors. patch [1621771]
2006-12-27 Scott Dattalo <scott@dattalo.com>
* regression/analog_stim/p18f452.asm,
regression/analog_stim/18f452.lkr,
regression/analog_stim/Makefile, regression/run_regression.sh:
- Added a regression test for analog stimuli.
* cli/cmd_stimulus.cc: the 'analog' modifier for asynchronous
stimuli was being ignored. Bug [1621698]
2006-12-23 Borut Razem <borut.razem@siol.net>
* plat/win32/libgpsim.def: MSVC sync
* modules/i2c.cc, modules/i2c.h, modules/makefile.mingw,
modules/vcproj: added i2c.cc, i2c.h to the project, removed warnings
* doc/gpsimWin32, plat/win32/gpsim.nsi : atk-1.12.3, glib-2.12.6,
gtk+-2.10.6, pango-1.14.8, NSIS v2.22
2006-12-22 Scott Dattalo <scott@dattalo.com>
* src/p16x6x.cc, src/16bit-processors.cc, src/14bit-registers.h,
src/pic-ioports.h, src/pic-instructions.cc, src/pic-registers.h,
src/pic-processor.cc, src/tmr0.cc, src/tmr0.h, src/p16x5x.cc,
src/12bit-processors.cc, src/p12x.cc, src/pic-processor.h,
src/p18x.cc, src/14bit-registers.cc, src/16bit-registers.cc,
src/pic-ioports.cc, src/pic-registers.cc, src/12bit-processors.h,
src/14bit-processors.cc, src/14bit-processors.h:
- Option register is no longer a member of the pic_processor base
class. The 12-bit and 14-bit separately declare an option
register member and dynamically construct it.
- Moved OPTION_REG from 14bit-registers to pic-registers
- TMR0 now has a pointer to the option register (as opposed to
directly referencing the option register in the cpu class).
- TMR0 for 16-bit cores was using the option register instead of
the T0CON during initialization
- The TRIS register resets to all 1's for the 12-bit and 14-bit
cores during WDT resets. However, it remains unchanged for the
16-bit cores. A flag was added to the PicTrisRegister base class
to describe what action should be taken during WDT resets
2006-12-22 Scott Dattalo <scott@dattalo.com>
* regression/12c509/tmr0.asm: (This file is going to change
names!). Testing various reset modes.
2006-12-22 Scott Dattalo <scott@dattalo.com>
* modules/stimuli.h, modules/stimuli.cc: Added an 'initial'
attribute to the pulsegen module that allows the initial pin
voltage to be specified.
2006-12-20 Scott Dattalo <scott@dattalo.com>
* cli/cmd_load.cc: Fixed missing end-of-line string continuation
2006-12-20 Scott Dattalo <scott@dattalo.com>
* gpsim/main.cc: added a -I option to the gpsim invocation. This
is identical to the '-c' option except that it will not change the
current working directory. The '-c' option automatically changes
directories to where ever the included script resides.
* src/input.cc, src/cmd_load.cc: now scripts residing in other
directories can be loaded in such a way as to not cause a
directory change. From gpsim's command line, the 'load' command
now supports a 'i' option.
2006-12-20 Scott Dattalo <scott@dattalo.com>
* src/12bit-processors.cc, src/p12x.cc, src/p12x.h:
Config word stuff was broken.
* regression/p12c509/tmr0.asm: Converted into relative mode code.
* regression/p12c509/Makefile, regression/p12c509/12c509.lkr:
Added. This is in preparation for testing SLEEP and WDT for the
12bit cores.
2006-12-19 Scott Dattalo <scott@dattalo.com>
* modules/i2c.h, modules/i2c.cc, modules/Makefile.am: Added an i2c
master module. Currently can only be driven with attributes.
2006-12-18 Scott Dattalo <scott@dattalo.com>
* src/pic-ioports.cc, src/p16f8x.cc, src/ioports.cc,
src/pic-ioports.h:
2006-12-14 Scott Dattalo <scott@dattalo.com>
* src/trace.cc: command line tracing now 1) only display the last
instruction traced after a step (instead of the last 2
instructions) and 2) the source line for the instruction.
2006-12-14 Scott Dattalo <scott@dattalo.com>
* src/ioports.h, src/ioports.cc: Added an 'updatePins()' method to
the PortModule class. This provides a way of updating just a
subset of the port pins.
2006-12-01 Borut Razem <borut.razem@siol.net>
* modules/stimuli.cc: access trace object indirectly by using
get_trace()
* plat/win32/libgpsim.def: MSVC sync
2006-11-27 Scott Dattalo <scott@dattalo.com>
* src/pic-ioports.h, src/ioports.cc, src/pic-ioports.cc:
- Improved class member initialization. Specifically, the pin enable
mask was not getting set properly.
* modules/gpsim_modules.cc, modules/stimuli.cc, modules/stimuli.h:
- Added 16-bit and 32-bit versions of the parallel port stimulus
- Added a 'pullup' register to the port stimulus.
- Changed the parallel port stimulus I/O pins to IO_bi_directional_pu
* regression/port_stim/port_stim.asm
- The parallel port stimulus regression test now tests the
module's pullup resistors.
2006-11-22 Scott Dattalo <scott@dattalo.com>
* src/interface.cc: start_simulation() is now incorporating
functionality previously implemented in Processor::run().
* gui/gui_src.cc, gui/gui_src_asm.cc, gui/gui_menu.cc: The gui now
starts a simulation by calling gpsim_interface::start_simulation()
instead of active_cpu->run()
* src/pic-processor.cc, src/clock_phase.cc, src/clock_phase.h,
src/pic-registers.cc: The ClockPhase::setNextPhase() method is no
longer virtual.
2006-11-21 Scott Dattalo <scott@dattalo.com>
* regression/TODO: Added.
2006-11-21 Scott Dattalo <scott@dattalo.com>
* src/ValueCollections.h, src/ValueCollections.cc: Added a new
constructor for IIndexedCollection objects that allow for named
Value object collections.
2006-11-20 Scott Dattalo <scott@dattalo.com>
* src/ValueCollections.h: SetAt method in the IndexedCollection
template was using a '<=' where a '>=' should have been used
instead.
2006-11-19 Scott Dattalo <scott@dattalo.com>
* src/clock_phase.cc, src/clock_phase.h, src/16bit-processors.cc,
src/pic-processor.cc, src/processor.cc, src/pic-registers.cc:
- Added support for interrupt phases in the new external clock
feature. More work is still needed and still,
//#define CLOCK_EXPERIMENTS
Is commented out. - So this new code is inhibited by default.
2006-11-17 Borut Razem <borut.razem@siol.net>
* src/makefile.mingw, src/src.vcproj: MSVC sync
2006-11-17 Scott Dattalo <scott@dattalo.com>
* src/clock_phase.h, src/clock_phase.cc: Added. Defines the
ClockPhase class, which is a base class for supporting external
processor clocks. Note, this could is currently experimental and
is inhibited. To enable it, uncomment the line
//#define CLOCK_EXPERIMENTS
in clock_phase.h
* src/pic-instructions.cc, src/pic-processor.cc, src/Makefile.am,
src/processor.cc, src/16bit-registers.cc, src/pic-registers.cc,
src/16bit-instructions.cc:
- Support for external processor clocks. This is partially
implemented and currently inhibited.
2006-11-16 Scott Dattalo <scott@dattalo.com>
* src/pic-instructions.cc, src/pic-instructions.h: .lst line
numbers were not getting set properly for instructions containing
assertions.
2006-11-15 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc: post assertions are now displayed as such
when they're triggered. Still need to have the breakpoint messages
to display the postAssertion modifer.
* src/value.cc: Added a diagnostic message.
2006-11-14 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy, cli/cmd_break.cc, cli/cmd_break.h,
src/gpsim_time.cc: 2006-01-02 I disabled the ability to set
attribute breakpoints. That feature.has now been re-enabled.
* regression/breakpoints/breakpoints.asm: Added a regression test
for the stopwatch attribute breakpoint
2006-11-13 Scott Dattalo <scott@dattalo.com>
* gui/gui_trace.cc, gui/gui_profile.cc, gui/gui_menu.cc,
gui/gui_scope.cc, gui/gui_stopwatch.cc, cli/socket.cc,
modules/usart.cc, src/stimuli.cc, src/eeprom.cc,
src/pic-processor.cc, src/uart.cc, src/tmr0.cc, src/gpsim_time.cc,
src/pm_rd.cc, src/ssp.cc, src/14bit-tmrs.cc, src/processor.cc,
src/14bit-registers.cc, src/16bit-registers.cc, src/trace.cc,
src/a2dconverter.cc, src/breakpoints.cc, src/interface.cc,
src/gpsim_time.h, src/i2c-ee.cc:
- The 'value' member of the Cycle_Counter class is now private.
2006-11-12 Borut Razem <borut.razem@siol.net>
* doc/gpsimWin32.html: use readline 5.1. Packages are available at
http://gpsim.sourceforge.net/gpsimWin32/packages/readline-5.2-20061112-src.zip,
http://gpsim.sourceforge.net/gpsimWin32/packages/readline-5.2-20061112-lib.zip,
http://gpsim.sourceforge.net/gpsimWin32/packages/readline-5.2-20061112-bin.zip,
cairo-1.2.6, glib-2.12.4, pango-1.14.5, NSIS v2.21
2006-11-11 Rob Pearce <rob@bdt-home.demon.co.uk>
* regression/interrupts_14bit: modified PORTB change on state test to
check for interrupts on both edges
* src/processor.cc, src/processor.h, regression/usart_test: change of
cpu frequency now propagates to other timings. Second USART test
modified to set lower CPU clock to validate this
2006-11-11 Borut Razem <borut.razem@siol.net>
* doc/gpsim.css, doc/spsimWin32.html: renamed from gpsimWin32.css
* doc/index.html, doc/snap_header.html, doc/snap_footer.html,
doc/snap.php: added
* doc/gpsim.css, doc/gpsimWin32.html, doc/gpsim.html,
doc/gpsim_svn.html: XHTML1 compatible
* makefile.mingw: claen performs also clean-extras
2006-11-10 Scott Dattalo <scott@dattalo.com>
* ANNOUNCE: Updated for 0.22.0 release. Note that Borut created an
0.22.0 SVN tag that corresponds to revision 1827.
2006-11-10 Borut Razem <borut.razem@siol.net>
* configure.ac, doc/gpsimWin32.html, extra/graphic_lcd/configure.ac,
gpsim.spec.in, gui/gui_menu.c, modules/README: corrected all url-s
from http://www.dattalo.com/gnupic/gpsim.html to
http://gpsim.sourceforge.net/gpsim.html
* regression/*.lkr, regression/*.asm, regression/Makefile,
src/p16f8x.*, src/pm_rd.*, src/psp.*: added svn properties
svn:eol-style native, svn:keywords "Author Date Id Revision"
* plat/win32/gpsim.nsi, plat/win32/makefile.mingw:
extract PRODUCT_WEB_SITE from ../../configure.ac
* doc/gpsim.html, doc/gpsim_svn.html, doc/gpsim.ico:
added favicon
* doc/gpsim.html: applied patch from David Barnett:
"I added the F73 and F74, removed the PIC17's,
fixed a typo and changed the modified date"
2006-11-09 Scott Dattalo <scott@dattalo.com>
* configure.ac, extras/graphic_lcd/configure.ac: 0.22.0 Release
2006-11-09 Scott Dattalo <scott@dattalo.com>
* doc/gpsim.lyx: Added module documentation, macro documentation,
scripting documentation, and examples documentation
2006-11-08 Scott Dattalo <scott@dattalo.com>
* doc/gpsim.lyx: Added module documentation and in particular the
USART module.
2006-11-08 Borut Razem <borut.razem@siol.net>
* extras/graphic_lcd/src/glcd_100X32_sed1520.cc,
extras/lcd/hd44780.cc, extras/lcd/hd44780.h, extras/lcd/lcd.cc,
extras/lcd/lcdgui.cc, extras/lcd/module_manager.cc:
removed compiler warnings
* doc/gpsim.html, doc/gpsim_svn.html: changed encoding to UTF-8
* plat/win32/gpsim.nsi: changed PRODUCT_WEB_SITE URL and
PRODUCT_VERSION
2006-11-08 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc: Fixed compiler warning.
2006-11-08 Borut Razem <borut.razem@siol.net>
* plat/win32/libgpsim.def: MSVC sync
* doc/gpsim_svn.html, doc/gpsim.html: doc/gpsim_cvs.html renamed to
doc/gpsim_svn.html
2006-11-08 Scott Dattalo <scott@dattalo.com>
* src/processor.cc: Fixed -p<procname> command line
option. (actually, there is still an issue with gpsim using the -p
option to find the processor, but then naming the processor
something else.)
2006-11-08 Scott Dattalo <scott@dattalo.com>
* configure.ac: 0.22.0-RC4 - release candidate 4
* doc/gpsim.html: fix broken links.
* README, INSTALL: Minor documentation changes pertaining to 0.22.0
2006-11-08 J.R. Heisey <jrheisey@sourceforge.com>
* cli/cmd_macro.cc:
- Made some of the macro command console output conditional
on the verbose variable to clean up the console output.
- Enhanced the console output of the cmd_macro::end_define().
* src/breakpoints.cc: Added call in Breakpoints::set_breakpoint()
to Processor::NotifyBreakpointSet() to help with the integration
of processors defined in their own dynamic library.
2006-11-07 Scott Dattalo <scott@dattalo.com>
* gui/gui_regwin.cc: EEPROM window abort bug fixed on 2006-11-04
had a flaw. Hopefully that's been fixed now. (The problem was that
the fix assumed if the maxrow member of the register_sheet was 0
that there were no cells in the sheet. However, in the gtksheet
widget, maxrow can be 0 if there's only 1 row!)
2006-11-07 Scott Dattalo <scott@dattalo.com>
* gui/gui_symbols.cc, gui/gui_src_asm.cc: Changed the way glib
lists were deallocated. This removes a glib compile warning.
2006-11-07 Scott Dattalo <scott@dattalo.com>
* src/16bit-registers.h, src/16bit-registers.cc, src/p16x6x.h,
src/p16x6x.cc, src/p16f87x.h, src/p16f8x.h,
src/16bit-processors.h, src/16bit-processors.cc, src/p16f62x.h,
src/p16f62x.cc, src/uart.h, src/uart.cc:
- Removed USART_MODULE14 and USART_MODULE16 classes. All they were
doing was declaring a 'cpu' pointer, but they weren't even using
it.
- All member functions of the USART_MODULE class are now non-virtual.
2006-11-06 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/stimuli.cc: Fixed the p12ce51x I2C-EE bug - it was due to a
stimulus initialisation error caused by bit rot in the node summing
function for the single stimulus connected case!
2006-11-06 David Barnett <dbarnett@edt.biz>
* modules/gpsim_modules.cc: The push_button is named as
"push_button" in push_button.h, but "pushbutton" in
gpsim_modules.cc. This had the effect that "module load
push_button was saved into the netlist file, but "module type
push_button not created" would display when loading the netlist.
2006-11-06 Scott Dattalo <scott@dattalo.com>
* doc/gpsim.html, doc/gpsim_cvs.html: Fixed links. Changed CVS
references to SVN.
2006-11-05 Scott Dattalo <scott@dattalo.com>
* src/uart.cc, src/uart.h: TXIF is now only gets set if both TXEN
and SPEN are set. The USART_MODULE class interface was redesigned
slightly to simplify accesses to the various registers associated
with the USART.
* src/p16f62x.cc, src/16bit-registers.cc, src/p16f8x.cc,
src/16bit-registers.h, src/p16x6x.cc, src/p16f87x.cc,
src/16bit-processors.cc:
- Adapted new USART_MODULE interface.
* regression/usart_test/usart_pir1v1.asm,
regression/usart_test/usart_pir1v2.asm:
- The usart regression test noew makes sure that TXIF is not set
before TXEN and SPEN are set.
2006-11-05 Scott Dattalo <scott@dattalo.com>
* src/trigger.cc, src/trace.cc, src/breakpoints.cc: Cleaned up
trace printing of traced breakpoints.
2006-11-04 Borut Razem <borut.razem@siol.net>
* plat/win32/libgpsim.def: MSVC sync
2006-11-04 Scott Dattalo <scott@dattalo.com>
* src/cod.cc, src/pic-processor.cc: Applied variation of patch
submitted by David Barnett <dbarnett@edt.biz> that prepends
processor name with a 'p' if the name begins with a digit in the
.cod file
2006-11-04 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc: Patch from Ralf that fixes coordinates of
components selected in the breadboard.
2006-11-04 Scott Dattalo <scott@dattalo.com>
* gui/gui_regwin.cc: gpsim was aborting if eeprom window was
opened while a processor without an eeprom was loaded.
David Barnett <dbarnett@edt.biz> reported this bug.
2006-11-04 Scott Dattalo <scott@dattalo.com>
* cli/input.cc: Typo in preprocessor ifdef. This was discovered
while applying a patch from the Gentoo distro. (The patch had
already independently been applied, yet the typo hadn't been
noticed until this new patch had been submitted.)
2006-11-03 Scott Dattalo <scott@dattalo.com>
* src/trace.cc, src/trace.h, src/dspic/dspic-registers.cc,
src/12bit-processors.cc, src/processor.cc,
src/14bit-processors.cc, src/14bit-registers.cc,
src/16bit-processors.cc, modules/stimuli.cc
- TraceType constructors are only initialized with size (and not
with type).
- Trace entry allocation now gets size request from TraceType
class.
* src/trigger.cc, src/breakpoints.h, src/breakpoints.cc: Trigger
action implementation for special breakpoints has been enhanced to
take advantage of multiple trace entries.
2006-11-01 Scott Dattalo <scott@dattalo.com>
* src/trigger.cc, src/trigger.h, src/breakpoints.h,
src/breakpoints.cc, src/trace.h, src/trace.cc:
- Cleaned up breakpoint tracing.
- Added TriggerObject::invokeAction() method to handle the
default behavior of invoking a trigger object action and handling
the tracing.
- Moved the BreakTraceType and BreakTraceObject classes from
breakpoints.cc to trigger.cc (probably should rename these?)
* src/pic-processor.cc: Change the default Integer type output
width to 2 characters. (At 8 characters, there were a lot of 0's.)
* src/gpsim_object.cc: toString(char*,int) now returns something.
2006-11-01 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc: Fixed core dump for breakpoint expressions
that are entered improperly.
2006-11-01 Ralph Neider <rneider@web.de>
* modules/gpsim_modules.cc: push_buttons are now ignored when
gpsim is built without the gui.
2006-11-01 Scott Dattalo <scott@dattalo.com>
* acinclude.m4: Patch from sf user iggie that fixes check for readline 5.2
2006-11-01 Borut Razem <borut.razem@siol.net>
* plat/win32/libgpsim.def: MSVC sync
2006-11-01 Roy Rankin <rrankin@ihug.com.au>
* src/pic-processor.cc: Removed p17c7xx processor family from
processor list as code does not work
2006-10-31 Scott Dattalo <scott@dattalo.com>
* src/trace.h, src/trace.cc: TraceType type() now takes an argument
that allows a user to select a particular subtype.
* src/trigger.h, src/trigger.cc, src/breakpoints.cc, src/breakpoints.h:
More breakpoint tracing changes. Execution break points are now
displayed in the raw trace buffer.
2006-10-28 Scott Dattalo <scott@dattalo.com>
* src/trace.h, src/trace.cc: Raw trace dumps were cleaned up
more. The cycle trace is now decoded in a fashion similar to other
trace types.
* src/breakpoints.cc: Began design for BreakTraceType and
BreakTraceObject.
2006-10-30 Roy Rankin <rrankin@ihug.com.au>
* src/ssp.cc : fixed improper use of type bool
* regression/p12ce518/p12ce518.asm : correct error in test
2006-10-22 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: removed doc/*.html, added doc/screenshots/*,
added extras\graphic_lcd\doc\*
* plat/win32/libgpsim.def: MSVC sync
* gui/gui.vcproj: generate config.h from config_win32.h.in
* cli/cmd_log.cc, cli.socket.cc, gui/gui_menu.cc, gui/gui_scope.cc,
gui/gui_src_asm.cc, modules/led.cc, modules/stimuli.cc,
modules/switch.cc, src/12bit-processors.cc, src/14bit-processors.cc,
src/16bit-processors.cc, src/comparator.cc, src/p16f8x.cc,
src/spp.cc: fixed warning
2006-10-28 Scott Dattalo <scott@dattalo.com>
* cli/cmd_load.cc: used a different version of the toString()
method in the load command
2006-10-28 Scott Dattalo <scott@dattalo.com>
* src/trace.h, src/trace.cc, src/12bit-processors.cc,
src/14bit-registers.cc:
- Added a CycleTraceType
- Now trace type classes do not add themselves to the current
trace frame whenever their decode() methods are called.
2006-10-25 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: Source browser page ptr is not ignored when
symbolic debugging is unavailable.
* cli/parse.yy: Assigning a non-quoted value to one of the scope
channel attributes was causing an abort.
* src/pic-instructions.h, src/14bit-instructions.cc,
src/pic-instructions.cc, src/16bit-instructions.h,
src/16bit-instructions.cc:
- Instruction class constructors now initialize all of their
data memmbers.
* doc/gpsim.html: Fixed some missing links.
2006-10-25 Steffen Joeris <Steffen.Joeris@skolelinux.de>
* modules/paraface.cc: Patch from Debian Etch release that enables
certain Free BSD builds.
2006-10-24 Scott Dattalo <scott@dattalo.com>
* src/trace.cc: Added detailed comments on TraceFrames,
TraceTypes, and TraceObjects.
2006-10-23 David Barnett <dbarnett@edt.biz>
* src/12bit-processors.cc: Fixed extra qualifier bug in the
OptionTraceType class.
2006-10-23 Scott Dattalo <scott@dattalo.com>
* AUTHORS: Added Roy to the list :)
* regression/Makefile.am: added the i2c regression tests to the
distribution
* configure.ac: RC2 - release candidate 2
* README.EXAMPLES: this was totally out of date and still needs to
be cleaned up.
* README: changed revision info, made minor changes.
2006-10-23 Scott Dattalo <scott@dattalo.com>
* src/14bit-processors.cc, src/12bit-processors.cc,
src/12bit-processors.h, src/trace.h, src/trace.cc:
The OPTION register now has its own trace object
* doc/gpsim.lyx: Minor documentation updates
* doc/gpsim.html: Placing gpsim web page under CVS control.
* doc/screenshots/breadboard.png: added
* doc/screenshots/registerview.png: added
* doc/screenshots/scope1.png: added
* doc/screenshots/scope2.png: added
* doc/screenshots/source_browser.png: added
2006-10-23 Roy Rankin <rrankin@ihug.com.au>
* src/p16x6x.h src/ioports.h src/p16x6x.cc src/p16f87x.cc
src/i2c-ee.cc src/ssp.h src/pir.cc src/pir.h src/ssp.cc
src/p18x.cc src/p16f8x.cc regression/run_regression.sh
regression/i2c/p16f876a.asm regression/i2c/16f88.lkr
regression/i2c/i2c_low.inc regression/i2c/16f876a.lkr
regression/i2c/p16f88.asm regression/i2c/Makefile
- Add I2C functionality
2006-10-22 Borut Razem <borut.razem@siol.net>
* */.cvsignore: removed CVS leftovers
* modules/stimuli.cc: trace.* replaced with get_trace().*
the getter function instead of direct object access should
be used in modules
* plat/win32/sdcc.nsi: added examples/modules/*/README to the
setup package
2006-10-19 Scott Dattalo <scott@dattalo.com>
* regression/Makefile.am: Added
* configure.ac, extras/graphic_lcd/configure.ac, Makefile.am,
examples/Makefile.am: Changed revision from 0.21.12-pre to
0.22.0-RC1.
2006-10-18 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/processor.h:
- insertRegister() and removeRegister() methods of the
RegisterMemoryAccess class now return bool.
* src/breakpoints.cc: deleted commented out code.
* modules/stimuli.cc, modules/stimuli.h: Implemented the register
mapping functionality.
* cli/parse.yy: improved the reg() operator syntax. It used to be
that only integer operands were accepted. Now, expressions are
accepted.
* regression/port_stim/18f452.lkr: added
* regression/port_stim/Makefile: added
* regression/port_stim/port_stim.stc: added
* regression/port_stim/port_stim.asm: added
* regression/run_regression.sh: Added a regression test for the
port_stimulus module.
2006-10-17 Scott Dattalo <scott@dattalo.com>
* examples/projects/stack_test/stack_test.asm,
examples/projects/stack_test/stack_test.stc,
examples/projects/stack_test/Makefile,
examples/projects/digital_stim/digital_stim.stc,
examples/projects/digital_stim/digital_stim.asm,
examples/projects/digital_stim/Makefile,
examples/projects/p16f628_test/f628.asm,
examples/projects/p16f628_test/Makefile,
examples/projects/p16f628_test/f628.stc:
- Clean up examples.
* configure.ac: Removed the 12bit, 14bit, and 16bit subdirectories
from the list of packaged directories. The example code there is old and
needs a whole lot of work to get working.
2006-10-17 Scott Dattalo <scott@dattalo.com>
* examples/modules/Makefile.am,
examples/modules/usart_test/usart_test.asm,
examples/modules/mod_test/mod_test.stc,
examples/modules/usart_test/Makefile:
- updated examples
* examples/modules/led_test/README: added
* examples/modules/led_test/Makefile: added
* examples/modules/logic_test/README: added
* examples/modules/usart_test/README: added
* examples/modules/mod_test/README: added
* examples/modules/usart_test/usart.asm: removed
2006-10-17 Scott Dattalo <scott@dattalo.com>
* src/ssp.cc: Fixed uninitialized class data.
2006-10-17 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.h, src/breakpoints.cc, src/processor.h,
src/processor.cc, src/registers.cc, src/registers.h:
Moved the register breakpoint clearing and setting functionality
from the register breakpoint classes to the
RegisterMemoryAccess. The purpose of this is to allow other types
of register objects (besides break points) to replace registers.
* modules/gpsim_modules.cc, modules/stimuli.cc, modules/stimuli.h:
Added the parallel port stimulus. This stimulus is identical to a
PIC port register in that it has a PORT, TRIS, and LATCH
register. Users can control the state of the parallel port
stimulus in one of two ways. First, there are user accessible
attributes (eg port.latch can be assigned a value). Second, (and
this is not completed yet) the user can embed the parallel
stimulus into the register memory map. This allows the parallel
stimulus to be accessed programmatically (that is from within the
PIC assembly code). This allows an assembly program to directly
control the simulation environment.
2006-10-17 Scott Dattalo <scott@dattalo.com>
* src/trace.cc, src/trace.h: Changed an empty trace entry from 0
to 0x3fffffff. This provides away to differentiate between an
empty trace entry and an uninitialized trace type.
2006-10-17 Scott Dattalo <scott@dattalo.com>
* src/pic-ioports.h, src/pic-ioports.cc, src/16bit-processors.cc,
src/16bit-processors.h: Moved the PicLatchRegister class from the
16bit-processor definitions to the pic-ioport definitions.
2006-10-16 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: Renamed the popup menu item function 'Run
here' to 'Run to here'.
2006-10-15 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: The popup menu item function 'Move PC here'
was not updating the program counter.
2006-10-15 Scott Dattalo <scott@dattalo.com>
* src/trace.h, src/trace.cc:
- Added classes for tracing module events.
- Fixed a couple of bugs with invalid trace objects being
created. Also, invalid trace entries were causing the trace dump
to be aborted.
* src/16bit-instructions.cc: Removed commented out code
* src/dspic/dspic-processors.cc, src/processor.h,
src/pic-processor.cc, src/registers.cc, src/ioports.cc,
src/processor.cc, src/14bit-registers.cc, src/registers.h:
The interface to the trace buffer changed slightly. Also,
registers were improperly allocating trace objects.
* doc/gpsim.lyx: Added some more documentation.
2006-10-08 Scott Dattalo <scott@dattalo.com>
* modules/switch.cc, modules/switch.h: separated out the gui
specific portions of the switch into another class.
2006-10-04 Scott Dattalo <scott@dattalo.com>
* modules/switch.cc: Switch resistance has successfully been reintroduced
* regression/switch_test/switch_test.asm: Added a test to test the
switch resistance. Note, there are no assertions set on the test
because currently there is no way to query the node voltage
directly.
2006-10-02 Borut Razem <borut.razem@siol.net>
* gpsim.sln, cli/input.cc, cli/cli.vcproj, cli/makefile.mingw,
gpsim/gpsim.vcproj, gpsim/makefile.mingw, plat/win32/gpsim.nsi:
use readline 5.1. Packages are available at
http://gpsim.sourceforge.net/gpsimWin32/packages/readline-5.1-20061001-src.zip,
http://gpsim.sourceforge.net/gpsimWin32/packages/readline-5.1-20061001-lib.zip,
http://gpsim.sourceforge.net/gpsimWin32/packages/readline-5.1-20061001-bin.zip
* doc/gpsimwin32.html: readline 5.1
2006-09-29 Scott Dattalo <scott@dattalo.com>
* modules/switch.cc, modules/switch.h: Trying to reintroduce
switch on resistance.
* modules/gpsim_modules.cc, modules/resistor.cc,
modules/resistor.h: minor clean ups
* regression/switch_test/switch_test.asm: Additional
comments. Tried to add a test to test switch on resistance...
2006-09-25 Borut Razem <borut.razem@siol.net>
* src/sdc.vcproj, src/makefile.mingw: added pm_rd.* to the project
2006-09-21 Dave Barnett <dbarnett@edt.biz>
* src/pm_rd.cc, src/pm_rd.h: Support for midrange device's program
memory read feature.
* p16x7x.cc, src/p16x7x.h, src/pic-processor.cc,
src/pic-processor.h, src/Makefile.am:
Added support for the P16F73 and P16F74
* src/ssp.cc: Fixed typo in printf statement
2006-09-19 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc, src/p16f62x.cc, src/p16f62x.h: Added the
p16f624 and the p16f624a
2006-09-19 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc, regression/p16f628/p16f628.asm: Added the
p16f627a and p16f628a processors. Note that these are identical to
the non-A versions.
2006-09-10 J.R. Heisey <jrheisey@sourceforge.com>
* src/ValueCollections.h: Added indexing operator to class
IIndexedCollection.
* src/sim_context.cc,h: Added function CSimulationContext::
GetCycleCounter().
* src/modules.cc,h : Added functions to class ModuleLibrary:
GetLibraryFileHandle() and GetLibraryFunction().
* gui/gui_src_asm.cc, gui/gui_src.h:
- Rescoped several functions into classes to help me keep track
of their context. Especially the callbacks.
- Implemented the popup menu items: Settings, Find PC, Move PC here,
Run here, Breakpoint here, Profile start here, Profile stop here,
and most importantly Add to Watch.
- Note that the Font selection dialog doesn't seems to actually
change the font. It appears to be the same with the old
GUI. I haven't checked into it.
- Changed the font selection dialog and the settings dialog
to use the gtk_dialog_run() function. This fixed an issue
when the close (upper right X) button was used the underlying
window would be deallocated. This caused the window to never
appear again requiring restarting gpsim.
2006-09-03 Scott Dattalo <scott@dattalo.com>
* gui/gui_scope.cc, gui/gui_scope.h: Signal name editing now works.
Screen updates for signal names have been fixed.
2006-09-03 Borut Razem <borut.razem@siol.net>
* doc/gpsimWin32: glib-2.12.1, gtk+-2.8.20, cairo-1.2.2
2006-08-27 Scott Dattalo <scott@dattalo.com>
* gui/gui_scope.cc, gui/gui_scope.h:
- Time axis is now shown. Major and Minor tick marks and the
corresponding grid lines are drawn.
2006-08-21 Scott Dattalo <scott@dattalo.com>
* gui/gui.h: KeyEvent now differentiates presses and releases.
* gui/gui_src.cc: Update KeyEvent objects.
* gui/gui_scope.cc, gui/gui_scope.h: Numerous enhancements:
- Added support for markers
- Wave pixmaps are now 1024 pixels wide. This primarily fixes a
round off error in the binary search routine
- Scroll thumb now adjust size based on amount of waveform
plotted
- Hot key functionality:
z -- Zoom in
Z -- Zoom out
r -- pan right
l -- (lowercase ell) pan left
- Glitches are now plotted
- High frequency events (i.e. events for which there is
inadequate monitor resolution to completely show) are plotted in
a different color.
- Reomved the Pane widget - it was holding the waveforms and
just eating up space.
- Added WaveBase in anticipation of different types of
waveforms.
* src/bitlog.h, src/bitlog.cc: The ThreeStateLogger can now return
the number of events occurring between two time intervals or
between two event indices. (Used for high frequency measuring).
2006-08-08 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc: Now scope window is updated when simulation
stops.
* gui/gui_src_asm.cc: Refresh gui menu when src window changes
hidden state.
* gui/gui_scope.cc: Redesigned scope window layout. Adding
scrolling.
2006-08-06 Roy Rankin <rrankin@ihug.com.au>
* regression/spi regression/spi/p16c62.asm regression/spi/16f88.lkr
regression/spi/p18f242.asm regression/spi/16c62.lkr
regression/spi/p16f88.asm regression/spi/Makefile
regression/spi/18f242.lkr regression/run_regression.sh
src/16bit-registers.h src/p16x6x.h src/p16x6x.cc
src/p16f87x.cc src/16bit-processors.cc src/ssp.h src/14bit-tmrs.h
src/ssp.cc src/ioports.cc src/14bit-tmrs.cc src/p18x.cc
src/16bit-registers.cc src/p16f8x.cc src/16bit-processors.h:
- Serial Peripheral Interface (SPI)
2006-07-31 Scott Dattalo <scott@dattalo.com>
* src/pic-ioports.cc: RBIF was not handled correctly when the
change on interrupt was due to a write to PORTB.
* regression/interrupts_14bit.asm: Add a check for the RBIF flag
getting set correctly.
* arc/p16x8x.cc: W was not getting added to the symbol table.
2006-07-30 Scott Dattalo <scott@dattalo.com>
* cli/cmd_log.cc: Cleaned up help description.
2006-07-30 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy, cli/cmd_log.h, cli/cmd_break.cc, cli/cmd_break.h,
cli/cmd_log.cc, src/gpsim_object.cc, src/value.h, src/value.cc,
src/expr.h, src/expr.cc, src/trace.h, src/trace.cc,
src/registers.h, src/breakpoints.h, src/breakpoints.cc,
src/symbol.h, src/gpsim_object.h, src/operator.cc, src/operator.h,
src/symbol.cc:
- Fixed logging. The logging feature has been broken for a long
time. The old code that performed logging has been mostly
removed. The new logging code is similar to the breakpoint
code. It utilizes TriggerActions.to perform the logging
operations.
- (The profiling feature is currently broken too. However, it
should be possible to utilize TriggerActions for profiling).
2006-07-30 Scott Dattalo <scott@dattalo.com>
* gui/gui_scope.cc, gui/gui_scope.h: development snap - still not
complete
2006-07-29 Borut Razem <borut.razem@siol.net>
* cli/cli.vcproj, gpsim/gpsim.vcproj, gui/gui.vcproj,
modules/modules.vcproj: added cairo dependency, clening
* plat/win32/libgpsim.def: MSVC sync
* src/i2c-ee.c, modules/i2c-eeprom.c: removed compiler warnings
2006-07-26 Roy Rankin <rrankin@ihug.com.au>
* src/i2c-ee.h src/i2c-ee.cc modules/i2c-eeprom.cc
modules/i2c-eeprom.h modules/gpsim_modules.cc:
- Added I2C EEprom modules for 24xx024, 24xx16b, 24xx256
2006-07-24 Borut Razem <borut.razem@siol.net>
* cli/makefile.mingw, cli/cli.vcproj: define HAVE_SOCKETS -
sockets are enabled on WIN32
* plat/win32/libgpsim.def, src/src.vcproj: MSVC sync
* doc/gpsimWin32: glib-2.10.3, gtk+-2.8.18, pango-1.12.3
2006-07-23 Scott Dattalo <scott@dattalo.com>
* cli/socket.cc: Re-enabled the socket interface.
* examples/scripts/makefile: Hmm, for some reason pango is now
required to build the examples.
2006-07-22 Rob Pearce <rob@bdt-home.demon.co.uk>
* src/Makefile.am
Added a2dconverter.h to the headers list, so that it's included
in the tarball built by make dist
2006-07-14 Roy Rankin <rrankin@ihug.com.au>
* src/p18x.h src/p18x.cc src/pic-instructions.cc
src/pic-processor.cc src/pic-processor.h:
- P18F248 now based on P18F242, P18F448 added based on P18F424
* src/p16x6x.cc: remove debug output
2006-07-12 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy, cli/input.cc: Previously, the parser would abort
parsing upon detection of syntax errors. Now the parser will only
ignore the erroneous lines. The difference mainly applies to scripts.
2006-07-11 Scott Dattalo <scott@dattalo.com>
* gui/gui_scope.h, gui/gui_scope.cc: Added scope.zoom and
scope.pan attributes that allow the image in the scope window to
be panned and zoomed.
* src/makefile.mingw: added the new psp.cc file.
2006-07-11 Roy Rankin <rrankin@ihug.com.au>
* src/p16x6x.h src/p18x.h src/p16x6x.cc src/pic-ioports.h
src/Makefile.am src/psp.cc src/p18x.cc src/psp.h src/pic-ioports.cc
regression/psp/18f452.lkr regression/psp/16f871.lkr
regression/psp/p18f452.asm regression/psp/p16f871.asm
regression/psp/Makefile regression/run_regression.sh:
- Add PSP functionality to 40 pin processors based on P16C64 & P18C4x2
2006-07-08 Scott Dattalo <scott@dattalo.com>
* makefile.mingw, plat/win32/make.mingw: Created a 'make depend'
rule for the win32 makefiles. Here's how it works; first create
the dependency file:
$ make -f makefile.mingw depend
This will create a file named 'mf' in each directory. Now gpsim
can be built by:
$ make -f mf
(Note: There is a bug with make depend in the modules directory).
2006-07-08 Scott Dattalo <scott@dattalo.com>
* gui/gui_scope.cc, gui/gui_scope.h, gui/gui.h, gui/gui_src.cc:
- Moved the KeyEvent class definition to gui.h.
- Moved gui_scope local declarations to Scope_Window class.
2006-07-07 Scott Dattalo <scott@dattalo.com>
* gui/gui_scope.cc: Added a GtkEntry widget to hold scope signal
names. Now signals can be specified either through the GtkEntry or
by the command line attributes.
2006-07-06 Scott Dattalo <scott@dattalo.com>
* gui/gui_scope.cc: IOPINs can now be attached to scope
channels. The attachment can only be made at the command line:
gpsim> scope.ch0="porta0"
Everytime the state of porta0 is changed, the event will also be
sent to the scope window where it will get logged and
displayed. (Note, the quotes are necessary to prevent gpsim from
evaluating the pin name.)
* regression/logic_test/logic_test.asm: The logic OR gates
connected to porta0,porta1,porta2,portc0 are now displayed in the
scope window.
2006-07-05 Scott Dattalo <scott@dattalo.com>
* src/stimuli.h, src/stimuli.cc: Added a virtual destructor to the
PinMonitor class.
* src/16bit-processors.h, src/16bit-processors.cc,
src/pic-ioports.cc, src/processor.cc, src/gpsim_object.cc: minor
changes to remove compiler warnings.
* gpsim/CopyDlls.bat: This bat file copies the DLLs for the win32
builds to the gpsim/gpsim. A few more DLLs were added to the list.
2006-07-05 Scott Dattalo <scott@dattalo.com>
* plat/win32/make.mingw: Added an option to use ccache for mingw
builds. Unfortunately, for this to work well the makefile
dependencies also need to be implemented correctly.
2006-07-04 Roy Rankin <rrankin@ihug.com.au>
* src/p16x6x.h src/p16x6x.cc src/p16f87x.cc src/p16f87x.h
src/pir.cc src/pir.h src/comparator.h src/a2dconverter.h
src/comparator.cc regression/comparator/compar_877a.asm:
- Fixes involving PIR_SET
2006-07-03 Borut Razem <borut.razem@siol.net>
* cli/cli.vcproj, src/src.vcproj, src/makefile.mingw,
plat/uxtime.cc, plat/uxsleep.cc, plat/uxtime.h: uxtime.cc splitted
to uxtime.cc and uxsleep.cc, since gettimeofday() is now declared
in mingw
2006-07-01 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc, gui/gui_scope.cc, gui/gui_processor.cc,
gui/gui_main.cc:
- resurrected the scope window.
- ThreeStateEventLogger logs traced states.
- Implemented an efficient bisecting algorithm for mapping
events states onto the plotting window.
- Created attributes:
scope.ch0 - scope.ch7 specify nodes that are to be monitored
scope.start and scope.stop specify the range of time to be
viewed.
Currently, the scope window cannot display real data. Instead,
it will synthesize test data. The scope.start and scope.stop
attributes do work.
* src/ioports.h, src/stimuli.h, src/stimuli.cc, src/ioports.cc:
- Moved the SignalSink class to stimuli.h
- Introduced addSink and removeSink methods to the PinMonitor
class.
- Removed references to 'OLD_IOPORT_DESIGN'
* src/bitlog.cc, src/bitlog.h: The ThreeStateEventLogger class now
has a flag to indicate when the event buffer is
empty. Previously, a "bogus" time was placed at position 0,
however this broke the logic that searches for events at
particular times.
* src/symbol.cc: Added a debug message.
2006-07-01 Scott Dattalo <scott@dattalo.com>
* cli/Makefile.am: Applied patch 1470810 which adds the readline
library to list of libraries linked with the cli library.
2006-06-22 Borut Razem <borut.razem@siol.net>
* extras/usart_con/*: removed from svn
* makefile.mingw, plat/win32/gpsim.nsi: removed usart_con
* modules/usart.cc, modules/usart.cc: added possibility to write to
the console using the boolean attribute "console = true | false"
* examples/modules/usart_gui/usart_gui.asm: send only '\n' for the
newline, introduced putchar procedure, ...
2006-06-21 Roy Rankin <rrankin@ihug.com.au>
* regression/usart_test/usart_pir1v1.asm,
regression/usart_test/usart_pir1v2.asm:
- Check PIC TX pin is high when first set to output.
* src/pic-ioports.cc: Portb, allow driving state to be set
even when bit is set.
* src/tmr0.cc: Fix call of clear_break.
2006-06-16 Scott Dattalo <scott@dattalo.com>
* src/14bit-tmrs.h, src/14bit-tmrs.cc: TMR2 wasn't getting
properly initialized when the TMR2ON bit in T2CON was getting set.
* TODO: Removed the "Source Browser Search" todo item
2006-06-13 Borut Razem <borut.razem@siol.net>
* CVSROOT: removed the CVS left-over
* extras/usart_con/usart_con.cc: print control characters in <%02X>
format
* gui/gui_src_asm.cc: added strcasestr() function
2006-06-16 Scott Dattalo <scott@dattalo.com>
* TODO: Cleaned up the TODO list.
* gui/gui_src_asm.cc, gui/gui_src.h: Implemented the Source
Browser "Find" dialog box. When the new source browser had been
re-written, this feature was ommitted. The dialog supports forward
and backward searches and case sensitivity. The search history
feature is not currently working (was it ever?). Also, it'd be
useful to have a "search all files" feature.
* gui/gui_menu.cc: Minor change to TextStyle API.
2006-06-13 Scott Dattalo <scott@dattalo.com>
* src/sim_context.cc, cli/input.cc, cli/cmd_load.cc: Rewrote code
to get around a gcc 3.2.2 x86 bug regarding the mis-handling of
const char * types (the ECX register was getting clobbered!).
2006-06-13 Borut Razem <borut.razem@siol.net>
* src/os_dependent.c, src/modules.h, src/modules.cc:
reverted cahanges for fix:
[ 1488107 ] const violation in get_error_message()
since dlerror() returns const char * on FreeBSD
* pic_processor.h: fixed warning
multiple default constructors specified
* plat/win32/libgpsim.def: MSVC sync
* doc/gpsimWin32.html: patched gtk+extra-2.1.1-src-20060611.zip
2006-06-12 Roy Rankin <rrankin@ihug.com.au>
* regression/usart_test/usart_pir1v1.asm
regression/usart_test/16f628.lkr
regression/usart_test/usart_pir1v2.asm
regression/usart_test/Makefile regression/run_regression.sh:
- Improve USART regression tests
* regression/usart_test/usart_test.stc
regression/usart_test/usart_test.asm: removed as redundant
* src/uart.cc src/uart.h: receive baud rate fix
* modules/usart.cc modules/usart.h: Transmit baudrate fix,
loop attribute added, receiver rewritten to remove event logger.
2006-06-10 Robert Pearce <rob@bdt-home.demon.co.uk>
* doc/gpsim.lyx: Some hacked notes on creating new modules, and a few
other tweaks
2006-06-10 Roy Rankin <rrankin@ihug.com.au>
* src/gpsim_time.h src/stimuli.cc src/gpsim_time.cc src/processor.cc
src/14bit-registers.cc: cycles_per_second changed to instruction_cps
* src/cod.cc: prevent duplicate symbol messages from static .cod file
by not loading constants
* gui/gui_stopwatch.cc: remove magic number, Frequency format change
* src/pir.cc src/pir.h: RCIF not being set by uart
* src/uart.cc modules/usart.cc: fix baud rate error
2006-06-03 Scott Dattalo <scott@dattalo.com>
* src/16bit-processors.cc: The newly added config words were
placed at word addresses instead of byte addresses.
* src/pic-instructions.cc: Removed warning in CLRWDT instruction
that said 16bit wdt timer is not implemented.
* src/hexutils.cc: removed ifdef'd out code
2006-06-03 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy, cli/input.cc, cli/input.h, cli/cmd_load.cc:
Added an option to the load command to allow processors to be
named. Eg:
gpsim> load test.cod U1 # Assign U1 ref. des. to processor
* src/processor.h, processor.cc,
src/p16x6x.h, src/p16x6x.cc,
src/p16f87x.h, src/p16f87x.cc,
src/16bit-processors.h, src/16bit-processors.cc,
src/pic-processor.h, src/pic-processor.cc,
src/p16f62x.h, src/p16f62x.cc,
src/p16x5x.h, src/p16x5x.cc,
src/p16x7x.h, src/p16x7x.cc,
src/12bit-processors.h, src/12bit-processors.cc,
src/p12x.h, src/p12x.cc,
src/p18x.h, src/p18x.cc,
src/processor.h, src/processor.cc,
src/p16x8x.h, src/p16x8x.cc,
src/p16f8x.h, src/p16f8x.cc,
src/14bit-processors.h,src/14bit-processors.cc,
src/dspic/dspic-processors.cc, src/dspic/dspic-processors.h:
Pic processors now can be named when instantiated.
* gui/gui_menu.cc: Adhere to the new calling convention for gpsim_open.
* src/hextutils.h, src/hexutils.cc, src/program_files.cc, src/program_files.h,
src/sim_context.h, src/sim_context.cc, src/cod.cc: New
calling convention for LoadProgramFile
* src/os_dependent.cc: There appeared to be a compiler bug
IsFileExtension() (a const pointer in the callee's stack space was
getting modified). But, there is a built in STL function that does
the same thing IsFileExtension() was doing, so that's now used.
* regression/ttl/ttl377.stc: added
* regression/ttl/Makefile, regression/comparator/compar_877a.stc,
regression/comparator/compar_628.stc,
regression/comparator/compar_873a.stc,
regression/p16f84/p16f84.stc,
regression/switch_test/switch_test.stc,
regression/switch_test/switch_test.asm,
2006-06-03 Roy Rankin <rrankin@ihug.com.au>
* src/stimuli.cc, src/stimuli.h: New resistor-capacitor transient
voltage calculation implemented and activated, getBitChar function
re-written.
* modules/switch.cc, modules/switch.h,
regression/switch_test/switch_test.asm:
- Switch module model changed eliminating Rclosed parameter
2006-03-02 Borut Razem <borut.razem@siol.net>
* extras/graphic_lcd/makefile.mingw, plat/win32/gpsim.nsi:
graphic_lcd.dll renamed to libgpsim_graphicLCD.dll
* extras/lcd/examples/lcd_mod.stc:
libgpsim_lcd.so changed to libgpsim_lcd
2006-05-31 Scott Dattalo <scott@dattalo.com>
* src/p16x6x.h, src/16bit-processors.cc, src/14bit-registers.h,
src/processor.h, src/pic-registers.h, src/pic-processor.cc,
src/pic-processor.h, src/p16x8x.h, src/pic-registers.cc,
src/breakpoints.cc, src/12bit-processors.h,
src/14bit-processors.cc, src/14bit-processors.h:
Accesses to CONFIG2H now can control the WDT. A couple of new
members were added to the WDT class to support the new reading and
writing. Also, some minor class clean up was also performed.
2006-05-31 Borut Razem <borut.razem@siol.net>
* Implemented enhancement request
[ 1496325 ] To bundle the extra modules with gpsim-win32 snapshot
makefile.mingw: added targets extras, clean_extras
extras/graphic_lcd/makefile.mingw, extras/lcd/makefile.mingw,
extras/usart_com/makefile.mingw: introduced GPSIM_LIB_PATH,
GPSIM_INCLUDE_PATH, GPSIM_DEF_PATH variables
plat/win32/gpsim.nsi: added potion to install extras modules
2006-05-28 Borut Razem <borut.razem@siol.net>
* src/os_dependent.c, src/modules.h, src/modules.cc,
src/sim_context.cc:
fixed [ 1488107 ] const violation in get_error_message()
2006-05-29 Robert Pearce <rob@bdt-home.demon.co.uk>
* regression/resistor/resistor.asm: improved failure reporting
and added tests for the output pin not being swamped
* src/stimuli.cc, src/stimuli.h: Adjusted default Zth values to
be more sensible (ZthWeak now > ZthPullUp). Also some debug
messages on wht looks like a dodgy condition. Need to follow up.
* doc/gpsim.lyx: corrected some formatting.
2006-05-28 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: removed unneeded asprintf.dll from
the package, added possibility to define the SETUP_DIR from
the NSIS command line
* doc/gpsimWin32.html: glib-2.8.6, gtk+-2.8.17, pango-1.12.1,
cairo-1.0.4
* extras/graphic_lcd/src/gpsim_modules.cc,
extras/graphic_lcd/src/sed1520.cc,
extras/lcd/hd44780.cc: removed unneeded inclusion of config.h
* extras/graphic_lcd/makefile.mingw: added, thanks to Xiaofan Chen
* extras/lcd/makefile.mingw: corrected, thanks to Xiaofan Chen
* makefile.mingw: added rules doc and setup
* plat/win32/fd2raw.cpp: report error messages
2006-05-28 Roy Rankin <rrankin@ihug.com.au>
* src/gpsim_object.cc: Improve GNU demangling
* modules/switch.cc, modules/switch.h,
regression/switch_test/switch_test.asm:
- Fix infinite regression bug.
2006-05-27 Scott Dattalo <scott@dattalo.com>
* src/ValueCollections.cc, src/ValueCollections.h,
src/14bit-registers.cc: An indexed collection can now accommodate
a disjoint set.
* src/16bit-processors.h, src/16bit-processors.cc,
src/dspic/dspic-processors.cc, src/dspic/dspic-processors.h,
src/processor.h, src/processor.cc, src/pic-processor.h,
src/14bit-processors.h,src/14bit-processors.cc,
src/pic-processor.cc: The ProgramMemoryClass now uses the newly
added "disjoint set" feature of an IndexedCollection to provide
access to configuration memory. E.g.
romData[0x300000] = 0x1234
will write 0x1234 to the configuration word at address 0x300000.
In addition, infrastructure has been added to symbolically deal
with configuration memory. E.g.
gpsim> .CONFIG1H
$00000027
gpsim> help .CONFIG2H
$0000000f
WatchDog configuration
Currently the configuration memory does not control any
thing. I.e., if you write to config memory, the data changes, but
the processor configuration is not actually changed.
* src/hexutils.cc: removed printf debugging.
2006-05-25 Scott Dattalo <scott@dattalo.com>
* modules/stimuli.h, modules/stimuli.cc: More support for
file stimulus.
2006-05-25 Scott Dattalo <scott@dattalo.com>
* modules/logic.h, modules/logic.cc, modules/gpsim_modules.cc:
Only use if the gui is enabled
2006-05-25 Scott Dattalo <scott@dattalo.com>
* modules/switch.h, modules/switch.cc, modules/gpsim_modules.cc:
Only use gui if enabled.
* modules/stimuli.h, modules/stimuli.cc: Began adding support for
file stimulus.
2006-05-24 Borut Razem <borut.razem@siol.net>
* modules/makefile.mingw, modules/modules.vcproj: added stimuli.*
* plat/win32/libgpsim: MSVC sync
2006-05-23 Borut Razem <borut.razem@siol.net>
* doc/gpsimWin32.html: CVS replaced with Subversion
* src/14bit-tmrs.h, src/14bit-tmrs.cc:
- PWM fixes CCP high if duty cycle 0, CCPRnH loaded on TMR2
compare, PWM starts after first TMR2 compare, PMR2::put
and PR2::put rewrite
* regression/ccp/pwm_877a.asm, regression/ccp/Makefile,
regression/run_regression.sh: PWM regression
2006-05-21 Scott Dattalo <scott@dattalo.com>
* modules/stimuli.h, modules/stimuli.cc: New files for 'extended'
stimuli. Currently only an asynchronous stimulus replacement
called 'pulsegen' has been created.
* modules/Makefile.am, modules/gpsim_modules.cc: Added pulsegen to
the default list of modules.
* regression/run_regression.sh, regression/wavegen/16f877a.lkr,
regression/wavegen/Makefile, regression/wavegen/pulsegen.asm,
regression/wavegen/pulsegen.stc: New regression test to test the
pulsegen module. (This test is really just a copy of the ccp
regression test except that the asynchronous stimulus has been
replaced with a pulsegen module).
* src/symbol.cc: Module symbol descriptions were not getting
printed
* cli/cmd_break.cc: removed bogus warning about cycle break points
not getting set.
2006-05-21 Robert Pearce <rob@bdt-home.demon.co.uk>
* src/p16f87x.h, src/p16f87x.cc: Re-worked 16F871 to be derived from
16C64 rather than 74, because that's the easiest way I could find to
fix the RAM size (it had way too much) and the stray CCP2
2006-05-19 Scott Dattalo <scott@dattalo.com>
* src/expr.h, src/expr.cc: Added LiteralArray class for (better)
handling array types.
* cli/parse.yy, cli/scan.ll: experimenting with user-created typed
symbols.
* src/processor.cc: Removed bogus check that prevented users from
over-writing the Rom contents. If the user wants to over write
ROM then they should be allow to!
2006-05-19 Roy Rankin <rrankin@ihug.com.au>
* src/14bit-tmrs.cc: TMR2 counts down not up, period wrong,
fix 2 PWM with same duty cycle
* src/p16f8x.cc: CCP1 pin determined by confguration word
* src/p16x6x.cc: fix core dump for CCP2
2006-05-17 Scott Dattalo <scott@dattalo.com>
* regression/run_regression.sh: added regression test for ccp
peripheral. This test only tests capture modes for the CMCON
settings of 4,5,6, and 7.
* regression/16f877a.lkr, regression/ccp_877a.asm,
regression/ccp_877a.stc, regression/Makefile: new files for the
ccp regression test.
2006-05-14 Borut Razem <borut.razem@siol.net>
* src/makefile.mingw, src/vcproj: added 16f87 and 16f88 processors
* modules/makefile.mingw: added i2c-eeprom
* src/p12x.cc: removed unused variable
* src/i2c-ee.cc: fixed warning:
In member function `virtual bool I2C_EE::processCommand(unsigned int)':
warning: control reaches end of non-void function;
fixed MSVCcompilation
* plat/win32/libgpsim.def: MSVC sync
2006-05-14 Scott Dattalo <scott@dattalo.com>
* src/value.h, src/value.cc, src/expr.cc: Expressions derived from
the base gpsim types (like Integer, Float) were not getting
evaluated properly.
2006-05-14 Roy Rankin <rrankin@ihug.com.au>
* regression/a2d/p16f874a.asm, regression/a2d/p16c71.asm,
regression/a2d/16f871.lkr, regression/a2d/16f874a.lkr,
regression/a2d/p18f452.asm, regression/a2d/p16f88.asm,
regression/a2d/p16f871.asm, regression/a2d/Makefile,
regression/a2d/p16f873a.asm, regression/run_regression.sh,
src/p16f87x.cc, src/p16f87x.h, src/16bit-processors.cc,
src/p16f62x.cc, src/p16x7x.cc, src/p18x.cc, src/a2dconverter.cc:
- tests and correction to a2d for various processors
2006-05-14 Roy Rankin <rrankin@ihug.com.au>
* src/16bit-registers.h, src/14bit-registers.h, src/pic-processor.cc,
src/Makefile.am, src/pic-processor.h, src/14bit-registers.cc,
src/p16f8x.h, src/p16f8x.cc,
regression/a2d/Makefile, regression/run_regression.sh,
regression/a2d/16f88.lkr, regression/a2d/p16f88.asm:
- Add 16f87 and 16f88 processors
2006-05-13 Scott Dattalo <scott@dattalo.com>
* src/a2dconvert.h: removed redundant class qualifiers in member
function declarations.
2006-05-13 Scott Dattalo <scott@dattalo.com>
* src/processor.h, src/processor.cc, gui/gui_src_opcode.cc: Added
romData[] accessor (analogous to ramData) to provide a way of
querying and modifying the program memory. So now you can change
program memory from the command line:
gpsim> romData[address] = value
Address and value can be symbols.
2006-05-12 Robert Pearce <rob@bdt-home.demon.co.uk>
* regression/run_regression.sh, regression/txisr_test/...:
Added a test for the correct behaviour of usart transmit interrupts
2006-05-11 Robert Pearce <rob@bdt-home.demon.co.uk>
* src/p16f87x.cc: A2D converter fixes for the 16f871.
2006-05-10 Scott Dattalo <scott@dattalo.com>
* src/pir.h, src/pir.cc: Applied patch (with modifications) from
Robert Pearce that adds the concept of 'writable' PIR register
bits versus 'valid' ones.
2006-05-10 Scott Dattalo <scott@dattalo.com>
* src/16bit-hexdecode.cc, src/p16x6x.h, src/i2c-ee.h,
src/p16x6x.cc, src/p16f87x.cc, src/16bit-processors.cc,
src/i2c-ee.cc, src/eeprom.cc, src/pir.cc, src/p16f62x.cc,
src/pie.cc, src/pir.h, src/p16x7x.cc, src/p18x.cc, src/value.cc,
src/eeprom.h, src/16bit-registers.cc:
- Redesigning PIR logic. The existing design requires numerous
manuel configurations that are subject to error. The new design
attempts to encapsulate the PIR configuration within the PIR
classes.
2006-05-10 Scott Dattalo <scott@dattalo.com>
* modules/i2c-eeprom.h, modules/i2c-eeprom.h, Makefile.am,
src/p12x.h, src/p12x.cc: Began designing a gpsim I2C module.
2006-05-08 Borut Razem <borut.razem@siol.net>
* extras/usart_con.cc: sync with modules/usart.cc
2006-05-08 Roy Rankin <rrankin@ihug.com.au>
* src/comparator.h, src/comparator.cc, src/p16f62x.cc:
- rewritten so comparator processor differences in processor class
* src/p16x6x.cc: portc register removed from p16f62x
* src/p16f87x.cc, src/p16f87x.h: a2d added, comparator change
* src/16bit-processors.cc, src/p16x7x.cc src/a2dconverter.h,
src/a2dconverter.cc: code change for pending p16f88
* regression/a2d/Makefile, regression/run_regression.sh,
regression/a2d/16f873a.lkr, regression/a2d/p16f873a.asm:
- add a2d regression for p16f873a
2006-05-06 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc, src/stimuli.h, cli/cmd_stimulus.cc: Stimuli
parameters are now initialized with Values instead of doubles.
2006-05-06 Scott Dattalo <scott@dattalo.com>
* modules/usart.h, modules/usart.cc:
- Added the boolean attribute 'crlf'. If this is set true, then
carriage returns and line feeds will generate new lines in the
gui terminal window.
2006-05-06 Robert Pearce <rob@bdt-home.demon.co.uk>
* modules/usart.h, modules/usart.cc:
- Usart GUI now displays non-printable characters as <%02X>.
- The usart module now supports a transmit FIFO. This allows
transmit data to be queued while the simulation is stopped.
2006-04-30 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_src.h gui/gui_src_asm.cc: fix ungisgned - signed compile
warnings
* gui/gui_breadboard.cc: get trace working again
* gui/Makefile.am: remove unused and incorrect defines
2006-04-29 Scott Dattalo <scott@dattalo.com>
* modules/switch.cc, modules/switch.h,
regression/switch_test/switch_test.asm: Moved pin functionality
from the Switch class into the Switch_Pin class.
2006-04-29 Robert Pearce <rob@bdt-home.demon.co.uk>
* src/value.cc: Fixed Float type check error.
2006-04-29 Roy Rankin <rrankin@ihug.com.au>
* src/gpsim_object.h src/gpsim_object.cc src/stimuli.cc
src/stimuli.h gui/gui_breadboard.h gui/gui_breadboard.cc:
- GUI pin rename code - rewritten and moved into IOPIN class
* src/comparator.h src/comparator.cc p16f62x.cc:
- Do dynamic GUI pin renaming
* gui/Makefile.am: remove unused and incorrect defines
* src/processor.cc: Set 4 clock cycles per instruction cycle
* regression/comparator/compar_628.asm: Start by turning off comparators
2006-04-28 Borut Razem <borut.razem@siol.net>
* modules/makefile.mingw, modules/modules.vcproj,
plat/win32/libgpsim.def, extras/lcd/makefile.mingw,
plat/win32/gpsim.nsi: WIN32 sync
2006-04-26 Scott Dattalo <scott@dattalo.com>
* modules/switch.cc, modules/switch.h, modules/gpsim_modules.cc:
- Added On-resistance and Off-resistance attributes to the switch
module. (They're called Ropen and Rclosed).
- The switch module code now resides in the 'Switches' namespace.
* modules/resistor.cc:
- The resistor module now initializes itself with the gpsim
default attributes (which for now are only xpos and ypos).
* regression/switch_test/switch_test.asm,
regression/switch_test/switch_test.stc:
Moved the switch regression test configuration script into the
switch_test.asm source
2006-04-24 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc, src/ioports.h: Fully deprecated the IOPORT
class. The old IOPORT class is still present, but conditionally
disabled.
* modules/logic.cc, modules/usart.cc, modules/logic.h,
modules/switch.cc, src/stimuli.cc, src/stimuli.h, src/cod.cc,
src/comparator.h, src/i2c-ee.cc: Removed all references to the
IOPORT class.
2006-04-23 Scott Dattalo <scott@dattalo.com>
* src/gpsim_object.h, src/gpsim_object.cc: Removed TRUE and FALSE
definitions.
2006-04-23 Roy Rankin <rrankin@ihug.com.au>
* src/gpsim_object.h src/gpsim_object.cc gui/gui_breadboard.h
gui/gui_breadboard.cc: Allow pin names to be changed after breadboard
is started.
* src/stimuli.cc: minor output format change and new debuging output
2006-04-22 Roy Rankin <rrankin@ihug.com.au>
* modules/switch.cc modules/switch.h: fix windows regression problem
2006-04-17 J.R. Heisey <jrheisey@sourceforge.com
* cli/cmd_module.cc, src\os_dependent.cc: Changed env var
from GPSIMPATH to GPSIM_MODULE_PATH.
2006-04-17 Scott Dattalo <scott@dattalo.com>
* modules/gpsim_modules.cc, modules/push_button.cc,
modules/resistor.cc, modules/push_button.h, modules/resistor.h,
modules/encoder.cc, modules/encoder.h, modules/Makefile.am:
- Removed references to the deprecated IOPORT class.
- Temporarily removed the video and the parallel_port modules (I
don't have a way to test them).
- The push button module can now be used again.
2006-04-17 Borut Razem <borut.razem@siol.net>
* config_win32.h.in: added the explanation why the warning is good:
warning: `I' flag used with `%x' printf format
* cli/cli.vcproj, modules.vcproj, modules/makefile.mingw,
plat/win32/libgpsim.def: WIN32 sync
2006-04-16 Scott Dattalo <scott@dattalo.com>
* modules/binary_indicator.cc,h: removed from gpsim. This module
did absolutely nothing.
* modules/gpsim_modules.cc, modules/Makefile.am: removed
references to the binary_indicator.
2006-04-16 Scott Dattalo <scott@dattalo.com>
* modules/ttl.cc: TTLbase now calls initializeAttributes(). This
defines xpos and ypos attributes.
* regression/ttl/ttl377.asm: xpos and ypos are initialized by the
builtin script.
* modules/led.cc, modules/led.h: Redesigned I/O pins to remove
references to the deprecated IOPORT class.
* modules/gpsim_modules.cc: Place Led classes in their own
namespace.
2006-04-16 Borut Razem <borut.razem@siol.net>
* config_win32.h.in: fixed bug [ 1470012 ] Breakpoints regression
test crashes mingw gpsim
* modules/makefile.mingw, modules/modules.vcproj: WIN32 sync
2006-04-16 Scott Dattalo <scott@dattalo.com>
* modules/gpsim_modules.cc, modules/Makefile.am, modules/ttl.cc,
modules/ttl.h: Began a TTL module. Right now it contains only a
'377.
* regression/run_regression.sh, regression/ttl/18f452.lkr,
regression/ttl/Makefile, regression/ttl/ttl377.asm: Regression
test for the newly added '377 module in the ttl library.
* src/modules.h, src/modules.cc, gpsim_object.cc: Modules can now
be constructed with a name and a description.
2006-04-15 Scott Dattalo <scott@dattalo.com>
* regression/switch_test/switch_test.asm: corrected 'capacitance'
2006-04-15 Borut Razem <borut.razem@siol.net>
* cli/cli.vcproj, cli/makefile.mingw: added define YYSTACK_USE_ALLOCA
* src/a2dconverter.*: svn:keywords=Author Date Id Revision,
svn:eol-style=native
* src/a2dconverter.cc: corrected include path to "../config.h"
* regression/switch_test/switch_test.stc: corected 'capacitance'
2006-04-15 Scott Dattalo <scott@dattalo.com>
* src/16bit-registers.h, src/16bit-processors.cc,
src/16bit-registers.cc, src/16bit-processors.h, src/p18x.cc,
src/a2dconverter.cc:
A2D is now working (but not fully tested) for the 16bit core.
* src/pir.h: Redesigned PIR base class in the first attempt in
removing PIR_SET classes
* src/symbol.cc, src/stimuli.cc: Fixed symbol table dump.
* regression/a2d/Makefile, regression/a2d/p18f452.asm: Regression
test for the 18f452 A2D converter.
* modules/resistor.cc: Made 'Capacitance' attribute lower case.
2006-04-13 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: removed debug printf
* modules/resistor.cc: Added module description.
* src/a2dconvert.cc: Added a verbose mode printf debug statement.
* src/p16x7x.cc: P16C71 class now sets A2D converter bits.
* src/symbol.cc, src/symbol.h: module_symbol can now display a
module description.
* regression/run_regression.sh: added A2D regression test for the
p16c71.
* a2d/Makefile, a2d/p16c71.asm, a2d/16c71.lkr: A2D regression test
for the 16c71.
2006-04-13 Borut Razem <borut.razem@siol.net>
* gui/gui_src_asm.cc: removed warnings
* modules/switch.h, src/dspic/dspic-processors.h, src/operator.h:
enable compilation on Fedora Core 5 (gcc 4.1.0)
* regression/comparator/compar_628.stc,
regression/comparator/compar_673a.stc,
regression/comparator/compar_677.stc,
regression/eeprom_wide/eeprom_wide.stc: changed libgpsim_modules.so
with libgpsim_modules so that it runs on WIN32
* src/makefile.mingw, src/src.vcproj, plat/win32/libgpsim.def: WIN32 sync
2006-04-13 Scott Dattalo <scott@dattalo.com>
* src/Makefile.am, src/a2dconverter.h, src/a2dconverter.cc: New
Files.
* src/p16f87x.cc, src/p16x7x.h, src/p16x7x.cc: Removed
a2d-specific stuff from p16x7x.[h,cc] and placed it into
a2dconverter.[h,cc].
Also, the p16c71 doesn't have a PIR register. The INTCON class
assumes that there is one. So a special (non-existant) PIR
register has been created that is not instantiated in the register
map, but is capable of communicating PIR-specific information with
those peripherals that implement their own PIR functionality (this
is currently only the P16C71 A2D module).
* src/pir.h: The PIR_SET used to be a pure virtual base
class. This class needs to be redesigned...
* src/pir.h: Made class members private.
* src/gpsim_object.h, src/gpsim_object.cc, src/value.h,
src/value.cc: Moved Value descriptions into the parent gpsimObject
class. The purpose of this change is to provide a uniform way in
which gpsimObjects (like processors and modules) can describe
themselves.
* modules/resistor.cc: Added a voltage attribute to pull up
resistors. Now pullup resistors can be used as general purpose
voltage sources.
2006-04-11 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: Double clicks in the source browser were
causing segv's
2006-04-11 Scott Dattalo <scott@dattalo.com>
* gui/gui_src.h, gui/gui_src_asm.cc: Right-button mouse clicks now
bring up a menu. Currently, not all of the menu items are
supported. Furthermore, only GtkTextTag'd text responds.
2006-04-11 Roy Rankin <rrankin@ihug.com.au>
* src/p16f87x.cc: if code read with breadboard closed, breadboard
did not show processor.
* src/pic-ioports.cc: fix portb does not show high inputs if register
bits cleared from assembler code.
* regression/rt.sh: allow multiple tests in one directory
* regression/run_regression.sh: run comparator tests seperatly
* src/comparator.cc: cleanup compiler warnings
2006-04-08 Scott Dattalo <scott@dattalo.com>
* cli/scan.cc: removed from SVN. This autogenerated by flex from
scan.ll.
2006-04-09 Borut Razem <borut.razem@siol.net>
* extras/graphic_lcd/utils/custom.png,
extras/graphic_lcd/utils/fontimage.png,
extras/graphic_lcd/utils/gpsim1.png,
extras/graphic_lcd/utils/konqueror.png,
extras/graphic_lcd/utils/konqueror16X16.png,
extras/graphic_lcd/utils/konqueror3.png: mime-type image/png
* src/src.vcproj, src/makefile.mingw:
new files src/comparator.h src/comparator.cc
* gui/gui_menu.cc, gui/gui_profile.cc, gui/gui_regwin.cc,
gui/gui_src_asm.cc, gui/gui_watch.cc, modules/logic.cc,
modules/resistor.cc, modules/switch.cc, modules/usart.cc,
src/dspic/dspic-registers.cc, src/intcon.cc, src/ioports.cc,
src/pic-instructions.cc:
removed unused variables, #if 0-ed unused functions
removed warnings:
XXXX.h: In constructor `xxxx':
XXXX.h:LLL: warning: `yyyy' will be initialized after
XXXX.h:LLL: warning: `zzzz'
XXXX.cc:LLL: warning: when initialized here
2006-04-08 Scott Dattalo <scott@dattalo.com>
* ChangeLog: experimental SVN checkin.
2006-04-08 Scott Dattalo <scott@dattalo.com>
* INSTALL: re-instated - somehow it got wiped out on 04-05
* ltconfig, missing, mkinstalldirs, stamp-h.in: removed from CVS.
2006-04-08 Roy Rankin <rrankin@ihug.com.au>
* src/cod.cc src/sim_context.cc: backout Pin names changing in
2006-04-05 patch until better method can be found.
* gui/gui_regwin.cc: fix core dump of ram window and ascii part of
register windows not showing all characters.
* src/p16f87x.cc: fix eeprom being initialized twice for most
p16f87x processors.
2006-04-08 Roy Rankin <rrankin@ihug.com.au>
* src/pic-processor.h src/pic-processor.cc src/p16f87x.h
p16f87x.cc: Add support for p16f87xA which are p16f87x
with 2 comparators and vref.
* src/p16f62x.h src/p16f62x.cc src/Makefile.am src/pir.cc src/pir.h:
new files src/comparator.h src/comparator.cc
to add comparator and vref functions.
* new directory regression/comparator with new files
compar_628.asm compar_628.stc compar_877a.asm
compar_877a.stc compar_873a.asm compar_873a.stc
Makefile 16f628.lkr 16f877a.lkr 16f873.lkr
for comparator regression tests.
* regression/run_regression.sh: invoke comparator regression tests
2006-04-05 Roy Rankin <rrankin@ihug.com.au>
* src/ioports.h src/ioports.cc : Fix setEnableMask() so it works
when pin is already added. Stop memory leak in newDefaultControl().
* src/pic-ioports.cc: setTris() can be run multiple times.
* src/p16f62x.cc src/cod.cc: Correct error in Oscillator configuration
bit processing. Pins 5, 6 and 7 of port A may be I/O depending on
configuration bits. Pin names changed depending on configuration
bits.
* src/p16x6x.cc: Bit 5 of port A is I/O for all of 16X6x family
p16x63 and higher.
* src/eeprom.h src/eeprom.cc src/p16f87x.cc: fix bugs in writing to
EEPROM and added FLASH program writing using wide mode (p16f87x).
* regression/run_regression.sh: add directory regression/eeprom_wide
with files Makefile, 16f873.lkr, eedate_wide.asm and eeprom_wide.stc
for regression testing of EEPROM and FLASH single byte wide
read-write operations.
2006-03-30 Scott Dattalo <scott@dattalo.com>
* gui/gui_regwin.cc: In 03-27 changes, a variable initialization
got commented out and caused a segv on some systems
2006-03-30 Scott Dattalo <scott@dattalo.com>
* src/14bit-registers.h, src/14bit-registers.cc: Resetting the
program counter low register (PCL) was causing the cycle counter
to advance by one.
2006-03-29 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc, gui/gui_src.h:
Source files are now only parsed whenever they're brought into
view. (The previous commit parsed the source, but only placed it
into a gtk_text_view whenever the source was brought into view).
* src/processor.cc: Config addresses in the .lst file were causing
a segv when the list file was processed.
2006-03-28 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc, gui/gui_src.h:
- If there are many source files, the notebook will now allow the
tabs to be scrolled.
- Source files are now only rendered whenever the page in which
they reside is brought into view. (Otherwise, large projects will
take a very long time to load).
2006-03-27 Scott Dattalo <scott@dattalo.com>
* gui/gui_watch.cc:
- Watch window was causing segv for the case when a watched
register did not have an entry in the symbol table.
- Fixed a bug where the "hex" attribute was being repeatedly added
to the eXdbm data base. Note this fix was only applied to
non-WIN32 OSes
* gui/gui_regwin.cc, gui/gui_regwin.h: The register window cells
were not getting resized correctly whenever the font was
changed. Also, the default font was changed to Monospace.
2006-03-24 Scott Dattalo <scott@dattalo.com>
* src/symbol.h, src/symbol.cc: Added a convenience function for
searching the symbol table for strings.
* src/processor.h, src/processor.cc: Change FileContext::Add
method to accept only a const char *.
2006-03-24 Scott Dattalo <scott@dattalo.com>
* src/processor.h, src/processor.cc: The FileContext class now
handles list files.
* gui/gui_src_asm.cc, gui/gui_src.h, gui/gui_menu.cc: Breakpoints
can be manipulated through the list file view of the source
browser.
Switching pages in the source browser now updates the margin.
The preferences editor 'Margins' and 'Tabs' were combined into
just 'Margins'.
2006-03-22 J.R. Heisey <jrheisey@sourceforge.com
* config_win32.h.in, plat/win32/fd2raw.cpp: Removed strndup()
for Visual Studio. Using g_strndup() from glib instead
* src/os_dependent.cc, src/modules.h: Change parameter of
free_error_message() from char * to const char * to go along with the change to
get_error_message().
* gpsim/gpsim.vcproj: Changed library from readline-static.lib to
readline.lib in the debug build which is the correct debug library file.
2006-03-22 Scott Dattalo <scott@dattalo.com>
* cli/input.cc, gui/gui_symbols.cc: use glib's g_strndup() instead
of strndup.
2006-03-22 J.R. Heisey <jrheisey@sourceforge.com
* config_win32.h.in, plat/win32/fd2raw.cpp: Created strndup()
function for Visual Studio build.
2006-03-22 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc:
Last change cause segv in preferences editor.
2006-03-22 J.R. Heisey <jrheisey@sourceforge.com
* /src/sim_context.cc: Modified forward declaration of
get_error_message() to match recent definition change.
2006-03-22 Scott Dattalo <scott@dattalo.com>
* src/cod.cc, src/pic-instructions.cc, src/processor.cc,
src/processor.h:
Fixed list file processing. Now the file context class knows if it
owns a .lst file versus a .asm or .inc file.
* gui/gui_src.h, gui/gui_src_asm.cc:
List files are now displayed in the source browser. The program
counter indicator tracks correctly. Breakpoints can not be
controlled from within the list file view yet.
Changed strndup calls to g_strndup. The form is a GNU extension
while the latter is part of glib, but both do the same thing. This
removes an OS dependency.
2006-03-21 Scott Dattalo <scott@dattalo.com>
* gui/gui_object.cc: removed debug printf
* gui/gui_src_asm.cc: Added a delete_event handler for the source
browser; killing the source browser window was causing gpsim to
crash otherwise.
The source browser name has been updated to match the old
browser's name (this is mainly for registry and .gpsim settings).
Added GTK_WAIT's for slower machines. Apparently gtk's event queue
is getting overwhelmed while the source browser is being created.
2006-03-21 Borut Razem <borut.razem@siol.net>
* src/cod.cc: fixed bug "[ 1448454 ] usart_test - ERROR: == comparison
is not defined for String" by merging "assertions" and "assertions"
lists to a single "directive" list
2006-03-20 Scott Dattalo <scott@dattalo.com>
* regression/breakpoints.asm: Embedded script error was causing
regression test to fail.
* regression/rt.sh: Minor fix to Borut's regression test
enhancement; the 'tee' command was appending multiple regression
tests to the same log file. Also, on Athlon 64's, the tee command
was causing pipe errors for some reason.
2006-03-19 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc, gui/gui_src.h, gui/gui_src_asm.cc:
The preferences window now configures the source browser tabs,
margins, and font.
2006-03-19 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: added share and lib\gtk-2.0\2.4.0\engines to
the package, use share\themes\MS-Windows\gtk-2.0\gtkrc as the
default gtkrc
* gpsim/regression/rt.sh: failure detection
2006-03-15 Scott Dattalo <scott@dattalo.com>
* gui/gui_src.h, gui/gui_src_asm.cc:
Added .lst files to the source browser.
Added the "ColorHolder" class to wrap a GdkColor that can be
changed and reverted back to its original value.
The colors for the source browser are now saved.
Line numbers, addresses, and opcodes in the margin can be
selectively enabled
* gui/gui_menu.cc:
Example code for src browser configuration is now rendered in a
SourcePage.
* gui/gui_statusbar.cc, gui/gui_main.cc, gui/gui.h,
gui/gui_regwin.cc, gui/gui_break.cc, gui/gui_profile.cc: The
global 'gp' has been renamed gpGuiProcessor.
2006-03-15 Alain Portal <aportal@univ-montp2.fr>
* src/p12.h: Remove redundant class scoping (causes errors with
gcc-4.1)
2006-03-14 Borut Razem <borut.razem@siol.net>
* src/dspic/makefile.mingw: added
* plat/win32/gpsim.nsi: fixed typo
2006-03-13 Scott Dattalo <scott@dattalo.com>
* src/processor.cc: hex files were not getting loaded properly.
2006-03-12 Scott Dattalo <scott@dattalo.com>
* src/pic-ioports.cc: PIC TRIS writes were not getting traced.
2006-03-12 Borut Razem <borut.razem@siol.net>
* config_win32.h.in: added #define _USE_MATH_DEFINES, so that M_PI
is defined in MSVC math.h
2006-03-12 Scott Dattalo <scott@dattalo.com>
* gui/gui_src.h, gui/gui_src_asm.cc, gui/gui_menu.cc:
- Gui Preferences for source browser is *almost* working now. It's
possible to modify colors, but the state of the colors are not
being saved in the gpsim config file. Also, the line number,
address, opcode configuration is not completed.
- The Source browser now utilized the text_view margin for
displaying addresses and opcodes. Also, breakpoints changes the
margin field text to red. (This duplicated the diamond indicator,
but I plan to use that for modifying complex breakpoints).
2006-03-12 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi, doc/gpsimWin32.html, plat/win32/make.mingw,
cli/makefile.mingw, gpsim/makefile.mingw, gui/makefile.mingw,
modules/makefile.mingw: glib-2.8.6, gtk+-2.8.13, pango-1.10.2,
atk-1.10.3, cairo-1.0.2, ...
2006-03-09 Borut Razem <borut.razem@siol.net>
* examples/modules/usart_gui/usart_gui.asm,
examples/modules/usart_gui/usart_gui.stc:
Renamed the usart RX and TX pins to RXPIN and TXPIN
2006-03-07 Scott Dattalo <scott@dattalo.com>
* src/gui_src_asm.cc: Turned off debugging. Added a gtk event
queue wait.
* src/gui_processor.h: The default is to now enable the new source
browser.
2006-03-06 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc: The stimulus command without any options now
shows more information. In particular, value stimuli (the ones
that allow you to specify an array of data) are now shown.
2006-03-06 Scott Dattalo <scott@dattalo.com>
* doc/gpsim.lyx, doc/gpsim.pdf: Updated the documentation to
reflect the deprecation of the X command
2006-03-06 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc, gui/gui_src.h, gui/gui_src_asm.cc: Moved the
gtk text tag table to the source browser parent class. Added a
SourceBuffer class to wrap the text buffers. With these changes,
multiple source browsers will share the same text buffers.
2006-03-06 Scott Dattalo <scott@dattalo.com>
* cli/cmd_x.cc: The x command has been deprecated.
2006-03-05 Scott Dattalo <scott@dattalo.com>
* src/stimuli.h: The default Thevenin resistance for an IOPIN was
too low. This caused an INPUT only pin to appear as though if it
was driving! (Bug reported by Alex Holden).
2006-03-05 Borut Razem <borut.razem@siol.net>
* configure.ac: removed GTK+ 1.x leftovers
* plat/win32/gpsim.nsi: remove extras/graphic_lcd/* when uninstalling
gpsim, added extras/usart_con
* extras/usart_con/AUTHORS, extras/usart_con/autogen.sh,
extras/usart_con/ChangeLog, extras/usart_con/configure.in,
extras/usart_con/COPYING, extras/usart_con/INSTALL,
extras/usart_con/Makefile.am, extras/usart_con/makefile.mingw,
extras/usart_con/module_manager.cc, extras/usart_con/NEWS,
extras/usart_con/README, extras/usart_con/usart_con.cc,
extras/usart_con/usart_con.h: receive-only usart module,
received characters are printed to the console
2006-03-04 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc, gui/gui_src.h, gui/gui_src.cc: See comment on
2006-02-27. Removed the line numbers from the source
browser. Changed the current PC and breakpoint indicator. Also,
now clicking on a break indicator toggles a break point.
2006-03-04 Scott Dattalo <scott@dattalo.com>
* src/modules.h, src/modules.cc, src/os_dependent.cc: Changed
references from char * to const char * for error strings
processing. (Alex Holden reports that on BSD dlerror returns const
char * where as on linux it returns plain char *).
2006-03-04 Scott Dattalo <scott@dattalo.com>
* cli/ui_gpsim.cc: GlobalVerbosityAccessor verbose was declared
twice! (Thanks to Alex Holden for pointing this out).
2006-02-27 Scott Dattalo <scott@dattalo.com>
* src/processor.cc: FileContext put_address and get_address
methods were ignoring the last line of files.
* gui/gui_src.h: Rewrote the source browser using the gtk+-2.X
API.
*** NOTE *** The older version of the source browser is still
present and enabled by default. To enable the new browser,
'NEW_SOURCE_BROWSER' needs to be defined. (This can either be
accomplished by ./configure or by editing gui/gui_processor.h
* gui/gui.h, gui/gui_processor.h: Added new source window class to
list of gui classes.
* gui/gui_menu.cc: ifdef'd removed the source browser preference
configuration (for now)
* gui/gui_object.cc, gui/gui_object.h: set_name() now requires const
char * instead of just char *.
2006-02-25 Borut Razem <borut.razem@siol.net>
* src/p18x.cc: EEPROM sfr registers were not mapped on 16 bit pics
2006-02-20 Borut Razem <borut.razem@siol.net>
* src/os_dependent.cc: reverted changes I made 2006-02-19,
since the GPSIMPATH functionality was already implemented
2006-02-20 Scott Dattalo <scott@dattalo.com>
* src/symbol.cc: Symbol_Table::clear() crashes when the simulation
engine is used as a stand alone library (Reported by David Saxtion).
2006-02-19 Borut Razem <borut.razem@siol.net>
* regression/switch_test/switch_test.stc,
examples/modules/usart_gui/usart_gui.stc: removed .so extension
from "module library libgpsim_modules.so" so that it runs on WIN32
platform
* src/modules.cc: made ModuleLibrary::MakeCanonicalName() a dummy
method on WIN32 platform. Is it really needed on *nix?
* src/os_dependent.cc: introduced GPSIM_MODULE_PATH environment
variable on WIN32 platform to define additional directories where
modules are searched. The search order for WIN32 is as follows:
1. The directory specified by library_name.
2. The current directory.
3. The system directory.
4. The 16-bit system directory.
5. The Windows directory.
6. The directory from which the application loaded
followed by directories listed in GPSIM_MODULE_PATH environment
variable followed by directories listed in PATH environment
variable.
2006-02-17 Scott Dattalo <scott@dattalo.com>
* src/16bit-instructions.cc, src/16bit-instructions.h,
src/16bit-hexdecode.cc: Fixed a few bugs with the newly added
extended instructions.
* src/16bit-processors.cc, src/16bit-processors.cc,
src/16bit-registers.cc:
added the pclatu register.
* src/pic-instructions.cc: the instruction class constructor now
initializes most of it's data members directly.
* regression/make.regression: .cod files are now removed for the
'make clean rule'
* regression/run_regression.sh,
regression/p18f/18f452.lkr, p18f/Makefile,
p18f/extended_instructions.asm, p18f/instructions.asm,
p18f/startup.stc:
Regression test for the 18f extended instructions.
2006-02-16 Borut Razem <borut.razem@siol.net>
* plat/win32/libgpsim.def: MSVC sync
2006-02-14 Scott Dattalo <scott@dattalo.com>
* src/16bit-instructions.cc, src/16bit-instructions.h,
src/16bit-hexdecode.cc: Added support for the extended
instructions ADDFSR, ADDULNK, CALLW, MOVSF, MOVSS, SUBFSR, and
SUBULNK, in the 18fxxxx family.
2006-02-13 Scott Dattalo <scott@dattalo.com>
* src/gui/gui_menu.cc: more source browser experiments.
2006-02-08 Scott Dattalo <scott@dattalo.com>
* modules/usart.cc:
Renamed the usart RX and TX pins to RXPIN and TXPIN. The old names
conflict with the names of constants. (This is a problem with
absolute mode code.)
Updated the gui to use gtk_text_view instead of the obsolete
gtk_text. (note this change really needs to be made for all of
gpsim's gui!)
2006-02-08 Scott Dattalo <scott@dattalo.com>
* src/dspic/dspic-instructions.cc, src/dspic/dspic-instructions.h:
Support for some versions of the MOV instruction.
2006-02-05 Scott Dattalo <scott@dattalo.com>
* src/dspic/dspic-instructions.cc, src/dspic/dspic-instructions.h,
src/dspic/dspic-processors.cc, src/dspic/dspic-processors.h,
src/dspic/dspic-registers.cc, src/dspic/dspic-registers.h:
Unified the Literal and Register Direct addressing modes.
Added support for the Status register.
Program counter tracing is now supported.
2006-02-04 Scott Dattalo <scott@dattalo.com>
* src/dspic/dspic-instructions.cc, src/dspic/dspic-instructions.h,
src/dspic/dspic-processors.cc:
Added support for the Literal, Register Direct, and Register
Indirect addressing modes.
2006-02-03 Roy Rankin <rrankin@ihug.com.au>
* src/processor.cc, src/pic-processor:
The pic-processor class was over-writing the
cycles_per_instruction value in the processor class
* modules/switch.cc, modules/switch.h, modules/resistor.cc,
regression/switch_test/switch_test.stc,
regression/switch_test/switch_test.asm:
Switch modules now handle analog inputs and RC loads.
2006-01-30 J.R. Heisey <jrheisey@sourceforge.com
* Changed the implementation of Float::copy() to use the get()
function to retrieve the value.
2006-01-30 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/processor.h: added methods for mapping
register addresses into register indexes (for the dspic) and use
this to create invalid registers.
* src/registers.cc: contructors now propagate calls to parents
* gui/gui_regwin.cc: a non-existent register at address 0 was
crashing the register window
* src/dspic/dspic-instructions.cc, src/dspic/dspic-instructions.h,
src/dspic/dspic-processors.cc, src/dspic/dspic-processors.h,
src/dspic/dspic-registers.cc, src/dspic/dspic-registers.h:
dspic port:
-- added register memory
-- added W0-W15
-- invalid registers populate register space
-- added Program Counter
-- single stepping works.
-- GOTO, RCALL and BRA instructions are now supported.
2006-01-25 Roy Rankin <rrankin@ihug.com.au>
* gui/gui_profile.cc: fix core dump
2006-01-29 J.R. Heisey <jrheisey@sourceforge.com
* cli/cmd_break.cc: I prevent ei from being incremented for
pThird if pSecond does not exist. This was causing a crash
in Windows because pThird ended up point to the same object
as pFirst. (go figure) Later pThird was getting deleted then
pFirst (the same object) was getting referenced causing the
crash.
(i.e. break e MYLABEL where MYLABEL is not defined.) I also
added a check to bpn == -1 and write an error. This provides
an error message if a code symbol is not defined.
2006-01-28 Borut Razem <borut.razem@siol.net>
* makefile.mingw, src/makefile.mingw, gpsim/makefile.mingw,
plat/win32/make.mingw: added dspic to MINGW
2006-01-27 Scott Dattalo <scott@dattalo.com>
* src/dspic/dspic-registers.cc, src/dspic/dspic-registers.cc:
added to CVS - initial support of dspic family registers
* src/dspic/Makefile.am: dspic-registers added
* src/dspic/dspic-instructions.cc, src/dspic/dspic-instructions.h:
stubbed out the entire dspic instruction set.
* src/dspic/dspic-processors.cc, src/dspic/dspic-processors.h:
added initialization code to allow the dspic to be instantiated.
* src/hexutils.cc: fixed two buglets introduced in earlier checkin
* src/pic-instructions.cc: the invalid_instruction constructor now
calls the Instruction constructor.
* src/processor.cc: The disassemble method can now accommodate the
dspic's 24-bit opcodes.
2006-01-27 Scott Dattalo <scott@dattalo.com>
* configure.ac: changed version from 0.21.11 to 0.21.12-pre
* cli/scan.ll: conditionally use YY_* macros.
2006-01-27 Scott Dattalo <scott@dattalo.com>
* Makefile.am, configure.ac, src/Makefile.am: update makefiles for
dspic support.
* src/dspic/Makefile.am, src/dspic/dspic-instructions.cc,
src/dspic/dspic-instructions.h, src/dspic/gpsim_modules.cc,
src/dspic/dspic-processors.cc, src/dspic/dspic-processors.h:
Initial infrastructure for dspic port.
* src/hexutils.h: New file.
* src/hexutils.cc, src/program_files.cc: Hex files generated by
gpasm and mpasm are really Intel hex files. The hex files
generated by the gcc-pic30 tool chain also generate Intel hex
files. Now gpsim supports more of the features of the Intel hex
file format.
* src/pic-processor.cc, src/pic-processor.h, src/processor.cc,
src/processor.h: minor changes to deal with Hexfiles.
* src/p16x6x.cc: TMR1L and TMR1H were named as just tmrl and tmrh
2006-01-21 Borut Razem <borut.razem@siol.net>
* src/stimuli.cc: fixed bug exposed by resistor regression test,
see the comment "; the following test for a core dump bug" in
regression/resistor/resistor.asm
* cli/cmd_module.cc: added missing paramterer to DisplayMessage() call
2006-01-20 Borut Razem <borut.razem@siol.net>
* plat/win32/libgpsim.def: MSVC sync
* src/gpsim_object.h: removed empty destructor from class BreakType
in order to avoid gcc warning: `class BreakType' has virtual
functions but non-virtual destructor
* src/breakpoints.cc: changed // comments to /**/ in order to avoid
gcc warning: multi-line comment
* src/cod.cc: removed gcc warning: unused variable 'pCli'
* src/os_dependent.cc: removed gcc warning: 'bAltPaths' defined but not
used
* program_files.cc: removed gcc warning: 'iReturn' might be used
uninitialized in this function
* src/stimuli.cc: removed gcc warning: 'pPinSymbol' might be used
uninitialized in this function and warning: 'pMod' might be used
uninitialized in this function
* value.cc: removed gcc warning: statement has no effect
* src/ValueCollection.cc: removed gcc warning: unused variable
'uUpperBound'
* src/lxt_write.c: removed gcc warning: 'lt_emit_u64' defined but not
used
* src/modules.cc: removed gcc warning: extra tokens at end of #endif
directive
* plat/win32/icd.c: removed gcc warning: 'use_icd' defined but not used
* gui/gui_breadbord.cc: removed warning: 'orientation' might be used
uninitialized in this function
warning: 'pin_x' might be used uninitialized in this function
warning: 'pin_y' might be used uninitialized in this function
warning: 'label_x' might be used uninitialized in this function
warning: 'label_y' might be used uninitialized in this function
* gui/gui_menu.cc: removed gcc warning: unused variable 'start'
warning: unused variable 'end'
warning: unused variable 'color'
warning: unused variable 'tag'
warning: unused variable 'cParray'
* gui/gui_src_asm.cc: removed gcc warning: unused variable 'dragbreak'
warning: unused variable 'dragstartline'
warning: unused variable 'dragwidget_oldy'
warning: unused variable 'dragwidget'
warning: unused variable 'dragwidget_x'
warning: 'gint drag_scroll_cb(void*)' defined but not used
warning: 'void text_insert(SourceBrowserAsm_Window*, int, GtkStyle*,
char*, int)' defined but not used
* gui/gui_watch.cc: warning: unused variable 'uBitmaskForMaskedValue'
2006-01-20 Scott Dattalo <scott@dattalo.com>
* src/trigger.cc, src/breakpoints.cc: Breakpoint messages were not
getting printed when execution breakpoints were hit.
2006-01-19 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy, cli/cmd_break.cc, cli/cmd_break.h, src/breakpoints.cc
Rewrote breakpoint parsing. gpsim recently introduced an
expression option for breakpoints. As this feature was refined, it
turned out that the best way to handle expressions was with a two
level approach. At the high level, there is a 'break condition',
e.g. 'break w MyVariable'. The condition in this case is to break
if the variable 'MyVariable' is written to. At the next level,
there is a qualifying expression. For example:
break w MyVariable, ((PC > IntVector) && (PC<IntVectorEnd))
In other words, this break occurs if the interrupt routine is
executing when ever 'MyVariable' is written to.
One of the refinements was to turn the 'break condition' into an
expression. Eg. 'break w ((MyVar &0xf)==4)'. Here, the condition
is an expression. This condition can have an additional qualifying
expression.
*** Command Line Syntax Change ***
The old syntax is:
break type condition [expression] [,"message"]
The new syntax is:
break type condition [,expression] [,"message"]
The difference is that the new syntax requires a comma between the
condition and the qualifying expression.
* cli/input.cc: embedded scripts were not executing in proper
order.
* regression/breakpoints/breakpoints.asm,
regression/digital_stim/digital_stim.asm,
regression/instructions_12bit/instructions_12bit.asm,
regression/instructions_14bit/instructions_14bit.asm,
regression/instructions_16bit/instructions_16bit.asm,
regression/interrupts_14bit/interrupts_14bit.asm,
regression/logic_test/logic_test.asm,
regression/macro_test/macro_test.asm,
regression/node_test/node_test.asm,
regression/p12ce518/p12ce518.asm, regression/p16f84/p16f84.asm,
regression/p18f452_ports/p18f452_ports.asm,
regression/register_stim/register_stim.asm,
regression/resistor/resistor.asm,
regression/switch_test/switch_test.asm,
regression/tmr0_16bit/tmr0_16bit.asm,
regression/usart_test/usart_test.asm:
Updated regression tests with the new breakpoint syntax.
* src/cod.cc: Insert commas between breakpoint expressions.
* src/operator.cc, src/operator.h: Comparison expressions now
support breakpoints
* eXdbm/misc.c: Deleting a non-existent item from the data base
was causing a crash.
2006-01-12 Scott Dattalo <scott@dattalo.com>
* src/errors.h, src/sim_context.cc: Slight clean up to Roy's
patch.
2006-01-12 Roy Rankin <rrankin@ihug.com.au>
* src/modules.cc: remove library load failure exception throw. In
Linux, a failed module library load command from the command
window repeats the error message already printed. Even worse, if
the failure occurs fromthe breadboard GUI "Add libs" function,
gpsim crashes.
* src/os_dependent.cc: Fix up error handling on library loads for
Linux. Also for readability changed #ifndef _WIN32 to #ifdef
_WIN32 reversing the cases.
2006-01-10 J.R. Heisey <jrheisey@users.sourceforge.com
* gui\gui_watch.cc gui\gui_watch.h, gui\gui.h, gui\gui_object.cc,
gui\settings.h, gui\settings_exdbm.cc, gui\settings_exdbm.h,
plat\win32\settings_reg.cpp, plat\win32\settings_reg.h:
Fixed bug where loading a hex file a second time in the same
gpsim sesssion caused the watch window to be populated with
multiple instances of the same previously entered symbols.
Created a config_remove() function to remove entries from
the Settings database.
* src\sim_context.cc, src\sim_context.h, src\symbol.cc,
cli\input.cc: Changed catch_control_c() function to call
CSimulationContext::NotifyUserCanceled() rather than
Breakpoints:halt(). NotifyUserCanceled() now calls halt() and other
processing depending the context.
Added code to allow a user to abort the symbol listing to the
console by pressing CTRL-C.
* gui\gui_regwin.cc: Fixed some crashing bugs that occured when
you click on a watch window row when the register window has
not been built.
2006-01-06 Roy Rankin <rrankin@ihug.com.au>
* modules/led.cc, modules/led.h: Added dynamic gui update to the
led modules.
2006-01-07 Scott Dattalo <scott@dattalo.com>
* regression/resistor/resistor.asm: Tiny comment change
* regression/run_regression.ch: Added the resistor regression test
to the test suite.
2006-01-07 Roy Rankin <rrankin@ihug.com.au>
* modules/resistor.cc: Pulldown resistor voltage is now set to 0
Volts.
* src/stimulus.h, src/stimuli.cc: Adjusted default resistance
values for stimuli to more closely match PIC I/O pins.
* regression/resistor/resistor.asm: Set pulldown resistance for
the pulldown resistor.
2006-01-06 Roy Rankin <rrankin@ihug.com.au>
* src/stimuli.cc: Fixed crash regarding module pin names.
* regression/resistor/Makefile: New regression test for the
resistor module.
* regression/resistor/resistor.asm:
* regression/resistor/resistor.stc:
* regression/resistor/16f873.lkr:
2006-01-02 Scott Dattalo <scott@dattalo.com>
* src/ui.h, src/ui.cc: added another method for formatting
registers (though this might be removed later).
* src/value.h, src/value.cc: Moved Value specific breakpoint
functionality to the Value class. Fixed typo in an error message.
* src/symbol.cc, src/symbol.h: Fixed a bug with clearing the symbol table.
- Added breakpoint expression compilation to the register_symbol
class (this was previously being handled in cli/cmd_break.cc).
- The w_symbol now is printed out as a W register.
* src/module.h, src/processor.h: moved the register_size and
register_mask methods from the processor class to the module
class. (Modules can have regsiters too!).
* src/p16x7x.cc, src/p16x6x.cc, src/p16x5x.cc, src/p16f87x.cc,
src/p16f62x.cc, src/16bit-processors.cc, src/14bit-processors.cc:
W was not getting added to the symbol table.
* src/gpsim_time.cc: stopwatch changes to conform to value class api.
* src/breakpoints.cc, src/breakpoints.h: cleaned up/fixed printout of
register breakpoints. Added a more generic 'set_break()' method
that replaces several other specific methods (the old ones haven't
been removed yet).
* cli/parse.yy: certain read and write break points were not
getting parsed properly.
* cli/scan.ll: echo command was failing to be recognized.
* cli/cmd_break.cc: moved most of the expression parsing into the
simulation engine.
* src/expr.h, src/expr.cc: LiteralSymbols are cast into either
registers or program memory address when breaks are set on them.
* src/cod.cc: pruned some dead code.
* src/tmr0.cc, src/tmr0.h: TMR0 class now conforms to new break API.
2006-01-02 Scott Dattalo <scott@dattalo.com>
* configure.ac, cli/input.cc, cli/socket.cc: add configuration
option to inhibit the socket interface.
2005-12-31 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: added examples/modules/usart_gui/*.* and
extras/graphic_lcd/*.* to the WIN32 setup
2005-12-30 Scott Dattalo <scott@dattalo.com>
* src/value.cc, src/value.h: Clarified error message when user
attempts to set or clear breakpoints on register symboles. Also,
fixed error message on Integer casts to Booleans.
* src/bitlog.h, src/bitlog.cc: Added dump() and dump_ASCII_art()
methods to the ThreeStateEventLogger class. These are debug
functions used to examine event logs.
* modules/usart.cc: Utilize new event logger utilities.
2005-12-28 Scott Dattalo <scott@dattalo.com>
* regression/breakpoints, regression/breakpoints/breakpoints.asm,
regression/breakpoints/Makefile,
regression/breakpoints/16f873.lkr,
regression/breakpoints/breakpoints.stc: Added a regression test
for testing breakpoints. (Not much there yet)
2005-12-28 Scott Dattalo <scott@dattalo.com>
* cli/cmd_break.cc, src/breakpoints.cc: gpsim would crash if a
break point was set on a register that did not have a symbol table
entry.
2005-12-28 Roy Rankin <rrankin@ihug.com.au>
* modules/usart.cc, modules/usart.h: Fixed bugs in
mSendByte. Fixed usart attributes. Cleaned up error messages.
* modules/usart.cc, modules/usart.h: Added a gui interface to the
usart module.
* examples/modules/usart_gui/Makefile: New
* examples/modules/usart_gui/README: New
* examples/modules/usart_gui/usart_gui.asm: New
* examples/modules/usart_gui/usart_gui.stc: New. The usart_gui
example illustrates the new Usart GUI interface.
2005-12-23 J.R. Heisey <jrheisey@sourceforge.com
* src/breakpoints.cc, src/cmd_gpsim.h, cli/cmd_module.cc,
cli/cmd_processor.cc, gpsim/gpsim.vcproj, gui/gui_breadboard.cc,
src/interface.cc, plat/win32/libgpsim.def, src/Makefile.am,
src/makefile.mingw, src/modules.cc, src/modules.h,
src/processor.cc, src/processor.h, src/sim_context.cc,
src/sim_context.h, src/src.vcproj, src/symbol.cc, src/symbol.h,
cli/ui_gpsim.cc, src/ui.cc, src/ui.h: Refactored the functions
in module.cxx into a ModuleLibary class that contains various
lists in preparation for a gpsim Perl API. Also fixed the
gui_breadboard iteration of modules. Now they display
properly.
2005-12-23 Scott Dattalo <scott@dattalo.com>
* src/symbol.cc: findRegisterSymbol dumped core if a register was
being loaded from a module (and not from a processor)
* src/os_dependent.cc, src/processor.cc: Relative paths were
getting concatenated to absolute paths
* src/16bit-processors.cc: ccp1 is now associated with portc2
2005-12-19 Scott Dattalo <scott@dattalo.com>
* src/icd.cc, src/modules.cc, src/pic-processor.cc,
src/sim_context.cc, modules/paraface.cc: Re-added needed unistd.h
includes that were removed on 2005-12-10. New systems may not
unistd, but older ones do.
2005-12-17 Scott Dattalo <scott@dattalo.com>
* cli/input.cc: removed glib dependencies for non-gui builds
2005-12-16 Scott Dattalo <scott@dattalo.com>
* src/ioports.h, src/ioports.cc, src/pic-ioports.h,
src/pic-ioports.cc: moved some of the functionality in the
PicPort classes upto the generic Port classes. Also added
comments.
2005-12-12 J.R. Heisey <jrheisey@sourceforge.com
* cli\cmd_symbol.cc, cli\cmd_symbol.h, src\operator.cc,
cli\parse.yy: I've reconsidered regarding implementing
and indirection operator. The ampersand character may
now be used to reference a integer value or a register
symbol as an indirection operator. I've also made
it possible to type only an expression enclosed in parens.
The expression will evaluate and be printed on the next
console.
2005-12-11 J.R. Heisey <jrheisey@sourceforge.com
* src\expr.cc, src\expr.h, src\operator.cc, src\operator.h,
cli\parse.yy, cli\scan.ll, src\symbol.cc, src\symbol.h,
src\value.cc src\value.h: Problems with expression evaluation.
Could not evaluate A=-X. Added evaluate() function to class
Value and a pecialized implementations to relevant derived
classes. The LiteralSymbol::evaluate() now calls the symbols
evaluate() so that a register_symbol will return the register
contents.
* Also implemented reg(int) as an expression so it can be
included in calculations
* Implemented the ampersand character as an 'address of' operator
Fixed minus sign for negation and one's complement.
* src/gpsim_object.cc: gpsimObject:showType() now does not
include the word class for the type for Windows.
2005-12-11 Borut Razem <borut.razem@siol.net>
* src/16bit-instructions.h, src/breakpoints.h, src/pic-instructions.h,
src/pic-instructions.cc, src/processor.h, src/processor.cc:
fixed gcc errors: processor.h:150: error: using typedef-name
`instruction::INSTRUCTION_TYPES' after `enum'
2005-12-10 J.R. Heisey <jrheisey@sourceforge.com>src/registers.h:
* src/expr.cc, src/ValueCollections.cc, src/ValueCollections.h:
Added toString(ExprList_t*) and move some code from
IndexedSymbol::toString() into it.
* src/modules.cc, src/modules.h: Added functions for deleting
module libraries.
* 14bit-processors.cc, src/14bit-processors.h, src/p12x.h,
src/16bit-processors.h, src/p16f62x.cc, src/p16x5x.cc,
src/p16x5x.h, src/p16x6x.cc,src/p16x7x.cc, src/p16x8x.cc,
src/p18x.cc, src/p18x.h, src/Makefile.am, src/makefile.mingw,
src/src.vcproj, src/ioports.cc, src/ioports.h, src/pic-ioports.cc,
src/pic-ioports.h: Moved PicPortBRegister, PicTrisRegister and
PicPortRegister definitions into these files from ioports.cc
and ioports.h. Added pic-ioports.cc,h to build files. This was
motivated by moving undesirable code for the SWIG script
language builds.
* src/value.cc, src/value.h: Renamed New() to NewObject() to
avoid conflict with SWIG.
* src/breakpoints.h, src/interface.h, src/os_dependent.cc,
src/pic-instructions.h, src/pic-processor.cc, src/pic-processor.h,
src/processor.cc, src/processor.h, src/stimuli.h, src/trace.h:
removed unneeded reference to the header unistd.h.
2005-12-06 Scott Dattalo <scott@dattalo.com>
* src/ioports.h, src/ioports.cc: Cleaned up the IOPORT class and
deprecated some old functions.
* src/stimuli.cc: use new IOPORT class functions.
* modules/encoder.cc, modules/logic.h, modules/paraface.cc,
modules/push_button.cc: Updated to new I/O port class api.
* gui/gui_src_asm.cc: Removed printf debug
2005-12-05 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: Source browser crashed if there was no
instruction at the current PC.
* regression/instructions_16bit/18f452.lkr: mchip stock linker
script has a bug with hard coded interrupt routine size.
2005-12-04 Robert Pearce <rob@bdt-home.demon.co.uk>
* src/p12.cc, src/p12.h: Added pullups to 12bit-core I/O pins
2005-12-03 Robert Pearce <rob@bdt-home.demon.co.uk>
* src/p12.cc, src/p12.h, src/pic-processors.cc,
src/pic-processors.h: Added the 10F202.
2005-12-02 Scott Dattalo <scott@dattalo.com>
* eeprom.cc, eeprom.h, i2c-ee.cc, i2c-ee.h, registers.cc,
registers.h, processors.cc:
Extended the RegisterCollection class to support an arbitrary
array of Registers. Added CLI access to the EEPROM.
Usage:
eeData
shows all eeprom registers.
eeData[expression]
shows one or several eeprom registers.
* packages.cc, packages.h: Added better support for module pin
placement.
* gui/gui.h, gui/gui_breadboard.cc, gui/gui_breadboard.h,
gui/gui_main.cc: Cleaned up package creation in preparation for
a graphic LCD module.
2005-11-27 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi, plat/win32/make.mingw, cli/makefile.mingw,
gpsim/makefile.mingw, gui/makefile.mingw, modules/makefile.mingw,
src/makefile.mingw, regression/README: MINGW sync
2005-11-22 J.R. Heisey <jrheisey@sourceforge.com>
* cli\cmd_log.cc gui\gui_regwin.cc src\init.cc src\pic-processor.cc,
src\trace.cc src\trace.h: Changed references of trace_log to
GetTraceLog() to decouple the global trace_log in the libgpsim.so/dll
from the executable. Please do the same with any other globals
you find and that I missed.
src\expr.cc: Implemented dumping a range of an indexed variable
using the integer range operator. (i.e. ramData[3:20]
2005-11-21 J.R. Heisey <jrheisey@sourceforge.com>
* src\symbol.cc src\symbol.h src\ValueCollections.cc
src\ValueCollections.h: Fixed couple bugs and added additional
support for ndexable variables.
* src\value.cc src\value.h: Fixed bitmask issue with the copy
constructor of Integer. Added assignment operator to Integer
from const Integer&.
* src\ValueCollections.cc src\ValueCollections.h again:
Implemented the omitted ability to do array=value and
array[range]=value.
2005-11-21 J.R. Heisey <jrheisey@sourceforge.com>
* src\12bit-processors.cc, src\breakpoints.h, cli\cmd_break.cc,
cli\cmd_clear.cc, src\cmd_gpsim.h, cli\cmd_log.cc, cli\cmd_run.cc,
cli\cmd_set.cc, gpsim\CopyDlls.bat, src\exports.h, src\fopen-path.h,
plat\win32\gpsim.def, plat\win32\libgpsim.def, src\gpsim_interface.h,
src\gpsim_time.cc src\gpsim_time.h gui\gui_menu.cc gui\gui_regwin.cc,
gui\gui_src_asm.cc gui\gui_trace.cc gui\gui_watch.cc src\hexutils.cc,
src\i2c-ee.cc src\icd.cc plat\win32\icd.cc src\icd.h cli\input.cc,
src\interface.cc, src\interface.h, gpsim\main.cc, cli\misc.h,
src\os_dependent.cc, src\pic-processor.cc, src\pic-processor.h,
src\processor.h, src\program_files.cc, cli\scan.ll, src\sim_context.cc,
cli\socket.cc, src\stimuli.cc, src\symbol.h, src\trace.h,
src\ttoken.cc, src\ttoken.h, cli\ui_gpsim.cc, cli\cli.vcproj,
gui\gui.vcproj, src\src.vcproj, gpsim\gpsim.vcproj:
These changes are for building the files in the src folder
as the library libgpsim.dll under Windows. There were a couple
of global variables that needed to be decoupled with accessor
functions for access from gpsim.exe and other modules.
I found that putting global variables in the gpsim.def file
didn't work. The globals needing accessor functions were realtime_mode,
reatime_mode_with_gui, verbose, and use_icd.
I also needed to create the NullConsole and NullUserInterface class
in src. These provide IConsole and IUserInterface objects
with no implementation. Now cli in gpsim.exe creates it own
implementation and passes it to the function SetUserInterface().
Any other application that links to libgpsim.dll and expects test
messages will need to pass there own IConsole and IUserInterface
implementations. At some point I hope I (or someone) will clean
up all of the cout references and use the GetUserInterface() function.
Renamed macros in exports.h from GPSIM_DLL_EXPORT, GPSIM_EXT_CLASS,
and GPSIM_EXPORT to added the LIB prefix reflecting the new
library file.
Created a new file libgpsim.def and moved all the symbols from
gpsim.def into it. Emptied gpsim.def of all symbols.
References to bp now call get_bp().
References to ui now call
2005-11-13 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc: The experimental Preferences window caused a
crash if it was opened, but the source browser was not opened.
2005-11-13 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: MSVC sync
* modules/switch.cc: added #include <assert.h>
2005-11-12 Scott Dattalo <scott@dattalo.com>
* cli/input.cc, cli/scan.ll: Under certain conditions, command
assertions were causing the lexer to get confused.
* gui/gui_menu.cc: experiment code with preferences.
* src/ioports.cc, modules/encoder.cc, modules/paraface.cc,
modules/push_button.cc: Calls to Stimulus_Node->update() method
unnecessarily passed the current simulation time.
* modules/resistor.cc, modules/resistor.h: The pullup resistor
module was completely broken.
* modules/switch.cc, modules/switch.h: The switch module never did
work, but now it does! This is now truly a two-port device.
* src/gpsim_time.cc, src/gpsim_time.h: Added methods to control
the real time to simulated time mapping.
* src/breakpoints.cc: Command Assertions were unnecessarily adding
an extra '\n' to the end of the command string.
* src/stimuli.cc, src/stimuli.h: Originally node updates would
update the node state and refresh connected stimuli all within the
context of a single method. Now this has been split into two
methods. This was added to support the switch module. In addition,
the new method 'getThevenin()' retrieves the full electrical state
of a stimulus.
2005-11-09 Robert Pearce <rob@bdt-home.demon.co.uk>
* src/pic-processor.cc, src/processor.cc: Update simulation time
base when ever the processor's oscillator frequency is changed.
2005-11-08 Borut Razem <borut.razem@siol.net>
* makefile.mingw: MINGW sync
2005-11-06 J.R. Heisey <jrheisey@sourceforge.com>
* src/cmd_gpsim.h: Ability to format a value using a bit mask.
* cli/cmd_symbol.h: Routines to dump and set an indexed
value.
* cli/cmd_x.cc cli/cmd_x.h: Lets use set reg(2)=expr.
* src/processor.h: Implemented new function Processor::
ConstructInvalidInstruction() function to allow derived classes
to define there own Invalid instruction types.
* src/expr.cc src/expr.h, src/ValueCollections.cc,h, src/symbol.cc
src/symbol.h: Implemented classes to expose to the command prompt
interface an indexed variable symbol type commonly refered to as
arrays.
* cli/scan.ll, cli/parse.yy: Implemented the parsing of indexed
(array) variables in the command language.
RAM, EEPROM and ROM are the first ones.
(i.e. RAM[$20])
* cli/scan.ll: Implemented strings as single quotes as well as
double quotes.
* Fixed issue where setting a RAM value from the command
prompt would not update the GUI windows.
* cli/parse.yy: Allow setting a RAM using the reg() operator.
(i.e. reg(3)=54)
* src/value.cc src/value.h: Added extra operators for Integer and
Float. Also added a bitmask for Integer to be used for display
purposes.
* src/registers.cc,h: Implemented RegisterCollection class.
* src/sim_context.cc: In CSimulationContext::Clear() now clear
the symbol table after I delete the processors in the processor
list. This provents the symbol table from deleting a symbol
that is actually owned by the processor.
2005-11-02 Robert Pearce <rob@bdt-home.demon.co.uk>
* src/tmr0.cc, src/stimuli.cc: Fix TMR0 external clocking
ploarity. Fixed a typo in IOPIN::getBitChar().
2005-10-24 Scott Dattalo <scott@dattalo.com>
* src/gpsim_time.cc, src/gpsim_time.h: Fixed a nasty cycle counter
bug that would erroneously clear a break point whenever two breaks
were set at the same cycle.
* src/interface.cc: Interface callback breakpoint now can display
a message in the breakpoint list.
* src/p16x6x.cc, src/p18x.cc, src/pir.cc, src/pir.h,
src/14bit-tmrs.cc, src/14bit-tmrs.h, src/16bit-processors.cc: The
whole "pir_set" design needs to be re-implemented. At issue is
that every pic potentially has a different bit mapping for the PIR
registers. The pir_set desgin attempts to accommodate this with
pure VF's. Unfortunately, peripherals like the TMRL class that
need to set PIR bits only can call specific methods like
"set_tmr1f()". However, the TMRL class is used as a base for TMR3
too! I created a new class called "InterruptSource" that can
trigger interrupts instead.
2005-10-21 Borut Razem <borut.razem@siol.net>
* makefile.mingw, plat/win32/makefile.mingw, plat/win32/make.mingw,
plat/win32/gpsim.nsi: building gpsim setup executable on WIN32
2005-10-20 Scott Dattalo <scott@dattalo.com>
* regression/make.regression: modified the default make target
to create a .cod file
* regression/tmr0_16bit/Makefile,
regression/tmr0_16bit/tmr0_16bit.asm: Added tests for 16bit mode
of tmr0.
* regression/tmr0_16bit/delay.inc,
regression/tmr0_16bit/delay.asm: Added to CVS. Made the delay routine a separate
source module. Also, a DELAY macro has been created so that
exactly N cycles can be delayed, where 0 < N < 65536+15.
* src/16bit-processors.cc: portd and porte registers were not
getting added to the symbol table.
2005-10-14 Scott Dattalo <scott@dattalo.com>
* regression/tmr0_16bit/tmr0_16bit.asm: Interrupt test assertions.
2005-10-13 Borut Razem <borut.razem@siol.net>
* makefile.mingw, doc/makefile.mingw: building gpsim documentation on WIN32
2005-10-13 Scott Dattalo <scott@dattalo.com>
* gpsim/main.cc, cli/cmd_load.cc, cli/cmd_macro.cc, cli/input.cc,
cli/socket.cc: command assertions were not getting processed immediately.
* regression/tmr0_16bit/tmr0_16bit.asm: Started interrupt test.
2005-10-12 Borut Razem <borut.razem@siol.net>
* regression/make.regression, regression/run_regression.sh,
regression/*/Makefile: added possibility to define gpism path
2005-10-12 Scott Dattalo <scott@dattalo.com>
* src/16bit-registers.cc, regression/tmr0_16bit/tmr0_16bit.asm:
The high byte of TMR0 was not getting updated during TMR0L reads.
2005-10-11 Scott Dattalo <scott@dattalo.com>
* src/pic-instructions.cc, src/pic-instructions.h: Added methods
to the instruction class that provide acces to the source defining
an instruction (this is going to be used with tracing and
disassembly soon).
2005-10-11 Borut Razem <borut.razem@siol.net>
* regression/usart_test/usart_test.asm, regression/logic_test/logic_test.asm,
modules/makefile.mingw, gui/gui_breadbord.cc, plat/win32/gpsim.nsi:
gpsim_modules.dll renamed to libgpsim_modules.dll
2005-10-09 Scott Dattalo <scott@dattalo.com>
* regression/tmr0_16bit/tmr0_16bit.asm: More tmr0 regressions
testing
* src/cod.cc, src/breakpoints.h, src/breakpoints.cc: Added the
CommandAssertion class. These are assertions that are associated
with instructions in such a way that when an instruction executes,
the command assertion will issue a gpsim command line command.
* gpsim/main.cc: removed a debug printf.
* cli/input.cc, cmd_macro.cc, cli/ui_gpsim.cc: command assertions
were getting inserted into the end of the command line input
stream as opposed to interjected immediately.
2005-10-10 Scott Dattalo <scott@dattalo.com>
* gpsim/main.cc, cli/cmd_load.cc, cli/cmd_symbol.cc,
src/symbol.cc, src/symbol.h: Simplified the way user defined
symbols are added to the symbol table.
2005-10-09 Borut Razem <borut.razem@siol.net>
* plat/win32/fd2raw.cpp, cli/input.cc: win32_set_is_readable() not
needed for glib >= 2.6
* src/sim_context.cc, src/i2c_ee.cc: fixed the p12ce518 regression
test problem
* cli/socket.cc: g_io_channel_set_flags() not implemented on WIN32;
call it only on non-WIN32 platforms or if _DEBUG
2005-10-08 Scott Dattalo <scott@dattalo.com>
* src/tmr0.cc, regression/tmr0_16bit/tmr0_16bit.asm: tmr0
clear_break was getting called recursively. The tmr0 regression
test now checks psa combinations.
2005-10-08 Robert Pearce <rob@bdt-home.demon.co.uk>
* src/p12x.cc, src/p16x5x.cc, src/p16x5x.h, src/stimuli.cc,
src/tmr0.cc, src/tmr0.h: Added support for clocking TMR0 from an
external source. This applies to the 12-bit core where TMR0 is a
dedicated pin.
2005-10-08 Borut Razem <borut.razem@siol.net>
* src/processor.cc: fixed the "processor list" problem
* gpsim/makefile.mingw, gpsim/gpsim.vcproj, plat/win32/gpsim.nsi,
doc/gpsimWin32.html: linking with libgtkextra-win32-2.1_dll.lib,
using gtkextra-win32-2.1.dll
2005-10-07 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: Changed version to 0.24.11
2005-09-23 J.R. Heisey <jrheisey@sourceforge.com>
* cli/parse.yy: Added to string_option the ability to use
a string variable. This will apply to any command that
uses the string_option. I specifically added it for
module library.
2005-10-03 Scott Dattalo <scott@dattalo.com>
* configure.ac: Changed version to 0.24.11
2005-10-03 Scott Dattalo <scott@dattalo.com>
* src/12bit-processors.cc, src/14bit-processors.cc,
src/14bit-tmrs.cc, src/16bit-registers.cc, src/p12x.cc,
src/p16f62x.cc, src/p18x.cc, src/pic-processor.cc, src/tmr0.cc:
Debug cleanups.
2005-10-03 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc: More source browser preference configuration.
* gui/gui_regwin.cc: Turned register sheet rows and columns back
on. (They were off because of a bug in gtkextra, but that bug is
fixed now).
* src/16bit-processors.cc, src/16bit-registers.cc, src/p18x.cc,
src/tmr0.cc:
The create+sfr_map() method was getting called twice fof the p18f
devices.
T0CON was not retaining its 0xff reset value.
TMR0L was reporting the wrong value while it was turned off.
* regression/run_regression.sh, regression/tmr0_16bit/18f452.lkr,
regression/tmr0_16bit/Makefile,
regression/tmr0_16bit/tmr0_16bit.asm,
regression/tmr0_16bit/tmr0_16bit.stc:
Added a regression test for TMR0.
2005-10-02 Borut Razem <borut.razem@siol.net>
* gui/makefile.mingw: Updates to support user defined preferences.
* doc/gpsimWin32.html: Use CSS
2005-10-01 Scott Dattalo <scott@dattalo.com>
* src/processor.cc: Changed Processor::init_program_memory_at_index()
so a derived processor can define its own bad_instruction type.
Fixed a crashing bug in trim() when a empty was passed in.
2005-09-30 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc, gui/gui_src.h, gui/gui_src_asm.cc: Source
browser clean up.
2005-09-29 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc, gui/gui_src.h, gui/gui_src_asm.cc: More
preferences work; now the colors for the source browser example
text can be configured (this configuration doesn't map back into
the source browser yet).
2005-09-28 Scott Dattalo <scott@dattalo.com>
* src/16bit-registers.cc, src/16bit-registers.h, src/tmr0.cc,
src/tmr0.h: The high byte of TMR0 for the 18F family was not
updating correctly in certain circumstances (like during single
stepping). Thanks to Robert Merkel <robert.merkel@benambra.org>
for reporting this issue.
2005-09-27 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc: Even More work on preferences dialog window.
2005-09-26 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc: Even More work on preferences dialog window.
2005-09-26 Scott Dattalo <scott@dattalo.com>
* gui/gui_menu.cc: More work on preferences dialog window.
2005-09-25 Robert Pearce <rob@bdt-home.demon.co.uk>
* src/p12x.cc, src/p12x.h, src/p16x5x.cc, src/p16x5x.h,
src/pic-processor.h, src/pic-processor.cc:
Added support for the 16C56 and the 10F200.
2005-09-23 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc: Breakpoint numbers are now printed in decimal.
2005-09-23 J.R. Heisey <jrheisey@sourceforge.com>
* cli/ui_gpsim.cc: Fixed a bug were a reused string was
not being cleared before being appended to.
*gui/gui_symbols.cc: Added code snippet to truncate
multi-line symbol values.
2005-09-21 J.R. Heisey <jrheisey@sourceforge.com>
* src/cod.cc: Added an extra test to prevent a error message
from displaying when a non cod file attempted. This really
should validate that the file is a cod file earlier.
2005-09-20 Scott Dattalo <scott@dattalo.com>
* gui/gui_regwin.cc: GUIRegisterList.register_size was being set
improperly.
2005-09-20 J.R. Heisey <jrheisey@sourceforge.com>
* gui_processor.cc, gui_processor.h, gui_register.h,
gui_regwin.cc, gui_watch.cc: Made changes in Register_Window
to and other code to support EEPROM memory window in the
same way we now support RAM memory window.
2005-09-19 Scott Dattalo <scott@dattalo.com>
* gui/preferences.cc, gui/preferences.h: New files to support user
defined gui preferences.
* gui/Makefile.am, gui/gui.h, gui/gui_main.cc, gui/gui_menu.cc,
gui/gui_regwin.cc, gui/gui_watch.cc: Updates to support user
defined preferences.
2005-09-17 Scott Dattalo <scott@dattalo.com>
* src/14bit-tmrs.cc, src/16bit-registers.cc,
src/16bit-registers.h, src/ssp.cc, src/uart.cc, src/uart.h:
- Initialized data members of many classes. Thanks to Robert
Merkel for uncovering this issue.
2005-09-16 Scott Dattalo <scott@dattalo.com>
* gui/gui_watch.cc: Had to change the way ASCII is checked under
windows.
2005-09-16 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: fixed compiler warnings
* gui/gui_watch.cc: Removed mask, BP, type, and b15..b0 bit
columns. Added a newbit string column.
* src/12bit-instructions.h, src/14bit-instructions.h,
src/16bit-instructions.h, src/breakpoints.h, src/hexutils.cc,
src/pic-instructions.cc, src/pic-instructions.h, src/processor.cc:
Fixed disassembly output for shadowed instructions.
2005-09-16 Scott Dattalo <scott@dattalo.com>
* gui/gui.h, gui/gui_main.cc, gui/gui_regwin.cc, gui/gui_regwin.h,
gui/gui_watch.cc, gui/gui_watch.h:
Added color info to the watch window.
Watch window columns are now adjustable.
Centralized color processing.
2005-09-15 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc, gui/gui_watch.cc, gui/gui_watch.h: The state of
the watch window is now preserved from one debug session to the
next.
2005-09-14 Scott Dattalo <scott@dattalo.com>
* gui/gui_src.h, gui/gui_src_asm.cc, src/breakpoints.cc,
src/breakpoints.h, src/pic-instructions.cc,
src/pic-instructions.h, src/processor.cc, src/trace.cc:
Fixed usability issues with setting breakpoints through the source
browser. The 'Drag Break' feature has been disabled since it
really doesn't work too well for assertions (or at least doesn't
apply). Fixed a bug that prevented toggling breaks that occur at
the current PC.
A new class was added to better handle the breakpoint
classes. This new class, AliasedInstruction, is a base for the
breakpoint class and basically will provide an API to handle
aliased or replace instructions.
2005-09-11 Scott Dattalo <scott@dattalo.com>
* plat/win32/gpsim.def: updated for API changes.
2005-09-11 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc, src/ioports.h, src/stimuli.cc, src/stimuli.h,
src/value.cc, gui/gui_breadboard.cc, gui/gui_breadboard.h:
Attributes can now be updated through the breadboard. Pin states
can now be updated through the breadboard.
2005-09-10 J.R. Heisey <jrheisey@sourceforge.com>
* src/cmd_gpsim.h, cli/ui_gpsim.cc: Modified one of the
FormatProgramAddress() functions in IUserInterface and
CGpsimUserInterface.
2005-09-09 Scott Dattalo <scott@dattalo.com>
* src/cod.cc: delete_directory() incorrectly deleted memory.
2005-09-08 J.R. Heisey <jrheisey@sourceforge.com>
* configure.ac, plat/win32/gpsim.nsi: bump build number
* gui/gui_src_asm.cc, src/value.cc: Fixed crashes when
'Add to watch' menu item is selected with no test selected
or with white space selected.
2005-09-07 Scott Dattalo <scott@dattalo.com>
* cli/cmd_load.cc: null pointer fix (was causing core dump in the
regression test).
* module/usart.cc: added the TxBuffer attribute.
* regression/usart_test/usart_test.cc: tested usart module transmitter.
2005-09-07 J.R. Heisey <jrheisey@sourceforge.com>
* cli/cmd_load.cc, cli/parse.yy: Fixed a bug in load command
where you could not specify both processor and file as literal
strings.
2005-09-06 J.R. Heisey <jrheisey@sourceforge.com>
* gui_processor.cc, gui_processor.h, gui_register.h, gui_regwin.cc,
gui_regwin.h, gui_watch.cc, gui_main.cc: Changed Register_Window::
registers from type GUIRegister* to GUIRegisterList*.
Added GUIRegisterList * m_pGUIRegisters to GUI_Processor.
Now GUIRegisters are instantiated in a GUI_Processor for
that other windows besides the RAM_RegisterWindow. This
fixes a bug where you cannot add a register symbol to the
watch window unless the RAM_RegisterWindow was opened
once.
* gui/gui_src_asm.cc, gui/gui_watch.cc: Removed 'Select symbol'
pop up menu item since it was broken anyway. Added 'Add to watch'
pop up menu item. Select symbol text in the source window, selecting
'Add to watch' will add register symbols to the Watch window.
* src/symbol.cc, src/symbol.h: Added findRegisterSymbol() that
accepts a const char * as a parameter.
gui/gui_main.cc: Call new function GUI_Processor::SetCPU() from
GUI_Interface::NewProcessor(). SetCPU() does some additional
initialization.
* src/value.cc, src/value.h: Added toupper(string&) function.
* gui/gui_src_asm.cc: Changed to use new toupper() function
due to issues between Windows and Linux.
* src/operator.cc: quite some type mismatch warning messages
2005-09-03 Scott Dattalo <scott@dattalo.com>
* src/bitlog.cc, src/bitlog.h: Fixed bugs with the new
ThreeStateEventLogger class.
* src/uart.cc, modules/usart.h, modules/usart.cc
* regression/usart_test/*: added a regression test for the usart
* src/symbol.h, src/symbol.cc: attribute symbol can now be used in expressons.
2005-09-02 Borut Razem <borut.razem@siol.net>
* doc/gpsimWin32.html: linking with glib-2.6.6, gtk+-2.6.9, pango-1.8.2
2005-09-02 Manuel Bouyer <bouyer@antioche.eu.org>
* src/16bit-registers.cc: PCL accesses were using program memory
indexes instead of program memory addresses.
* src/14bit-tmrs.cc: TMR2:current_value() would return the
contents of PR2 even when configured for normal operation.
* src/p18x.cc: typo in porte names.
2005-09-01 Manuel Bouyer <bouyer@antioche.eu.org>
* src/p18x.cc: Fix crash when an 18F252 is instantiated.
* src/gpsim_time.cc: Disabled unnecessary debug printing
* src/uart.cc: Fixed spurious uart transmit. Add io sink for
Receiver.
2005-08-31 J.R. Heisey <jrheisey@sourceforge.com>
* src/processor.cc: Fixed a crashing bug when the --source=disable
option is used.
2005-08-30 J.R. Heisey <jrheisey@sourceforge.com>
* cli/input.cc: Created function parse_string_only() which
will parse the passed in command string with out emptying
existing commands from the buffer.
Modified LLStack::GetNext() and LLStack::Pop() to not remove
the last LLStack object.
Fixed memory leak in LLStack::Pop().
* cli/ui_gpsim.cc: Added EOL to injected abort_gpsim_now
command.
2005-08-30 Scott Dattalo <scott@dattalo.com>
* src/gpsim_time.h, src/gpsim_time.cc, bitlog.cc: Made the
constant 'END_OF_TIME' part of the Cycle_Counter class. This is
now used to initialize members of the ThreeStateLogger class.
2005-08-30 Scott Dattalo <scott@dattalo.com>
* src/processor.h, src/processor.cc, src/pic_processor.cc: Fixed
step-over feature for the 18F family.
2005-08-30 Scott Dattalo <scott@dattalo.com>
* regression/rt.sh: The new version of the regression test script
was not checked in yesterday. This new version creates a simple
stc file and invokes a single regression test. It then checks to
see if the test was successful.
* regression/simulate, regression/create_stc: Removed from CVS.
2005-08-29 J.R. Heisey <jrheisey@sourceforge.com>
* src/ioports.cc, src/ioports.h: Added PortModule::getPin().
Fixed a few compiler warnings.
src/src.vcproj: Added bit.cc and bit.h.
src/stimuli.cc, src/symbol.cc, src/symbol.h: Changed references
of IOPORT to PortRegister.
2005-08-29 Scott Dattalo <scott@dattalo.com>
* modules/encoder.cc, modules/logic.cc, modules/paraface.cc,
modules/push_button.cc, modules/switch.cc, src/i2c-ee.cc, src/p12x.cc
IOPIN::update_direction method now has a refresh option.
* src/ioports.h, src/ioports.cc:
- Added several options to control when I/O pins refresh their state
information (with respect to stimuli that is).
- PicPortBRegister::get () had the wrong parameter signature and
thus was not getting invoked (the parent get() method was getting
invoked instead).
* modules/usart.cc: updating to new iopin api. Added new code and
removed a bunch dead code and generally cleaned things up - it's
still not working yet though.
* src/12bit-processors.cc, src/12bit-processors.h, src/p16f62x.cc:
pic-processor.cc, pic-processor.h, processor.h
set_config_word now returns true if the config word address is
successfully set.
* src/pic-processor.cc: Fixed bug with
init_program_memory_at_index() - it was not setting the
configuration word if the address was in configuration memory.
* src/bitlog.cc: Added a 'ThreeStateEventLogger' that's analogous
to the bit and byte logger.
* src/intcon.cc: Turned off some debugging code.
* src/registers.h: fixed typo in comment
* src/stimuli.cc, src/stimuli.h: Iopin's were checking Z state
before W state - this caused a W-state condition to be returned as
a Z-state. In addition, the getDrivingState() was being checked as
opposed to the getDrivenState().
- Added getMonitor() method.
* src/uart.h, src/uart.cc: Updating to new I/O pin design. And
numerous changes to clean up and fix the code - this is still not
working though.
2005-08-23 Scott Dattalo <scott@dattalo.com>
* run_regression.sh, rt.sh: Redesigned the regression tests to
make use of new gpsim scripting features. Also, all tests have
been converted from absolute-mode to object-code mode.
* digital_stim/digital_stim.asm, digital_stim/digital_stim.stc
* instructions_12bit/instructions_12bit.asm
* instructions_12bit/instructions_12bit.stc
* instructions_14bit/instructions_14bit.asm
* instructions_14bit/instructions_14bit.stc
* instructions_16bit/instructions_16bit.asm
* instructions_16bit/instructions_16bit.stc
* interrupts_14bit/interrupts_14bit.asm
* interrupts_14bit/interrupts_14bit.stc
* logic_test/Makefile, logic_test/logic_test.asm, logic_test/logic_test.stc
* macro_test/macro_test.asm, macro_test/macro_test.stc
* node_test/node_test.asm, node_test/node_test.stc
* p12ce518/p12ce518.asm, p12ce518/p12ce518.stc
* p16f84/p16f84.asm, p16f84/p16f84.stc
* p18f452_ports/p18f452_ports.asm, p18f452_ports/p18f452_ports.stc
* register_stim/register_stim.asm, register_stim/register_stim.stc
* digital_stim/16f84.lkr, digital_stim/Makefile: added
* instructions_12bit/12c508.lkr, instructions_12bit/Makefile: added
* instructions_14bit/16f628.lkr, instructions_14bit/Makefile: added
* instructions_16bit/18f452.lkr, instructions_16bit/Makefile: added
* interrupts_14bit/16f84.lkr, interrupts_14bit/Makefile: added
* macro_test/16f84.lkr, macro_test/Makefile: added
* node_test/16f877.lkr, node_test/Makefile: added
* p12ce518/p12ce519.lkr, p12ce518/Makefile: added
* p16f84/16f84.lkr, p16f84/Makefile: added
* p18f452_ports/18f452.lkr, p18f452_ports/Makefile: added
* register_stim/16f84.lkr, register_stim/Makefile: added
2005-08-22 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc: Fixed typo in pullup in setDefaultPullupControl
method.
2005-08-21 J.R. Heisey <jrheisey@sourceforge.com>
* cli/input.cc, cli/input.h, gpsim/main.cc: Added two
command options. Option -E will echo commands to the
console. Useful for stc debugging. This will also
display all the command line parameters. Useful when
another tool launches gpsim but does not display the
command line.
gpsim/main.cc, src/init.cc: Option '-S disable' will
prevent source code from being loaded. Usefule for
automated regression testing. '-S enable' will enable
source code loading. See online help.
* src/p16x7x.cc: Fixed an sign/unsigned warning.
* src/processor.h: Test function for whether source file
is open.
* src/sim_context.cc, src/sim_context.h: Added new
global boolean property called EnableSourceLoad. Setting
it to false will prevent source code from being loaded.
Purpose is when gpsim is used for automated regression
testing to speed things up.
* src/stimuli.cc: Fixed a crashing bug when port()
operator is used with out any module explicitly entered
as a parameter.
* src/symbol.h, src/value.h: Added findBoolean() to
Symbol_Table.
* src/value.h: Added a equals operator to Boolean.
2005-08-19 J.R. Heisey <jrheisey@sourceforge.com>
* cli/input.cc: Added code to allow stc files with <CR><LF>
for Windows EOL to be read under Linux.
2005-08-18 J.R. Heisey <jrheisey@sourceforge.com>
* src/processor.cc, src/processor.h, src/registers.cc,
src/symbol.cc: Added two processor boolean attributes
BreakOnValidRegisterRead and BreakOnInvalidRegisterWrite.
* src/breakpoints.cc, src/breakpoints.h, src/cmd_gpsim.h,
plat/win32/gpsim.def, cli/input.cc, cli/ui_gpsim.cc,
gpsim/main.cc: Added -e or --exit command line option
that accepts a parameter onbreak. This causes gpsim to
exit when the simulation halts.
2005-08-11 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc, src/breakpoints.h: Allowed breakpoint
expressions for breakpoint instructions to act like assertions.
* src/cmd_manager.h, src/cod.cc, src/gpsim_interface.h,
src/modules.cc, src/modules.h, cli/input.cc:
Added the capability to run multiple module scripts.
* cli/ui_gpsim.cc: Fixed bug guint64 formatted output.
* regression/logic_test/Makefile, regression/logic_test/logic_test.asm:
The new I/O port design more correctly implements I/O pins and
this exposed a bug in the regression test. Also, this regression
test was used to develop the multiple Module Script feature.
2005-08-11 J.R. Heisey <jrheisey@sourceforge.com>
* src/stimuli.cc, src/stimuli.h, src/symbol.cc, src/symbol.h:
Quick fix of when trying to attach an input data stimuli that
was broken a couple of checkins ago.
2005-08-11 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: bump build number
2005-08-11 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc, src/ioports.h: Added the PeripheralSignalSource
class to simplify the connection of I/O pins to peripherals. Also,
added more documentation about the I/O port design.
* src/p16x7x.h, src/p16x7x.cc, src/p16f87x.cc: The Analog to
Digital convertor peripheral now connects to I/O pins again. Also,
the A2D module was redesigned so that less of the internal
implementation is exposed.
* src/14bit-tmrs.h, src/14bit-tmrs.cc, src/ssp.h, src/ssp.cc,
src/p16x6x.cc: Updated the peripheral connections with the new
PeripheralSignalSource class.
2005-08-10 J.R. Heisey <jrheisey@sourceforge.com>
* src/stimuli.cc, src/stimuli.h, src/symbol.cc, src/symbol.h,
cli/cmd_attach.cc, cli/cmd_attach.h, cli/parse.yy,
cli/scan.ll, plat/win32/gpsim.def: Modified
the attach command with the pin() and port() operators.
Now you can use one of 4 variations of these operators to
specify the module, port name and/or pin number that represents
the underlying stimulus object. An example of how to use: if
a pin number is defined as a program file symbol, you
may use the symbol name in the port() or pin() operators.
This way your STC file can be more generic and support a
variety of firmware code files as long as you use the same
symbol name for the pin. See the online help for more details.
The pin() operator refers to package based pins. The port()
operator refers to port based pins. Other stimulus may still
be refered to using just the name of the stimulus.
* src/attributes.cc: Changed a few global symbols so that
Symbol_Table::Clear() does not remove them.
* src/fopen-path.cc, src/fopen-path.h, gpsim/main.cc:
Fixed -L source path command line option.
Added code to support a gpsim SourcePath global string symbol
that give command prompt access to the source search path.
* src/ioports.h: Fixed a warning message about the destructor
of PinModule not being virtual.
* src/symbol.cc,h, cli/cmd_symbol.cc: Added the ability to
use the '.' character as a trailing wild card in the symbol
command. Example PIC. will list all symbols that begin with
the letters PIC.
2005-08-04 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc, src/symbol.h, src/symbol.cc,
src/stimuli.cc:
Verified that template issues with gcc 3.4.X have been resolved
and removed a #define that had beed added to get around this.
2005-08-06 Scott Dattalo <scott@dattalo.com>
* src/ssp.h, src/ssp.cc: Updated the SSP peripheral with the new
I/O port API.
* src/14bit-processors.h, src/p16f87x.cc, src/p16f87x.h,
src/p16x6x.cc, src/p16x6x.h, src/p16x7x.cc, src/p16x7x.h: Updated
to the new SSP API.
2005-08-04 J.R. Heisey <jrheisey@sourceforge.com>
* symbol.cc, symbol.h: Fixed the template compile problems for
gcc 3.4.4 due to new bugs in gcc. I didn't see this issue using
gcc 3..3.3 on linux. I only have 3.4.4 version of the compiler
under cygwin. I've left the #define commented out so someone can
test it under linux before removing the #ifdef's.
2005-08-04 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc, src/symbol.h, src/symbol.cc, src/stimuli.cc:
Backed out some of the symbol changes made by JR because the code
doesn't compile on Linux (gcc 3.4.2). At the moment, this means
that stimuli and node dumps do not work.
2005-08-04 J.R. Heisey <jrheisey@sourceforge.com>
* cli/cmd_node.cc, plat/win32/gpsim.def, gui/gui_breadboard.cc,
modules/resistor.cc, src/stimuli.cc, src/stimuli.h,
src/symbol.cc, src/symbol.h, src/value.h: Eliminated the
node_list and stimulus_list. There are now Symbol_Table
functions and iterators available for node_symbol and
stimulus_symbol objects which contain Stimulus_Node and
stimulus objects respectively.
Adjusted the way stimulus and stimulus_Node objects are
named. Unnamed objects are not put into the symbol table.
The respective new_name() functions will add the objects
into the symbol table appropriately. Removes several
references that added these objects to the symbol table.
Also modified the PullupResister to name the res IO_bi_directional
i/o pin to pullupname + ".pin". Now the PullupResister
exists in the symbol table as a module with what ever you
named it. The pin is attribute of the PullupResister module.
Whew!
2005-08-04 Scott Dattalo <scott@dattalo.com>
* src/uart.cc, src/uart.h, src/p16x6x.cc, src/16bit-processors.cc,
src/16bit-registers.cc, src/16bit-registers.h, src/p16f62x.cc:
Add I/O source and sink connections to the usart peripheral. So
now the usart is connected to I/O pins using the new I/O port design.
2005-08-02 J.R. Heisey <jrheisey@sourceforge.com>
* src/os_dependent.cc, src/processor.cc,h, src/cod.cc,
plat/win32/gpsim.def: Fixed a problem where loading a
program file (no STC) using the GUI resulted source code
not being found even though that source was in the same
folder as the program file.
* gui/gui_menu.cc: Fixed the display of cycle count in
cycles where %Lx was used in a sprintf instead of the
platform independent project macro PRINTF_INT64_MODIFIER.
2005-08-02 Scott Dattalo <scott@dattalo.com>
* src/16bit-processors.cc, src/p18x.cc: The new I/O port register
symbols were getting added to the symbol table twice. Also, the
eeprom peripheral for some of the 18f devices was not getting
created.
2005-08-02 J.R. Heisey <jrheisey@sourceforge.com>
src/cmd_gpsim.h
* src/cod.cc: Removed an error message from PicCodProgramFileType::
open_a_file() that is handled externally.
* src/registers.cc: Fixed a bug in RegisterValue::toString()
not displaying enough digits.
* src/value.h, src/symbol.h, src/registers.h, gui/gui_register.h:
Added some conversion and equals operators.
* cli/ui_gpsim.cc, src/cmd_gpsim.h: Added several string
formatting routines.
* plat/win32/gpsim.def: Updated for new pin I/o routines.
* gui/gui_watch.cc, gui/gui_watch.h: Updated display of values
to account for uninitialized bits and bit masked register
symbols.
2005-08-01 Scott Dattalo <scott@dattalo.com>
* src/p16x5x.h, src/p16x5x.cc: Upgraded the P16C54 and P16C55 to
the new I/O port design.
* src/16bit-processors.cc, src/16bit-registers.cc,
src/16bit-registers.h, src/p18x.cc, src/p18x.h:
Completed converting the 16-bit core I/O ports to the new I/O
redesign (note - the peripheral-to-I/O mapping still needs to be
completed).
* src/ioports.h, src/ioports.cc: deprecated the old PIC_IOPORT
class and all of its children.
2005-08-01 Scott Dattalo <scott@dattalo.com>
* src/14bit-processors.cc, src/14bit-processors.h,
src/14bit-tmrs.cc, src/14bit-tmrs.h, src/intcon.cc, src/intcon.h,
src/pir.h, src/p16x6x.cc, src/p16x6x.h, src/ioports.cc,
src/ioports.h, src/p16x7x.cc, src/p12x.cc:
-- The intcon and pir registers were not getting set up correctly for
the midrange devices.
-- Added 'sinks' and 'sources' for the CCP module.
* src/16bit-processors.cc, src/16bit-processors.h, src/p18x.cc,
src/p18x.h: Began porting the new I/O port design to the 16bit
core devices.
* src/symbol.cc: Added a diagnostic message that is printed
whenever a register symbol with a null cpu is added to the symbol
table.
* regression/run_regression.sh, regression/p18f452_ports.asm,
regression/p18f452_ports.stc:
-- Added new regression test to test the P18F family I/O ports.
-- Redesigned the processor construction sequence.
-- The P18F1220 did not have PortB pullup resistors.
2005-07-30 J.R. Heisey <jrheisey@sourceforge.com>
* src/symbol.cc, src/symbol.h: Added a list of symbols
that are defined from the gpsim command line. The list
and the symbol values are preserved when the symbol table
is cleared due to a new processor being allocated.
Removed the add() function that accepted a symbol type
as a string. See comments for cmd_symbol.cc,h.
* src/attributes.cc, src/sim_context.cc, src/sim_context.h:
Changed or added calls to the symbol table.
* cli/ui_gpsim.cc, src/cmd_gpsim.h: Added functions to render
integer values to strings based on a system level defined
radix. The radix will be exposed as a global attribute.
There are distinct radix definitions for program addresses,
RAM addresses and data values. Will expose a global attribute
to define the prefix for displaying hexidecimal values. The
default is '$'.
* gpsim/main.cc: Added -D command line option for defining
symbols and their values to be placed into the symbol
table.
* src/value.cc, src/value.h: Added string parsing and
constructor functions for each data type. Used for
the command line parsing of symbol definitions.
* cli/cmd_symbol.cc,h, cli/cmd_load.cc,h, cli/parse.yy:
The load command will now accept symbols as input for the
filename. Combined with the symbol defines on the command
line, one STC file can be used to open any program file by
defining a symbol on the gpsim command line and referencing
that symbol in the load commmand.
* The symbol command can now be used to create a symbol from
the gpsim command prompt or an STC file. The syntax is
symbol <newsymbol>=<value>. Types include string, integer,
float and boolean.
* gpsim/gpsim.vcproj, gui/gui_menu.cc, gui/gui_regwin.cc:
Removed the references for gtk_file_selection_get_filename_utf8().
This was added due to compile time issues with gtkextra-2.1
under Visual Studio .NET. The VS.NET build links a gtkextra
static lib into the exe. Even if you can get it to compile,
sometimes gpsim will crash before its main() function is
entered. The use of gtkextra-2.1 under VS.NET is not
recommended and I have reverted the gpsim.vcproj back to
gtkextra-2.0.
* src/program_files.cc: Changed error handling logic
to prevent a "list file not found" error from displaying
in an inappropriate situation.
2005-07-29 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc, src/ioports.h, src/p12x.cc, src/p16x6x.cc,
src/registers.h, src/stimuli.cc, src/stimuli.h, src/symbol.cc,
src/tmr0.cc, src/tmr0.h:
Introduced the concept of Multi-State logic to stimuli.
2005-07-15 J.R. Heisey <jrheisey@sourceforge.com>
* src/symbol.cc: Added check to prevent a symbol name of a null string
from being added as a symbol.
* src/stimuli.cc: Added a check to prevent a IOPIN name null string
pointer from being added to the symbol table.
* modules/resistor.cc: PullupResistor() constructor was setting
its attribute before it had set its own name resulting in the
attribute name not being scoped correctly.
* src/breakpoints.cc, src/breakpoints.h, cli/cmd_break.cc,
cli/cmd_break.h: Added code to support break expressions of
the form (Reg & mask BoolOp value) where BoolOp includes
<, >, <=, >= and != operators. Just need to change the print()
and action() console output functions of the break classes and
uncomment code in parse.yy.
2005-07-26 Scott Dattalo <scott@dattalo.com>
* src/bit.h, src/bit.cc, src/Makefile.am: Added new files to
handle a 'Bit' object. This code was formerly tucked away in
registers.cc.
* src/stimuli.h, src/ioports.h, src/ioports.cc: Added a control
object for the PinModule to handle I/O pin pullups. Also, added an
option to prohibit certain stimulus updates whenever I/O pin state
information changes.
2005-07-26 Scott Dattalo <scott@dattalo.com>
* src/16bit-instructions.cc,
regression/instructions_16bit/instructions_16bit.asm: Fixed bug
with 16bit processors Table Read (more index vs address). Thanks
to Peter Onion for pointing this (and other 16bit stuff out).
2005-07-26 Scott Dattalo <scott@dattalo.com>
* src/i2c-ee.cc, src/i2c-ee.h, src/ioports.cc, src/ioports.h,
src/p12x.cc, src/stimuli.cc, src/stimuli.h: Fixed 12CE51x internal
eeprom peripheral.
* gui/gui_menu.cc, gui/gui_regwin.cc: Removed dependency on gtk
win32 port.
2005-07-25 Scott Dattalo <scott@dattalo.com>
* regression/instructions_16bit/instructions_16bit.asm: added
tests for multi-word instructions.
* regression/p12ce518/p12ce518.asm: debugging eeprom i2c interface
* gui/gui_src_opcode.cc, src/16bit-instructions.cc,
src/16bit-instructions.h: Fixed more problems with address <-->
index mapping. (and there are still some issues remaing with the
program memory viewer).
* src/i2c-ee.cc, src/ioports.cc, src/ioports.h, src/p12x.cc,
src/p12x.h: The eeprom i2c interface is broken...
2005-07-23 Borut Razem <borut.razem@siol.net>
* gpsim/gpsim.vcproj, doc/gpsimWin32.html, plat/win32/gpsim.nsi:
use pthreads-w32-2-7-0-release
* cli/scan.ll: corrected typo
2005-07-22 Scott Dattalo <scott@dattalo.com>
* cli/cmd_disasm.cc: rnages were disassembling wrong addresses
* gui/gui_src_asm.cc: cleanup
* src/12bit-processors.cc, src/14bit-processors.cc,
src/14bit-registers.cc, src/14bit-tmrs.cc, src/attributes.cc,
src/gpsim_classes.h:
Implenting new ioport design for 12bit cores.
Fixed bugs with resets.
* src/16bit-hexdecode.cc, src/16bit-instructions.cc,
src/16bit-processors.h, src/16bit-registers.cc, src/cod.cc:
16bit processors were not getting loaded properly due to some
bugs with address <-> index mapping
2005-07-21 Scott Dattalo <scott@dattalo.com>
* src/ioports.h, src/ioports.cc: classes derived from PortRegister
can now specify the type of PinModule class.
2005-07-15 Scott Dattalo <scott@dattalo.com>
* src/12bit-processors.cc, src/14bit-processors.cc,
src/14bit-processors.h, src/16bit-registers.cc,
src/16bit-registers.h, src/intcon.h, src/ioports.cc,
src/ioports.h, src/p16f62x.cc, src/p16f87x.cc, src/p16x6x.cc,
src/p16x6x.h, src/p16x7x.cc, src/p16x7x.h, src/p16x8x.cc,
src/p16x8x.h, src/pic-processor.cc, src/pic-processor.h,
src/registers.cc, src/registers.h, src/stimuli.cc, src/stimuli.h,
src/tmr0.cc, src/tmr0.h, src/uart.cc, src/uart.h:
I/O Port Redesign: These files have been updated to accommodate a
new I/O Port design. Currently the design applies only to the
mid-range PIC family, but will be propogated to the 12 and 16 bit
cores too.
In summary, the I/O pins are now managed with I/O pin modules. A
port register maintains an array of these modules. In the old
design, the I/O pins were managed directly by the Port
registers. New classes have been designed to allow multiple signal
sources, signal controls, and signal sinks for I/O pins. These new
objects can be added at will and thus allow the exact behavior of
an I/O pin be tailored to a specific processor (and even changed
dynamically). Thus a base class in the processor heirarchy can
instantiate a register object, and the derived processors populate
it with custom functionality.
* cli/cmd_break.cc: documentation clean up
* modules/usart.cc, modules/usart.h: tinkering -
* regression/logic_test/Makefile,
regression/logic_test/logic_test.asm: Incorporates an un-released
gpasm feature of the .direct macro. This feature allows multiple
strings to be passed to gpasm.
* regression/p16f84/p16f84.asm: Bug fix in PORTB pullup test
2005-07-15 J.R. Heisey <jrheisey@sourceforge.com>
* gui/gui_watch.cc, gui/gui_watch.h: Fixed problem with
register symbol names not displaying in the Watch
window. Introduced this bug when I made the bit mask feature
in register symbols.
* gui/gui_regwin.cc: Fixed problem with register symbol
names not displaying in the RAM window. Introduced this
bug when I made the bit mask feature in register symbols.
2005-07-11 J.R. Heisey <jrheisey@sourceforge.com>
* src/breakpoints.cc, h, src/cmd_gpsim.h, src/symbol.cc,
plat/win32/gpsim.def, gpsim/main.cc, cli/ui_gpsim.cc,
cli/ui_gpsim.h: Made changes so that when hitting a
break will display program and register address symbols.
* src/breakpoint.cc: Removed calls to eval_Expression()
where it is not necessary. Enhanced the break on value
action text to include symbols and bit mask value.
* cli/ui_gpsim.cc,h, gpsim/main.cc: Added functions that
help display program and register address symbols along
with the address value.
* src/trigger.cc: Fixed problem in TriggerObject::
eval_Expression() that was preventing non-expression
based break points to not fire.
* src/symbol.cc: Added check in Symbol_Table::
findRegisterSymbol() to get register bit mask defined
for the CPU when the passed in value is zero.
2005-07-10 J.R. Heisey <jrheisey@sourceforge.com>
* plat/win32/gpsim.def, src/symbol.cc, src/symbol.h:
Change function name from findRegister() to findRegisterSymbol()
to reflect the return type. Added new findRegisterSymbol()
version that takes a single address parameter. Did some
minor code optimization of the findRegister() function.
Due to the introductions of register symbol bit mask, I
modified findRegister() to only return symbols that are
defined for all bits of the register.
* src/processor.cc: Changed some entry condition checks to
allow processor::disassemble to disassemble one program
address. Also made some minor code optimizations.
2005-07-06 Borut Razem <borut.razem@siol.net>
* src/breakpoints.cc, src/gpsim_time.cc, src/interface.cc, src/processor.src, src/trace.cc:
declare dummy_bp, dummy_cycles, dummy_gi, dummy_get_active_cpu, dummy_set_active_cpu
and dummy_trace as non static to compile with gcc 3.4.4
* plat/win32/gpsim.nsi: corrected version number to 0.21.8
* gpsim/gpsim.vcproj, gpsim/makefile.mingw: linking with libgtkextra-win32-2.1.lib
* doc/gpsimWin32.html: linking with gtk+extra-2.1.1, glib-2.6.5,
gtk+-2.6.8, pango-1.8.0, 1.9.0, fontconfig-2.2.2-20040412
* plat/win32/make.mingw: change gcc command line options mcpu with mtune
to compile with gcc 3.4.4
2005-07-08 J.R. Heisey <jrheisey@sourceforge.com>
* plat/win32/gpsim.def, src/symbol.cc, src/symbol.h:
Added version of Symbol_Table::findRegister() that takes a bitmask
parameter. Added Symbol_Table::findConstant() for future use.
Need to implement a symbol to referenced from address
cross reference.
* gui/gui_src_opcode.cc, src/processor.cc: Fixed issues
accessing program memory arrays using address instead
of an appropriate index.
* gui/gui_src_opcode.cc, src/processor.cc: Fixed issues
with Processor::disassemble() function not traversing
over break points to find the base instruction object.
2005-07-07 J.R. Heisey <jrheisey@sourceforge.com>
* cli/cmd_break.cc, cli/cmd_break.h: Code to display
address labels in break related messages.
* plat/win32/gpsim.def, src/pic-instructions.cc,
src/pic-instructions.h, src/processor.cc, src/processor.h,
src/symbol.cc: Code to display address labels in a
disassembly output. Added members to Processor class to
support a page mask and offset mask that can be used to
calculate absolute addresses for disassembly output for
JUMP and CALL instructions. See the functions
CalcJumpAbsoluteAddress() and CalcCallAbsoluteAddress();
2005-07-06 J.R. Heisey <jrheisey@sourceforge.com>
* src/stimuli.cc, src/symbol.cc, src/symbol.h:
Fixed a problem where renamed stimulus_symbol objects
were getting lost. This caused a error when running
the regression test digital_stim.
2005-07-06 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: NSIS 2.07 compatible
2005-07-05 J.R. Heisey <jrheisey@sourceforge.com>
* src/symbol.cc, h: The access to a derived object's name()
function was broken when I made the name() function in the
base class const. I've propogated the const attribute to
overriden versions of name().
- Somewhere along this process on of my program variables stopped
being added to the symbol table. So, I've changed the if statement
that determines when a duplicate variable exists in the symbol
table.
- I've added a function called findProgramAddressLabel() so
that a label name can be displayed where appropriate.
* src/breakpoints.cc: Changed ::print() functions to output
program memory labels where they could. Changed implementation
to use the Console object rather than cout.
* src/registers.cc: InvalidRegiser() constructor was not setting
its address member variable. Now the address is included in the
console warning.
* src/attributes.cc: WarnModeAttribute() was not setting its
value member variable.
- init_attributes() added some constant attributes for reset types.
2005-07-01 Scott Dattalo <scott@dattalo.com>
* cli/scan.ll, cli/parse.yy, cli/input.cc: The recently added
command line error processing change did not compile under Linux
and was free a constant pointer.
* gui/gui_main.cc, gpsim/main.cc: The command line prompt was
always selected.
2005-07-01 J.R. Heisey <jrheisey@sourceforge.com>
* cli/scan.ll, cli/parse.yy, cli/input.cc,h:
- Full command line text is displayed when a command line error
occures.
- Command line buffers are cleared appropriately after a command
line error.
2005-06-30 Scott Dattalo <scott@dattalo.com>
* regression/logic_test/logic_test.asm,
regression/logic_test/Makefile, regression/logic_test/16f873.lkr:
Added a regression test for gpsim Logic Modules.
2005-06-30 J.R. Heisey <jrheisey@sourceforge.com>
* src/breakpoints.cc, src/breakpoints.h, cli/cmd_break.cc:
New break point dump filtering.
break r dumps register read break points.
break w dumps register write break points.
break e dumps execution break points.
* cli/cmd_disasm.cc: Updated disassemble command on line help
to reflect reality.
2005-06-30 Scott Dattalo <scott@dattalo.com>
* cli/input.cc, gpsim/main.cc, gui/gui_main.cc,
src/gpsim_interface.h, src/interface.cc, src/modules.cc,
src/modules.h, src/processor.cc:
Added methods to the gpsim_interface class that manage the state
of gui. This is done so that gui-based modules can query the gui
state and conditionally build their graphical portions.
* modules/led.cc, modules/logic.cc:
The Logic and LED modules now will not build any graphics if the
gui is not initialized.
Pin names were getting added to the symbol twice.
2005-06-27 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc, src/stimuli.h:
Added putState()/getState() methods and removed putDrivingState
method from the stimulus class. The purpose of this is to abstract
away whether a node is driving or not. The main affect is in the
gui breadboard where the state of I/O pins is queried.
* gui/gui_breadboard.cc, gui/gui_breadboard.h, modules/usart.cc,
modules/video.cc, modules/video.h, src/14bit-tmrs.cc,
src/i2c-ee.cc, src/ssp.cc,
src/uart.cc: Updated calls to new stimulus class API.
* modules/logic.cc, modules/logic.h: The logic gate modules had
bit rotted.
2005-06-26 J.R. Heisey <jrheisey@sourceforge.com>
* plat/win32/gpsim.def, src/processor.cc, src/processor.h:
New function Processor::init_program_memory_at_index() to
continue the separation of PM address from PM array index.
2005-06-26 Scott Dattalo <scott@dattalo.com>
* src/trace.cc: The wrong variable was being used to index the
program counter array. This caused the trace to get an invalid
instruction.
2005-06-26 Scott Dattalo <scott@dattalo.com>
* INSTALL: Added notes from Bas Wijnen regarding Debian.
2005-06-25 Scott Dattalo <scott@dattalo.com>
* src/symbol.cc, regression/simulate: The new 'BITS' indicator for
register symbol queries broke the regression test. Now, the BITS
indicator is only displayed if only a portion of the register
applies to a register symbol.
2005-06-24 J.R. Heisey <jrheisey@sourceforge.com>
* src/modules.cc: Fixed a bug in Module::get() where
a derive class does not override this function, now
this function will return a null string.
This fixes problems when a derived class is being
displayed in the GUI symbol window causing a UTF-8
warning.
* src/symbol.cc: Fixed an introduced null pointer
exception.
2005-06-23 J.R. Heisey <jrheisey@sourceforge.com>
* plat/win32/gpsim.def, src/symbol.cc, src/symbol.h:
register_symbol::m_uMask is used to mask out bits not
associated with the symbol after retrieving the value
from the register. Masked bit values are right shifted such
that if the 16th bit is high in the register and
m_uMask = 0x80, then the symbol value returned
or displayed will be one.
Likewise to set the 16th bit of our example register_symbol
you would set the register_symbol value to 0x01 and
not 0x80. No other bits in the register are changed.
It works as if this symbol is its own register. The encoding
into the target register is hidden by register_symbol.
The default value of m_uMask is 0xff so that no bits are
masked out.
An new version of Symbol_Table::add_register() may be used
to add masked register_symbol objects to the symbol table.
register_symbol::copy() is changed to return the correct
symbol string.
2005-06-21 J.R. Heisey <jrheisey@sourceforge.com>
* cli/cmd_run.cc: Added help text saying that CTRL->C
will stop a running simulation.
* src/breakpoints.cc, src/processor.cc, src/processor.h,
src/trace.cc, plat/win32/gpsim.def, gui/gui_profile.cc,
gui/gui_src_asm.cc:
There was significant ambiguity for some functions
that appear to accept an simulation address but acted upon
it as a ProgramMemoryAccess index. The ProgramMemoryAccess
indexing operator was a prime example. I have eliminated
the indexing operator and added the functions getFromAddress()
and getFromIndex() to make things more explicitly clear.
I have also removed put() and get() and added putToAddress()
and putToIndex(). Other new functions are
hasValid_opcode_at_address() and hasValid_opcode_at_index().
This mostly effected gui code so the simulation itself
should have no impact.
The original intent of this change was to fix bugs in the
gui where double clicking on a breakpoint icon in the
source window would not toggle the breakpoint.
2005-06-17 J.R. Heisey <jrheisey@sourceforge.com>
* cli/cmd_dump.cc: dump register for special registers
broken when pReg->isa() and Register::SFR_REGISTER were
not being used. Now we dump the registers listed in
MemoryAccess::SpecialRegisters.
* cli/input.cc: Implemented the ability to break running
firmware using Ctrl->C key when running under Windows.
It would previously exit gpsim.
* gpsim/main.cc: Changed logic so the -i on the gpsim
command line will not attempt to start the gui interface.
* cli/cmd_break.cc, cli/cmd_clear.cc, cli/cmd_disasm.cc,
cli/cmd_dump.cc, cli/cmd_frequency.cc, cli/cmd_help.cc,
cli/cmd_load.cc, cli/cmd_module.cc, cli/cmd_processor.cc,
cli/cmd_step.cc, cli/cmd_stimulus.cc, cli/cmd_trace.cc,
cli/cmd_version.cc, cli/command.cc, cli/command.h:
Implemented command abbreviations. Made abbreviations for
several often used commands.
2005-06-14 J.R. Heisey <jrheisey@sourceforge.com>
gui/gui_src.h, gui/gui_src_asm.cc, gui/gui_statusbar.cc,
src/processor.cc, src/processor.h, src/registers.h:
Fixed some problems with the source window optimization.
Fixed problem with the text search dialog not searching
alternate source windows.
Fixed problem with Set PC Here from an alternate window.
2005-06-13 J.R. Heisey <jrheisey@sourceforge.com>
*src/cmd_manager.cc, src/cmd_manager.h, src/modules.cc,
cli/cmd_shell.cc: Fixed introduced bug where the command
line interface from a library module was not accessible.
A ! bang character alone lists the command line interfaces.
2005-06-13 Scott Dattalo <scott@dattalo.com>
* configure.ac: Fixed recently introduced typo.
* src/attributes.cc: Cycle counter attribute now prints correctly again.
* src/processor.cc, src/processor.h: fixed bug in
IsAddressInRange() method, also reversed return value to match
meaning of name (now returns true if the address is in range).
* src/symbol.cc: Symbol table dump was not showing symbol values.
* src/registers.cc: fixed warning message for when invalid
registers are accessed.
2005-06-10 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc, src/stimuli.h, src/symbol.cc, src/symbol.h:
Stimuli symbols were not getting added to the symbol table when
their name was being changed.
2005-06-10 J.R. Heisey <jrheisey@sourceforge.com>
*src/gpsim_object.cc,h: Small change to allow name() call
in a const variable context.
*plat/win32/gpsim.def, src/processor.cc, src/stimuli.cc,
src/symbol.cc, src/symbol.h, gui/gui_profile.cc: Changed
the implementation of the Symbol_Table class to order
by symbol name so that a binary search will improve lookup
speed.
2005-06-10 Scott Dattalo <scott@dattalo.com>
* cli/cmd_stimulus.cc, doc/gpsim.lyx: Updated documentation.
2005-06-09 J.R. Heisey <jrheisey@sourceforge.com>
*cli/cmd_module.cc: Added extra help for module command.
*gui/gui_src.h, gui/gui_src_asm.cc, plat/win32/gpsim.def,
src/processor.cc,h: Changed the parsing of the source for
formatted display to speed things up during file loading.
Source is now cached in a form for rendering to the formatted
text window.
2005-06-09 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc, gui/gui_regwin.cc, gui/gui_src.cc,
gui/gui_src_asm.cc, gui/gui_src_opcode.cc, configure.ac:
Found the source of a bug that causes gpsim to hang when gtk-2.6.7
and gtkextra-2.0 are used. The problem is either with gtkextra or
the interaction of it with gtk. gpsim currently has in place a
stop-gap measure to prevent the problem from keeping the simulator
from being unusable.
2005-06-06 J.R. Heisey <jrheisey@sourceforge.com>
*src/os_dependent.cc: The environment variable GPSIMPATH may be
used to specify folders where shared libraries may be found. This
is primarily for windows developers of gpsim.
- Small change to prevent load_library() from displaying an error
message that is not needed.
*cli/cmd_node.cc: Use a reference instead of allocating a string
on the local stack.
*modules/modules.vcproj: Changed Visual Studio build of modules
to libgpsim_modules.dll
2005-06-04 Scott Dattalo <scott@dattalo.com>
* gui/gui.h, gui/gui_menu.cc, gui/gui_object.cc, gui/gui_object.h,
gui/gui_src_asm.cc, gui/gui_statusbar.cc, gui/gui_statusbar.h:
-- removed the cycle counter and time view from the status bar of
the register and source windows and moved them to the window that
contains the buttons.
-- fixed text-width bugs in the status window.
-- rewrote the implementation of the gui update code.
-- Created a 'TimeWidget' class and a 'TimeFormatter' class for
displaying the cycle counter object.
-- Added a MainWindow class (kind of empty now).
-- Re-introduced a few of the GTKWAIT macros.
2005-06-04 Scott Dattalo <scott@dattalo.com>
* configure.ac, gpsim/Makefile.am: remove the explicit checks for
the pthread library.
2005-06-04 Scott Dattalo <scott@dattalo.com>
* gpsim/main.cc: Allow filenames whose first character is a
number.
2005-06-04 Scott Dattalo <scott@dattalo.com>
Patch from: Rob Pearce <rob@bdt-home.demon.co.uk>
* src/cod.cc: Fixed gramatical error.
* src/eeprom.cc, src/eeprom.h: Added a new state to the eeprom
state machine to fix ??
* src/ioports.cc: fix to the 628 porta comparator.
2005-06-03 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc: Added a call to g_main_iteration() to allow GTK
events to get processed. (This replaces the GTKWAIT macro that was
removed in the previous commit).
2005-06-02 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc, gui/gui_main.cc: Removed GTKWAIT
macros. Apparently on newer versions of GTK these macros block
indefinitely. On really old versions of GTK (pre 2.0) these macros
were necessary.
2005-05-26 J.R. Heisey <jrheisey@sourceforge.com>
* src/breakpoints.cc,h, plat/win32/gpsim.def: added
register assertions functionality. Can now assert the
register value with !=, <=, >=, <, and > operators.
2005-06-01 Scott Dattalo <scott@dattalo.com>
* src/os_dependent.cc: Printed an error message if
a shared library fails to open.
2005-05-26 J.R. Heisey <jrheisey@sourceforge.com>
* src/program_files.cc: Fixed crashing bug when no file
types are able to open a program file.
2005-05-25 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi, extras/lcd/makefile.mingw:
added missing files to the WIN32 installation package in
order to be able to compile the LCD modue; make LCD module
mingw makefile a litle bit more flexible
2005-05-24 Scott Dattalo <scott@dattalo.com>
* src/cod.cc, src/breakpoints.cc, src/trigger.cc,
regression/assertions/assertions.asm: Added support
for scripts embedded in .cod files.
2005-05-24 Scott Dattalo <scott@dattalo.com>
* src/modules.h, src/modules.cc, src/processor.cc,
src/breakpoints.cc, src/pic-processor.cc, src/hexutils.cc,
gui/gui_src.cc, gui/gui_src_asm.cc, cli/scan.ll,
src/cmd_manager.h, cli/cmd_dump.cc:
-- renamed the enum's for the SIMULATION_MODE(s) (the
enum 'INITIAL' collides with a macro in flex)
-- added support for module scripts
-- If a symbol begins with a period, then the scanner
will automatically prepend the active processor name.
(This is a short cut for accessing processor attributes).
2005-05-24 Borut Razem <borut.razem@siol.net>
* doc/gpsimWin32.html, gpsim/gpsim.vcproj, gpsim/makefile.mingw:
WIN32 with official release of gtk+extra-2.0.0
2005-05-22 Scott Dattalo <scott@dattalo.com>
* cli/cmd_break.cc, cli/cmd_break.h, cli/parse.yy, cli/scan.ll,
src/breakpoints.cc, src/breakpoints.h, src/operator.cc,
src/trigger.cc, src/trigger.h, src/value.cc:
Added the capability of associating user defined messages with
break points.
Break point expressions (if present) are now displayed when the
break points are displayed.
* regression/assertions/Makefile,
regression/assertions/assertions.asm: Use the coff.inc include
file supplied with gputils and specifically the macros for
assertions.
2005-05-21 Scott Dattalo <scott@dattalo.com>
* cli/cmd_break.h, cli/cmd_break.cc, cli/input.cc, cli/parse.yy,
src/cod.cc, src/breakpoints.cc: Execution breakpoints were failing
to propogate execute() if an attached expression evaluated false.
Added support for gpasm style assertions.
* cli/scan.ll: Shell command escape character ('!') was
conflicting with the not operator.
* regression/assertions/assertions.asm,
regression/assertions/Makefile, regression/assertions/16f873.lkr:
Added a regression test for gpasm assertions.
2005-05-20 Scott Dattalo <scott@dattalo.com>
* cli/scan.ll, regression/run_regression.sh,
regression/macro_test/macro_test.stc: Macros can now be nested.
2005-05-20 Scott Dattalo <scott@dattalo.com>
* gui/gui_profile.cc: ifdef'd out code that a) is seldom (never?)
used and b) incompatible with the latest official release of
gtkextra.
2005-05-19 Scott Dattalo <scott@dattalo.com>
* src/ttoken.h, src/ttoken.cc, src/bytelog.cc, src/bytelog.h,
src/pthread-wrap.h: Create a gpsim namespace and place the objects
in these files in there.
* cli/scan.ll: removed some printf debugging junk.
2005-05-19 Scott Dattalo <scott@dattalo.com>
* cli/scan.ll, cli/cmd_macro.cc, cli/parse.yy, cli/input.cc:
A recent change in string processing broke macros. Also, began
adding code to support nested macros.
* regression/macro_test/macro_test.asm,
regression/macro_test/macro_test.stc: Added new regression test
for macros.
2005-05-18 Scott Dattalo <scott@dattalo.com>
* cli/scan.ll: Fixed end-of-line scan bug introduced on 5-16.
2005-05-16 J.R. Heisey <jrheisey@sourceforge.com>
* src/os_dependent.cc: Added debug code to allow alternate
directory paths for module libraries so I can specify debug
build locations for shared libraries.
* src/program_files.cc: Fixed bug caused by symbol table not
being cleared when Program files are loaded.
* src/modules.cc: Fixed bug when a module library failed to
load it was still being added to the installed library list.
* configure.ac: bumped build number to 0.21.5
2005-05-16 Scott Dattalo <scott@dattalo.com>
* cli/input.cc, cli/scan.h, cli/scan.ll, cli/input.cc: command
assertions where causing parse errors.
2005-05-14 Scott Dattalo <scott@dattalo.com>
* cli/cmd_processor.cc: The processor command wasn't working
because of a typo in an if statement.
* cli/parse.yy, cli/cmd_break.cc, cli/cmd_break.h: Added 'break
#number' to allow inspection of an individual break point. Clean
up some memory management.
* src/breakpoints.cc: 'dump1()' wasn't checking to see if the
break point number was valid.
* src/os_dependent.cc: non-windows file extension comparisons were
not working.
* src/pic-processor.cc, src/symbol.h, src/symbol.cc, src/value.cc:
val_symbols like the PIC program counter can now be parts of gpsim
expressions.
* src/cod.cc: hack - line number offset errof.
* doc/gpsim.lyx: Updated the documentation.
2005-05-12 Scott Dattalo <scott@dattalo.com>
* gui/gui_regwin.cc, gui/gui_src_opcode.cc, gui/gui_src_asm.cc:
Removed calls to GTKWAIT because they sometimes block in the newer
version (2.6.7) of GTK. Thanks to Micah Carrick for pin-pointing
this one.
2005-05-11 Scott Dattalo <scott@dattalo.com>
* src/sim_context.cc: The included file "direct.h" does not exist
on FC3.
2005-05-10 J.R. Heisey <jrheisey@sourceforge.com>
* cli/cmd_load.cc: Updated on line help for load command.
* gui/gui_src_asm.cc: Removed a call to gtk_widget_destory()
in SourcePage::Close() where it was causing a crash in Windows.
* cli/scan.ll: Defined literal string values to be quoted. This
was done so that quoted Windows paths in the load command to
accommodate colons for drive designation and backslashes for
folder delimiters.
* gpsim/main.cc: Added the gpsim.exe startup folder to the
module/library search path.
* src/sim_context.cc, src/errors.h: Added an error message to CSimulationContext::
LoadProgram().
* cli/cmd_module.cc, src/modules.cc, src/modules.h,
src/os_dependent.cc, gpsim/main.cc: Added code to not load
a module library that is already loaded.
2005-05-06 J.R. Heisey <jrheisey@sourceforge.com>
* gui/gui_regwin.cc: Fixed crash that occurs when RAM register
count is not a multiple of 16.
* plat/win32/gpsim.def: Added new function reference.
* src/processor.cc: Fixed broken list command
* src/sim_context.cc: Fixed broken register output on stepping
that broken on previous check in. Test for open file failure.
* src/program_files.h: Add new error code.
2005-05-05 J.R. Heisey <jrheisey@sourceforge.com>
* cli/cmd_break.cc, cli/cmd_disasm.cc, cli/cmd_dump.cc,
cli/cmd_frequency.cc, cli/cmd_list.cc, cli/cmd_load.cc,
cli/cmd_load.h, cli/cmd_log.cc, cli/cmd_processor.cc,
cli/cmd_reset.cc, cli/cmd_step.cc, cli/cmd_x.cc, cli/command.cc,
cli/command.h, cli/input.cc, cli/input.h, cli/parse.yy,
src/cod.cc, src/cod.h, src/hexutils.cc, src/Makefile.am,
src/modules.h, src/os_dependent.cc, src/pic-processor.cc,
src/pic-processor.h, src/processor.cc, src/processor.h,
src/program_files.cc, src/program_files.h, src/sim_context.cc,
src/sim_context.h, src/src.vcproj, src/symbol.cc, src/symbol.h,
config_win32.h.in, configure.ac, plat/win32/gpsim.def,
gui/gui_menu.cc, gui/gui_src_asm.cc, gui/gui_statusbar.cc,
gpsim/Makefile.am:
- Replaced the cli and gui references to hexfiles verses
cod file with program files. Gpsim will now figure out
the file type and load the file.
- Both the gui and cli will recoginze command files by the stc
file extension. All other files are assumed to be program files.
- The c, h and s load options of the load command will be accepted
for backwards compatibility of existing command files but are no
longer needed.
- The processor command is not optional. If the program file
contains the information about the processor type, gpsim will
allocate the processor type based on the program file information.
Using the processor command overrides this behavior.
2005-05-01 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: MSVC sync
2005-04-29 Scott Dattalo <scott@dattalo.com>
* HISTORY, README, INSTALL, configure.ac, gpsim.spec.in: Updates
for the 0.21.4
* extras/lcd/ChangeLog, Makefile.am, configure.in: bumped the Rev
of the LCD module to 0.2.4
2005-04-29 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc: Register assertions were not halting
simulation when assertion was true.
2005-04-26 Scott Dattalo <scott@dattalo.com>
* cli/Makefile.am, examples/14bit/Makefile.am: Updated so that
'make dist' would work again.
* src/attributes.cc, src/init.cc: Moved attribute initialization
from init.cc to attributes.cc
* src/breakpoints.cc, src/symbol.cc, src/symbol.h, src/trigger.cc:
Complex expressions are now fully supported. Updated the help info
for the break command to reflect the new syntax (more work
needed).
2005-04-26 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc, src/breakpoints.h, cli/parse.yy,
cli/cmd_break.cc, cli/cmd_break.h: continuing with complex break
expressions.
2005-04-25 Scott Dattalo <scott@dattalo.com>
* src/trigger.h, src/trigger.cc, src/breakpoints.cc: Added complex
expressions to the TriggerObject class. (not complete)
2005-04-23 Borut Razem <borut.razem@siol.net>
* src/bitlog.cc, src/bytelog.cc, src/ttoken.cc: removed #define IN_MODULE
* plat/win32/gpsim.def, modules/makefile.mingw, src/makefile.mingw,
modules/modules.vcproj, src/src.vcproj: MINGW sync
* gpsim/makefile.mingw: force linker to onclude BoolEventLogger class
methods in gpsim.exe, so that they can be referenced by modules
* src/modules.cc (get_attribute): fixed attribute name comparison
* src/sim_context.h: added end of line at end of file
* plat/win32/gpsim.nsi: remove pthreadVC1.dll
2005-04-22 Scott Dattalo <scott@dattalo.com>
* bitlog.cc, bitlog.h, bytelog.cc, bytelog.h, ttoken.cc, ttoken.h,
pthread-wrap.h: moved these from the modules/ directory into the
src/ directory.
2005-04-19 J.R. Heisey <jrheisey@sourceforge.com>
* src/breakpoints.cc, src/processor.cc, src/processor.h:
Fixed corruption when clearing a Breakpoint_Instruction object.
The object was not removed properly from the chain of instruction
objects in the pma.
2005-04-19 Scott Dattalo <scott@dattalo.com>
* src/os_dependent.cc: Added 'errno.h' to the list of include
files. (without this, os_dependent.cc wouldn't compile on
FC3-64bit).
2005-04-19 Scott Dattalo <scott@dattalo.com>
* src/symbol.cc, src/symbol.h: Fixed reference to symbol table
that was preventing compilation on Linux.
2005-04-19 J.R. Heisey <jrheisey@sourceforge.com>
* gui/gui_src_asm.cc, gui/gui_statusbar.cc, gui/gui_statusbar.h:
Modified the statusbar so that it can handle a switch from
one processor to another.
* src/sim_context.cc, src/symbol.cc,h: Fixed a crash on gpsim
exit.
* src/os_dependent.c: added test in load_library() to the first
call to sLoad() to determine whether the a failure was due
to the library file not found or some other error. This needs
to be completed for the linux builds.
2005-04-18 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc: Stimulus_Node destructor now removes itself from
the symbol table.
2005-04-17 Scott Dattalo <scott@dattalo.com>
* src/stimuli.h, src/stimuli.cc: Added methods to control the
resistance and voltage of the IO_bi_directional_pu pullup resistor.
2005-04-16 Scott Dattalo <scott@dattalo.com>
* src/symbol.cc: set methods for register symbol now initialize
the "init" field in the register object.
2005-04-16 J.R. Heisey <jrheisey@sourceforge.com>
* src/value.cc,h, src/symbol.cc,h, src/processor.cc,h,
src/pic-processor.cc,h, makefile.mingw, Makefile.am,
cli/input.cc, cli/init.cc, gui/gui_symbols.cc, gui/gui_stack.cc,
gui/gui_src_asm.cc, gui/gui_profile.cc, src/gpsim_time.cc,
plat/win32/gpsim.def, src/cod.cc, cli/cmd_processor.cc,
added src/sim_context.cc.h: Restructured classes in preparation
for allowing a simulation context to be reset for a new processor
with out having to close the program and with out memory leaks.
The new class CSimulationContext, implemented as a singleton for
now, owns a CProcessorList. The singelton class
ProcessorContructorList is used to create processor objects.
Eventually CSimulationContext may own Breakpoints, Symbol_Table
and the active_cpu objects. For now. there are accessor functions
to get to the global objects. CSimulationContext.set_processor()
will check for a matching processor in the processor list before
allocating a new processor.
Processor related classes now delete the objects that they own
on destruction. May not be conprehensive. set_processor() currently
deletes a matching processor object rather than reinitializing it
for a new simulation session.
2005-04-15 Scott Dattalo <scott@dattalo.com>
* cli/command.h, cli/input.cc, cli/parse.yy, cli/scan.ll,
gpsim/main.cc: Finished support for reentrant parsing.
* cli/cmd_disasm.cc: Cleaned up a buglet in printing.
* src/attributes.cc, src/attributes.h, src/pic-processor.cc,
src/processor.cc, src/processor.h: Added an attribute that
controls the behavior of simulator when a reset is encountered.
2005-04-15 Scott Dattalo <scott@dattalo.com>
* src/cod.cc, cli/cmd_run.cc, cli/cmd_run.h, cli/input.cc,
cli/input.h, cli/parse.yy, cli/scan.ll:
Added initial support for .COD file assertions.
-- Parser is now reentrant
-- gpsim's CLI interface is now a registered interface
that can be referenced and accessed by the simulation
engine.
* src/ioports.cc: experimental tinkering
2005-04-14 Scott Dattalo <scott@dattalo.com>
* build.xml: configure was not getting invoked.
2005-04-14 Scott Dattalo <scott@dattalo.com>
* build.xml: autoconf was not getting invoked...
2005-04-13 Scott Dattalo <scott@dattalo.com>
* build.xml: An XML script for an experimental regression tool
(based on the open source projects "ant" and "CruiseControl").
2005-04-09 Borut Razem <borut.razem@siol.net>
* cli/makefile.mingw, src/makefile.mingw: MINGW sync
2005-04-08 J.R. Heisey <jrheisey@sourceforge.com>
* src/breakpoints.cc, src/cmd_manager.cc,h, gpsim/main.cc,
src/processor.cc,h, cli/ui_gpsim.cc,h, src/registers.cc,
cli.vcproj, gpsim.vcproj, src.vcproj: Created a IUserInterface
and CGpsimUserInterface as the implementation with functions to
write predefined parameterized strings to the console (or in the
future a GUI popup).
Modules call the C function GetUserInterface() to retrieve an
instance of CGpsimUserInterface as a IUserInterface.
Using IUserInterface functions is the prefered way of writing error
and notification messages to the gpsim console from other modules.
2005-04-08 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy, cli/cmd_break.h: Added support for a break command
like:
break r|w reg(N)
Where N is an integer and 'reg' is the new reg operator.
2005-04-08 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy, cli/scan.ll: Added a "reg()" operator that can cast
integers into registers (although this is not fully implemented
yet).
A single quote before an identifier now acts as an 'escape'
character. This allows user defined strings to collide with gpsim
built in strings. (e.g. If a user has a variable named help, its
contents can be examined by typing 'help at the command line).
2005-04-07 J.R. Heisey <jrheisey@sourceforge.com>
src/breakpoints.cc: Fixed a memory leak by properly removing
chained BreakpointRegister objects from the Register chain when
clearing a break object. When the chain is properly maintained
the object may be deleted.
2005-04-07 J.R. Heisey <jrheisey@sourceforge.com>
* cli/scan.ll, cli/parse.yy, cli/cmd_break.cc,h,
src/processor.cc,h, src/pic-processor.cc, operator.cc,h,
src/breakpoints.cc: Changed the break command syntax.
Added code to support the syntax.
2005-04-07 Scott Dattalo <scott@dattalo.com>
* cli/cmd_manager.h, cli/cmd_manager.cc, cli/cmd_gpsim.h:
moved from cli/ to src/
* src/processor.cc, src/Makefile.am, src/interface.cc,
src/processor.cc, gpsim/main.cc, cli/Makefile.am,
cli/cmd_manager.cc, cli/cmd_module.cc, cli/cmd_shell.cc:
Updated these files to use the newly relocated .h files. The reason
for doing this is to fix a src/ dependency on cli/ files. When
src/ depends on cli/ then any module that links against the gpsim
library must also link against the cli library.
* src/registers.cc: added a Bit class (currently not used though)
* src/symbol.cc: attribute symbols that wrap other symbols now change
the name of the wrapped symbol. This allows heirarchical names
such as processor_name.attribute to appear in the symbol table.
2005-04-06 J.R. Heisey <jrheisey@sourceforge.com>
* src/processor.cc.h: Two new break message functions.
2005-04-05 J.R. Heisey <jrheisey@sourceforge.com>
* src/value.h, src/registers.cc,h, src/processor.cc.h,
src/preakpoints.cc,h, plat/win32/gpsim.def: Implemented
classes and functions for displaying the register address
and possible value for break on read and break on write.
2005-04-05 J.R. Heisey <jrheisey@sourceforge.com>
* gpsim/main.cc, src/interface.cc, src/gpsim_interface.h,
cli/cmd_manager.h: Added code to support for an external module to
access the global ISimConsole object from the Interface class.
2005-04-04 J.R. Heisey <jrheisey@sourceforge.com>
* src/processor.cc,h: Added the function Processor::IsAddressInRange().
Use IsAddressInRange() in ProgramMemoryAccess::get_src_line() and
ProgramMemoryAccess::operator [](unsigned int address)
2005-04-02 Scott Dattalo <scott@dattalo.com>
* src/processor.cpp: Reverted the change J.R. made on 2005-03-31
because it breaks the gui for the 18F family of PICs. We'll need
to come up with another way of solving the initial PC value
problem.
2005-03-31 J.R. Heisey <jrheisey@sourceforge.com>
* src/processor.cpp: Changed call ProgramCounter->get_PC() to
ProgramCounter->get_value() to fix a problem where the initial
position of the PC in the source was not getting set properly.
Return value is used for indexing into source code line.
Mostly used by the UI so should not affect behavior.
2005-03-30 J.R. Heisey <jrheisey@sourceforge.com>
* cli/cmd_dump.cc: Changed ram dump command to handle ram sizes
greater than one byte.
* cli/cmd_x.cc: Removed call to dump.dump(DUMP_SFRS) since previous
call to dump.dump(DUMP_RAM) already dump thes sfrs too.ram halt.
* Cleaned up a couple of GUI error messages. (invalid window handle,
invalid value strings)
2005-03-24 J.R. Heisey <jrheisey@sourceforge.com>
* src/breakpoints.cc, src/processor.cc, h, cli/cmd_clear.cc:
Fixed crash in Breakpoints::clear() that I reintroduced in my last checkin.
Also Fixed the original memory leak by properly removing chained
Breakpoint_Instruction objects from the instruction chain when clearing a
break object. When the chain is properly maintained the object may be
deleted. Perhaps this should be a temporary fix until a base class
for Breakpoint_Instruction all have a replaced member.
2005-03-23 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: changed the comment text color to 'dim gray'
2005-03-23 Scott Dattalo <scott@dattalo.com>
* src/value.cc: Fixed write to a null pointer in String::get(char
*buf, int len).
* src/symbol.cc: Fixed infinite loop in
char *register_symbol::name (char *buf, int len).
* regression/ccp/ccp.asm: added more features to the ccp
regression test.
2005-03-22 J.R. Heisey <jrheisey@sourceforge.com>
* gui/gui_watch.cc: Fixed problem with register values > 127 causing pango runtime warnings
2005-03-21 J.R. Heisey <jrheisey@sourceforge.com>
* src/breakpoints.cc, src/processor.h: created a notification
to Processor when breakpoints are set or cleared. Cleaned up
code in breakpoints.cc.
2005-03-23 Scott Dattalo <scott@dattalo.com>
* src/16bit-instructions.cc: The NEGF instruction for the 18f
family was erroneously writing the negated result to W.
* regression/instructions_16bit/instructions_16bit.asm: added a
regression test for the NEGF instruction.
2005-03-21 J.R. Heisey <jrheisey@sourceforge.com>
* src/processor.cc: Copy a null string to input parameter
Processor::get(char *cP, int len) because not value is
associate with a Processor object. Fixes trace errors from
pango when the symbol window is scrolled to some symbol objects.
* src/value.cc: Copy a null string to input parameter
String::get(char *buf, int len) when not value string is
allocated. Fixes trace errors from pango when symbol window
is scrolled to some symbol objects.
2005-03-18 J.R. Heisey <jrheisey@sourceforge.com>
* cli/cmd_load.cc/h, src/cod.cc/h, cli/input.cc, cli/parse.yy:
added error checking for opening cod, hex and stc files.
Particularily when opened from the GUI.
2005-03-17 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc: tweaking of I/O thresholds.
2005-03-16 Scott Dattalo <scott@dattalo.com>
* cli/scan.ll, src/stimuli.h, src/stimuli.cc, src/symbol.cc,
src/symbol.h: Added/enhanced methods for searching, adding, and
removing symbols and stimuli.
2005-03-14 J.R. Heisey <jrheisey@sourceforge.com>
* src/modules.h, modules.cc, os_dependent.cc: Elimaticated
undesired error message on failure to load a function of a
module.
Simplified Module_Library() constructor to use os independent
api call get_library_export()
2005-03-14 Scott Dattalo <scott@dattalo.com>
* plat/win32/gpsim.def: MSVC sync.
* modules/modules.vcproj: Use new pthread library.
* gui/gui_register.h, gui/gui_regwin.cc: pass registerValue by
value in getValueAsString() method.
2005-03-03 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: MSVC sync
2005-03-10 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc: Added an 'X' state to getBitChar method
of the IO_open_collector class.
2005-03-09 Borut Razem <borut.razem@siol.net>
* modules/makefile.mingw: pthreads upgrade
2005-03-08 Scott Dattalo <scott@dattalo.com>
* src/value.cc, gui/gui_profile.cc, gui/gui_statusbar.cc,
gui/gui_trace.cc: Corrected temporary hack regarding PRINTF_INT64_MODIFIER
2005-03-08 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: removed examples\14bit\*.inc
* cli/cmd_manager.h: added newline at the end of file
* doc/gpsimWin32.html: atk upgraded to 1.8.0
2005-03-08 Scott Dattalo <scott@dattalo.com>
* regression/ccp/ccp.asm: improvements to ccp regression test
* gui/gui_profile.cc, gui/gui_trace.cc, gui/gui_statusbar.cc,
src/value.cc: Temporarily removed windows-specific macro.
* src/stimulus.cc, src/stimuli.h: Cleaned up asynchronous stimuli
* src/registers.h, src/ssp.cc, src/ioports.cc, src/14bit-tmrs.cc:
Made the default register class access functions all go through
one function to obtain a register's value.
2005-02-26 Scott Dattalo <scott@dattalo.com>
* src/processor.h, src/trace.h, src/breakpoints.h, src/symbol.h,
src/gpsim_interface.h, src/gpsim_time.h:
The external references demarcated by 'IN_MODULE' were not getting
resolved in FC3. Since these were introduced to resolve a linking
problem with WIN32 DLL's, I made the demarcation dependent on only
Windows.
2005-02-25 Scott Dattalo <scott@dattalo.com>
* src/stimuli.h, src/stimuli.cc: Added methods to the IOPIN class
to differentiate between a pin driving a node and one being driven
by a node.
* src/14bit-tmrs.cc, src/i2c-ee.cc, src/packages.cc, src/ssp.cc,
src/stimuli.cc, src/stimuli.h, src/uart.cc, extras/lcd/lcd.cc,
gui/gui_breadboard.cc, modules/logic.cc, modules/logic.h,
modules/usart.cc, modules/video.cc, modules/video.h: Propogate
IOPIN change to all consumers.
2005-02-24 Scott Dattalo <scott@dattalo.com>
* src/stimuli.h, src/stimuli.cc: Added impedance thresholds
to differentiate strong, weak, and floating drivers.
2005-02-16 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc: experiments in ioport redesign.
2005-02-16 Scott Dattalo <scott@dattalo.com>
* src/stimuli.h, src/stimuli.cc: Added 'getBitChar()' method to
the open collector stimulus class.
2005-02-15 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc, src/ioports.h: Added a 'getIO' method to the
IOPIN class that will allow an individual I/O pin in a port to be
accessed.
* src/stimuli.h, src/stimuli.cc: Add more state information to the
snode class. Also, added the 'getBitChar()' method that will
return the state of the stimulus in the form of an ASCII character
(e.g. 0,1,Z,W).
2005-02-11 Scott Dattalo <scott@dattalo.com>
* src/os_dependent.cc: Libraries stored in system directories were
getting ignored.
2005-02-09 Scott Dattalo <scott@dattalo.com>
* src/Makefile.am: Newly added src file 'os_dependent.cc' was not
part of the Makefile
* cli/input.cc, src/os_dependent.cc: abstracted some os dependent
changes that were recently added
2005-02-01 Scott Dattalo <scott@dattalo.com>
* src/processor.h, src/processor.cc, src/trace.cc: Added 'Debug()'
method to processor class and call it whenever a register
assertion occur.s
2005-01-30 Borut Razem <borut.razem@siol.net>
* config_win32.h.in, configure_win32.awk: extract version, package and
bugreport values from configure.ac
2005-01-26 Scott Dattalo <scott@dattalo.com>
* configure.ac: repositioned the call to the m4 macro wi_READLINE_LIB
so that it would run properly.
2005-01-26 Scott Dattalo <scott@dattalo.com>
* plat/win32/gpsim.def: added more external cross references.
* module/modules.vcproj: changed from pthreadVC1.lib to
pthreadVC.lib.
2005-01-23 Scott Dattalo <scott@dattalo.com>
* configure.ac: Craig Franklin updated gpsim's configure files. It
turns out there was a tiny bug preventing things to build a
*second* time (the first time would work fine)
* src/gpsim_time.h, src/gpsim_time.cc, src/init.cc: The newly
added and globally instantiated StopWatch class' constructor was
making calls to the globally instantiated (but not necessarily
constructed) Symbol_Table class. Now, StopWatch::init() will make
the calls to the symbol table.
2005-01-21 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def, src/src.vcproj: MSVC sync
* doc/gpsimWin32.html: gpsim works with flex 2.4.31
2005-01-20 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc: Trigger actions were not printing
execution breakpoint messages.
* src/registers.h, src/registers.cc: Added a skip_start function to
the program counter.
2005-01-19 Scott Dattalo <scott@dattalo.com>
* src/registers.cc, src/registers.h, src/gpsim_object.cc,
src/gpsim_object.h, src/symbol.cc, src/symbol.h,
src/value.cc, src/value.h: Added the 'toBitStr' method
to gpsim_object and propopogated the change through the
derived classes. Also, the register class now calls get() to
obtain the value printed with toString and toBitStr instead
of directly using its value object.
2005-01-17 Scott Dattalo <scott@dattalo.com>
* src/gpsim_time.h, src/gpsim_time.cc: Finished the StopWatch
class.
* src/value.cc, src/value.h, src/attributes.cc, src/attributes.h:
Added attribute breakpoints. For attributes that can be associated
with breakpoints, you can now write 'break attribute' to set a
breakpoint on that attribute.
* cli/Makefile.am, cli/cmd_break.cc, cli/cmd_break.h,
cli/cmd_help.cc, cli/command.cc, cli/parse.yy: The 'stopwatch'
command is now handled by attributes. Added the following
attributes:
stopwatch, stopwatch.enable, stopwatch.direction,
stopwatch.rollover.
The 'stopwatch' attribute supports breakpoints, so the 'break
stopwatch' command will break whenever the stopwatch rolls over.
2005-01-15 Scott Dattalo <scott@dattalo.com>
* src/attributes.cc, src/attributes.h: New files to support gpsim
attributes.
* src/Makefile.am, src/makefile.mingw: added the new files to the
make files.
2005-01-14 Scott Dattalo <scott@dattalo.com>
* gpsim/main.cc, gui/gui_main.cc: The gtk main loop is now started
even if the command line option --cli is specified. This way, the
GIOChannels will still operate.
2005-01-13 Scott Dattalo <scott@dattalo.com>
* cli/sockect.cc, src/value.cc: Added support for 'Socket Sinks'
and 'Socket Sources'. These essentially are two ways in which a
client can choose to communicate with gpsim.
2005-01-10 Scott Dattalo <scott@dattalo.com>
* cli/sockect.cc, src/protocol.cc, src/protocol.h,
src/symbol.cc, src/symbol.h, src/value.cc,src/value.h:
Fixed bugs associated with socket notify links.
2005-01-09 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc: Began I/O port redesign.
* cli/socket.cc, src/protocol.h: Added Socket callbacks.
* examples/scripts/client3.cc, examples/scripts/makefile,
examples/scripts/client_interface.cc,
examples/scripts/client_interface.h: Added a new client script
example illustrating socket callbacks.
* gui/gui_main.cc: removed a printf debug statement.
2005-01-09 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: MSVC sync
* doc/gpsimWin32.html: dependedncy on gawk, ...
* cli/cli.vcproj, cli/scan.ll: make it work with flex 2.4.31
* plat/win32/gpsim.nsi, modules/makefile.mingw, modules/modules.vcproj:
pthreads 2005-01-03
* gui/gui_menu.cc: use utf-8 encoded LATIN SMALL LETTER Z WITH CARON
instead LATIN SMALL LETTER Z.
2005-01-07 Scott Dattalo <scott@dattalo.com>
* src/16bit-processors.cc: stop gap hack - added registers
to hold the places of the analog SFR's
* cli/socket.cc, src/protocol.h, src/value.cc, src/value.h:
More socket improvements.
2005-01-05 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc, src/gpsim_classes.h, src/gpsim_interface.h,
src/interface.cc, src/modules.cc, src/modules.h,
src/pic-processor.cc, src/protocol.cc, src/protocol.h,
cli/command.cc, cli/socket.cc:
Enhancements to support the socket interface. Added a run command
and a reset command and made them invocable via the interface class.
2005-01-02 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc, cli/input.cc, src/interface.cc: Added function
'gUseThreads()' and use it to run-time select the usage of threads.
2005-01-02 Borut Razem <borut.razem@siol.net>
* gui/gui_break.cc, gui/dialog.cc, gui/gui_init.cc, gui/gui_menu.cc,
gui/gui_processor.cc, gui/gui_src.cc, gui/gui_src_asm.cc
gui/gui_src_opcode.cc: removed unneeded include gtkcombobox.h
* gui/gui_breadboard.cc: fixed compiler warnings
* cli/Makefile.am, gui/Makefile.am: added AM_ preffix to CFLAGS,
CXXFLAGS, CPPFLAGS and YFLAGS
* doc/gpsimWin32.html: gtk+ version 2.4.14, XHTML 1.0 Transitional compliant,
gtk+extra-2-1.1.0-20050102
* doc/gpsim_cvs.html: changed first build instructions
2004-12-17 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc, src/interface.cc, cli/socket.cc: removed
dependencies on GTK 2.0.
2004-12-19 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: added examples/scripts/client_interface.h
to installation
* mingw/makefile.mingw, gpsim/gpsim.vcproj: added gthread-2.0.lib
* src/src.vcproj: removed plat\win32\glist.cpp from project; CLI
mode now requires linking with full glib library; added src/trigger.cc
and src/trigger.h to the project
* modules/modules.vcproj: pthreads to the project
* gpsim.sln: removed building of modules in CLI configuration
2004-12-17 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc, src/interface.cc: replaced pthread_* calls and
declarations with the corresponding GTK ones.
2004-12-17 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc, src/interface.cc: Added experimental code to
test threading.
2004-12-16 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc, gui/gui_menu.cc: Use the interface instead of
the cpu pointer to initiate simulation.
* src/Makefile.am, src/trigger.cc, src/trigger.h,
src/breakpoints.cc, src/breakpoints.h: Split the
trigger classes away from the breakpoint classes.
* src/gpsim_interface.h, src/init.cc, src/interface.cc,
src/pic-processor.cc, src/protocol.cc, src/protocol.h,
src/trace.h, cli/cmd_run.cc, cli/cmd_set.cc, cli/cmd_trace.cc,
cli/input.cc, cli/socket.cc:
Attempted (but failed) to add a feature that would allow a socket
interface to send data to the simulator while a simulation is
running. It turns out that the giochannel stuff used to control
the socket runs in the gui event loop. The only time the socket is
handled is whenever the loop can run. However, since gpsim is a
single threaded application (the gui does spawn its own private
thread), the gui event loop only runs whenever the simulation
gives it cpu time. Thus it's not possible for a socket to update
the simulation except when the gui is being refreshed!
* examples/scripts/client.cc, examples/scripts/gensquares.asm,
examples/scripts/makefile, examples/scripts/client2.cc,
examples/scripts/client_interface.cc,
examples/scripts/client_interface.h:
Added a class to encapsulate the gpsim client socket
interface. Added another example to test socket updates while the
simulation is running.
2004-12-16 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: MSVC sync
* src/14bit-registers.h: declare void
Status_register::put(unsigned int new_value) as virtual, not inline
* gui/gui_src_opcode.cc: removed definition of unused variable pm_size
in method SourceBrowserOpcode_Window::NewProcessor()
* extras/lcd/makefile.mingw: added
* plat/win32/gpsim.nsi: added additional files from examples\scripts to
the package
* cli/input.cc: function have_line() is needed also in non GUI mode
* gui/profile.cc, gui/gui_statusbar.cc, gui/gui_stopwatch.cc,
gui/gui_trace.cc, src/14bit-tmrs.cc, src/16bit-registers.cc,
src/eeprom.cc, src/i2c-ee.cc, src/interface.cc, src/interface.h,
src/ioports.cc, src/p16x7x.cc, src/pic-processor.cc,
src/pic-registers.cc, src/ssp.cc, src/stimuli.cc, src/tmr0.cc,
src/uart.cc: replace direct access to cycles with a getter
function get_cycles()
2004-12-15 Scott Dattalo <scott@dattalo.com>
* src/init.cc, src/gpsim_time.cc:
Delayed creation of the cycle counter attribute. It turns out that
this attribute was created in the Cycle_Counter constructor which
is called by the globally instantiated 'cycles' object. On
Windows, this call happened before the symbol table was
inititialized .
2004-12-14 Scott Dattalo <scott@dattalo.com>
* src/init.cc: added new function for initialization. Also added
new attribute 'sim.verbosity' that will control the simulator's
verbosity. Note, this duplicates the behavior of the global
variable 'verbose'. However, the goal is to phase out the global
variable.
* cli/cmd_run.cc: the run command now examines the new verbosity
attribute.
* src/pic-processor.cc, src/pic-processor.h, src/processor.cc,
src/processor.h: the run member function now takes a parameter
that controls whether or text will be printed.
* cli/socket.cc:
* src/interface.h: added extern def for new init function.
* gpsim/main.cc: call new initialization function
* src/breakpoints.cc: removed superfluous carriage return print.
* examples/scripts/README, examples/scripts/client.cc,
examples/scripts/makefile: added new files to illustrate
scripting.
* examples/scripts/gensquares.asm: minor tweak to simplify example
regression test.
2004-12-14 Scott Dattalo <scott@dattalo.com>
* cli/scan.ll, cli/socket.cc, src/protocol.cc, src/protocol.h,
src/value.cc: Fixed compilation issues with FC3 on an Athlon 64.
2004-12-11 Borut Razem <borut.razem@siol.net>
* src/makefile.mingw, src/src.vcproj: added protocol.cc and protocol.h
* plat/win32/gpsim.def: MSVC sync
2004-12-10 Scott Dattalo <scott@dattalo.com>
* src/gpsim_time.cc: Added a "cycles" attribute for interfacing
with the cycle counter class.
* src/protocol.cc, src/protocol.h, src/symbol.cc, src/symbol.h,
src/value.cc, src/value.h, cli/socket.cc:
More improvements to the protocol stuff.
2004-12-09 Scott Dattalo <scott@dattalo.com>
* src/protocol.h, src/protocol.cc, src/Makefile.am: New files to
support a communication protocol for gpsim.
* cli/socket.cc: moved much of the protocol related stuff to the
new files.
* src/value.h, src/value.cc, src/symbol.h, src/symbol.cc: Symbols
and Values can now be assigned by Packets.
* src/12bit-instructions.h, src/12bit-processors.h,
src/14bit-instructions.h, src/14bit-processors.h,
src/14bit-tmrs.h, src/16bit-processors.h, src/16bit-tmrs.h,
src/breakpoints.h, src/p12x.h, src/p16f62x.h, src/p16x5x.h,
src/p16x6x.h, src/p16x8x.h, src/pic-instructions.h,
src/pic-processor.h, src/processor.h, src/trace.h, src/xref.h:
fixed typo in GPL disclaimer.
2004-12-07 Scott Dattalo <scott@dattalo.com>
* cli/socket.cc: More socket clean up
* src/modules.cc, src/modules.h, src/processor.cc,
src/processor.h, src/symbol.cc, src/symbol.h: Removed deprecated
code for setting/getting attributes. Added a new member function
to the module_symbol that allows a character string to assign
values to a module (this doesn't do anything yet).
* modules/resistor.cc, modules/resistor.h, modules/usart.cc,
modules/usart.h: removed deprecated set_attribute member function.
2004-12-06 Scott Dattalo <scott@dattalo.com>
* cli/socket.cc: Experimenting with binary data. Cleaned up socket
link creation. Added a generic symbol read/write socket command.
2004-12-06 Scott Dattalo <scott@dattalo.com>
* cli/socket.cc: Wrap gtk2.x calls with #defines
2004-12-02 Scott Dattalo <scott@dattalo.com>
* cli/socket.cc: More additions to SocketLinks. It's now possible
to tie a socket to a gpsim attribute. This allows an external
application to directly control gpsim's behavior.
2004-12-02 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.h, src/pic-processor.cc, src/p16f87x.h,
src/p16f87x.cc: Added the PIC 16f876
2004-12-01 Scott Dattalo <scott@dattalo.com>
* cli/socket.cc: Fixed the socket interface for issues related
to gtk 2.x. Began adding the SockeLink class. This class will
sit on top of the socket interface and will hide it from the
clients. The clients will be able to open SocketLinks and connect
directly to gpsim internal objects.
2004-12-01 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: MSVC sync
2004-11-30 Scott Dattalo <scott@dattalo.com>
* gpsim/gpsim.vcproj: Removed references to files resource.h and
gpsim.rc.
2004-11-30 Scott Dattalo <scott@dattalo.com>
* cli/cmd_break.cc, cli/cmd_break.h, cli/cmd_help.cc, cli/cmd_help.h,
cli/cmd_load.cc, cli/cmd_load.h, cli/cmd_log.cc, cli/cmd_log.h,
cli/cmd_macro.cc,, cli/cmd_macro.h, cli/cmd_module.cc, cli/cmd_module.h,
cli/cmd_processor.cc,, cli/cmd_processor.h, cli/cmd_symbol.cc,
cli/cmd_symbol.h, cli/command.cc, cli/misc.h, cli/parse.yy, cli/scan.ll:
Changed the parser token STRING to LITERAL_STRING_T. The reason for
this is to allow string type attributes to be treated like numeric
attributes.
* src/pic-processor.cc, src/pic-processor.h, src/processor.cc,
src/processor.h, src/symbol.cc, src/symbol.h, src/value.cc,
src/value.h:
- Enhanced the 'String' class so that 1) it uses char * instead
of STL string (yes this IS an enhancement) 2) the set() and get()
methods can read and write to the String class.
- Changed many instances of 'char *' to 'const char *'.
2004-11-29 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc, src/processor.cc, src/processor.h,
src/trace.cc, src/value.cc, src/value.h: Change Integer,
Boolean, and Float classes back to hold values of native types
(as opposed to holding pointers to the native types).
* modules/video.cc: changed reference to cpu->frequency to
cpu->set_frequency
2004-11-29 Scott Dattalo <scott@dattalo.com>
* cli/cmd_stimulus.cc: register stim were not getting started.
* regression/register_stim/register_stim.[asm|stc],
regression/run_regression.sh:
Added a regression test for register stimuli.
2004-11-29 Scott Dattalo <scott@dattalo.com>
* src/stimuli.h, src/stimuli.cc, src/value.cc, src/value.h: Redesigned
the 'asynchronous_stimulus' to be a 'ValueStimulus'.
Added a new stimulus type: AttributeStimulus. An attribute stimulus
is a stimulus that can be tied directly to some attribute. For example,
a register symbol is a type of attribute. So an attribute stimulus
can be tied to a register symbol to create a 'register stimulus'.
* cli/cmd_stimulus.cc, cli/command.cc, cli/parse.yy: Added support
for attribute stimuli.
2004-11-28 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: MSVC sync
2004-11-24 Scott Dattalo <scott@dattalo.com>
* src/processor.cc: operator[] for FileContext was not checking
negative indices.
2004-11-24 Scott Dattalo <scott@dattalo.com>
* cli/input.cc: yet another attempt to fix tab completion.
* modules/binary_indicator.cc, modules/binary_indicator.h
modules/bitlog.h, modules/led.h, modules/logic.cc, modules/logic.h,
modules/paraface.h, modules/resistor.cc, modules/video.cc,
modules/video.h: Changed IO_input to IOPIN for all pins. This
is an attempt to remove a warning message regarding IO_input that
is generated while building under CygWin.
* modules/makefile.mingw, plat/win32/gpsim.nsi: Renamed modules.dll
to a slightly more descriptive gpsim_modules.dll
* src/i2c-ee.cc, src/p12.cc, src/p16f62x.cc, src/p17c75x.cc,
src/stimuli.h: exchanged references to IO_input to IOPIN.
2004-11-23 Scott Dattalo <scott@dattalo.com>
* plat/win32/gpsim.def, modules/modules.vcproj: MSVC sync
* modules/*.cc: removed (char *) casts in calls to new_name()
* gpsim/main.cc: removed some unnecessary includes.
* gpsim/gpsim.vcproj: MSVC sync
* cli/input.cc: removed some debug stuff
* cli/cmd_log.cc: removed unreferenced variable.
2004-11-23 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def, modules/modules.vcproj: MSVC sync
2004-11-23 Scott Dattalo <scott@dattalo.com>
* cli/input.cc: The tab completion fix for window's now causes
a crash on Linux. Sigh. Now both oses are supported (without crashes)
2004-11-23 Scott Dattalo <scott@dattalo.com>
* cli/input.cc: Fixed tab completion related window's crash
* gui/gui_symbols.cc: Windows doesn't support strndup()
2004-11-22 Scott Dattalo <scott@dattalo.com>
* cli/input.cc: buffer overflow in command_generator().
* src/ioports.cc, src/pic-registers.cc, src/registers.cc,
src/stimuli.cc: valgrind check - unitialized memory.
* src/value.h, src/value.cc, src/interface.h, src/symbol.cc,
src/symbol.h, gui/gui_profile.cc, gui/gui_regwin.cc, gui/gui_regwin.h,
gui/gui_src.cc, gui/gui_src.h, gui/gui_src_asm.cc, gui/gui_stack.cc,
gui/gui_symbols.cc, gui/gui_watch.cc, gui/gui_watch.h:
The gui was accessing the symbol table improperly. A new
Symbol_Table_Iterator class was created to abstract accesses to the
symbol table. In addition, get() and set() methods were added to
the symbol classes that will allow reading/writing symbol values
using strings.
2004-11-19 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc, gui/gui_regwin.cc, cli/parse.yy: valgrind
check - fixed some uninitialized memory.
2004-11-19 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc: Don't let modules open a closed breadboard
window.
2004-11-18 Scott Dattalo <scott@dattalo.com>
* cli/input.cc: disallow TAB characters under windows since it
causes a crash most of the time.
* modules/bitlog.cc, modules/bytelog.cc, modules/ttoken.cc,
modules/makefile.mingw: These were not getting built under windows.
* plat/win32/gpsim.nsi: added pthreadVC.dll to gpsim's windows binary
distribution.
* doc/gpsimWin32.html: Updated documentation for pthreads.
2004-11-17 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/value.cc, src/value.h: made Integer,Float
and Boolean values get() and set() their values through just one
member function. This allows derived attributes to trap reads and
writes to the values.
2004-11-16 Scott Dattalo <scott@dattalo.com>
* src/value.h, src/value.cc, src/processor.h, src/processor.cc,
src/pic-processor.cc, src/symbol.h, src/symbol.cc: Added 3 new
attributes: SafeMode, WarnMode, and UnknownMode to control the
simulator's behavior under certain simulation conditions. Attribute
handling has also been enhanced.
* cli/parse.yy, cli/cmd_help.cc, cli/cmd_help.h: Help command
will display information about attributes.
2004-11-15 Scott Dattalo <scott@dattalo.com>
* src/ioports.h, src/ioports.cc, src/16bit-registers.cc: Beginning
to redesign I/O ports.
2004-11-14 Scott Dattalo <scott@dattalo.com>
* src/i2c-ee.cc, src/ioports.cc, src/ioports.h, src/stimuli.cc,
src/uart.cc: The usart has bitrotted. The relatively recent I/O pin
changes broke this and probably other peripherals too.
* modules/Makefile.am: added new files.
* modules/pthread-wrap.h, modules/ttoken.cc, modules/ttoken.h:
The token class provides co-routine support for modules.
* modules/bitlog.cc, modules/bitlog.h, modules/bytelog.cc,
modules/bytelog.h: Bit and Byte event loggers. bitlog was originally
part of the uart module.
* modules/usart.cc, modules/usart.h: removed the bit logger class and
am now making an attempt to resurrect this code.
2004-11-10 Scott Dattalo <scott@dattalo.com>
* cmd/cmd_break.cc: updated the help description for 'break'
* src/operator.cc, src/symbol.h, src/symbol.cc: Allow registers
to be type-cast into integers.
2004-11-10 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc:
* src/breakpoints.cc, src/gpsim_object.cc, src/gpsim_object.h,
src/modules.cc, src/processor.cc, src/registers.cc, src/registers.h,
src/symbol.cc, src/symbol.h:
- More attribute enhancements
- added a module load capability that uses attributes.
2004-11-08 Scott Dattalo <scott@dattalo.com>
* cli/cmd_attach.h, cli/cmd_load.cc, cli/cmd_symbol.cc,
cli/cmd_symbol.h, cli/command.cc, cli/parse.yy, cli/scan.ll
cli/socket.cc: More attibute updates
* gui/gui_breadboard.cc, gui/gui_menu.cc, gui/gui_object.cc,
gui/gui_profile.cc, gui/gui_regwin.cc, gui/gui_src_asm.cc,
gui/gui_stack.cc, gui/gui_statusbar.cc, gui/gui_symbols.cc:
- Removed debugging printfs.
- Changed attribute handling.
* src/cod.cc, src/expr.cc, src/expr.h, src/gpsim_object.cc,
src/modules.cc, src/p16x8x.cc, src/pic-processor.cc, src/processor.cc
src/stimuli.cc, src/stimuli.h, src/symbol.cc, src/symbol.h,
src/tmr0.cc, src/value.cc, src/value.h:
- Removed debugging statements
- Added the attribute_symbol class.
- Added more methods to the derived symbol classes to handle type
casting.
2004-11-07 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def, plat/win32/gpsim.nsi, src/makefile.mingw,
src/src.vcproj: MSVC sync
* doc/gpsimWin32.html: updated glib version to 2.4.7, gtk+ version to 2.4.13
2004-11-06 Scott Dattalo <scott@dattalo.com>
* cli/socket.cc, gui/gui_profile.cc, gui/gui_stack.cc,
gui/gui_symbol.cc, src/symbol.cc, src/symbol.h, src/value.cc
src/value.h:
gpsim symbols now support more of the methods of the Value class.
2004-11-05 Scott Dattalo <scott@dattalo.com>
* cli/cmd_clear.cc, cli/cmd_disasm.cc, cli/cmd_set.cc
cli/command.cc, cli/scan.ll, gui/gui_breadboard.cc, src/errors.cc
src/expr.cc, src/operator.cc, src/value.cc, src/value.h:
Cleaned up the Value class.
2004-11-05 Scott Dattalo <scott@dattalo.com>
* src/attribute.h, src/attribute.cc, Makefile.am: Removed attribute.*
from gpsim. The class 'Value' has replaced it.
2004-11-04 Scott Dattalo <scott@dattalo.com>
* cli/cmd_break.cc, cli/cmd_log.cc, cli/cmd_symbol.cc, cli/cmd_x.cc,
src/attribute.cc, src/cod.cc, src/expr.cc, src/gpsim_classes.h,
src/modules.cc, src/modules.h, src/p12x.cc, src/p16f62x.cc,
src/p16x5x.cc, src/p16x6x.cc, src/p16x7x.cc, src/p16x8x.cc,
src/p18x.cc, src/pic-instructions.cc, src/pic-processor.cc,
src/processor.h, src/symbol.cc, src/symbol.h, src/value.cc,
src/value.h:
- Rearranged class heirarchy so that gpsimValue derives from
gpsimObject instead of Value.
- Substitued the Value class for those places where the Attribute
class is used.
* modules/encoder.cc, modules/led.cc, modules/logic.cc,
modules/push_button.cc, modules/resistor.cc, modules/switch.cc,
modules/usart.cc, modules/video.cc
2004-11-04 Scott Dattalo <scott@dattalo.com>
* regression/create_stc, regression/simulate, src/expr.cc,
src/symbol.cc, src/symbol.h, src/value.cc:
Regression tests were failing due to recent parser changes.
2004-11-03 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy, cli/scan.ll, src/14bit-registers.cc, src/16bit-instructions.cc,
src/16bit-registers.cc, src/breakpoints.cc, src/breakpoints.h, src/expr.cc,
src/expr.h, src/icd.cc, src/modules.cc, src/operator.cc, src/operator.h,
src/p16x7x.cc, src/pic-instructions.cc, src/pic-instructions.h,
src/pic-registers.cc, src/registers.cc, src/symbol.cc, src/symbol.h,
src/value.cc, src/value.h:
Added command line assignments. Now you can write stuff like:
temp1 = temp2 << 4
where temp1 and temp2 are two registers.
2004-11-02 Scott Dattalo <scott@dattalo.com>
* src/attribute.cc, src/attribute.h, src/modules.cc, src/modules.h:
cleaned up include dependencies.
2004-11-02 Scott Dattalo <scott@dattalo.com>
* src/gpsim_time.cc, src/gpsim_time.h: Fixed a bug with clearing
cycle counter break points.
2004-11-01 Scott Dattalo <scott@dattalo.com>
* src/gpsim_time.cc, src/gpsim_time.h, src/breakpoints.cc, src/ioports.h,
src/ioports.cc, src/stimuli.cc, src/tmr0.cc: Interrupts, tmr0 and
I/O pins were all broken in some way.
* regression/interrupts_14bit.asm, regression/interrupts_14bit.stc:
Added regression test for the midrange devices
2004-10-29 Scott Dattalo <scott@dattalo.com>
* src/gpsim_time.cc, src/gpsim_time.h: Cycle counter debugging.
2004-10-20 Scott Dattalo <scott@dattalo.com>
* src/16bit-instructions.cc: Fixed bug in DECF instruction.
* regression/instructions_16bit/instructions_16bit.asm: Added
decf instruction to the regression test.
2004-10-20 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc, src/ioports.h, src/stimuli.cc, src/stimuli.h:
PORTB pullups updated.
Added an overloaded update() member to Stimulus_Node that doesn't
require time as an input (we never used it anyway).
2004-10-19 Scott Dattalo <scott@dattalo.com>
* src/stimuli.h, src/stimuli.cc, src/ioports.cc, src/i2c-ee.cc:
Optimized I/O port stimulus updates.
2004-10-19 Scott Dattalo <scott@dattalo.com>
* src/stimuli.h, src/stimuli.cc: Began adding capitance modelling
to stimuli.
2004-10-18 Scott Dattalo <scott@dattalo.com>
* src/gpsim_classes.h, src/registers.h: Added EXTERNAL_RESET and
BOD_RESET types.
2004-10-17 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: MSVC sync
* src/symbol.cc: fixed gpsim crash on WIN32 in remove_module()
2004-10-13 Scott Dattalo <scott@dattalo.com>
* src/cod.cc: Applied patch from Craig Franklin that adds support
for reading .cod file message area.
2004-10-12 Scott Dattalo <scott@dattalo.com>
* src/gpsim_time.cc: Added diagnostic printf's
* src/pic-processor.cc, src/pic-processor.h, src/processor.cc,
src/processor.h: add an option to not update the gui while single
stepping.
2004-10-11 Scott Dattalo <scott@dattalo.com>
* src/cod.cc, src/processor.cc: Applied, but modified, patch from
Craig Franklin that brings gpsim up to date with new gputils release.
2004-10-07 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc, gui/gui_breadboard.h, gui/gui_menu.cc:
Cleaned up the gui breadboard code a little by making the gui_module
structure a GuiModule class. In addition, new modules are queued
into the breadboard and realized only after the breadboard has
been built.
2004-10-07 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_opcode.cc: window was being built before cpu had been
initialized.
* cli/cmd_disasm.cc, src/processor.cc, src/trace.cc: Disassembling
and tracing had wrong addresses for the 18F family (again...)
2004-10-06 Scott Dattalo <scott@dattalo.com>
* gui/gui_src.h, gui/gui_src_asm.cc, gui/gui_src_opcode.cc,
gui/gui_statusbar.cc, src/breakpoints.cc: Fixed breakpoint
icon refreshing. Also fixed Source browser window creation if either
~/gpsim is missing or the registry hasn't been initialized
2004-10-05 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: Moved the creation of the Search Dialog
window out of Build() and into its own function. Changed the behavior
of the signal callbacks to conform to GTK+ 2.X
2004-10-04 Scott Dattalo <scott@dattalo.com>
* README, INSTALL: Cleaned up stale documentation.
2004-10-04 Scott Dattalo <scott@dattalo.com>
* cli/input.cc: Send an extra CR to the parser when loading a
command file. Turns out that when the gui loads a file, the
parser doesn't process it until another CR is seen.
2004-10-04 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc, gui/gui_regwin.cc, gui/gui_breadboard.cc:
Removed some debugging printfs.
* gui/gui_object.cc:
With GTK+ 2.2.1 under linux, the gtk_widget_show() was losing
the (x,y) position of the window.
2004-10-04 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc, gui/gui_breadboard.h:
The breadboard expose events invalidated drawing areas which in
turn recursively generated expose events. I'm not sure why this
code worked with GTK+ 1.x
2004-10-04 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc, gui/gui.h, gui/gui_stopwatch.cc,
gui/gui_object.cc, gui/gui_main.cc, gui/gui_object.h,
gui/gui_profile.cc, gui/gui_regwin.cc, gui/gui_scope.cc,
gui/gui_src.h, gui/gui_src_asm.cc, gui/gui_src_opcode.cc,
gui/gui_stack.cc, gui/gui_stopwatch.cc, gui/gui_symbols.cc,
gui/gui_trace.cc, gui/gui_watch.cc:
Work in progress - trying to resolve breadboard start up
issues with GTK+ 2.X .
2004-10-03 Borut Razem <borut.razem@siol.net>
* config_win32.h.in, plat/win32/configure_win32.awk,
cli/cli.vcproj, src/src.vcproj,
plat/win32/make.mingw, makefile.mingw, cli/makefile.mingw, gpsim/makefile.mingw,
gui/makefile.mingw, modules/makefile.mingw, src/makefile.mingw:
added configure_win32.awk script, which takes version number from
configure.in and inserts them into config_win32.h.in and generates cofig.h
* plat/win32/gpsim.def: MSVC sync
2004-10-01 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/processor.h, gui/gui.h, gui/gui_regwin.c
gui/gui_asm.cc, gui/gui_src_opcode.c, plat/win32/make.mingw:
Stabilizing windows port. Apparently under windows there's a
problem if you issue too many gui calls to the GTK library. I
found that this can be mitigated by periodically clearing out
the gtk event queue.
2004-09-29 Scott Dattalo <scott@dattalo.com>
* cli/input.cc, gui/gui_menu.cc, gui/gui_src_asm.cc,
src/modules.h, src/modules.cc, src/processor.cc,
src/pic-processor.cc, src/pic-processor.h, src/trace.h
plat/win32/gpsim.def: Clean ups to get the Windows
port to compile.
2004-09-29 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc, src/pic-instructions.cc: Uninitialized variables
in the instruction class were causing the source browser to
place objects beyond the range allocated to the source browser.
This confused GTK+ 2.x.
2004-09-28 Scott Dattalo <scott@dattalo.com>
* cli/cmd_load.cc, cmd/input.cc:
Allow loading of filenames with spaces. (note, gpsim's
command line interface still does not support this).
2004-09-28 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc, gui/gui_menu.cc, gui/gui_object.cc,
gui/gui_object.h, gui/gui_regwin.cc, gui/gui_src.h,
gui/gui_src_asm.cc, src/gpsim_interface.h, M src/interface.cc:
- Fixed a few bugs caused by upgrading to GTK+ 2.x:
-- Window state was not being saved
-- Register window font was fouled up
-- Source browser pixel position calculations are different
There are still some other bugs that need to be fixed:
-- The breadboard window somehow prevents the Source browser
window from opening
-- <control>Q no longer quits
-- scrolling in source browser only works if the scroll pane
has focus
-- The register window cheats in guessing character width.
2004-09-24 Scott Dattalo <scott@dattalo.com>
* src/processor.cc: save_state() was skipping address 0.
* src/registers.cc: Bit string encoding has been enhanced
2004-09-15 Scott Dattalo <scott@dattalo.com>
* gui/gui_regwin.h, gui/gui_regwin.cc: max allowable registers
is 64k (used to be 4k)
* gui/gui_src_asm.cc: improperly initialized instructions were
causing a core dump.
2004-09-19 Borut Razem <borut.razem@siol.net>
* configure.in: gpsim is configured to link with GTK+ 2.x by default.
Use --enable-gtk1 for linking with GTK+ 1.x (deprecated).
2004-09-15 Scott Dattalo <scott@dattalo.com>
* gui/gui_regwin.cc, gui/gui_src_asm.cc: Fixed ranging checks.
2004-09-15 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/processor.h, src/pic-processor.cc:
getWriteTT and getReadTT used to return TraceType objects,
but now they return unsigned ints.
2004-09-15 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/trace.cc, gui/gui_src_opcode.cc:
- 18f processors' addresses were off by a factor of two in
disassembly operations.
2004-09-14 Borut Razem <borut.razem@siol.net>
* cli/cli.cvproj, src/src.vcproj, plat/win32/gpsim.def: MSVC sync
* cli/makefile.mingw, src/makefile.mingw: MinGW sync
* plat/win32/gpsim.nsi: corrected revision number to 0.22.3
2004-09-14 Scott Dattalo <scott@dattalo.com>
* regression/p12ce518/p12c518.asm, regression/p12ce518/p12c518.stc,
regression/p12ce518/EEdriver.asm: Added a regression test
for the 12ce518.
* src/stimuli.cc, src/i2c-ee.cc, src/ioports.cc, src/stimuli.h,
src/14bit-registers.cc:
Fixed stimuli so that the 12CE518 internal EEPROM would work.
2004-09-13 Scott Dattalo <scott@dattalo.com>
* src/i2c-ee.cc, src/i2c-ee.h, src/ioports.cc, src/p12x.cc,
src/stimuli.cc, src/stimuli.h: Partially check in for work
on the 12ce518 bug (internal I/O pins).
2004-09-12 Scott Dattalo <scott@dattalo.com>
* cli/Makefile.am, cli/errors.cc, cli/errors.h:
* src/Makefile.am, src/errors.cc, src/errors.h:
Moved errors.* from cli/ to src/
* src/expr.cc, src/operator.cc, cli/cmd_disasm.cc,
cli/cmd_set.cc, cli/cmd_x.cc, cli/command.cc, cli/command.h,
cli/parse.yy, cli/scan.ll:
Updated the directory path for including errors.h.
2004-09-12 Borut Razem <borut.razem@siol.net>
* cli/cli.cvproj, src/src.vcproj, plat/win32/gpsim.def: MSVC sync
* cli/makefile.mingw, src/makefile.mingw, gpsim/makefile.mignw: MinGW sync
2004-09-11 Scott Dattalo <scott@dattalo.com>
* configure.in: Bumped the Revision up to 0.22.3 since there
have been *so* many changes.
* cli/expr.h, cli/expr.cc, cli/operator.cc, cli/operator.h:
- moved to the src/ directory
* src/expr.h, src/expr.cc: copied from the cli/ directory
* src/Makefile.am, cli/Makefile.am
* src/symbol.h, src/value.h, src/symbol.cc, src/value.cc:
- It turns out that gpsim's symbols are essentially identical
to the value objects that were recently added to support
expression parsing. Since expressions need to handle symbols
too, I decided to make the Value class a base class for
gpsimValue. Now, much of what has been written for
expressions will naturally handle many of gpsim fundamental
types.
* src/pic-processor.cc, src/pic-processor.h, src/eeprom.cc,
src/eeprom.h, src/14bit-registers.cc: The W register, eeprom,
and option register states were not saved during a processor
'save_state()' call.
* src/p12x.cc: internal 12ce518 i2c module was not connected
correctly.
* cli/cmd_clear.cc, cli/cmd_disasm.cc, cli/cmd_frequency.cc,
cli/cmd_log.h, cli/cmd_macro.cc, cli/cmd_module.h,
cli/cmd_set.cc, cli/cmd_step.cc, cli/cmd_stimulus.h,
cli/cmd_symbol.cc, cli/cmd_trace.cc, cli/cmd_trace.h,
cli/cmd_x.cc, cli/command.cc, cli/command.h:
Updated the paths to the include files that have moved
2004-09-08 Scott Dattalo <scott@dattalo.com>
* cli/cmd_x.cc, cli/expr.cc, cli/expr.h, cli/operator.cc,
cli/operator.h, cli/parse.yy, cli/scan.ll:
- Added command line comparison expressions.
* src/pic-processor.cc, src/pic-registers.cc, src/symbol.cc,
src/symbol.h, src/value.cc, src/value.h:
- Added support for a generic symbol type.
- Added the pic PC object to the symbol table.
* regression/digital_stim/digital_stim.stc:
The new expression parsing introduced a grammer conflict that
requires a stimulus data list to be expressed differently.
2004-09-08 Scott Dattalo <scott@dattalo.com>
* src/14bit-registers.h, src/14bit-tmrs.h, src/breakpoints.cc,
src/breakpoints.h, src/eeprom.h, src/gpsim_interface.h,
src/gpsim_time.cc, src/gpsim_time.h, src/i2c-ee.h,
src/p16x7x.h, src/pic-processor.cc, src/processor.cc,
src/processor.h, src/ssp.h, src/stimuli.cc,
src/stimuli.h, src/tmr0.h, src/trace.h, src/uart.h
gui/gui_profile.cc, modules/encoder.h, modules/paraface.h
modules/usart.cc:
Started adding Triggers and Actions.
* regression/run_regression.sh: Added the digital_stim
regression test to the list of tests to run.
2004-09-07 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc, src/stimuli.h, cmd_x.cc, cmd_stimulus.cc:
Digital asynchronous stimuli were not getting the proper voltage
data values.
Enhanced the asynchronous stimulus by making the data array an
array of C++ objects instead of a type casted structured.
2004-09-06 Scott Dattalo <scott@dattalo.com>
* examples/14bit/analog_stim2.stc, examples/14bit/ap.stc,
examples/14bit/async_pulse.stc, examples/14bit/async_stim2.stc,
examples/14bit/dtmf.stc, examples/12bit/gpio_stim.stc:
- Updated the asynchronous stimulus syntax in all of the example
startup scripts
2004-09-05 Scott Dattalo <scott@dattalo.com>
* src/ioport.cc, src/stimuli.cc:
Applied patch from Robert Pearce regarding I/O Pins and stimuli
Fixed a couple more issues with I/O pins and contention.
2004-09-02 Borut Razem <borut.razem@siol.net>
* cli/socket.cc: read complete line before procesing,
support for different line endings (LF, CR-FL)
* cli/cmd_macro.cc: enable compilation on VS 7.1
2004-09-02 Scott Dattalo <scott@dattalo.com>
* cli/cmd_macro.cc:
Clarified the help description for the macro command.
2004-09-02 Scott Dattalo <scott@dattalo.com>
* cli/cmd_macro.cc, cli/cmd_macro.h, cli/scan.h, cli/scan.ll:
Completed support for parameterized macros
2004-09-02 Scott Dattalo <scott@dattalo.com>
* cli/cmd_macro.cc, cli/cmd_macro.h, cli/input.cc,
cli/parse.yy, cli/scan.ll: Added support for parameterized
macros. This is not completed
2004-09-02 Borut Razem <borut.razem@siol.net>
* cli/input.cc, cli/socket.cc: socket port to WIN32
* gpsim/gpsim.vcproj, cli/cli.vcproj, cli/makefile.mingw,
gpsim/makefile.mingw: added cmd_macro.* and socket.cc to
the project, wsock32.lib dependency
2004-09-01 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy: Fixed a bug that caused old versions of bison
to choke.
2004-09-01 Scott Dattalo <scott@dattalo.com>
* cli/cmd_macro.cc, cli/input.cc:
Converted the LLInput struct into a class. Now, the macro
command can invoke a macro and redirect it's output to the
parser stream.
* src/trace.cc, src/trace.h:
Added the ProcessorTraceObject to the TraceObject heirarchy.
Now, TraceObjects no longer store info about a processor.
(Thus modules can be processor agnostic.)
2004-09-01 Scott Dattalo <scott@dattalo.com>
* src/p16x5x.cc: The 16C55 processor was only declaring a
package of 18 pins (instead of 28).
2004-08-31 Scott Dattalo <scott@dattalo.com>
* cli/cmd_macro.cc, cli/cmd_macro.h:
Added the 'macro' command.
* cli/Makefile.am, cli/parse.yy, cli/command.cc, cli/scan.ll:
Parser now calls the gpsim command cmd_macro.
2004-08-31 Scott Dattalo <scott@dattalo.com>
* cli/scan.ll, cli/parse.yy:
Added language support for macro definitions. (although,
macros are not yet supported).
2004-08-29 Borut Razem <borut.razem@siol.net>
* plat/win32/gsim.def, cli/makefile.migw, src/makefile.migw,
cli/cli.vcproj, src/src.vcproj: updated
* cli/errors.h, cli/scan.ll: corrected include paths
* plat/win32/gpsim.nsi: gpsom.pdf included in WIN32 setup
* doc/gpsimWin32.html: gtk+ 2.4.7
2004-08-27 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc, src/gpsim_object.cc, src/gpsim_object.h,
src/modules.cc, src/modules.h, src/pic-processor.cc,
gui/gui_src_asm.cc, gui/gui_statusbar.cc:
The Module class was overriding functionality provided in the
gpsimObject class. This caused problems for external processors
(That is, processors not a part of gpsim).
2004-08-26 Scott Dattalo <scott@dattalo.com>
* src/gpsim_object.cc, src/gpsim_object.h: New files that
support the gpsimObject class. This is a base class for
almost all gpsim objects.
* cli/viewable.cc, cli/viewable.h: Removed. The functionality
that was provide by these was moved to gpsimObject.
* src/Makefile.am, src/modules.h, src/registers.cc,
src/registers.h, src/symbol.cc, src/value.cc, src/value.h,
cli/Makefile.am, cli/cmd_x.cc, cli/command.cc, cli/command.h,
cli/expr.cc, cli/expr.h, cli/parse.yy:
Added the gpsimObject Meta class.
Added support for symbolically viewing registers with the 'x'
command.
Added support for viewing a range of registers.
2004-08-26 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc, src/symbol.cc, src/symbol.h,
gui/gui_profile.cc, gui/gui_stack.cc, gui/gui_symbols.cc
cli/scan.ll:
The symbol class is now derived from the gpsimValue class.
This change allows some of the recent enhancements created
for other things to be applied to symbols as well.
* examples/14bit/p16c64_pwm.stc, examples/14bit/portc_stim.stc:
The PWM module was crashing. I'm not sure why, but I think
what actually was happening that the example stc file
was just broken.
2004-08-25 Scott Dattalo <scott@dattalo.com>
* cli/cmd_trace.cc, src/14bit-registers.cc, src/trace.cc,
src/trace.h: Removed a stale option to the trace command
and added a new option that will allow the decode trace
buffer to be saved to a file.
2004-08-25 Manuel Bouyer <bouyer@antioche.eu.org>
* src/stimuli.cc: fixed bug in finding the node voltage when
3 or more stimuli are attached to a node.
2004-08-24 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc: Attaching three or more stimuli to
one node caused gpsim to hang.
2004-08-24 Manuel Bouyer <bouyer@antioche.eu.org>
* src/stimuli.cc: Fixed iopin stimulus update.
2004-08-24 Scott Dattalo <scott@dattalo.com>
* cli/cmd_attach.cc, cli/cmd_attach.h, cli/cmd_symbol.cc,
cli/cmd_symbol.h, cli/expr.cc, cli/expr.h, cli/parse.yy,
cli/scan.ll, src/stimuli.cc, src/stimuli.h, src/symbol.h:
The attach command can now accept a list of symbols. Also,
Nodes and stimuli are now added to the symbol table whenever
they're constructed.
2004-08-19 Scott Dattalo <scott@dattalo.com>
* src/processor.cc: writeTT and readTT were not initialized
in Processor constructor.
2004-08-18 Scott Dattalo <scott@dattalo.com>
* src/registers.cc, src/registers.h, src/symbol.cc,
src/symbol.h, src/trace.cc, src/trace.h, cli/cmd_symbol.cc,
cli/cmd_symbol.h, cli/expr.cc, cli/expr.h, cli/parse.yy,
cli/scan.ll:
More improvements to tracing.
Added some more symbolic command line processing.
2004-08-16 Scott Dattalo <scott@dattalo.com>
* src/trace.cc, src/trace.h:
CVS was broken.
2004-08-16 Scott Dattalo <scott@dattalo.com>
* src/intcon.cc, src/intcon.h, src/processor.h, src/trace.cc
src/trace.h, src/value.h:
Trace stuff *** CVS is broken at the moment but will be fixed
within 3 hours of the time stamp of this change
2004-08-14 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: small changes
* doc/gpsimWin32.html: documented GCC compilation
2004-08-13 Scott Dattalo <scott@dattalo.com>
* src/14bit-processors.cc, src/14bit-registers.cc, src/14bit-registers.h
src/14bit-tmrs.cc, src/16bit-registers.cc, src/eeprom.cc, src/intcon.cc,
src/ioports.cc, src/p16x7x.cc, src/pic-processor.cc,
src/pic-registers.cc, src/pie.cc, src/pir.cc, src/processor.cc,
src/processor.h, src/registers.cc, src/registers.h, src/ssp.cc,
src/tmr0.cc, src/trace.cc, src/trace.h, src/uart.cc:
More Tracing.
2004-08-11 Scott Dattalo <scott@dattalo.com>
* src/trace.cc, src/trace.h, src/processor.cc, src/pic-processors.cc
src/value.h, src/value.cc, src/registers.h, src/registers.cc,
14bit-registers.cc:
More trace stuff.
2004-08-10 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: packaging of examples, extras, ...
* plat/win32/gpsim.def: updated exports
* extras/lcd/lcd.cc, extras/lcd/lcdengine.cc, extras/lcd/lcdgui.cc,
extras/lcd/module_manager.cc: define IN_MODULE for modules, calling
accessor methods for global objects
* modules/makefile.mingw, modules/modules.vcproj: removed unneeded
define MODULES_EXPORTS
2004-08-09 Scott Dattalo <scott@dattalo.com>
* src/14bit-registers.cc, src/14bit-registers.h, src/14bit-tmrs.cc,
src/16bit-registers.cc, src/attribute.cc, src/eeprom.cc, src/intcon.cc
src/ioports.cc, src/modules.cc, src/p16x7x.cc, src/pie.cc, src/pir.cc
src/registers.cc, src/ssp.cc, src/tmr0.cc, src/trace.cc, src/trace.h
src/uart.cc, gui/gui_breadboard.cc, modules/led.cc, modules/paraface.cc
modules/resistor.cc,modules/usart.cc:
Continuing this ongoing trace experiment.
2004-08-09 Scott Dattalo <scott@dattalo.com>
* src/trace.cc, gpsim/main.cc: more experimental code
* src/attribute.cc, src/attribute.h, gui/gui_breadboard.cc: Some annoying
bug with attributes that I can't figure out. Problem appears when shared
libraries are disabled.
2004-08-06 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/processor.h, src/registers.h, src/trace.cc:
Partial implementation of trace reconstruction.
2004-08-04 Scott Dattalo <scott@dattalo.com>
* src/14bit-registers.cc, src/16bit-processors.cc, src/16bit-registers.cc
src/p12x.cc, src/p16f62x.cc, src/p16f87x.cc, src/p16x5x.cc, src/p16x6x.cc
src/p16x7x.cc, src/p16x8x.cc, src/p18x.cc, src/pic-processor.cc,
src/pic-processor.h, src/processor.cc, src/processor.h, src/registers.cc
src/registers.h, src/tmr0.cc, src/trace.cc, src/trace.h, gui/gui_regwin.cc
cli/cmd_trace.cc:
Two categories of changes have been made: First, the unitialized register
concept has been propogated to all of the register constructions. Second,
tracing has been improved yet again.
2004-08-04 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.nsi: packaging of MinGW executables
* gpsim/gpsim.vcproj: cleanup
* plat/win32/make.mingw, cli/makefile.mingw, gpsim/makefile.mingw,
gui/makefile.mingw, modules/makefile.mingw, src/makefile.mingw:
do not define NDEBUG to enable assertions in release version
2004-08-02 Borut Razem <borut.razem@siol.net>
* gui/gui_breadboard.cc, gui/gui_menu.cc, src/hexutils.cc,
src/interface.cc, src/packages.cc, src/xref.cc:
reverted unneeded changes
* config_win32.h.in, plat/win32/fd2raw.cpp: ifdefed MSVC specifics
* cli/input.cc, src/pic_processor.cc: corrected the sequence of includes
2004-08-01 Borut Razem <borut.razem@siol.net>
* makefile.mingw, cli/makefile.mingw, gpsim/makefile.mingw,
gui/makefile.mingw, modules/makefile.mingw, src/makefile.mingw,
plat/win32/make.mingw:
added mingw (cygwin -mno-cygwin) gcc WIN32 native makefiles
* config_win32.h.in, gui/gui_breadboard.cc, gui/gui_menu.cc,
src/hexutils.cc, cli/input.cc, src/interface.cc, src/packages.cc,
src/pic_processor.cc, plat/win32/uxtime.h, src/xref.cc:
changes to enable mingw (cygwin -mno-cygwin) gcc WIN32 native
compilation
* src/modules.cc: added initialization of widget Module class member
* plat/win32/glist.cpp: corrected line formatting
2004-07-31 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: updated exports
* acinclude.m4, src/breakpoints.cc, cli/input.cc: small cleanups
2004-07-29 Scott Dattalo <scott@dattalo.com>
* src/14bit-instructions.cc, src/16bit-instructions.cc, src/pic-instructions.cc,
src/pic-registers.cc, src/trace.cc, src/trace.h: The newly rewritten
trace printing code was broken. The good news is that while fixing
it, I found a way to save a little simulation time by not tracing
the instruction opcodes.
2004-07-29 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc, src/ioports.h, src/modules.cc, src/registers.cc,
src/registers.h, src/stimuli.cc, src/stimuli.h:
Minor stimuli bug fixes, commenting and general cleanup.
* cli/cmd_trace.cc, src/trace.cc, src/trace.h, src/trace_orb.h,
src/pic-registers.cc, src/processor.cc, src/processor.h:
Rewrote the trace printing code.
2004-07-24 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: updated exports
* plat/win32/gpsim.nsi: don't cd when running gpsim
* doc/gpsimWin32.html: XHTML 1.0 compliant, snapshots at a separate page
2004-07-22 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc, modules/resistor.cc, modules/resistor.h:
Bug fixes to the recent I/O pin redesign
2004-07-22 Scott Dattalo <scott@dattalo.com>
* src/14bit-tmrs.cc, src/breakpoints.cc, src/breakpoints.h,
src/i2c-ee.cc, src/ioports.cc, src/ioports.h, src/p16x7x.cc,
src/p16x7x.h, src/packages.cc, src/pic-processor.h, src/processor.cc,
src/processor.h, src/registers.cc, src/registers.h, src/ssp.cc,
src/stimuli.cc, src/stimuli.h, src/uart.cc, modules/binary_indicator.cc,
modules/binary_indicator.h, modules/led.cc, modules/led.h,
modules/logic.cc, modules/logic.h, modules/paraface.cc,
modules/paraface.h, modules/resistor.cc, modules/resistor.h,
modules/usart.cc, modules/video.cc, modules/video.h:
Rewrote the way stimuli are handled. Before, gpsim only used
a single parameter (more or less) to represent the state of
an stimulus. Now, two parameters are used. Currently, these
parameters are designated as the voltage and impedance. Before,
the single parameter was somewhat similar to a current.
2004-07-20 Scott Dattalo <scott@dattalo.com>
* src/stimuli.h, src/stimuli.cc: added input leakage modelling
to I/O pins.
2004-07-19 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc, src/pic-processor.h, src/pic-registers.cc,
src/processor.h, src/processor.cc, gui/gui_statusbar.cc,
gui/gui_stopwatch.cc, modules/usart.cc, cli/cmd_frequency.cc:
Added new member functions to the Processor class to simplify
handling time.
2004-07-17 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def, src/src.vcproj, src/i2c-ee.cc:
small fixes for MSVC compilation
2004-07-16 Scott Dattalo <scott@dattalo.com>
* gui/gui_statusbar.h, gui/gui_statusbar.cc: Now the status bar can
accept an arbitrary of registers to display.
* src/16bit-processors.cc, src/processor.h: Added BSR to the list
of registers viewable in the status bar.
* cli/cmd_trace.cc, cli/cmd_trace.h, cli/parse.yy, src/trace.cc: The
trace raw option was broken.
2004-07-15 Scott Dattalo <scott@dattalo.com>
* cli/input.cc, cli/socket.cc, gui/gui_main.cc: The newly created
gpsim socket interface now uses GLib GIOChannels instead of Pthreads.
2004-07-14 Scott Dattalo <scott@dattalo.com>
* gui_break.cc, gui_main.cc, gui_processor.cc, gui_processor.h,
gui_regwin.cc gui_regwin.h, gui_src.h, gui_src_asm.cc,
gui_src_opcode.cc, gui_statusbar.cc, gui_statusbar.h:
Finished abstracting the gui status bar. Added a status bar to
the source viewer.
* 14bit-registers.cc, 14bit-registers.h, 14bit-tmrs.h,
16bit-processors.cc, Makefile.am, eeprom.h, intcon.h, ioports.cc,
ioports.h, p12x.cc, p12x.h, p16f62x.cc, p16x5x.cc, p16x6x.cc,
p16x8x.cc, pic-processor.cc, pic-processor.h, pic-registers.cc,
pic-registers.h, pie.h, pir.h, processor.cc, processor.h, registers.h:
Cleaned up some stale code.
Added a MemoryAccess class and made it the base class to the
RegisterMemoryAccess and ProgramMemoryAccess classes.
2004-07-14 Robert Pearce <rob@bdt-home.demon.co.uk>
* src/i2c-ee.cc, src/i2c-ee.h, src/Makefile.am: New files that support
an i2c peripheral
* src/p12x.cc, src/p12x.h, src/pic-processor.h, src/pic-processor.cc:
Added the 12CE518 and 12CE519 processors.
* src/ioport.cc: Fixed an ambiguity in the ioport trace logic.
2004-07-13 Scott Dattalo <scott@dattalo.com>
* gui/gui_statusbar.cc: abstracting the status bar boxes.
* src/pic-registers.cc: cross reference to Program Counter was broken.
* src/processor.h, src/processor.cc: Added a set_PC method to the pma
class
2004-07-12 Scott Dattalo <scott@dattalo.com>
* gui/gui_statusbar.cc: abstracting the status bar boxes.
* examples/scripts/gensquares.asm, examples/scripts/testgensquares.py,
examples/scripts/testgensquares.py: Script testing
2004-07-12 Scott Dattalo <scott@dattalo.com>
* cli/socket.cc: dinking around...
* examples/scripts/testsocket.py:
2004-07-09 Scott Dattalo <scott@dattalo.com>
* cli/socket.cc: Added a very thin object layer to the socket interface
* examples/scripts/testsocket.py: added to the repository. This is
a simple python script that will exercise all of the commands that
gpsim will accept through a socket interface.
2004-07-08 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc, cli/socket.cc, cli/input.cc, configure.in: Added
support for multithreading.
* TODO: cleaned up the TODO list a little by removing some outdated
items.
2004-07-08 Manuel Bouyer <bouyer@antioche.eu.org>
* src/16bit-registers.cc, src/16bit-registers.h: Added put() and
update_pin_directions() methods for the PORTC16 class
2004-07-07 Scott Dattalo <scott@dattalo.com>
* cli/socket.cc: New file
* cli/input.cc: init_gpsim() will now create a socket.
Added a Socket class that is capable of creating a socket and
accepting commands.
* src/registers.h: added an option to fetch the RegisterValue object
without causing a trace to be emitted.
2004-07-06 Borut Razem <borut.razem@siol.net>
* gui/settings.h, gui/settings_exdbm.h, gui/settings_exdbm.cc,
gui/gui.h, plat/win32/settings_reg.h, plat/win32/settings_reg.cpp,
gui/gui.vcproj, gui/Makefile.am: added additional layer to hide
differences between eXdbm and WIN32 registry
* store settings in registy on WIN32
2004-07-03 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.ico, plat/win32/gpsim.nsi: created NSIS setup script
2004-07-02 Scott Dattalo <scott@dattalo.com>
* gpsim/input.cc, gui/gui_menu.cc: Now files are correctly
loaded through the menu interface (File/Open)
* cli/parse.yy, cli/scan.ll, cli/operator.cc, cli/operator.h:
Added new binary operators: -,*,/,&,^,<<,>>
2004-07-02 Scott Dattalo <scott@dattalo.com>
* gpsim/main.cc: Emit warning if a user specifies both
a .hex file and a .cod file at the command line.
2004-06-30 Scott Dattalo <scott@dattalo.com>
* plat/win32/gpsim.def: Added additional export definitions.
* cli/cmd_clear.cc: type casting fixes.
* src/breakpoints.h: added get_bp accessor function for the
global bp (breakpoint) object
* src/gpsim_time.h: now uses the bp accessor function.
* src/processor.cc: If the listing file is not present,
gpsim will not crash now...
2004-06-30 Scott Dattalo <scott@dattalo.com>
* gpsim/main.cc, cli/input.cc:
Starting gpsim in cli only mode would cause a crash.
2004-06-30 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def: small fix for MSVC compilation
2004-06-28 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy, cli/misc.h, cli/cmd_symbol.cc, src/symbol.cc:
Removed 'NUMBER' and 'FLOATING_NUMBER' types from the CLI parser. Now
all numbers are represented by expressions. All commands that used to
numbers have been converted over to use expressions.
2004-06-28 Scott Dattalo <scott@dattalo.com>
* cli/cmd_module.cc, src/modules.h, src/modules.cc, gui/gui_breadboard.cc:
Module positioning now works again.
2004-06-27 Scott Dattalo <scott@dattalo.com>
* gui/gui_breadboard.cc: From Ralph, the breadboard was not
using module pixmaps.
* cli/cmd_module.cc, cli/cmd_module.h, cli/command.cc,
cli/parse.yy: cli module command now supports expressions.
2004-06-27 Borut Razem <borut.razem@siol.net>
* gpsim.sln: set project dependency - modules depends on gpsim
* gpsim/gpsim.vcproj: corrected Ignore Specific Library settings
* doc/gpsimWin32.html: added to CVS
2004-06-24 Scott Dattalo <scott@dattalo.com>
* cli/cmd_break.cc, cli/cmd_break.h, cli/cmd_log.cc,
cli/cmd_log.h, cli/cmd_stimulus.h, cli/command.cc,
cli/command.h, cli/expr.cc, cli/expr.h, cli/parse.yy,cli/scan.ll:
The 'break' and 'log' commands now accept expressions
2004-06-24 Borut Razem <borut.razem@siol.net>
* plat/win32/fd2raw.cpp, plat/win32/fd2raw.h: functions to set the WIN32
console to raw mode.
* cli/input.cc: call functions to set WIN32 console to raw mode
* gui/gui.vcproj: added fd2raw.cpp and fd2raw.h to the project
* cli/cli.vcproj: added errors.cc and errors.h to the project
2004-06-23 Scott Dattalo <scott@dattalo.com>
* cli/Makefile.am, cli/cmd_attach.cc, cli/cmd_attach.h, cli/cmd_bus.cc, cli/cmd_bus.h
* cli/cmd_clear.cc, cli/cmd_clear.h, cli/cmd_disasm.cc, cli/cmd_disasm.h,
* cli/cmd_frequency.cc, cli/cmd_frequency.h, cli/cmd_node.cc, cli/cmd_node.h,
* cli/cmd_set.cc, cli/cmd_set.h, cli/cmd_step.cc, cli/cmd_step.h,
* cli/cmd_stimulus.cc, cli/cmd_stimulus.h, cli/cmd_trace.cc, cli/cmd_trace.h,
* cli/cmd_x.cc, cli/command.cc, cli/command.h, cli/expr.cc, cli/expr.h,
* cli/input.cc, cli/misc.h, cli/operator.cc, cli/operator.h, cli/parse.h,
* cli/parse.yy, cli/scan.ll
* gpsim/main.cc, gui/gui_breadboard.cc, src/processor.cc,
* src/processor.h, src/stimuli.cc
Rewrote the command parser and added expression parsing.
* cli/errors.cc, cli/expr.cc, cli/operator.cc, cli/viewable.cc,
cli/errors.h, cli/expr.h, cli/operator.h, cli/viewable.h:
New files for expression parsing.
2004-06-16 Borut Razem <borut.razem@siol.net>
* plat/win32/gpsim.def, gui/gui_src_asm.cc, src/symbol.cc, src/symbol.h:
small fixes to enable compilation on MSVC
2004-06-15 Scott Dattalo <scott@dattalo.com>
* more pedantic fixes
2004-06-14 Scott Dattalo <scott@dattalo.com>
* more pedantic fixes (mostly in cli)
2004-06-14 Scott Dattalo <scott@dattalo.com>
* tons of pedantic fixes (and there are many more needed).
2004-06-14 Scott Dattalo <scott@dattalo.com>
* aclocal.m4, configure.in
The AC_DEFINE macro was incompletely defined.
* acconfig.h: removed from CVS
* INSTALL: updated installation instructions for CVS checkouts
* doc/gpsim_cvs.html: Added to the CVS
2004-06-12 Borut Razem <borut.razem@siol.net>
* cli/viewable.cc: #warning not recognised by MSVC
* eXdbm/eXdbm.vcproj, gui/gui.vcproj, modules.vcproj:
new project files for GUI support
* gpsim.sln, gpsim/gpsim.vcproj, cli/cli.vcproj, src/src.vcproj:
GUI support
* plat/win32/gpsim.def, plat/win32/modules.def: WIN32 def files for
DLL modules support
* plat/win32/glist.cpp: added g_win32_error_message() for --disable-gui
* cli/input.c: define gpsim_rl_getc() only if defined HAVE_READLINE &&
defined HAVE_GUI
2004-06-09 Scott Dattalo <scott@dattalo.com>
* cli/expr.cc, cli/expr.h, cli/viewable.h, cli/viewable.cc,
cli/operator.h, cli/operator.cc: New files to support parsing
* cli/parse.yy, cli/scan.ll: added new parsing and lexing rules
for expression parsing.
* src/stimuli.cc: Manuel Boyer found and fixed a bug where the
a named stimulus was ignoring its newly assigned name.
2004-06-09 Scott Dattalo <scott@dattalo.com>
* cli/parse.yy, cli/scan.ll, cli/misc.h, cli/cmd_stimulus.cc, cli/command.h
Cleaned up the parser by removing the explicit YYABORT and YYACCEPT macros.
Also, redesigned the parser implementation of the stimulus command.
2004-06-03 Scott Dattalo <scott@dattalo.com>
* examples/12bit/it_12bit.asm: removed
* regressions/instructions_12bit/instructions_12bit.asm: added
* regressions/instructions_12bit/instructions_12bit.stc: added
Now the 12bit core has a regression test.
2004-06-05 Scott Dattalo <scott@dattalo.com>
* src/eeprom.cc: The eeprom memory access object was not getting
initialized.
* src/stimuli.cc: applied patch from Manuel Boyer. The IO_open_collector
was duplicating the base class' job of setting the pin name.
2004-06-02 Scott Dattalo <scott@dattalo.com>
* cli/cmd_break.cc, src/processor.cc: 18fxxx addressing was broken.
(the divide by 2 issue for the 18f addressess was not being handled
correctly.)
2004-06-01 Scott Dattalo <scott@dattalo.com>
* src/value.h: Made the string &name() member function in the
gpsimValue class virtual.
2004-05-31 Scott Dattalo <scott@dattalo.com>
* almost all files: Since the Register class and the Instruction class
are now derived from gpsimValue, all objects that use registers
and instructions have to change. These changes have been propogated
through gpsim. Next, the gui will start taking advantage of the
abstractness that this change introduces.
* src/16bit-instructions.cc, src/14bit-instructions.h: Manuel Boyer
reported two bugs with the 16bit subwf instruction. He fixed one
(N-bit was ignored) with a patch and I fixed the other (OV bit was
ignored).
2004-05-27 Scott Dattalo <scott@dattalo.com>
* src/value.h, src/value.cc: New files that support abstract values.
* src/register.h, src/pic-instructions.h:
Now all base objects that have values are derived from the new
gpsimValue object.
2004-05-27 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.h, src/breakpoints.cc: Execution breakpoints now
support a customizable message that will be displayed when the
break is encountered.
2004-05-21 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/register.h, register.cc, gui/gui_register.h,
gui/gui_regwin.c: Gui Register Window now can show unitialized register
data.
2004-05-21 Scott Dattalo <scott@dattalo.com>
* src/register.h: Added new accessor member functions to the Register
class to manipulate the new way register values are represented.
2004-05-20 Scott Dattalo <scott@dattalo.com>
* Tons of files... Changed the Register class' 'unsigned int value'
field to an object. The get() and put() accessor functions now provide
read and write access.
2004-05-20 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: Syntax highlighting now is only applied to lines
that are associated with generated code.
2004-05-16 Scott Dattalo <scott@dattalo.com>
* src/processor.h, src/processor.cc:
Added mapping between program memory and source file line numbers
2004-05-16 Scott Dattalo <scott@dattalo.com>
* gui/gui_src.h, src/gui_src_asm.cc: Fixed memory leak with 'canbreak' XPM.
Added 'SourcePage' class to hold information about a source browser notebook
page. Corresponding info in 'SourceBrowserAsm_Window'.
Added a new member to the sa_entry structure to keep track of pixmaps.
2004-05-15 Scott Dattalo <scott@dattalo.com>
* src/pic-processor: If the simulation is started from an address that has
an execution break, now gpsim will ignore that break.
* xpm/canbreak.xpm: New xpm that's used to indicate source lines that will
accept breakpoints.
* gui/gui_src.h, gui/gui_src_asm.h: Added 'canbreak' XPM to the source
browser lines that can accept break points. NOTE: this code currently
leaks memory!
2004-05-12 Manuel Bouyer <bouyer@antioche.eu.org>
* src/16bit-instructions.cc, src/p18x.cc, src/p18x.h, src/pic-instructions.cc,
src/pic-processor.cc, src/pic-processor.h: Fix usart problems in 18x devices.
* src/pir.cc, src/pir.h, src/uart.cc, src/uart.h: Fix usart bugs.
(Changes were submitted as a patch and applied by Scott).
2004-05-15 Scott Dattalo <scott@dattalo.com>
* src/xref.h, xref.cc: added get_value() member function to XrefObject class
* gui/gui.h, gui/gui_break.cc, gui/gui_main.cc, gui/gui_processor.cc,
gui/gui_regwin.cc, gui/gui_regwin.h, gui/gui_statusbar.cc:
Converted the structure labeled_entry into a class and renamed it
to LabeledEntry.
* gui/gui_statusbar.h: Added.
2004-05-12 Scott Dattalo <scott@dattalo.com>
* cli/scan.ll: Identifiers can now contain dashes.
2004-05-12 Scott Dattalo <scott@dattalo.com>
* src/stimuli.cc: bi-directional I/O pins were not working properly
with modules.
* src/processor.cc: removed debug printf stuff
* src/ioports.cc: IOPORT class was using a hardcoded number of pins
2004-04-27 Borut Razem <borut.razem@siol.net>
* cli/input.cc, gui/gui_main.cc: fixes to make working of CLI & GUI
in parallel
2004-04-22 Borut Razem <borut.razem@siol.net>
* modules/binary_indicator.cc modules/binary_indicator.h modules/encoder.cc
modules/encoder.h modules/gpsim_modules.cc modules/led.cc modules/led.h
modules/logic.cc modules/logic.h modules/paraface.cc modules/paraface.h
modules/push_button.cc modules/push_button.h modules/resistor.cc
modules/resistor.h modules/switch.cc modules/switch.h modules/usart.cc
modules/usart.h modules/video.cc modules/video.h: defined IN_MODULE
symbol for modules, call get_interface(), get_cycles(), get_active_cpu(),
get_symbol_table(), get_trace(void) accessor methods instead direct object
access
2004-04-21 Borut Razem <borut.razem@siol.net>
* src/gpsim_interface.h, src/gpsim_time.h, src/processor.cc, src/symbol.cc,
src/trace.cc: create instances of inline methods by taking theirs address,
so that they can be accessed from dynamic loadable modules
2004-04-19 Scott Dattalo <scott@dattalo.com>
* modules/binary_indicator.cc, modules/encoder.cc,
modules/gpsim_modules.cc, modules/led.cc, modules/logic.cc,
modules/paraface.cc, modules/push_button.cc, modules/resistor.cc,
modules/switch.cc, modules/usart.cc, modules/video.cc:
Fixed ambiguous (to read, but still syntactically correct)
references to "new_name".
* src/breakpoints.h, src/breakpoints.cc:
added a post assertion option to the register assertions.
2004-04-18 Borut Razem <borut.razem@siol.net>
* src/14bit-registers.h, src/gpsim_interface.h, src/gpsim_time.h,
src/processor.h, src/symbol.h, src/trace.h: introduced get_interface(),
get_cycles(), get_active_cpu(), get_symbol_table(), get_trace(void)
accessor methods
* config_win32.h.in: defined GPSIM_MAJOR_VERSION, GPSIM_MINOR_VERSION and
GPSIM_MICRO_VERSION symbols
2004-04-15 Scott Dattalo <scott@dattalo.com>
* src/14bit-tmrs.cc, src/ioports.cc, src/ioports.h: PORTC's T1OSC input
can clock TMR1 on some PIC's. I've added some preliminary support for this.
2004-04-14 Scott Dattalo <scott@dattalo.com>
* gui/gui_break.cc, gui/gui_menu.cc, gui/gui_profile.cc,
gui/gui_src_asm.cc, gui/gui_src_opcode.cc, gui/gui_stack.cc,
src/16bit-registers.cc, src/breakpoints.cc,
src/cod.cc, src/eeprom.cc, src/ioports.cc, src/ioports.h,
src/pic-processor.cc, src/processor.cc, src/processor.h,
src/trace.cc:
Made the processor's ProgramMemoryAccess class dynamically allocated.
* src/Makefile.am: ssp.h was not part of the install.
2004-04-14 Scott Dattalo <scott@dattalo.com>
* src/14bit-tmrs.cc: The TMR2 peripheral failed to properly clear
its breakpoint whenever it was being turned off.
*src/modules.h: string.h was not getting included.
2004-04-13 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc, src/breakpoints.h:
Redesigned breakpoints so that a) they're more object oriented and b) more
easily extensible.
* src/interface.cc, src/gpsim_interface.h: Removed the CyclicBreakPoint class
and moved the functionality it was providing into the gpsimInterface class
* src/14bit-registers.h, src/14bit-tmrs.h, modules/usart.cc, cli/cmd_set.cc,
src/eeprom.h, src/gpsim_time.cc, src/gpsim_time.h,
src/p16x7x.h, src/pic-processor.cc, src/processor.cc,
src/processor.h, src/ssp.h, src/stimuli.cc, src/stimuli.h, src/tmr0.h,
src/trace.h, src/uart.h, gui/gui_profile.cc, modules/encoder.h, modules/paraface.h,:
Removed the BreakCallBack class. The functionality it was providing is now
implemented by the BreakpointObject class.
2004-04-11 Borut Razem <borut.razem@siol.net>
* src/interface.cc: added initialization of interface_seq_number in
gpsimInterface constructor.
2004-04-07 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.h, src/breakpoints: Adding assertion type breakpoints
and redesigning the whole Breakpoint class.
2004-04-07 Bert Driehuis <driehuis@playbeing.org>
* extras/lcd/lcd.cc: reference was made to a no-longer existing API
* extras/lcd/module_manager.cc: contained comments
which were out of date, that hampered readability.
* src/modules.cc: will not load two shared extension modules, if the
first does not have an "initialize" routine. As a side effect of
debugging this one, the error reporting of the dynaloader has been
expanded. The trick turned out to be to clear pre-existing error
conditions with a dummy call to dlerror(). An alternative
implementation would call dlerror in an else clause when loading
"initialize" fails, but doing it like this patch does it has the
advantage of also dealing with like errors in libraries gpsim might
use. For a similar situation, look up "not a typewriter" and "perror"
in Google.
- did not immediately fail when incomplete linking
conditions exist. By changing to RTLD_NOW, a bad dynamic module will
be detected at load time rather than at run time. *** this will break
broken modules out there that until now appeared to have worked ***
2004-04-04 Arthur Peters <amp@singingwizard.org>
* src/Makefile.am, src/ssp.cc, src/ssp.h:
Added SSP support to gpsim.
* src/14bit-processors.h, src/ioports.cc, src/ioports.h,
src/p16f87x.cc, src/p16x6x.cc, src/p16x6x.h, src/p16x7x.cc,
src/p16x8x.cc, src/pir.cc, src/14bit-processors.h, src/pir.h:
Added SSP support to gpsim.
2004-04-04 Borut Razem <borut.razem@siol.net>
* modules/encoder.cc, modules/gpsim_modules.cc, modules/paraface.cc,
modules/push_button.cc, modules/switch.cc, modules/video.cc:
modules port on WIN32
2004-04-03 Borut Razem <borut.razem@siol.net>
* src/stimuli.cc: fixed warning C4715: 'IOPIN::get_iop' : not all
control paths return a value: IOPIN::get_iop() returns 0 in case that
iopp and iop are NULL
2004-04-01 Scott Dattalo <scott@dattalo.com>
* modules/resistor.cc, modules/resitor.h: Several member functions
in the resistor classes were declared, but not defined anywhere.
* src/pic-instructions.h, src/breakpoints.h, src/breakpoints.cc:
adding assertions to the simulator.
* src/processor.cc, src/processor.h, gui/gui_src_asm.cc: Source
browser windows can now get a unique name.
2004-03-30 Scott Dattalo <scott@dattalo.com>
* numeous files throughout gpsim: The Module class now uses
a string type instead of a 'char *' for the module name. Also,
the gui x and y coordinate were removed from the module class (I
still want to remove the 'widget' member too).
* modules/usart.cc: calls to the old gpsim api were still lingering
around here.
* gui/gui_src_asm.cc, gui/gui_src.h, src/processor.h: more browser
splitting stuff.
2004-03-29 Borut Razem <borut.razem@siol.net>
* src/modules.cc: support of external modules on WIN32
2004-03-25 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc: Now we can load hex files again.
2004-03-25 Bert Driehuis <driehuis@playbeing.org>
* extras/lcd/lcdengine.cc, extras/lcd/lcdengine.cc,
extras/lcd/lcd.h, extras/lcd/lcdgui.cc, extras/lcd/examples/lcd.asm:
Added support for CGRAM in the LCD module.
2004-03-25 Scott Dattalo <scott@dattalo.com>
* src/processor.h, src/processor.cc: Added pma_context list
* gui/Makefile.am: Recently added .h files are now in the Makefile
* gui/gui_src.h, gui/gui_src_asm.cc: Multiple source browsers are
now created based on the number of pma_contexts
* gui/gui_object.h, gui/gui_src_asm.cc, gui/gui_breadboard.cc,
gui/gui_main.cc, gui/gui_profile.cc, gui/gui_regwin.cc,
gui/gui_scope.cc, gui/gui_src.cc, gui/gui_src_opcode.cc,
gui/gui_stack.cc, gui/gui_stopwatch.cc, gui/gui_symbols.cc,
gui/gui_trace.cc, gui/gui_watch.cc:
The GUI_Object 'name' member has been changed from a char * to a
private string and is now no longer directly accessed by the derived
classes. New methods set_name() and and name() control the access.
2004-03-24 Scott Dattalo <scott@dattalo.com>
* gui/gui_src_asm.cc, gui/gui_src.h: Added BreakPointList class to handle
the 3 lists of breakpoints. Removed duplicate code too.
2004-03-23 Borut Razem <borut.razem@siol.net>
* src/modules.cc: gpsim on WIN32 doesn't support modules yet
* gui/gui_breadboard.cc: GTK+ 2.x port
2004-03-22 Scott Dattalo <scott@dattalo.com>
* gui/gui_src.cc: Changed the event key processing from a case statement to
a C++ map object.
2004-03-22 Scott Dattalo <scott@dattalo.com>
* gui/gui.h, gui/gui_breadboard.h, gui/gui_object.h, gui/gui_processor.h,
* gui/gui_profile.h, gui/gui_register.h, gui/gui_regwin.h, gui/gui_scope.h,
* gui/gui_src.h, gui/gui_stack.h, gui/gui_stopwatch.h, gui/gui_symbols.h,
* gui/gui_trace.h, gui/gui_watch.h:
Finished the gui split started on 03-16.
Added support for multiple source browsers (to be used with context debugging).
2004-03-22 Chris Emerson <gpsim@mail.nosreme.org>
* modules/encoder.cc, modules/encoder.h: new files: added an encoder module
* modules/Makefile.am: Added the encoder to the list of files.
* gpsim/main.cc: gracefully revert to cli if gtk_init fails.
* src/ioports.cc: remove PORTA debug message.
2004-03-17 Scott Dattalo <scott@dattalo.com>
* gui/gui.h, gui/gui_breadboard.h, gui/gui_object.h, gui/gui_processor.h,
* gui/gui_profile.h, gui/gui_register.h, gui/gui_regwin.h, gui/gui_scope.h,
* gui/gui_src.h, gui/gui_stack.h, gui/gui_stopwatch.h, gui/gui_symbols.h,
* gui/gui_trace.h, gui/gui_watch.h
Split gui.h into a bunch of separate include files.
2004-03-16 Scott Dattalo <scott@dattalo.com>
* gui/gui_regwin.cc, gui/gui.h:
abstracted the width of registers
2004-03-15 Scott Dattalo <scott@dattalo.com>
* src/modules.h, src/modules.cc:
Removed the "ExternalModule" class
* modules/binary_indicator.cc, modules/gpsim_modules.cc,
modules/led.cc, modules/logic.cc, modules/paraface.cc,
modules/push_button.cc, modules/resistor.cc, modules/switch.cc,
modules/usart.cc, modules/video.cc, extras/lcd/lcd.h,
extras/lcd/lcd.cc
Now the modules are no longer "external".
2004-03-14 Bert Driehuis <driehuis@playbeing.org>
* extras/lcd/lcdengine.cc, extras/lcd/lcd.h, extras/lcd/examples/lcd.asm:
Fixed the LCD modules "E" logic.
2004-03-13 Robert Pearce
* src/16f87x.cc, src/16f87x.h, src/pic-processor.cc, src/pic-processor.h:
Added 16f871.
2004-03-09 Scott Dattalo <scott@dattalo.com>
* src/16bit-instructions.cc, src/trace.cc:
Addresses displayed for the 18F devices are now displayed properly.
2004-03-09 Scott Dattalo <scott@dattalo.com>
* src/14bit-processor.cc:
PCL (low byte of program counter) was one count too large.
2004-03-09 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/processor.h, src/pic-processor.cc, src/pic-processor.h:
Moved the implementations of the disasm() and list() methods from the
pic_processor class to the processor class.
2004-03-09 Scott Dattalo <scott@dattalo.com>
* src/pic-instructions.h, src/12bit-instructions.h, src/stimuli.h,
src/14bit-instructions.h, src/14bit-instructions.h, src/16bit-instructions.h,
src/16bit-instructions.cc: changed references of pic-processor to Processor.
2004-03-08 Scott Dattalo <scott@dattalo.com>
* modules/push_button.cc, modules/push_button.h: new module
from Carlos Ghirardelli.
2004-03-04 Scott Dattalo <scott@dattalo.com>
* src/register.h, src/pic-register.h, src/pic-processor.h,
src/pic-processor.cc, src/14bit-registers.cc
Removed the "file_register" class. Moved the sfr_register class to register.h.
2004-03-04 Scott Dattalo <scott@dattalo.com>
* src/processor.h, src/processor.cc, src/cod.cc:
Added the new meber 'Find()' to the 'Files' class.
2004-03-03 Bert Driehuis <driehuis@playbeing.org>
* /extras/rs232-gen/rs232.c: Now compiles under BSD
2004-03-03 Scott Dattalo <scott@dattalo.com>
* gui/gui_profile.cc, gui/gui_src_asm.cc, src/cod.cc,
src/icd.cc, src/pic-processor.cc, src/processor.cc, src/processor.h
Removed references to "processor_id". Changed name of _Files to Files
in the Processor class.
2004-03-01 Bert Driehuis <driehuis@playbeing.org>
* regression/run_regression.sh, regression/simulate:
Fixes to allow regression tests to run on BSD 4.9.
2004-03-01 Bert Driehuis <driehuis@playbeing.org>
* extras/lcd/lcd.cc:
Bring the LCD module up-to-date with recent gpsim changes
2004-03-01 Bert Driehuis <driehuis@playbeing.org>
* acinclude.m4, cli/input.cc:
Fix readline support for BSD 4.9
2004-03-02 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc: fixed a memory allocation bug in the
FileContext class; an array was one element too small.
* examples/modules/led_test, examples/modules/led_test/led_mod.asm, examples/modules/led_test/led_mod.asm:
Added the LED test code to CVS.
* modules/gpsim_modules.cc, modules/led.cc:
LED module now works.
2004-03-01 Bert Driehuis <driehuis@playbeing.org>
* src/icd.cc: include time.h for BSD
2004-03-01 Scott Dattalo <scott@dattalo.com>
* modules/* -
Updated the (internal) modules to comply with the new gpsim interface standard
* dozens of files:
-- removed all references to 'pic_id'
-- changed pic_processor references to Processor references
2004-02-29 Borut Razem <borut.razem@siol.net>
* src/eeprom.cc: initialization of variable eestate in EECON2::EECON2(void)
by calling ee_reset()
2004-02-28 Borut Razem <borut.razem@siol.net>
* config_win32.h.in : strtoll defined as _strtoi64, removed definition
of atoll, version number updated to 0.21.2
* gui/gui.h, gui/gui_stopwatch.cc: prevent calling Update() from Update().
The problem manifested on GTK+ 2.x on Linux and WIN32.
* gui/gui_breadboard.cc, gui/gui_regwin.cc, gui/gui_src_asm.cc,
gui/gui_src_opcode.cc: GTK+ 2.x port - use pango font handling
* examples/14bit/pulse_measure.asm: variable upper renamed to _upper;
upper is an assembler instruction operand in gpasm and mpasm
2004-02-28 Scott Dattalo <scott@dattalo.com>
* gui/gui_main.cc, gui/gui_menu.cc, gui/gui_processor.cc:
Inhibit the half-baked gui_scope.
2004-02-27 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc, src/interface.cc, src/interface.h,
src/init.cc, src/icd.cc, src/cod.cc, src/breakpoints.cc,
gui/gui_main.cc, gpsim/main.cc, cli/input.h, cli/input.cc,
cli/cmd_x.cc, cli/cmd_run.cc, cli/cmd_dump.h, cli/cmd_dump.cc:
The gpsim library, which is the code comprised of everything
in the src/ subdirectory, now has no dependencies on the gui
or cli code base. This makes it possible to link against
just libgpsim.
2004-02-25 Scott Dattalo <scott@dattalo.com>
* gui/gui_stopwatch.cc, extras/rs232-gen/rs232-gen.c:
changed all references of atoll to strtoll. bug 820326
2004-02-25 Hans-Juergen Dorn <hans.dorn@apl-landau.de>
* src/16bit-registers.cc: gpsim was pushing onto
the stack before decrementing the stack pointer. Also,
the gpsim internally formatted address was being pushed.
2004-02-17 Scott Dattalo <scott@dattalo.com>
* gui/gui_scope.cc: expose and resizing kind of work.
2004-02-17 Scott Dattalo <scott@dattalo.com>
* gui/gui_scope.cc: taking off the rough edges.
2004-02-16 Scott Dattalo <scott@dattalo.com>
* gui/gui_scope.cc: - new file that will support a simple waveform viewer.
* gui/Makefile.am: add the gui_scope.cc to the list
* gui/gui_regwin.cc: Check for null pointers
* gui/gui_symbols.cc: Check for null pointers
* src/pic-processor.cc, src/p16x5x.h, src/p12x.h, src/p12x.cc,
src/14bit-registers.h, src/14bit-registers.cc, src/14bit-processors.cc,
src/12bit-processors.h, src/12bit-processors.cc
Added FSR_12 - a new class for the 12-bit core. I also redesigned the
way FSR and INDF interact.
* src/p18x.cc - the 18f252 package pins weren't defined.
2004-02-13 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/processor.h, src/pic-processor.cc, src/cod.cc:
Support for new file context
* gui/gui_src_asm.cc, gui/gui_profile.cc:
Use the new file context code.
2004-02-12 Scott Dattalo <scott@dattalo.com>
* src/interface.cc, src/interface.h:
Finally, the C-style interface is gone (or nearly gone).
* src/processor.cc, src/processor.h, src/cod.cc
Redesigning the "file_context" object.
* gui/gui_watch.cc, gui/gui_profile.cc:
Removed final traces of the old C-style interface.
2004-02-11 Scott Dattalo <scott@dattalo.com>
* gui/gui_symbols.cc: - changed strndup to a strcpy (plus malloc...):
2004-02-11 Scott Dattalo <scott@dattalo.com>
* gui/* changed calls to gpsim_* to the C++ interface.
* src/interface.cc - removed many of the gpsim_* functions
* src/stimuli.cc, cli/cmd_set.cc - changed calls to gpsim_* to
the C++ interface.
2004-02-10 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/processor.h, src/pic-processor.cc, src/pic-processor.h:
Added step, run, and finish members to the ProgramMemoryAccess class
* src/interface.cc, gui/gui*
removed more gpsim_* functions from interface.cc
2004-02-10 Scott Dattalo <scott@dattalo.com>
* gui/gui_symbol.cc, src/symbol.h, src/symbol.cc
Cleaned up symbol api.
2004-02-09 Scott Dattalo <scott@dattalo.com>
* all files!
'NULL' has been replaced with '0' throughout all of gpsim.
The reason is two-fold: 1) MAC users were having trouble compiling
2) Stroustrup says NULL shouldn't be used in C++ :).
2004-02-08 Scott Dattalo <scott@dattalo.com>
* src/processor.cc, src/processor.h, gui/gui_src.cc, gui/gui_src_asm.cc,
gui/gui_break.cc: Fixed 'ProgramMemoryAccess' class for the 18f devices
* src/16bit-processors, src/p18x.cc: Removed some debug stuff
* extras/lcd/*: Changed the LCD module from version 0.2.0 to 0.2.1
2004-02-06 Scott Dattalo <scott@dattalo.com>
* tons of files changed...
Removed 'break_point' member from the Register class
Changed the mechanism for checking how a break point is set on
a register.
* gui/gui.h, gui/gui_watch.cc, gui/gui_regwin.cc: modified GUIRegister
class to adopt to changes made in the break point stuff. Also
add rma member for getting access to processor registers.
2004-02-05 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.h
Fixed a nasty, nasty bug. The "GP_Processor" pointer in the
pic_processor class was conditionally compiled. However the
condition (HAVE_GUI) occurs in the include file config.h. Now
the bug is that config.h was not included in all cases. Some
classes were derived from pic_processor with this definition
while others weren't. Syntactically, everything was okay. But
the compile had the conflicting information for the size of
pic_processor class.
* src/* - whole bunch of other files touched while looking for
this bug.
2004-02-04 Scott Dattalo <scott@dattalo.com>
* src/processor.cc
Experimenting with operator [] for the ProgramMemoryAccess class.
2004-02-02 Scott Dattalo <scott@dattalo.com>
* src/intcon.*, src/processor.*, src/16bit-processor.*
Fixed the weird bug that was discussed in the 2004-01-30 entry. The
problem was basically invalid type casting. In the processor class
heirarchy, there are about 5 or 6 levels of inheritance. Most of
the time gpsim accesses a processor's details through one of the
base classes. Sometimes though, an object needs access to somthing
specific to a processor. In these cases, gpsim would type cast
a pointer to the specific processor. The bug is that you can't
safely type cast a base class object into a derived class object
in C++.
2004-01-30 Scott Dattalo <scott@dattalo.com>
* almost all source files - still trying to sort out include
dependencies. There's a weird bug where gcc is adding an extra
4-byte offset to pointers in some instances. I have no clue why...
2004-01-29 Scott Dattalo <scott@dattalo.com>
* almost all source files - trying to sort out include dependencies
2004-01-28 Scott Dattalo <scott@dattalo.com>
* src/pir.h moved all of the PIR*::put()'s to the PIR base class
* src/intcon.h, src/intcon.cc moved inline functions that called
bp and trace objects from the header file to the .cc file.
* src/pir.cc new file - added so that inline functions that called
bp and trace objects could be removed from the header file.
* src/Makefile.am added pir.cc to the list of src files.
2004-01-26 Scott Dattalo <scott@dattalo.com>
* src/* gui/*
Replaced references to 'file_register' with 'Register'.
Removed many gpsim_*() calls.
Renamed the program_memory_access class to ProgramMemoryAccess.
Moved processor member functions associated with code breakpoints
into the ProgramMemoryAccess class.
2004-01-26 Scott Dattalo <scott@dattalo.com>
* src/register.h, src/register.cc, src/pic-register.h, src/pic-processor.h,
src/14bit-registers.cc
cleaned up some include file dependencies.
moved the program counter class.
2004-01-23 Scott Dattalo <scott@dattalo.com>
* src/trace.cc, src/trace.h: added boolean event logger
* src/intcon.cc, src/16bit-*: Debugging an interrupt problem
with the 16-bit core
2004-01-22 Scott Dattalo <scott@dattalo.com>
* gui/gui*.cc: converted the cross_reference_to_gui structure
into the CrossReferenceToGUI class.
* src/pir.h: fixed default names of the PIR registers
* regression/p16f873/p16f873.asm: added
2004-01-20 Scott Dattalo <scott@dattalo.com>
* gui/gui_regwin.cc, gui/gui_src_asm.cc, gui_watch.cc:
Changed gpsim_* api calls to their direct counterparts
* src/interface.cc, src/interface.h:
Removed obsolete API's
* src/breakpoints.cc (clear_all_register): added
* cli/input.cc: fixed memory leak.
* doc/gpsim.lyx: updated documentation with recent CLI changes
2004-01-18 Borut Razem <borut.razem@siol.net>
* configure.in: added --enable-gtk2 configure command line option for
linking with GTK+ 2.x
2004-01-17 Borut Razem <borut.razem@siol.net>
Update to GTK+ 2.x:
* config_win32.h.in: version 0.21.1, updated #defines
* cli/cmd_load.cc, cli/input.cc, cli/input.h:
char * replaced with const char *,
removed unneeded #include <sys/errno.h>
* gui/gui.h, gui/gui_breadboard.cc, gui/gui_break.cc,
gui/gui_dialog.cc, gui/gui_menu.cc,gui/gui_object.cc,
gui/gui_profile.cc, gui/gui_regwin.cc, gui\gui_src.cc,
gui/gui_src_asm.cc, gui/gui_src_opcode.cc, gui/gui_stack.cc,
gui/gui_statusbar.cc, gui/gui_stopwatch.cc, gui/gui_symbols.cc,
gui/gui_trace.cc, gui/gui_watch.cc:
char * replaced with const char *,
GdkFont replaced with PangoFontDescription,
GtkStyle replaced with GtkStyle *,
#define GTK_ENABLE_BROKEN,
#include <sys/errno.h> replaced with #include <errno.h>,
update for GTK+ 2.x
* src/cod.cc, src/interface.cc, src/interface.h, src/modules.cc,
src/modules.h, src/p16x5x.cc, src/pic-processor.cc,
src/pic-processor.h, src/processor.h, src/stimuli.cc, src/stimuli.h,
src/symbol.cc, src/symbol.h, src/trace.cc, src/trace.h:
char * replaced with const char *,
__PRETTY_FUNCTION__ replaced with __FUNCTION__
* modules/binary_indicator.cc, modules/binary_indicator.h,
modules/led.cc, modules/led.h, modules/logic.cc, modules/logic.h,
modules/paraface.cc, modules/paraface.h, modules/resistor.cc,
modules/resistor.h, modules/switch.cc, modules/switch.h,
modules/usart.cc, modules/usart.h, modules/video.cc, modules/video.h:
char * replaced with const char *,
2004-01-06 Scott Dattalo <scott@dattalo.com>
* gui/gui_regwin.cc -- valgrind memcheck bug fixes
* src/cod.cc
* src/registers.cc
2004-01-06 Scott Dattalo <scott@dattalo.com>
* src/p16x5x.cc - patch from Rob Pearce that fixes the 16C5X tris writes.
2004-01-05 Scott Dattalo <scott@dattalo.com>
* src/14bit-tmrs.cc - tmr2 bug. PWM period was getting ANDed with 0xff.
2004-01-03 Scott Dattalo <scott@dattalo.com>
* Applied patch from Borut Razem - adds new files to Visual Studio project files.
2004-01-03 Scott Dattalo <scott@dattalo.com>
* Applied patch from Bradley McLean mailto:bradlist@bradm.net that adds support
for the 18f1320.
* Applied patch from Mike Durian that fixes an 18f SUB instruction.
2003-12-31 Scott Dattalo <scott@dattalo.com>
* Applied patch from Mike Durian. He's added several files to more reasonably
group together portions of the simulator. In addition, he's added eeprom support
to the 18f devices
* src/eeprom.cc - new file to consolidate eeprom related stuff
* src/intcon.cc - new file to consolidate variations in intcon registers
* src/pie.cc - new file for pie register
* src/intcon.h
* src/pir.h
* src/pic-instructions - fixed bug in 18f banking
* src/16x5x.h - 16c54 register memory size was wrong
* gui/gui_stopwatch.cc - added a check to make sure there's a processor
* gui/gui_src*.cc - removed reference to cpu->pc->get_value()
2003-12-28 Scott Dattalo <scott@dattalo.com>
* another patch from Borut Razem:
* cli/input.cc:
- added function get_dir_delim(), which searches for both /
and \ delimiters on WIN32 systems.
- fixed bug in gpsim_read(): logic for deallocating input_buf
was moved out of 'if (chars_left > 0)' block.
- some code cleaning, some compiler warnings fixed
* cli/input.h:
- added declarations of exit_gpsim() and get_dir_delim()
* gpsim/main.cc:
- removed declaration of exit_gpsim(), now included in cli/input.h
* src/14bit-registers.cc:
- deallocation of name_str1 is already done in ~Register().
* cod.cc:
- included cli/input.h for declaration of get_dir_delim()
- substr() replaced with get_string(), which gets the string from .cod
file. strings in .cod file are represented as:
- first byte defines the string length
- the string starts at the second byte.
- read_src_files_from_cod(): conversion to DOS file name
- open_cod_file() opens .cod file in binary mode
* src/pic-instructions.cc:
- initialize xref to NULL if HAVE_GUI not defined
* src/processor.cc,
* src/processor.h:
- static pointer to the processor_list
2003-12-27 Scott Dattalo <scott@dattalo.com>
* patch from Borut Razem for Visual Studio projects
2003-11-29 Scott Dattalo <scott@dattalo.com>
* src/pic-processor.cc - rewrote the way gpsim groups together all of
the processors it supports. Now the ProcessorConstructor class will
allow processors to be instantiated anywhere in the code (before, they
were declared in one giant array.)
2003-11-29 Scott Dattalo <scott@dattalo.com>
* src/16bit-registers.cc - Access to PLUSWx are now signed.
2003-11-28 Scott Dattalo <scott@dattalo.com>
* gui/* - More C to C++ conversions
* gui/gui_menu.cc - Patch from Alex Holden to enable compilation on a MAC
* src/icd.cc
* INSTALL - added instructions for MAC OS
2003-11-24 Scott Dattalo <scott@dattalo.com>
* gui/* First round of struct to class conversion is now completed
2003-11-20 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc - PORT B pullups were not working
* regression/* - Added some more regression tests
2003-11-16 Scott Dattalo <scott@dattalo.com>
* gui/* More conversions to C++
2003-11-15 Scott Dattalo <scott@dattalo.com>
* gui/* started converting gui struct's into C++ classes. Started with
Register Window.
2003-10-26 Scott Dattalo <scott@dattalo.com>
* src/gpsim-time.cc linked-list bug fixes.
2003-10-26 Scott Dattalo <scott@dattalo.com>
* eXdbm/* applied patch from Borut Razem mailto:borut.razem@siol.net to
fix an uninitialized pointer bug.
2003-10-26 Scott Dattalo <scott@dattalo.com>
* modules/* removed all references to gui if not building with the gui
2003-09-24 Scott Dattalo <scott@dattalo.com> (patches from Steve Tell)
* modules/paraface.h - Solaris patch for bogus device
* src/cod.cc - Endian bug
* gui/gui_processor.cc - use memset instead of bzero.
2003-09-14 Scott Dattalo <scott@dattalo.com>
* src/gpsim_time.h - changed cycle counter break point from a Singly linked
list to a doubly linked list. This is in preparation for separating module
time from pic processor time so that when the PIC goes to sleep, time
doesn't stop.
2003-09-07 Scott Dattalo <scott@dattalo.com>
* src/p16f62x.h - duplicate declaration of intcon register
2003-09-07 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc - this time the 'Too many cycle counter breakpoints' was
fixed. BTW the problem was that 'clear_break' was not putting the cleared
breakpoint back into the 'inactive' list
2003-09-07 Scott Dattalo <scott@dattalo.com>
* src/pic_processor.cc -- Fixed the "Too many cycle counter breakpoints" bug
* src/interface.cc It turns out that the "realtime" stuff was
* src/breakpoints.cc 1) duplicating a class declaration. 2) not clearing
* src/breakpoints.h cycle counter break points.
* gpsim.sln - added for win32 port.
2003-08-30 Scott Dattalo <scott@dattalo.com>
* src/p12x.cc -- The 12c5xx will reset if an I/O is toggled and the processor
is sleeping.
2003-08-27 Scott Dattalo <scott@dattalo.com>
* config_win32.h.in - added
2003-08-25 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc - more 16f628 Port A fixes
2003-08-19 Scott Dattalo <scott@dattalo.com>
* eXdbm/parse.c - "char" is used to store result of fgetc, but
EOF doesn't fit in the default unsigned chars.
* src/cod.cc - an endian issue which made symbol values come out wrong.
- note these fixes came from a patch attached to an anonymous bug report
2003-08-18 Scott Dattalo <scott@dattalo.com>
* src/ioports.cc - Port A on the F62x devices was named "ioport"
* src/p16f62x.cc - intcon was not declared at 0x8b (bug 566165)
* regression/p16f628.asm - Added a regression test for the f68
* regression/p16f628.stc
2003-08-17 Scott Dattalo <scott@dattalo.com>
* regression/* started the regression test directory. Only two
tests are performed: instruction validation for the midrange
family and a simple node test.
2003-08-17 Scott Dattalo <scott@dattalo.com>
* Huge patch from Borut Razem mailto:borut.razem@siol.net that enables
gpsim to be compiled with MS Visual C under Windows.
2003-06-19 Scott Dattalo <scott@dattalo.com>
* src/gpsim_time.h Multiple breaks at one Cycle were getting clobbered.
* src/gpsim_time.cc
* src/16bit-registers.cc Added support for TMR3
* src/pic-processor.h add pll_scale for the 18f devices.
2003-05-25 Scott Dattalo <scott@dattalo.com>
* src/breakpoints.cc program memory break points were not working.
* Started formatting the Changelog properly
gpsim - Gnu Pic Simulator, a simulator for Microchip's PIC microcontrollers.
T. Scott Dattalo
gpsim-0.21.0
* Starting with 0.21.0, Changelog will be properly formatted
* Added 18f454,18455
* Added breakpoint capability on nodes
* Added spi Module
* Added attributes to external usart module
* Ralf rewrote the Breadboard
* gui is now in C++
* Added 16f627,16f628 processors
* log command has been added (Command Line)
* Profiling has been added (gui)
* Trace viewer has been added
* Added parport - parallel port loadable module
* Source level debugging of C files
* Added 16c55,16c62,16c63,16c72,16c73 processors
* Added 18c442,18c452 processor
* Added module attibutes (attribute.cc)
* breadboard updates when either a tris or port is changed in the register viewer
* Enhanced module interface - now LCD module works with gpsim
* Patch from Rudy Moore to fix TMR0 bug
* Beautified the Single Step and Trace dump outputs
* Added break on stack overflow and underflow
* Added break mask to wv/rv type break points. Now you can specify
which bits are significant.
* Added "abort_gpsim_now" command. This will unconditionally abort gpsim.
* Added "--cli" command line option. Invokes gpsim in command line
mode even if it has been configured to use the gui.
* Program viewer can now display ASCII encode text in "dt" tables
* Symbolic setting of execution breaks was not working.
* C++ bugs fixed
* Fixed WDT during SLEEP bug reported by Tor Fredrik Aas mailto:tfa@abn.hibu.no
* USART baud rates were generated incorrectly and have been fixed.
* TXIF was handled improperly (reported by Wojciech Zabolotny <wzab@ise.pw.edu.pl>)
* TMR1 was incrementing even when disabled (Reported by Wojciech)
* Patch from JG for Suse 7.1.
* Patch from Robert Pearce to add 16C55
* Sleep now works for 12c5xx.
* Config word now works for 12c5xx
* GPIO can wake a sleeping 12c5xx
* Added pullup/pulldown resistors to the gpsim modules (idea from SET)
* Numerous patches from from (SET) Salvador mailto:salvador@inti.gov.ar
* SET - added "frequency" command
* SET - Added time field to the gui status bar.
* Carlos Nieves Ónega - Massive patch for the 17cxx core
* Carlos Nieves Ónega - Registers for 17cxx core
* From Salvador Eduardo Tropea mailto:salvador@inti.gov.ar
* Modified: In gpsim/main.cc put a cast in poptGetContext call, but perhaps
is a fault in the version I use of popt, double check it.
* Added: gtk_window_set_wmclass calls to help Enlightenment to remmember the
positions of the windows.
* Added: In gui/gui_main.c a couple of #undef to avoid redefinitions in
eXdbm.h. Also check if that's OK for the eXdbm you are using.
* Modified: Moved the INTCON register from _14bit_18pins class to child
classes. That's because I needed to inherit from it and P16X6X_processor
and both defines INTCON. I also think things are more clear in this way.
* Fixed: A bug in the A/D routines. If you started a conversion at the same
time you were enabling the A/D this conversion was aborted. To fix it I
transfered new_value to value before calling start_conversion().
* Added: Partial support for 16C712 and 16C716 CPUs, they inherit from 14bits
18pins processors because they have 18 pins and also from 16x6x because
they have TMR1, TMR2 and Capture/Compare facilities like in 16C63. I could
check it deeply, just the A/D part. I also didn't implement the DATACCP and
TRISCCP registers, I don't know how they work, but I think they control the
use of some I/O pins (normal or CCP function).
28JUL00 gpsim-0.20.0
o Modules - gpsim now supports dynamically loaded modules
-- module command
o gui - upgraded to latest versions of gtk & gtkextra
o gui - Menu items now work
o gui - button bar
o gui - now refreshes while simulating
o gui - Stack Window has been added
o BSD is now supported
o numerous bug fixes
05APR00 gpsim-0.19.0
o Daniel Schudel joins gpsim development.
-- Added support for the 16x5x family
o Added 16f87x family
o gui - Added Program Memory sheet
-- Added support for program memory writes
o gui - Added Breadboard window (graphical pinout)
o Asynchronous mode of the usart fixed.
o A/D converter enhanced
o Analog Stimuli revisited.
o Scripting was fixed.
o cli - Once again, gpsim can be built without the gui.
03FEB00 gpsim-0.18.0
o cli - added 'processor pins' command to display
the state of a pic's I/O pins
o cli - added 'set' command for modifying gpsim behavior
flags. set options supported:
-- verbose - if set, diagnostic info will be displayed
-- radix - not supported yet
-- gui_update - controls the rate at which the gui is refreshed
o cli - added 's' option to the dump command to display only the
special function registers (and not the rest of ram).
o 18cxxx:
-- TBLRD & TBLWT instructions are now supported
-- MULLW & MULWF instructions are now supported
-- configuration word support
-- tmr0 interrupt
o Cycle counter - 64 bits is now fully supported
o config word bug fixed
o gui - added Watch window
o gui - added more color coding to register window
o gui - removed stagnant menu selections
o gui - window state is saved between gpsim sessions
-- This requires a new package `eXdbm'.
o getopt is now used to process invocation options (now you can
have spaces between the options and file names).
o support >64k object code in .cod files
o gtksheet has been removed from the distribution
-- This means that you'll have to install gtk+-extra, the
package that supports gtk-sheet (see INSTALL)
o .cod file format bug fixes (you'll need the latest gpasm)
o __config word for 18cxxx family is now supported
16NOV99 gpsim-0.17.0
o gui - Major overhaul of Register Window
o gui - Symbol window added
o 18Cxxx
-- Interrupts are now supported
-- TMR0 is implemented
-- USART asynchronous mode is supported
o automake is now used to create the makefiles
o version numbering has changed so that 'minor releases' (which by definition
are the only ones I've made) are now expressed in the middle revision instead
of the last revision number.
o numerous bug fixes
o Cycle counter is now 64 bits.
gpsim-0.0.16
o 18Cxxx core has been added
o Ralf Forsberg has joined me in development. His major contributions
have been in the gui code. Some of what he's done:
- Wrote a new source browser with these features:
-- Syntax highlighting (e.g. opcodes and comments are colored differently)
-- Iconic indicators (e.g. bitmaps indicating breaks, current pc...)
-- Multiple sources
- Significant restructuring of the gpsim to gui interface
28JUL99 gpsim-0.0.15
o gui - asm source browser
o gui - program memory browser
o gui - register viewer enhancements
o gui - control menu
o numerous bug fixes
30JUN99 gpsim-0.0.14
o gui
o numerous bug fixes
25APR99 gpsim-0.0.13
o Split the command line interface from simulator
- created a `src' directory for the simulator
- created a `cli' directory for the command line interface
o Re-wrote the cli to use bison and flex (whew - whatabitch)
o Hi-Tech C-compiler .cod files can be loaded by gpsim now.
o Fixed C++ errors that egcs abhored but gcc ignored.
08MAR99 gpsim-0.0.12
o Added support for .cod files (mostly in cod.cc)
o Added more symbolic debugging features
o Added 'list' command for listing source files
o Updated the 'load' command for loading .cod files
o Repeat last command with carriage return
o Added more documentation
10JAN99 gpsim-0.0.11
o Added support for the PIC16C74
o Fixed core dumps associated with the 12C50x (again, dammit)
o Fundamentally changed the way registers are created.
o Added a 'config' script
20DEC98 gpsim-0.0.10
o Added support for the PIC16C71
o Enhanced the asynchronous stimulus to support analog values
o Added a triangle_wave stimulus (mainly for testing)
o Changed the behavior of 'run' to ignore a breakpoint if there is one set
at the current instruction (see below)
o Added a few examples illustrating the use of analog stimuli
07DEC98 gpsim-0.0.9
o Added support for the 12c508 and 12c509
o Bug Fixes:
- DC bit wasn't updated correctly in add's and sub's (if W was the destination)
- stack was rolling over after 7 pushes
- goto's and call's were limited to 10 bits
o Added the command line option '-v' and the command version. Both echo
gpsim's version.
o Enhanced 'it.asm' and added 'it_12bit.asm' - two routines that exercise
gpsim's ability to simulate the pic instructions.
o Added a trace for skipped instructions (before you'd see skipped instructions
the same as non skipped ones in the trace buffer).
16NOV98 gpsim-0.0.8
o Fixed pcl related bugs (see the new pcl_test.asm for examples)
o Implemented the TMR2 peripheral
o Implemented the CCP1 and CCP2 peripherals
o Implemented the TMR1 peripheral
o added more support for the PIC16C64
o began support for the PIC16C65
o fixed the configuration word loading that got broke in the last release
21OCT98 gpsim-0.0.7
o added new command 'processor'
o added new command 'load'
- Startup command files can now be loaded any time and can be nested.
o added new command 'symbol'
o added new command 'reset'
o redesigned the pic processor base class
o added new file p16x8x
o added support for the PIC16CR83, PIC16CR84, PIC16F83, PIC16F84
o added new file p16x6x
o added support for the PIC16C61
o began support for the PIC16C64
o Changed the command line invocation: -p now selects a processor and not a core (e.g. -p14 used to be the way gp
sim liked to select a device within the midrange, 14-bit family; now you must specify the specific device you wish
to simulate: -pp16c61 .)
o Generally overhauled everything in anticipation of supporting the 12-bit core
30SEP98 gpsim-0.0.6
o <CNTRL C> now can asynchronously halt the execution.
o Multiplexed I/O pins are now supported (better). It's possible to clock TMR0 from an external clock now
o The c84 is now fully supported - though not thoroughly debugged
o I fixed two nasty cycle breakpoint bugs, single-stepping during a pending interrupt, and a couple of other minor annoyances.
o I've begun formal documentation, but it is not included with this release.
18SEP98 gpsim-0.0.5
o added new command 'node'
o added new command 'attach'
o redesigned the stimulus infrastructure.
o added 'name' option to stimuli
o iopins are now considered stimuli
04SEP98 gpsim-0.0.4
o added new command 'stimulus'
o added new command 'echo'
o redesigned the breakpoint mechanism for register breaks
o added support for startup configuration files
o began support for stimulus files
o began support for symbols
o interrupts are working
28AUG98 gpsim-0.0.3
o added support for interrupts
o TMR0 and WDT are now working
o added new command 'x' for examining/modifying registers
o added a 'break wdt' - break on wdt timeout
o now you can step over a breakpoint
17AUG98 gpsim-0.0.2
o added readline library and made the command line interface more robust
o eeprom is now working
30JUL98 gpsim-0.0.1
o initial release - basic stuff
$Revision: 2615 $
|